Skip to content

Instantly share code, notes, and snippets.

@rjt rjt/modinfo-ip_set
Last active Aug 29, 2015

Embed
What would you like to do?
ip_set module not loading into CentOS 6.5
[root]# modinfo ip_set
filename: /lib/modules/2.6.32-431.23.3.el6.x86_64/kernel/net/netfilter/ipset/ip_set.ko
alias: nfnetlink-subsys-6
description: core IP set support
author: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
license: GPL
srcversion: 3EDD1B73D424DDE6D909F01
depends: nfnetlink
vermagic: 2.6.32-431.23.3.el6.x86_64 SMP mod_unload modversions
parm: max_sets:maximal number of sets (int)
From April of 2014:
filename: /lib/modules/2.6.32-431.5.1.el6.x86_64/kernel/net/netfilter/ipset/ip_set.ko
alias: nfnetlink-subsys-6
description: core IP set support
author: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
license: GPL
srcversion: 3EDD1B73D424DDE6D909F01
depends: nfnetlink
vermagic: 2.6.32-431.5.1.el6.x86_64 SMP mod_unload modversions
parm: max_sets:maximal number of sets (int)
CentOS 6.5 64bit ipset-6.11-1.el6
So i wonder if i need to load all of the following modules that i actually use or just ip_set.
[root@pc232 modprobe.d]# modprobe -l | grep ip_set
kernel/net/netfilter/ipset/ip_set.ko
kernel/net/netfilter/ipset/ip_set_bitmap_ip.ko
kernel/net/netfilter/ipset/ip_set_bitmap_ipmac.ko
kernel/net/netfilter/ipset/ip_set_bitmap_port.ko
kernel/net/netfilter/ipset/ip_set_hash_ip.ko
kernel/net/netfilter/ipset/ip_set_hash_ipport.ko
kernel/net/netfilter/ipset/ip_set_hash_ipportip.ko
kernel/net/netfilter/ipset/ip_set_hash_ipportnet.ko
kernel/net/netfilter/ipset/ip_set_hash_net.ko
kernel/net/netfilter/ipset/ip_set_hash_netport.ko
kernel/net/netfilter/ipset/ip_set_list_set.ko
dracut.conf also has a place to load modules into the initramfs
i created /etc/modprobe.d/ipset.conf and inserted 'install ip_set' which resulted in
iptables: Applying firewall rules: WARNING: /etc/modprobe.d/ipset.conf line 21: ignoring bad line starting with 'install'
simply putting ip_set in /etc/modprobe.d/ipset.conf
ip6tables: Applying firewall rules: WARNING: /etc/modprobe.d/ipset.conf line 22: ignoring bad line starting with 'ip_set'
iptables: Applying firewall rules: WARNING: /etc/modprobe.d/ipset.conf line 22: ignoring bad line starting with 'ip_set'
modprobe ip_set:
ip6tables: Applying firewall rules: WARNING: /etc/modprobe.d/ipset.conf line 23: ignoring bad line starting with 'modprobe'
iptables: Applying firewall rules: WARNING: /etc/modprobe.d/ipset.conf line 23: ignoring bad line starting with 'modprobe'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.