Update Release Notes

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@703 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-08-11 22:53:01 +00:00
parent b81591abfe
commit 6f715d015f

View File

@ -135,10 +135,13 @@ New Features:
will use all listed addresses/ranges in round-robin fashion. will use all listed addresses/ranges in round-robin fashion.
7) An /etc/shorewall/accounting file has been added to allow for 7) An /etc/shorewall/accounting file has been added to allow for
traffic accounting. The file has two sections which will be traffic accounting. The file has two sections.
described in reverse order.
The second seciton of the file has the following columns: The first section of the file is optional and allows aggregation of
counter chains into other counter chains. It does this by allowing
you to create an accounting chain hierarchy.
The second section of the file has the following columns:
ACTION - What to do when a match is found. ACTION - What to do when a match is found.
@ -149,9 +152,13 @@ New Features:
DONE - Count the match and don't DONE - Count the match and don't
attempt to match any attempt to match any
following accounting rules. following accounting rules.
<chain> - The name of a chain. Shorewall <chain> - The name of a chain that is
to be jumped to. Shorewall
will create the chain will create the chain
automatically. If the name of automatically if it was not
created by a CHAIN entry in
the first section of the
file. If the name of
the chain is followed by the chain is followed by
":DONE" then after control ":DONE" then after control
returns from the named chain, returns from the named chain,
@ -199,7 +206,43 @@ New Features:
named chain and the second is a RETURN rule which causes the named chain and the second is a RETURN rule which causes the
accounting chain to be exited. accounting chain to be exited.
The first section of the file allows aggregation of counters in Examples:
chains in other chains. It does this by allowing you to create an
accounting chain hierarchy. This facility is described with an COUNT eth0 eth1 # Count traffic going through the
example at http://shorewall.net/Accounting.html. # router from eth0 to eth1
COUNT eth0:206.124.146.177 # Count traffic from my
# server arriving on
# eth0
DONE eth0 eth1:192.168.1.24
# Count traffic entering
# eth0 and going to host
# 192.168.1.24 on
# eth1. Don't check for
# any more matches.
Example using CHAIN:
# This example shows how you can aggretate two counters. The
# counters being aggregated are input and output counters on
# the device 'ppp0'
CHAIN tunnel # Create a chain called 'tunnel'
CHAIN tunnelin tunnel # Create a chain called
# 'tunnelin' with all
# traffic sent to
# 'tunnelin' being sent
# on to 'tunnel'
CHAIN tunnelout tunnel # Create a chain called
# 'tunnelout' with all
# traffic sent to
# 'tunnelout' being sent
# on to 'tunnel'
# any more matches
tunnelin ppp0 # send all traffic from
# ppp0 to the chain called
# 'tunnelin'
tunnelout any ppp0 # send all traffic to
# ppp0 to the chain called
# 'tunnelout'