blob: 739be41467ca847a7e78a70d17ee5c20047f8b97 [file] [log] [blame]
Joszef Kadlecsikb9a49382004-12-01 09:11:33 +00001This modules adds and/or deletes entries from IP sets which can be defined
2by ipset(8).
3.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01004\fB\-\-add\-set\fP \fIsetname\fP \fIflag\fP[\fB,\fP\fIflag\fP...]
Joszef Kadlecsikb9a49382004-12-01 09:11:33 +00005add the address(es)/port(s) of the packet to the sets
6.TP
Jan Engelhardtfea74bf2009-01-12 04:53:18 +01007\fB\-\-del\-set\fP \fIsetname\fP \fIflag\fP[\fB,\fP\fIflag\fP...]
Jozsef Kadlecsik2d280012009-06-11 12:27:09 +02008delete the address(es)/port(s) of the packet from the sets
9.IP
Joszef Kadlecsikb9a49382004-12-01 09:11:33 +000010where flags are
11.BR "src"
12and/or
13.BR "dst"
Jozsef Kadlecsik2d280012009-06-11 12:27:09 +020014specifications and there can be no more than six of them.
Jozsef Kadlecsike39f3672011-04-17 11:38:18 +020015.TP
16\fB\-\-timeout\fP \fIvalue\fP
17when adding entry, the timeout value to use instead of the default
18one from the set definition
19.TP
20\fB\-\-exist\fP
21when adding entry if it already exists, reset the timeout value
22to the specified one or to the default from the set definition
Jan Engelhardtcd46b142010-01-19 18:47:43 +010023.PP
24Use of -j SET requires that ipset kernel support is provided. As standard
25kernels do not ship this currently, the ipset or Xtables-addons package needs
26to be installed.