Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have configured iptables in my system and is working.
But I cant find iptables kernel folders such as iptables/extensions/Makefile to make a utility
Where to locate them?
or how to download and install?
Last edited by emjdev; 10-08-2010 at 05:05 AM.
Reason: Its not ipchains but iptables
I am using redhat 2.4.18-14 and have iptables v1.2.6a in it.
Now that I want to test and install a small program utility to be hooked to iptables.
I am instructed to load a couple of *.c programs to my iptables/extensions directory,
run make, make install there and copy the *.so to lib/iptables directory.
However, I can't find any iptables/extensions directory so I downloaded the iptables-126.96.36.199.tar.bz2 unzipped it, run ./configure, make and make utilities. then there it
created and iptables/extensions directory. Now I have two issues
(a) There is only a gnumakefile in folder iptables/extensions. no makefile is seen.
(b)Still iptables -v shows old version number ie v1.2.6a and not 1.4.9.*
Before you go and start replacing the distro supplied iptables with a
roll-your-own one .. did you check whether there's a iptables-development
package on your installation media, or available from RedHat?
Btw, you didn't really say which distro of Linux you're running,
just which kernel you have (which, just to note, is ancient).
Is there any reason you're using RH8; it hasn't been updated or supported in many(!)years and used ipchains, NOT iptables for the firewall.... http://en.wikipedia.org/wiki/Red_Hat_Linux
Currently you'd use Centos 5.5 (free version of RHEL) or Fedora 13(?)
Thanks for your valuable comments. We were using this as a proxy server and so far working fine w/o any issues. Now is it possible to update this w/o uninstalling to work with iptables? (it had iptables*.rpm version v1.2.6a
To get back to the original question, it seems appropriate to point out the underlying architecture. The iptables utility is a userspace application that is used to manage the rules that are applied to the kernel module 'netfilter'. If you want to modify the kernel component, you would need to look in the kernel sources in the 'net/' source tree. Any changes you make there would then involve rebuilding and installing the new kernel. OTOH, the sources for iptables should be available for your scrutiny and modification. What functionality are you trying to add?