LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   ipchains newbie. Kernel newbie (https://www.linuxquestions.org/questions/linux-security-4/ipchains-newbie-kernel-newbie-22336/)

skeletal29 06-01-2002 03:49 PM

ipchains newbie. Kernel newbie
 
I need some help.
I am trying to install ipchains and in the readme file it says i need a

You need to be running a kernel compiled with CONFIG_IP_FIREWALL (for
2.1.102 and above) or CONFIG_IP_FIREWALL_CHAINS set to `y'. You can
tell that your current kernel is compiled with this by looking for
`/proc/net/ip_fwchains' - if it exists, then your kernel is ready for
the ipchains utility.


how do i do this?
I have never compiled a kernel and im running mandrake 8.2 .
Some one please guide me on how to get started.

Psycho 06-01-2002 11:13 PM

I'd recommend using IPTables myself, IPChains is old hat. I would expect IP_Firewall to be enabled in 'Drake it is in RedHat. I don't know how to tell off the top of my head, but look into IPTables and see if the information there isn't (a lot) more up to date.

skeletal29 06-02-2002 12:52 AM

dude. Thats not the problem. I need to install,compile that module into the kernel i dont know how to do that.

unSpawn 06-02-2002 03:30 AM

If you never compiled a kernel the basics are here.
*If you're installing a new tarball of netfilter/iptables you'd want to do the patch-o-matic thing first, this will patch the kernel source and add options under "netfilter config".
In the Xconfig/config menu in one of the first tabs select "code maturity" and activate it to read something like "developmental/experimental", go to Networking tab, activate "network packet filtering". Now select "netfilter Configuration" and activate all modules.
When done selecting options hanlde making/installing the kernel as usual.


HTH somehow.

/* Btw, IMO this ain't a security question but a software/config one. Please consider your forum target before posting. */


All times are GMT -5. The time now is 12:10 PM.