problems applying ipset patch
I've tried to apply the ipset patch in my CentOS 4.4 distribution, without success.
I've followed instructions here http://www.howtoforge.com/kernel_compilation_centos_p2?s=aabdb730a09fa747d00f2b9a3ff431cc&
(CentOS Kernel Compile) and here
http://ipset.netfilter.org/install.html (ipset patch apply).
The patch is applied successfully, but when I try to recompile, I obtain these errors (after a long list of compiled files):
...
LD .tmp_vmlinux1
net/built-in.o(.init.text+0x16f1): In function `ipt_ipset_init':net/ipv4/netfilter/ipt_set.c:133: undefined reference to xt_register_match' net/built-in.o(.init.text+0x1700): In function ipt_SET_init':net/ipv4/netfilter/ipt_SET.c:151: undefined reference to xt_register_target' net/built-in.o(.exit.text+0x41): In function ipt_ipset_fini':net/ipv4/netfilter/ipt_set.c:138: undefined reference to xt_unregister_match' net/built-in.o(.exit.text+0x50): In function ipt_SET_fini':net/ipv4/netfilter/ipt_SET.c:156: undefined reference to `xt_unregister_target'
make: *** [.tmp_vmlinux1] Error 1
I've tried twice, using two combinations of kernel (downloaded from www.kernel.org) and patch-o-matic (downloaded first time from http://ipset.netfilter.org/, second from patch-o-matic snaptshots).
I've applied only the ipset patch (launching only the ./runme set command, just as explained in the ipset site).
Maybe do I need to apply other patches from patch-o-matic?
Thanks for the help
ons 2007-05-23 klockan 09:47 +0200 skrev Andrea:
Quoted 10 lines
I've tried to apply the ipset patch in my CentOS 4.4 distribution, without success.
I've followed instructions here
http://www.howtoforge.com/kernel_compilation_cent§os_p2?s=aabdb730a09fa747d00f2b9a3ff431cc&
(CentOS Kernel Compile) and here
http://ipset.netfilter.org/install.html (ipset patch apply).The patch is applied successfully, but when I try to recompile, I obtain these errors (after a long list of compiled files):
Which kernel version?
Regards
Henrik
Henrik Nordstrom ha scritto:
Quoted 2 lines
Which kernel version?
In the second try used linux-2.6.16.51.tar from www.kernel.org and patch-o-matic-ng-20070521
ons 2007-05-23 klockan 10:50 +0200 skrev Andrea:
Quoted 8 lines
Henrik Nordstrom ha scritto:
Quoted 2 lines
Which kernel version?
In the second try used linux-2.6.16.51.tar from www.kernel.org and patch-o-matic-ng-20070521
Try with a newer kernel. There is more than a year difference between your kernel and your pom-ng release.
Also make sure CONFIG_NETFILTER_XTABLES is enabled in your kernel config.
Regards
Henrik
Henrik Nordstrom ha scritto:
Quoted 9 lines
ons 2007-05-23 klockan 10:50 +0200 skrev Andrea:
Quoted 5 lines
Henrik Nordstrom ha scritto:
Quoted 1 line
Which kernel version?
In the second try used linux-2.6.16.51.tar from www.kernel.org and patch-o-matic-ng-20070521
Try with a newer kernel. There is more than a year difference between your kernel and your pom-ng release.
????
2.6.16.51 has been released in 09 May 2007, as stated in http://www.kernel.org/pub/linux/kernel/v2.6/?C=M;O=A
Quoted 3 lines
Also make sure
CONFIG_NETFILTER_XTABLESis enabled in your kernel config.
it seems it's not set. Maybe the problem is here. I'll try again.
Thanks
ons 2007-05-23 klockan 11:10 +0200 skrev Andrea:
Quoted 2 lines
2.6.16.51 has been released in 09 May 2007, as stated in
http://www.kernel.org/pub/linux/kernel/v2.6/?C=M;O=A
Well, it's mostly 2.6.16 which is more than a year old.
Regards
Henrik
Henrik Nordstrom ha scritto:
Quoted 5 lines
ons 2007-05-23 klockan 11:10 +0200 skrev Andrea:
Quoted 1 line
2.6.16.51 has been released in 09 May 2007, as stated in http://www.kernel.org/pub/linux/kernel/v2.6/?C=M;O=A
Well, it's mostly 2.6.16 which is more than a year old.
ok, you are right, I've choose wrong version (I had ordered the page according to modified date, latest file was 2.6.16.51) :-)
Andrea ha scritto:
Quoted 7 lines
Henrik Nordstrom ha scritto:
Quoted 5 lines
ons 2007-05-23 klockan 11:10 +0200 skrev Andrea:
Quoted 1 line
2.6.16.51 has been released in 09 May 2007, as stated in http://www.kernel.org/pub/linux/kernel/v2.6/?C=M;O=A
Well, it's mostly 2.6.16 which is more than a year old.
Tried again with linux-2.6.21.1 kernel. It seems that kernet has been compiled, but I've these warnings and errors:
make all
....
Root device is (253, 0)
Boot sector 512 bytes.
Setup is 7354 bytes.
System is 1559 kB
Kernel: arch/i386/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 758 modules
WARNING: drivers/atm/lanai.o - Section mismatch: reference to .init.text: from .
text between 'sram_test_pass' (at offset 0x171)
and 'sram_test_and_clear'
WARNING: drivers/net/sis900.o - Section mismatch: reference to .init.text:sis900
_mii_probe from .text between 'sis900_probe' (at
offset 0x4ce) and 'sis900_defau
lt_phy'
WARNING: drivers/net/sunhme.o - Section mismatch: reference to .init.text: from
.text between 'happy_meal_pci_probe' (at offset
0x289c) and 'happy_meal_pci_remo
ve'
WARNING: drivers/net/tokenring/3c359.o - Section mismatch: reference to .init.te
xt:xl_init from .text between 'xl_probe' (at offset 0x203) and 'xl_hw_reset'
WARNING: "ipt_unregister_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_SET.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Maybe because I've iptables just installed, before kernel recompilation? are these warnings important?
tor 2007-05-24 klockan 11:39 +0200 skrev Andrea:
Quoted 12 lines
WARNING: "
ipt_unregister_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Quoted 3 lines
Maybe because I've iptables just installed, before kernel recompilation?
are these warnings important?
The driver warnings is something to send to the kernel janitor to take care of.. not related to ipset.
But the above warnings is important. The module won't work with these warnings..
Regards
Henrik
Quoted 6 lines · Andrea
Tried again with linux-2.6.21.1 kernel. It seems that kernet has been compiled, but I've these warnings and errors:
WARNING: "
ipt_unregister_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_register_match" [net/ipv4/netfilter/ipt_set.ko] undefined!
WARNING: "ipt_unregister_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
WARNING: "ipt_register_target" [net/ipv4/netfilter/ipt_SET.ko] undefined!
Please check out patch-o-matic-ng from the svn repository: I committed the required changes yesterday to support kernel versions 2.6.21 and above.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
Quoted 1 line
Please check out patch-o-matic-ng from the svn repository: I committed the required changes yesterday to support kernel versions 2.6.21 and above.
is this snapshot compatible with 2.6.21?
http://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/patch-o-matic-ng-20070523.tar.bz2
Quoted 5 lines · Andrea
Quoted 1 line
Please check out patch-o-matic-ng from the svn repository: I committed the required changes yesterday to support kernel versions 2.6.21 and above.
is this snapshot compatible with 2.6.21?
http://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/patch-o-matic-ng-20070523.tar.bz2
I believe the snapshot is created early in the morning, so it's not. Download http://ipset.netfilter.org/patch-o-matic-ng-20070524.tar.bz2 instead.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
tor 2007-05-24 klockan 12:18 +0200 skrev Andrea:
Quoted 6 lines
Quoted 2 lines
Please check out patch-o-matic-ng from the svn repository: I committed the required changes yesterday to support kernel versions 2.6.21 and above.
is this snapshot compatible with 2.6.21?
http://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/patch-o-matic-ng-20070523.tar.bz2
Should be fine. That snapshot is 10.5 hours old, and Jozsef's changed ipset 25 hours ago.
If in doubt verify that patchlets/set/linux-2.6/net/ipv4/netfilter/ipt_SET.c is modified yesterday after unpacking the snapshot.
ls -l patchlets/set/linux-2.6/net/ipv4/netfilter/ipt_SET.c
Regards
Henrik
tor 2007-05-24 klockan 12:25 +0200 skrev Jozsef Kadlecsik:
Quoted 1 line
I believe the snapshot is created early in the morning, so it's not.
From what I can tell the snapshots is generated late in the evening 23:55 CEST (21:55 GMT).
Regards
Henrik
Henrik Nordstrom ha scritto:
Quoted 6 lines
tor 2007-05-24 klockan 12:18 +0200 skrev Andrea:
Quoted 4 lines
Quoted 1 line
Please check out patch-o-matic-ng from the svn repository: I committed the required changes yesterday to support kernel versions 2.6.21 and above.
is this snapshot compatible with 2.6.21?
http://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/patch-o-matic-ng-20070523.tar.bz2
Quoted 8 lines
Should be fine. That snapshot is 10.5 hours old, and Jozsef's changed ipset 25 hours ago.
If in doubt verify that
patchlets/set/linux-2.6/net/ipv4/netfilter/ipt_SET.cis modified yesterday after unpacking the snapshot.ls -l
patchlets/set/linux-2.6/net/ipv4/netfilter/ipt_SET.c
I've just patched with patch-o-matic-ng-20070524.tar.bz2. So my config is:
-linux-2.6.21.1.tar.bz2
-patch-o-matic-ng-20070524.tar.bz2
-iptables-1.3.7.tar.bz2
-ipset-2.2.9a-20061009.tar.bz2 (maybe too old?)
Waiting compile-phase done, some questions:
- in make oldconfig I've set ipsets entries as modules (m): am I right?
- do I need to uninstall iptables before patch-compile-reinstall new version of iptables?
Thanks for the patience
Quoted 15 lines · Andrea
Henrik Nordstrom ha scritto:
Quoted 11 lines
Quoted 2 lines
http://ftp.netfilter.org/pub/patch-o-matic-ng/snapshot/patch-o-matic-ng-20070523.tar.bz2
Should be fine. That snapshot is 10.5 hours old, and Jozsef's changed ipset 25 hours ago.
If in doubt verify that
patchlets/set/linux-2.6/net/ipv4/netfilter/ipt_SET.cis modified yesterday after unpacking the snapshot.ls -l
patchlets/set/linux-2.6/net/ipv4/netfilter/ipt_SET.cI've just patched with patch-o-matic-ng-20070524.tar.bz2. So my config is:
Review
Quoted 4 lines
(quoted diff) +0
-4-linux-2.6.21.1.tar.bz2 -patch-o-matic-ng-20070524.tar.bz2 -iptables-1.3.7.tar.bz2 -ipset-2.2.9a-20061009.tar.bz2 (maybe too old?)
That's good. (There was no need to fix the userspace tool since then.)
Quoted 3 lines
Waiting compile-phase done, some questions:
- in make oldconfig I've set ipsets entries as modules (m): am I right?
Fine.
Quoted 2 lines
- do I need to uninstall iptables before patch-compile-reinstall new version of iptables?
No, 'make install' will overwrite existing shared libraries and binaries. Just make sure you use the correct iptables binary if you have got one installed in another directory, too, from your distribution.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
Quoted 3 lines
No, 'make install' will overwrite existing shared libraries and binaries. Just make sure you use the correct iptables binary if you have got one installed in another directory, too, from your distribution.
Kernel now works fine!
I've rebooted the system with the new kernel, compiled and installed iptables and ipset, rebooted again.
At the startup, however, iptables failed to start, (and so the shorewall script), with the message "iptables-restore: line 10 failed"
Quoted 7 lines · Andrea
Quoted 1 line
No, 'make install' will overwrite existing shared libraries and binaries. Just make sure you use the correct iptables binary if you have got one installed in another directory, too, from your distribution.
Kernel now works fine!
I've rebooted the system with the new kernel, compiled and installed iptables and ipset, rebooted again.
At the startup, however, iptables failed to start, (and so the shorewall script), with the message "iptables-restore: line 10 failed"
What's in line 10??
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
Jozsef Kadlecsik ha scritto:
Quoted 11 lines · Andrea
Quoted 8 lines
Quoted 2 lines
No, 'make install' will overwrite existing shared libraries and binaries. Just make sure you use the correct iptables binary if you have got one installed in another directory, too, from your distribution.
Kernel now works fine!
I've rebooted the system with the new kernel, compiled and installed iptables and ipset, rebooted again.
At the startup, however, iptables failed to start, (and so the shorewall script), with the message "iptables-restore: line 10 failed"
What's in line 10??
In what file do I have to find? /etc/sysconfig/iptables, maybe?
Here it is:
# Generated by iptables-save v1.2.11 on Mon May 14 10:59:07 2007 *filter
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A FORWARD -i eth2 -j ACCEPT
-A FORWARD -o eth2 -j ACCEPT
-A OUTPUT -j ACCEPT
COMMIT
# Completed on Mon May 14 10:59:07 2007
# Generated by iptables-save v1.2.11 on Mon May 14 10:59:07 2007 *nat
:PREROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Mon May 14 10:59:07 2007
# Generated by iptables-save v1.2.11 on Mon May 14 10:59:07 2007 *mangle
:PREROUTING ACCEPT [10461:714412]
:INPUT ACCEPT [5007:406609]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [3176:400160]
:POSTROUTING ACCEPT [3176:400160]
COMMIT
# Completed on Mon May 14 10:59:07 2007
when I reboot with the old kernel, iptables works even if this it's patched and updated to the version 1.3.7.
I suspect that I've forgotten some module or some kernel setting
Another issue: trying to modify iptables rules file, I obtain something like:
"iptables-restore v1.2.11: no command specified"
Maybe is there a mess between old and new version of iptables?
Quoted 5 lines · Andrea
Another issue: trying to modify iptables rules file, I obtain something like:
"iptables-restore v1.2.11: no command specified"
Maybe is there a mess between old and new version of iptables?
Yes, it seem so. You wrote that you upgraded to the version 1.3.7.
So there must be at least two sets of iptables(-save|restore) commands on your machine.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
Jozsef Kadlecsik ha scritto:
Quoted 2 lines
Yes, it seem so. You wrote that you upgraded to the version 1.3.7.
So there must be at least two sets of iptables(-save|restore) commands on your machine.
is there a method to resolve this mess? I could try to remove old version of iptables with "yum remove iptables", but this command also removes dependency of Shorewall, wich I would preserve.
fre 2007-05-25 klockan 18:53 +0200 skrev Andrea:
Quoted 3 lines
is there a method to resolve this mess? I could try to remove old version of iptables with "yum remove iptables", but this command also removes dependency of Shorewall, wich I would preserve.
Specify the full path to the correct binary. You most likely have the yum installed one in /sbin, and the manually installed one in /usr/local/sbin/
Regards
Henrik
Henrik Nordstrom ha scritto:
Quoted 7 lines
fre 2007-05-25 klockan 18:53 +0200 skrev Andrea:
Quoted 1 line
is there a method to resolve this mess? I could try to remove old version of iptables with "yum remove iptables", but this command also removes dependency of Shorewall, wich I would preserve.
Specify the full path to the correct binary. You most likely have the yum installed one in /sbin, and the manually installed one in
/usr/local/sbin/
I've unistalled the original iptables, then I've tried to manually pass
rules:
- iptables -A FORWARD -i eth1 -j ACCEPT ---- ok
- iptables -A FORWARD -o eth1 -j ACCEPT ---- ok
but
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE ===>
iptables v1.3.7: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
At this point I think the problem is in some missing settings in the kernel conf
Am Monday, den 28 May hub Andrea folgendes in die Tasten:
[...]
Quoted 8 lines
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE ===>
iptables v1.3.7: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.At this point I think the problem is in some missing settings in the kernel conf
I guess, that you do not have the 'CONFIG_NF_NAT' option activated? So your kernel will also lack the 'CONFIG_IP_NF_TARGET_MASQUERADE' option.
If you use the "old" layer 3 depended conntrack, you need 'CONFIG_IP_NF_NAT' instead of 'CONFIG_NF_NAT'.
You can check this looking in "menuconfig" at:
Networking
-> Networking options
-> Network packet filtering framework (Netfilter)
-> Core Netfilter Configuration
-> Netfilter connection tracking supportHTH
Ciao
Max
Signature · 1 line
Follow the white penguin.
Maximilian Wilhelm ha scritto:
Quoted 8 lines
Am Monday, den 28 May hub Andrea folgendes in die Tasten:
[...]
Quoted 4 lines
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE ===>
iptables v1.3.7: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
Quoted 8 lines
Quoted 1 line
At this point I think the problem is in some missing settings in the kernel conf
I guess, that you do not have the '
CONFIG_NF_NAT' option activated? So your kernel will also lack the 'CONFIG_IP_NF_TARGET_MASQUERADE' option.If you use the "old" layer 3 depended conntrack, you need '
CONFIG_IP_NF_NAT' instead of 'CONFIG_NF_NAT'.
In the old .config there's CONFIG_IP_NF_NAT=m, instead in the new .config there aren't neither CONFIG_IP_NF_NAT nor CONFIG_NF_NAT. I thought that the "make oldconfig" had imported the full old kernel configuration.
So, I have do add this option and recompile again (argh!); and how can I be sure that the oldconfig has not missed other entries again?
Am Monday, den 28 May hub Andrea folgendes in die Tasten:
Hi!
Quoted 7 lines
In the old .config there's
CONFIG_IP_NF_NAT=m, instead in the new .config there aren't neitherCONFIG_IP_NF_NATnorCONFIG_NF_NAT. I thought that the "make oldconfig" had imported the full old kernel configuration.So, I have do add this option and recompile again (argh!); and how can I be sure that the oldconfig has not missed other entries again?
'make oldconfig' should ask you about new items.
In the past there were some Kconfig items added and renamed, so you should be carefull if 'make oldconfig' asks you about things.
Ciao
Max
Signature · 1 line
Follow the white penguin.
Quoted 4 lines
'make oldconfig' should ask you about new items.
In the past there were someKconfigitems added and renamed, so you should be carefull if 'make oldconfig' asks you about things.
This is my old .config netfilter setting section (kernel 2.6.9.42.10)
#
# IP: Netfilter Configuration
#CONFIG_IP_NF_CONNTRACK=mCONFIG_IP_NF_CT_ACCT=yCONFIG_IP_NF_CT_PROTO_SCTP=mCONFIG_IP_NF_FTP=mCONFIG_IP_NF_IRC=mCONFIG_IP_NF_TFTP=mCONFIG_IP_NF_AMANDA=mCONFIG_IP_NF_QUEUE=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_MATCH_LIMIT=mCONFIG_IP_NF_MATCH_IPRANGE=mCONFIG_IP_NF_MATCH_MAC=mCONFIG_IP_NF_MATCH_PKTTYPE=mCONFIG_IP_NF_MATCH_MARK=mCONFIG_IP_NF_MATCH_MULTIPORT=mCONFIG_IP_NF_MATCH_TOS=mCONFIG_IP_NF_MATCH_RECENT=mCONFIG_IP_NF_MATCH_ECN=mCONFIG_IP_NF_MATCH_DSCP=mCONFIG_IP_NF_MATCH_AH_ESP=mCONFIG_IP_NF_MATCH_LENGTH=mCONFIG_IP_NF_MATCH_TTL=mCONFIG_IP_NF_MATCH_TCPMSS=mCONFIG_IP_NF_MATCH_HELPER=mCONFIG_IP_NF_MATCH_STATE=mCONFIG_IP_NF_MATCH_CONNTRACK=mCONFIG_IP_NF_MATCH_OWNER=mCONFIG_IP_NF_MATCH_PHYSDEV=mCONFIG_IP_NF_MATCH_ADDRTYPE=mCONFIG_IP_NF_MATCH_REALM=mCONFIG_IP_NF_MATCH_SCTP=mCONFIG_IP_NF_MATCH_COMMENT=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_TARGET_LOG=mCONFIG_IP_NF_TARGET_ULOG=mCONFIG_IP_NF_TARGET_TCPMSS=mCONFIG_IP_NF_NAT=mCONFIG_IP_NF_NAT_NEEDED=yCONFIG_IP_NF_TARGET_MASQUERADE=mCONFIG_IP_NF_TARGET_REDIRECT=mCONFIG_IP_NF_TARGET_NETMAP=mCONFIG_IP_NF_TARGET_SAME=mCONFIG_IP_NF_NAT_LOCAL=yCONFIG_IP_NF_NAT_SNMP_BASIC=mCONFIG_IP_NF_NAT_IRC=mCONFIG_IP_NF_NAT_FTP=mCONFIG_IP_NF_NAT_TFTP=mCONFIG_IP_NF_NAT_AMANDA=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_TOS=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_DSCP=mCONFIG_IP_NF_TARGET_MARK=mCONFIG_IP_NF_TARGET_CLASSIFY=mCONFIG_IP_NF_RAW=mCONFIG_IP_NF_TARGET_NOTRACK=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=m
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
----------------------
this is my new .config section:
#
# IP: Netfilter Configuration
#CONFIG_NF_CONNTRACK_IPV4=mCONFIG_IP_NF_QUEUE=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_MATCH_IPRANGE=mCONFIG_IP_NF_MATCH_TOS=mCONFIG_IP_NF_MATCH_RECENT=mCONFIG_IP_NF_MATCH_ECN=mCONFIG_IP_NF_MATCH_AH=mCONFIG_IP_NF_MATCH_TTL=mCONFIG_IP_NF_MATCH_OWNER=mCONFIG_IP_NF_MATCH_ADDRTYPE=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_TARGET_LOG=mCONFIG_IP_NF_TARGET_ULOG=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_TOS=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=mCONFIG_IP_NF_RAW=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=mCONFIG_IP_NF_SET=mCONFIG_IP_NF_SET_MAX=256CONFIG_IP_NF_SET_HASHSIZE=1024CONFIG_IP_NF_SET_IPMAP=mCONFIG_IP_NF_SET_MACIPMAP=mCONFIG_IP_NF_SET_PORTMAP=mCONFIG_IP_NF_SET_IPHASH=mCONFIG_IP_NF_SET_NETHASH=mCONFIG_IP_NF_SET_IPPORTHASH=mCONFIG_IP_NF_SET_IPTREE=mCONFIG_IP_NF_MATCH_SET=mCONFIG_IP_NF_TARGET_SET=m
------------
How can I decide what values I have to manual reinsert in the new config
file?