Hi Amit, On Thu, May 20, 2004 at 08:17:06AM +0530, aksingh@xxxxxxxxxxx told us: > > HI Sven, > > Well 1.2.1 was on a different system , that had linux 2.4.2, ip_tables > 1.2.7a was on a system that has 2.4.20-8. Ok fine, that means I got it > terribly wrong ;-) . So iptables.o is the object file I get after compiling > iptables.c from source. And after every make, make install the kernel > module ip_tables.o is automatically put in the directory > /lib/modules/2.x.x/kernel/net/ipv4/netfilter/ip_tables.o. This happens even > if I had a different ip_tables version installed earlier ? i.e the earlier > version is overwritten ?. Also, the reason why I got this doubt is : > 1) I erased the ip_tables rpm after I installed from source > 2) ls -la on /lib/modules/2.x.x/kernel/net/ipv4/netfilter/ip_tables.o shows > me march 14, whereas for all object files in the source directory where I > untarred the iptables 1.2.9 source show me may 19th i.e yesterday. So is > this kernel module not made while doing a make ? The ip_tables.o is made when you compile your kernel and is copied to the /lib/modules/2.x.x/kernel/net/ipv4/netfilter directory when you issue make modules_install from your kernel source directory (or when you install the kernel RPM). Each time you recompile the kernel and do the make modules_install the old ip_tables.o is replaced by the newly compiled. Sven > > thanks > Amit > -- Linux zion 2.6.6-tcp #4 Thu May 13 20:39:05 CEST 2004 i686 athlon i386 GNU/Linux 16:07:51 up 6 days, 18:10, 1 user, load average: 0.04, 0.04, 0.02
Attachment:
pgp00879.pgp
Description: PGP signature