Page 1 of 1

ipset v6.19: Sets cannot be swapped: the second set does not exist

Posted: 18 Sep 2015, 21:42
by aww+
showed up today in the logs

Code: Select all

 Retrieved and blocking blocklist XYZ IP address ranges
 IPSET: loading set new_XYZ with 167 entries
 IPSET: switching set new_XYZ to bl_XYZ
 *Error* IPSET: [ipset v6.19: Sets cannot be swapped: the second set does not exist]
 
(btw on another server not using IPSET the blocklist was applied but that is probably obvious)

Re: ipset v6.19: Sets cannot be swapped: the second set does not exist

Posted: 28 Sep 2015, 10:01
by ForumAdmin
That will happen if you change the csf or blocklist settings and only restart lfd without first restarting csf which sets up the sets.

Re: ipset v6.19: Sets cannot be swapped: the second set does not exist

Posted: 28 Sep 2015, 19:59
by aww+
It would be nice if CSF didn't have to be restarted to load a new set.

Even with the fast restart feature, with very large sets it can take awhile and leaves the server vulnerable (and causes a heavy load).

Maybe a future feature for LFD would be to create the set if it fails to swap?