Re: where to find ip_tables

From: richard noel fell (
Date: 08/27/03

Date: Wed, 27 Aug 2003 08:44:42 -0400

Gustavo Perez wrote:

> richard noel fell wrote:
>> Gustavo Perez wrote:
>>> richard noel fell wrote:
>>>> Dick Fell
>> [rfell@rosewall net]$ ls /lib/modules/2.4.21-asmp/kernel/drivers/net
>> 3c59x.o bonding.o e1000.o e100.o eepro100.o mii.o
>> [rfell@rosewall net]$ /sbin/modprobe ip_tables
>> modprobe: Can't locate module ip_tables
>> [rfell@rosewall net]$
>> I guess I am missing something.
>> Dick
> My apologies but you must check this directory :
> /lib/modules/2.4.20-8/kernel/net/ipv4/netfilter/
> Here at work I find the modules used by the netfilter modules used
> for packet filtering. Checking my slack at home configuration shows :
> /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip
> So in fact this is the right directory. If you are missing this
> modules, there are two possibilities to get them :
> 1).- Compile a new version of the kernel with netfilter support as
> modules (with ip-masq, blablabla). Remember to use the EXTRAVERSION
> directive in the Makefile located in /usr/src/linux (you should use it
> as it won't hurd, is used to keep to kernels of the same version) in
> other not to conflict your previous modules.
> 2).- Due you are using one of those user-friendly distro, probably
> you may grab the netfilter related modules from a ftp amb install them
> via rpm.
> If you need assistance I may help you via e-mail.
> Gus
Gus -
    Thanks for your reply and efforts. The relevant directory in redhat
9 is /usr/src/linux-2.4.21-asmp/net/ipv4/netfilter
This includes, among many other files, ip_tables.c and a Makefile. I
have to read up about compiling a new kernel as that is beyond my
expertise level. Any further advice is more than welcome.

Relevant Pages

  • Re: Can not "make clean" etc.
    ... > Missing}. ... > This problem also exists when I tried to compile the kernel by running ... > I even tried to cvsup to the lastest port, ...
  • Re: unknown option "VT_MAXWINDOWS"
    ... Trying to compile a kernel with ... unknown option "VT_MAXWINDOWS" ... These were missing in the options definition file, ...
  • Re: Can I use the .config from 2.4.22 in 2.6.0-Test9 ???
    ... > I've compiled the 2.6.0-test9 kernel, but I think I'm missing some ... > stuff as I have no network support when I boot. ... this is my first attempt to compile a totally new kernel. ...
  • make: missing }.
    ... When I try to compile a kernel for example: ... Missing}. ... >/usr/ports/shell/bash2# make all install clean ...
  • Re: compile from source
    ... I'm trying to compile madwifi and this is the results: ... Am I missing something? ... I have the kernel source: ... This is the first time I'm trying to compile from source ...