Blame extensions/libxt_NFLOG.man

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