LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Slackware Linux and iptables... (https://www.linuxquestions.org/questions/linux-security-4/slackware-linux-and-iptables-404554/)

jademan83 01-17-2006 02:06 PM

Slackware Linux and iptables...
 
I am trying to get iptables to run on our DNS server. The server is running slackware 9 with kernel 2.4.30. It did not appear to have the iptables package installed so I acquired the latest iptables package v1.3.4 and installed. I get the error message every time I try and start adding IP addresses:

iptables v1.3.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Is there something else I needed to do. I'm fairly new to some of this, but the research I am finding sounds like I followed all directions. I have a recent enough kernel, I believe, and the installation directions seemed to work fine, no stop errors or anything. Any help would be appreciated.

Thanks

Finlay 01-18-2006 01:13 PM

you probably should remove that package and download the:
PACKAGE NAME: iptables-1.2.7a-i386-2.tgz
from a slackware mirror, this is the version that was distributed with slack 9

godkiller 01-19-2006 04:49 AM

You get that error message when you dont have the filter table loaded, you either forgot to install the modules or you have not compiled the functionality as either module or statically into the kernel. Try: `depmod -a' to upgrade your module databases and `iptables -L -v' to make sure everything works correctly, if you still get error messages try recompiling the kernel.

win32sux 01-28-2006 07:26 PM

how did it go with this, jademan83??

jademan83 01-30-2006 02:18 PM

Well, it appears that something more was going wrong with that server. The named service starts to eat up memory really bad and causes the system to bog down. I checked all logs, and couldn't find any clear reason, there weren't any clear system messages for problems, and no suspicious activities that I could find either. I have built another box with a newer version of Slackware and Bind, and haven't had to setup IPTables yet. Server seems to be alright thus far (it has been up for a few hours) so we'll see by tomorrow how it is doing.

Thanks for all help and suggestions.


All times are GMT -5. The time now is 10:11 AM.