Operating Systems > Linux and UNIX
modules
voidmain:
Well, they sorta do, if you find the right manual. This would be a distro specific service call, but I knew you were using RedHat sooo. You might also look at that /etc/rc.d/init.d/iptables script and see exactly what commands are used under the "stop" section. I consider the scripts/code to be documentation as well, you can learn a lot by looking through them.
Master of Reality:
ok i stopped iptables an unloaded its module, but when i try to
insmod ipchains
it says:
Using /lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ipchains.o
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ipchains.o: init_module: Device or resource busy
does this mean that there is soemthing using iptables still? I couldnt find very good info on switching from iptables to ipchains (most people switch to iptables from ipchains) when i STFW.
voidmain:
I just did an "insmod ipchains" without a problem (even though it is better practice to do a "modprobe ipchains"). You must have iptables stuff loaded. If you make sure iptables service is turned off (/sbin/chkconfig iptables off) and you shut down the service then that should be it.
Can you paste in a copy of the output of "/sbin/lsmod"? You could always whimp out and reboot but I would never do that. Also if you added any other firewall script or modules to your startup scripts (rc.local etc) you'll need to comment them out first.
Master of Reality:
i dont need to restart... couldnt i just go down to runlevel 1 where all the internet stuff is turned off and then back up to init 3?
voidmain:
Can you post your module list from "lsmod"?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version