On Sun, 30 Sep 2001, Darrell Burkey wrote: > On a separate matter, can someone tell me how RedHat 7.1 determines if it is > going to load the ipchains or iptables kernel module? I've checked all the > usual suspects like modules.conf and the startup scripts but I'm very > confused (nothing new here).
This may have been answered already but there's two things that do this. Check for the existence of /etc/sysconfig/ipchains which contains the ruleset. You can create this from a running firewall by doing "ipchains-save >/etc/sysconfig/ipchains". I suppose it's similar with iptables. Also checkout /etc/rc.d/init.d/ipchains to see what it does. Lastly run "ntsysv" and make sure there's a checkbox next to ipchains. The ntsysv command changes the setup for the runlevel you're in. For example if you're in runlevel 3 (as any server should be) it will rename /etc/rc.d/rc3.d/K08ipchains to /etc/rc.d/rc3.d/S08ipchains if you turn the checkbox on. As for /etc/modules.conf, there's no mention of the ipchains module there so I guess it gets loaded on demand when you run the ipchains command. -- ---<GRiP>--- Web: www.arcadia.au.com/gripz Phone/fax: 02 4950 1194 Mobile: 0408 686 201 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
