diff options
author | Josh Hunt <johunt@akamai.com> | 2014-02-28 22:14:58 -0500 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-03-04 17:36:49 +0100 |
commit | 51ffda2edac5f30fa59d7e2728fe67868f2b850e (patch) | |
tree | 749cf84d5401c68e4d4964518a1f9baa674baef7 /src/ipset.8 | |
parent | ca6038b28b875211f3a17f27e8c28af7a55898f7 (diff) |
ipset: add userspace support for forceadd
The userspace side of the forceadd changes.
Signed-off-by: Josh Hunt <johunt@akamai.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'src/ipset.8')
-rw-r--r-- | src/ipset.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ipset.8 b/src/ipset.8 index eeda9e7..6c9a0f5 100644 --- a/src/ipset.8 +++ b/src/ipset.8 @@ -327,6 +327,13 @@ ipset add foo 192.168.1.1/24 comment "allow access to SMB share on \\\\\\\\files .IP the above would appear as: "allow access to SMB share on \\\\fileserv\\" .PP +.SS forceadd +All hash set types support the optional \fBforceadd\fR parameter when creating a set. +When sets created with this option become full the next addition to the set may +succeed and evict a random entry from the set. +.IP +ipset create foo hash:ip forceadd +.PP .SH "SET TYPES" .SS bitmap:ip The \fBbitmap:ip\fR set type uses a memory range to store either IPv4 host |