summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_LOG.man
diff options
context:
space:
mode:
authorHenrik Nordstrom <hno@marasystems.com>2004-01-22 15:04:24 +0000
committerHarald Welte <laforge@gnumonks.org>2004-01-22 15:04:24 +0000
commitc2794131b445ebccba184066af6d3fb2f38d1f38 (patch)
treea24f57a9be5a8364b53dfa102705d270f36b440a /extensions/libipt_LOG.man
parent0113fe75ff05e09e6f3d251534d9ae32e9aa717c (diff)
split manpages into per-extension manpage snippet (Henrik Nordstrom)
add lots of missing manpage snippets (Harald Welte)
Diffstat (limited to 'extensions/libipt_LOG.man')
-rw-r--r--extensions/libipt_LOG.man28
1 files changed, 28 insertions, 0 deletions
diff --git a/extensions/libipt_LOG.man b/extensions/libipt_LOG.man
new file mode 100644
index 00000000..c604c76c
--- /dev/null
+++ b/extensions/libipt_LOG.man
@@ -0,0 +1,28 @@
+Turn on kernel logging of matching packets. When this option is set
+for a rule, the Linux kernel will print some information on all
+matching packets (like most IP header fields) via the kernel log
+(where it can be read with
+.I dmesg
+or
+.IR syslogd (8)).
+This is a "non-terminating target", i.e. rule traversal continues at
+the next rule. So if you want to LOG the packets you refuse, use two
+separate rules with the same matching criteria, first using target LOG
+then DROP (or REJECT).
+.TP
+.BI "--log-level " "level"
+Level of logging (numeric or see \fIsyslog.conf\fP(5)).
+.TP
+.BI "--log-prefix " "prefix"
+Prefix log messages with the specified prefix; up to 29 letters long,
+and useful for distinguishing messages in the logs.
+.TP
+.B --log-tcp-sequence
+Log TCP sequence numbers. This is a security risk if the log is
+readable by users.
+.TP
+.B --log-tcp-options
+Log options from the TCP packet header.
+.TP
+.B --log-ip-options
+Log options from the IP packet header.