Blame extensions/libxt_LOG.man

Packit Service d1fe03
Turn on kernel logging of matching packets.  When this option is set
Packit Service d1fe03
for a rule, the Linux kernel will print some information on all
Packit Service d1fe03
matching packets (like most IP/IPv6 header fields) via the kernel log
Packit Service d1fe03
(where it can be read with \fIdmesg(1)\fP or read in the syslog).
Packit Service d1fe03
.PP
Packit Service d1fe03
This is a "non-terminating target", i.e. rule traversal continues at
Packit Service d1fe03
the next rule.  So if you want to LOG the packets you refuse, use two
Packit Service d1fe03
separate rules with the same matching criteria, first using target LOG
Packit Service d1fe03
then DROP (or REJECT).
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-log\-level\fP \fIlevel\fP
Packit Service d1fe03
Level of logging, which can be (system-specific) numeric or a mnemonic.
Packit Service d1fe03
Possible values are (in decreasing order of priority): \fBemerg\fP,
Packit Service d1fe03
\fBalert\fP, \fBcrit\fP, \fBerror\fP, \fBwarning\fP, \fBnotice\fP, \fBinfo\fP
Packit Service d1fe03
or \fBdebug\fP.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-log\-prefix\fP \fIprefix\fP
Packit Service d1fe03
Prefix log messages with the specified prefix; up to 29 letters long,
Packit Service d1fe03
and useful for distinguishing messages in the logs.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-log\-tcp\-sequence\fP
Packit Service d1fe03
Log TCP sequence numbers. This is a security risk if the log is
Packit Service d1fe03
readable by users.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-log\-tcp\-options\fP
Packit Service d1fe03
Log options from the TCP packet header.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-log\-ip\-options\fP
Packit Service d1fe03
Log options from the IP/IPv6 packet header.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-log\-uid\fP
Packit Service d1fe03
Log the userid of the process which generated the packet.