> I have installed the 2.4.18 kernel (from source) and built the same as my > 2.4.9-31 RH7.2 stock kernel. > > iptables (vs 1.2.4) works OK with my rebuilt 2.4.9.31 Kernel, but fails with > the 2.4.18 Kernel. > (I checked all the options are the same)
Get a new iptables (1.2.6a, or from CVS). > 1. Is there an incompatibility between iptables (user space utils) and > kernel 2.4.18 ?? Most likely. The iptables user level program is intimately tied to the kernel implementation, and not supposed to be upward- and downward compatible to a large range of varying kernel stuff. This is the price to pay for rapid development, unfortunately. > 2. Can someone tell me how to build a new one ? (never came across a bz2 > file before !) Best get it from CVS. Follow the instructions on www.netfilter.org for CVS access. This will give you a local directory "netfilter/userspace/". Go in there, and look at the file INSTALL. Do what it tells you WRT doing "make pending-patches" (this gives you last-minute fixes to the kernel tree), then do "make". If you also do "make install", iptables will install under /usr/local/. To change that, look into the 'Makefile', and modify the "PREFIX" variable to your taste. Then "make install". good luck Patrick
