Blame extensions/libxt_SET.man

Packit Service d1fe03
This module adds and/or deletes entries from IP sets which can be defined
Packit Service d1fe03
by ipset(8).
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-add\-set\fP \fIsetname\fP \fIflag\fP[\fB,\fP\fIflag\fP...]
Packit Service d1fe03
add the address(es)/port(s) of the packet to the set
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-del\-set\fP \fIsetname\fP \fIflag\fP[\fB,\fP\fIflag\fP...]
Packit Service d1fe03
delete the address(es)/port(s) of the packet from the set
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-map\-set\fP \fIsetname\fP \fIflag\fP[\fB,\fP\fIflag\fP...] 
Packit Service d1fe03
[\-\-map\-mark] [\-\-map\-prio] [\-\-map\-queue]
Packit Service d1fe03
map packet properties (firewall mark, tc priority, hardware queue)
Packit Service d1fe03
.IP
Packit Service d1fe03
where \fIflag\fP(s) are
Packit Service d1fe03
.BR "src"
Packit Service d1fe03
and/or
Packit Service d1fe03
.BR "dst"
Packit Service d1fe03
specifications and there can be no more than six of them.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-timeout\fP \fIvalue\fP
Packit Service d1fe03
when adding an entry, the timeout value to use instead of the default
Packit Service d1fe03
one from the set definition
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-exist\fP
Packit Service d1fe03
when adding an entry if it already exists, reset the timeout value
Packit Service d1fe03
to the specified one or to the default from the set definition
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-\-map\-set\fP \fIset\-name\fP
Packit Service d1fe03
the set-name should be created with --skbinfo option
Packit Service d1fe03
\fB\-\-map\-mark\fP
Packit Service d1fe03
map firewall mark to packet by lookup of value in the set
Packit Service d1fe03
\fB\-\-map\-prio\fP
Packit Service d1fe03
map traffic control priority to packet by lookup of value in the set
Packit Service d1fe03
\fB\-\-map\-queue\fP
Packit Service d1fe03
map hardware NIC queue to packet by lookup of value in the set
Packit Service d1fe03
.IP
Packit Service d1fe03
The
Packit Service d1fe03
\fB\-\-map\-set\fP
Packit Service d1fe03
option can be used from the mangle table only. The
Packit Service d1fe03
\fB\-\-map\-prio\fP
Packit Service d1fe03
and
Packit Service d1fe03
\fB\-\-map\-queue\fP
Packit Service d1fe03
flags can be used in the OUTPUT, FORWARD and POSTROUTING chains.
Packit Service d1fe03
.PP
Packit Service d1fe03
Use of -j SET requires that ipset kernel support is provided, which, for
Packit Service d1fe03
standard kernels, is the case since Linux 2.6.39.