2003-08-10 03:11:50 +02:00
|
|
|
#
|
|
|
|
# Shorewall version 1.4 - Accounting File
|
|
|
|
#
|
|
|
|
# /etc/shorewall/accounting
|
|
|
|
#
|
|
|
|
# Accounting rules exist simply to count packets and bytes in categories
|
|
|
|
# that you define in this file. You may display these rules and their
|
|
|
|
# packet and byte counters using the "shorewall show accounting" command.
|
|
|
|
#
|
|
|
|
# In all columns of this file, the values "-", "any" and "all" may be used
|
|
|
|
# as wildcards
|
|
|
|
#
|
|
|
|
# Columns are:
|
|
|
|
#
|
2003-08-10 18:01:21 +02:00
|
|
|
# ACTION - What to do when a match is found.
|
|
|
|
#
|
|
|
|
# COUNT - Simply count the match and continue
|
|
|
|
# with the next rule
|
|
|
|
# DONE - Count the match and don't attempt
|
|
|
|
# to match any other accounting rules.
|
|
|
|
# <chain> - The name of a chain. Shoreall will
|
|
|
|
# create the chain automatically.
|
|
|
|
#
|
2003-08-10 03:11:50 +02:00
|
|
|
# SOURCE - Packet Source
|
|
|
|
#
|
|
|
|
# The name of an interface, an address (host or net) or
|
|
|
|
# an interface name followed by ":"
|
|
|
|
# and a host or net address.
|
|
|
|
#
|
|
|
|
# DESTINATION - Packet Destination
|
|
|
|
#
|
|
|
|
# Format the same as the SOURCE column.
|
|
|
|
#
|
|
|
|
# PROTOCOL A protocol name (from /etc/protocols), a protocol
|
|
|
|
# number.
|
|
|
|
#
|
|
|
|
# DEST PORT Destination Port number
|
|
|
|
#
|
|
|
|
# Service name from /etc/services or port number. May
|
|
|
|
# only be specified if the protocol is TCP or UDP (6
|
|
|
|
# or 17).
|
|
|
|
#
|
|
|
|
# SOURCE PORT Source Port number
|
|
|
|
#
|
|
|
|
# Service name from /etc/services or port number. May
|
|
|
|
# only be specified if the protocol is TCP or UDP (6
|
|
|
|
# or 17).
|
|
|
|
#
|
2003-08-10 18:01:21 +02:00
|
|
|
#ACTION SOURCE DESTINATION PROTOCOL DEST PORT SOURCE PORT
|