Demand loading of kernel modules not working properly
Evan Jones
ejones@netwinder.org
Mon, 11 Sep 2000 17:10:15 -0400
I am running a 2.4-test8 kernel and have been testing iptables (both the
1.1.1 and CVS versions). I believe I've found a bug. It seems to me that
demand loading of kernel modules is not working reliably. Some commands
load modules, others do not. Please let me know if this is a known issue
that someone is working on. If not, I'll whip up a quick patch myself.
Thank you
Problematic Examples:
Does not work:
peregrine:~# iptables -A INPUT -s netwinder
iptables v1.1.1: can't initialize iptables table `filter': iptables who?
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Does work:
peregrine:~# insmod ip_tables
Using /lib/modules/2.4.0-test8/kernel/net/ipv4/netfilter/ip_tables.o
peregrine:~# iptables -A INPUT -s netwinder
It seems to me that the first example should automatically load ip_tables.
Does not work:
peregrine:~# iptables -P FORWARD REJECT
iptables: Bad policy name
Does work:
peregrine:~# iptables -A FORWARD -s netwinder -j REJECT
Same thing here, the first command should also try to autoload the
ipt_REJECT module before failing.
--
Evan Jones - ejones@netwinder.org
Technology with Attitude - Rebel.com