Ipset not working

G’day,

[root@wr-fw ~]# ipset -L
ipset v7.15: Kernel error received: Invalid argument

According to wiki.ipfire.org - IPset

[root@wr-fw ~]# lsmod|grep set
[root@wr-fw ~]#

I would need to do

modprobe ip_set

On older kernels, does not state what is old.

[root@wr-fw ~]# cat /etc/os-release /etc/system-release
NAME="IPFire"
VERSION="2.27"
ID=ipfire
VERSION_ID=2
PRETTY_NAME="IPFire 2.27 (x86_64) - core172"
ANSI_COLOR="0:31"
IPFire 2.27 (x86_64) - core172

Should ipset just work, or do I need the modprobe

The lsmod command is a little different: The last item in the line is ip_set:

[root@ipfire ~] # lsmod | grep ip_set
ip_set_hash_net        53248  19
ip_set                 61440  2 xt_set,ip_set_hash_net
[root@ipfire ~] # 

for what it is worth, ipset was updated in cu173. this is what I have:

[root@ipfire ~] # ipset version
ipset v7.17, protocol version: 7
[root@ipfire ~] # 

you may want to try rebooting first - maybe that might help. and then maybe try updating to cu173.


EDIT:

it should just work. modprobe is not needed.

2 Likes

I will update! it is pending anyway.

1 Like