summaryrefslogtreecommitdiff
path: root/ebtables.8
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2008-03-17 22:10:49 +0000
committerBart De Schuymer <bdschuym@pandora.be>2008-03-17 22:10:49 +0000
commit03e600075d261076519b50205622e297fa0e84bb (patch)
treee3a45a3ff32ad2f5ede463e5174c5d6a78296318 /ebtables.8
parent1da1999e7bd1ba2fe022f946e8d0ba9d1635a1f1 (diff)
downloadebtables-03e600075d261076519b50205622e297fa0e84bb.tar.gz
ebtables-03e600075d261076519b50205622e297fa0e84bb.tar.bz2
ebtables-03e600075d261076519b50205622e297fa0e84bb.zip
add ebtables nflog support (Peter Warasin)
Diffstat (limited to 'ebtables.8')
-rw-r--r--ebtables.835
1 files changed, 35 insertions, 0 deletions
diff --git a/ebtables.8 b/ebtables.8
index 469f9ec..957c445 100644
--- a/ebtables.8
+++ b/ebtables.8
@@ -857,6 +857,41 @@ the rule. The default is no ipv6 information logging.
.br
Will log the (r)arp information when a frame made by the (r)arp protocols
matches the rule. The default is no (r)arp information logging.
+.SS nflog
+The nflog watcher passes the packet to the loaded logging backend
+in order to log the packet. This is usually used in combination with
+nfnetlink_log as logging backend, which will multicast the packet
+through a
+.IR netlink
+socket to the specified multicast group. One or more userspace processes
+may subscribe to the group to receive the packets.
+.TP
+.B "--nflog"
+.br
+Log with the default logging options
+.TP
+.B --nflog-group "\fInlgroup\fP"
+.br
+The netlink group (1 - 2^32-1) to which packets are (only applicable for
+nfnetlink_log). The default value is 1.
+.TP
+.B --nflog-prefix "\fIprefix\fP"
+.br
+A prefix string to include in the log message, up to 30 characters
+long, useful for distinguishing messages in the logs.
+.TP
+.B --nflog-range "\fIsize\fP"
+.br
+The number of bytes to be copied to userspace (only applicable for
+nfnetlink_log). nfnetlink_log instances may specify their own
+range, this option overrides it.
+.TP
+.B --nflog-threshold "\fIsize\fP"
+.br
+Number of packets to queue inside the kernel before sending them
+to userspace (only applicable for nfnetlink_log). Higher values
+result in less overhead per packet, but increase delay until the
+packets reach userspace. The default value is 1.
.SS ulog
The ulog watcher passes the packet to a userspace
logging daemon using netlink multicast sockets. This differs