Blame bootstrap_ver/extensions/libxt_NFQUEUE.man

Packit Service 2cd632
This target passes the packet to userspace using the
Packit Service 2cd632
\fBnfnetlink_queue\fP handler.  The packet is put into the queue
Packit Service 2cd632
identified by its 16-bit queue number.  Userspace can inspect
Packit Service 2cd632
and modify the packet if desired. Userspace must then drop or
Packit Service 2cd632
reinject the packet into the kernel.  Please see libnetfilter_queue
Packit Service 2cd632
for details.
Packit Service 2cd632
.B
Packit Service 2cd632
nfnetlink_queue
Packit Service 2cd632
was added in Linux 2.6.14. The \fBqueue-balance\fP option was added in Linux 2.6.31,
Packit Service 2cd632
\fBqueue-bypass\fP in 2.6.39.
Packit Service 2cd632
.TP
Packit Service 2cd632
\fB\-\-queue\-num\fP \fIvalue\fP
Packit Service 2cd632
This specifies the QUEUE number to use. Valid queue numbers are 0 to 65535. The default value is 0.
Packit Service 2cd632
.PP
Packit Service 2cd632
.TP
Packit Service 2cd632
\fB\-\-queue\-balance\fP \fIvalue\fP\fB:\fP\fIvalue\fP
Packit Service 2cd632
This specifies a range of queues to use. Packets are then balanced across the given queues.
Packit Service 2cd632
This is useful for multicore systems: start multiple instances of the userspace program on
Packit Service 2cd632
queues x, x+1, .. x+n and use "\-\-queue\-balance \fIx\fP\fB:\fP\fIx+n\fP".
Packit Service 2cd632
Packets belonging to the same connection are put into the same nfqueue.
Packit Service 2cd632
.PP
Packit Service 2cd632
.TP
Packit Service 2cd632
\fB\-\-queue\-bypass\fP
Packit Service 2cd632
By default, if no userspace program is listening on an NFQUEUE, then all packets that are to be queued
Packit Service 2cd632
are dropped.  When this option is used, the NFQUEUE rule behaves like ACCEPT instead, and the packet
Packit Service 2cd632
will move on to the next table.
Packit Service 2cd632
.PP
Packit Service 2cd632
.TP
Packit Service 2cd632
\fB\-\-queue\-cpu-fanout\fP
Packit Service 2cd632
Available starting Linux kernel 3.10. When used together with
Packit Service 2cd632
\fB--queue-balance\fP this will use the CPU ID as an index to map packets to
Packit Service 2cd632
the queues. The idea is that you can improve performance if there's a queue
Packit Service 2cd632
per CPU. This requires \fB--queue-balance\fP to be specified.