summaryrefslogtreecommitdiffstats
path: root/lib/ipset_hash_ipportnet.c
Commit message (Collapse)AuthorAgeFilesLines
* libipset: Add userspace support of the skbinfo extension of the hash set types.Anton Danilov2014-09-141-0/+214
| | | | | | | | Add userspace part for support of new revisions of the hash set types with the skbinfo extension. Signed-off-by: Anton Danilov <littlesmilingcloud@gmail.com> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
* ipset: add userspace support for forceaddJosh Hunt2014-03-041-0/+169
| | | | | | | The userspace side of the forceadd changes. Signed-off-by: Josh Hunt <johunt@akamai.com> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
* ipset: Add new userspace set revisions for comment supportOliver Smith2013-09-231-0/+195
| | | | | | | | | | | This introduces new revisions of all hash and bitmap ipsets to complement the comment functionality introduced into the kernel modules. Currently all sets have a compile-time limit of 255 characters including \0. This can otherwise be arbitrarily modified. Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
* Introduce the new set type revisions with counter supportJozsef Kadlecsik2013-04-091-15/+200
| | | | Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
* Help prints list type revision and terse descriptionJozsef Kadlecsik2012-09-101-0/+3
| | | | | In order to catch kernel/userspace revision mismatch, better print all available data.
* Add more CC warning option to debug modeJozsef Kadlecsik2012-05-101-0/+1
|
* Add dynamic module support to ipset userspace toolNeutron Soutmun2012-05-101-3/+9
| | | | | | | | | | | | | The patch adds supporting dynamic modules for the set types to ipset userspace tool. The dynamic module support can be enabled by the --enable-settype-modules of "configure". The list of set types to be compiled as dynamic modules can be specified in the --with-settype-modules-list option. Example --enable-settype-modules \ --with-settype-modules-list="ipset_hash_ip ipset_hash_ipport" The keyword "all" can be used to compile all set types as dynamic modules.
* Fix timeout value overflow bug at large timeout parametersJozsef Kadlecsik2012-05-041-3/+3
| | | | | Large timeout parameters could result wrong timeout values due to an overflow at msec to jiffies conversion (reported by Andreas Herz)
* Exceptions support added to hash:*net* typesJozsef Kadlecsik2012-01-131-0/+105
| | | | | | | | | | | | The "nomatch" keyword and option is added to the hash:*net* types, by which one can add exception entries to sets. Example: ipset create test hash:net ipset add test 192.168.0/24 ipset add test 192.168.0/30 nomatch In this case the IP addresses from 192.168.0/24 except 192.168.0/30 match the elements of the set.
* Set types moved into libipset libraryJozsef Kadlecsik2012-01-051-0/+254
The libipset library is complete by this step, and "ipset" just a CLI interface based on the lib.