From 51ffda2edac5f30fa59d7e2728fe67868f2b850e Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Fri, 28 Feb 2014 22:14:58 -0500 Subject: ipset: add userspace support for forceadd The userspace side of the forceadd changes. Signed-off-by: Josh Hunt Signed-off-by: Jozsef Kadlecsik --- src/ipset.8 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ipset.8') 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 -- cgit v1.2.3