Blame extensions/libxt_NFLOG.man

Packit Service d1fe03
This target provides logging of matching packets. When this target is
Packit Service d1fe03
set for a rule, the Linux kernel will pass the packet to the loaded
Packit Service d1fe03
logging backend to log the packet. This is usually used in combination
Packit Service d1fe03
with nfnetlink_log as logging backend, which will multicast the packet
Packit Service d1fe03
through a
Packit Service d1fe03
.IR netlink
Packit Service d1fe03
socket to the specified multicast group. One or more userspace processes
Packit Service d1fe03
may subscribe to the group to receive the packets. Like LOG, this is a
Packit Service d1fe03
non-terminating target, i.e. rule traversal continues at the next rule.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-nflog\-group\fP \fInlgroup\fP
Packit Service d1fe03
The netlink group (0 - 2^16\-1) to which packets are (only applicable for
Packit Service d1fe03
nfnetlink_log). The default value is 0.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-nflog\-prefix\fP \fIprefix\fP
Packit Service d1fe03
A prefix string to include in the log message, up to 64 characters
Packit Service d1fe03
long, useful for distinguishing messages in the logs.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-nflog\-range\fP \fIsize\fP
Packit Service d1fe03
This option has never worked, use --nflog-size instead
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-nflog\-size\fP \fIsize\fP
Packit Service d1fe03
The number of bytes to be copied to userspace (only applicable for
Packit Service d1fe03
nfnetlink_log). nfnetlink_log instances may specify their own
Packit Service d1fe03
range, this option overrides it.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-nflog\-threshold\fP \fIsize\fP
Packit Service d1fe03
Number of packets to queue inside the kernel before sending them
Packit Service d1fe03
to userspace (only applicable for nfnetlink_log). Higher values
Packit Service d1fe03
result in less overhead per packet, but increase delay until the
Packit Service d1fe03
packets reach userspace. The default value is 1.
Packit Service d1fe03
.BR