Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37770 - Gentoo sources 2.4.20 missing port scan support for iptables
Summary: Gentoo sources 2.4.20 missing port scan support for iptables
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-10 01:06 UTC by DC
Modified: 2004-01-10 09:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DC 2004-01-10 01:06:18 UTC
After upgrading to the Gentoo sources 2.4.22 kernel from the 2.4.20 series, I'm having trouble restoring my iptables configuration (yes, I did try re-emerging iptables). A bit of digging revealed that the port-scan detection option had been removed from menuconfig (it ought to be under Networking options / Netfilter configuration). Furthermore, re-emerging iptables seems to have made the port-scan module (/lib/iptables/libipt_psd.so) disappear.

Reproducible: Always
Steps to Reproduce:
After upgrading to a 2.4.22 kernel and re-emerging iptables, try adding a rule with port-scan detection to iptables, or just try asking for help on it: "iptables -m psd --help".
Actual Results:  
iptables v1.2.8: Couldn't load match `psd':/lib/iptables/libipt_psd.so: cannot
open shared object file: No such file or directory


The port-scan detector is one of "base" iptable add-on modules. I believe that
supporting these modules requires patching the kernel (see
http://www.netfilter.org/documentation/HOWTO//netfilter-extensions-HOWTO.html).
Along with libipt_psd.so, re-emerging iptables also removed:
libipt_time.so
libipt_random.so
libipt_quota.so
libipt_pool.so
libipt_nth.so
libipt_mport.so
libipt_ipv4options.so
libipt_fuzzy.so
libipt_POOL.so
libipt_NETMAP.so
libipt_IPV4OPTSSTRIP.so
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-01-10 05:10:18 UTC
try reemerge iptables
Comment 2 DC 2004-01-10 09:37:17 UTC
Already did, as I've noted above.

I really do think the problem is that the kernel is missing the patches for some of the iptables modules. The patch pack for 2.4.20 has the iptables psd patch (718_iptables-psd in patches-2.4.20-gentoo-r5.tar.bz2) as well as several other iptables patches that aren't in the 2.4.22 patch pack.
Comment 3 Brian Jackson (RETIRED) gentoo-dev 2004-01-10 09:51:21 UTC
2.4.22 is missing most of the external iptables stuff. It isn't a problem with your system.