Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127120 - iptables - no psd matching module...
Summary: iptables - no psd matching module...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 127126 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-21 14:35 UTC by brankob
Modified: 2007-01-13 08:25 UTC (History)
1 user (show)

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


Attachments
results of "emerge iptables" output (log.txt,58.58 KB, text/plain)
2006-03-21 15:35 UTC, brankob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brankob 2006-03-21 14:35:08 UTC
After emerging iptables (tried both 1.3.4 and new-unstable 1.3.5) I can't get to the functionality of the psd matching module, which is described in "man iptables".

Iptables were emerged with "+extensions +ipv6 -static" and kernel used was gentoo-sources, I tried both 2.6.15-r1 and latest 2.6.16 versions, both with the same results.

Whenever I have tried to match anything like:

$IPTABLES -A INPUT -i eth0 -p TCP -m psd  ...

I got an error:

iptables v1.3.5: Couldn't load match `psd':/lib/iptables/libipt_psd.so: cannot open shared object file: No such file or directory

I have checked that directory myself and there is indeed no libipt_psd.so

I have compiled practically everything regarding netfilters and networking in kernel as a module, but i can't find any module containing "psd" in its name nor any option with "psd" in config file in gentoo-sources.

I have tried this on x86 (Dual PEntium III) and x64_86 (Dual Opteron) with same results...
Comment 1 SpanKY gentoo-dev 2006-03-21 15:14:38 UTC
you neglected to post `emerge info`

also, run `emerge iptables >& log` and post the log as an attachment
Comment 2 brankob 2006-03-21 15:35:42 UTC
Created attachment 82823 [details]
results of "emerge iptables" output
Comment 3 brankob 2006-03-21 15:35:42 UTC
Created attachment 82823 [details]
results of "emerge iptables" output
Comment 4 SpanKY gentoo-dev 2006-03-21 19:21:45 UTC
k ...
Comment 5 SpanKY gentoo-dev 2006-03-21 19:22:02 UTC
your kernel lacks PSD support thus no PSD module was built
Comment 6 brankob 2006-03-21 19:26:00 UTC
(In reply to comment #4)
> your kernel lacks PSD support thus no PSD module was built
> 

(In reply to comment #4)
> your kernel lacks PSD support thus no PSD module was built
> 

But there is no option to enable psd support in gentoo-sources kernel...
Comment 7 SpanKY gentoo-dev 2006-03-21 19:29:44 UTC
that's because we dont offer such patched kernel sources anymore

you'll need to patch the kernel yourself ... look in the iptables patch-o-matic for patches
Comment 8 brankob 2006-03-21 19:37:25 UTC
(In reply to comment #6)
> that's because we dont offer such patched kernel sources anymore
> 
> you'll need to patch the kernel yourself ... look in the iptables patch-o-matic
> for patches
> 

Sh*t. Maybe it wouldn't be a bad idea to change warning in the iptables ebuild itself ? Something like "for missing modules, you'll have to use patch-o-matic from www.xyz.org/sgsdf" or somesuch. 

I never used patch-o-matic in the past and having the stable gentoo-sources and  iptables it didn't occur to me that this might not be my error...

When emerging stable stuff, one does not expect things to not work, especially if they have been built without errors...
Comment 9 SpanKY gentoo-dev 2006-03-21 19:42:29 UTC
the iptables package contains a lot of experimental userspace modules for experimental kernel code that has not been integrated yet

we dont do heavy custom patchsets anymore of the linux kernel
Comment 10 brankob 2006-03-21 20:11:39 UTC
(In reply to comment #8)
> the iptables package contains a lot of experimental userspace modules for
> experimental kernel code that has not been integrated yet
> 
> we dont do heavy custom patchsets anymore of the linux kernel
> 

I'm not saying that anything with this decision is wrong.

Just that it might be wise to mention this to the user at the appropriate moment, like just before "emerge iptables" finishes...

Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-03-21 23:16:56 UTC
*** Bug 127126 has been marked as a duplicate of this bug. ***
Comment 12 Caleb Cushing 2006-07-26 00:26:15 UTC
(In reply to comment #8)
> the iptables package contains a lot of experimental userspace modules for
> experimental kernel code that has not been integrated yet
> 
> we dont do heavy custom patchsets anymore of the linux kernel
> 

why can't this be handled in the same way as it appears the l7-filter has been when you emerge that it applies the patch. why couldn't emerging ipset apply the patch?