Last active
August 29, 2015 14:05
-
-
Save rjt/ea79d97da5c122ddc9ee to your computer and use it in GitHub Desktop.
ip_set module not loading into CentOS 6.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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