Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137766 - iptables extension condition tests for wrong file
Summary: iptables extension condition tests for wrong file
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-23 11:45 UTC by Markus
Modified: 2006-06-24 18:14 UTC (History)
0 users

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 Markus 2006-06-23 11:45:43 UTC
The iptables (1.3.5-r1 = current stable on AMD64) extension "condition" (of current POM) has the following tests (iptables-1.3.5-r1/extensions/.condition-test*):
[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_condition.h ] && echo condition
[ -f $KERNEL_DIR/include/linux/netfilter_ipv6/ip6t_condition.h ] && echo condition

but in the current POM there is just one match for both ip versions.

The file to test for is at $KERNEL_DIR/include/linux/netfilter/xt_condition.h

I only use ipv4, so I changed two lines: the test and the include to point to the correct file (sym-link would work as well) and it seems to work.
Comment 1 SpanKY gentoo-dev 2006-06-24 18:14:35 UTC
upstream iptables svn is still the same way ... i dont see the condition.h patch in upstream svn though

you should file this bug here:
https://bugzilla.netfilter.org/bugzilla/