Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118157 - l7-filter ebuild shouldn't allow to patch linux sources when the patch was not designed for it
Summary: l7-filter ebuild shouldn't allow to patch linux sources when the patch was no...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-07 04:38 UTC by Jesús García Crespo (aka Sevein)
Modified: 2006-01-09 11:51 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 Jesús García Crespo (aka Sevein) 2006-01-07 04:38:21 UTC
the patch included in the last l7-filter-2.0, for example, was designed against 2.6.13 and 2.6.14... however, this patch does not work with 2.6.14.5 or 2.6.15, it works against 2.6.14.3 but I am not sure if it works against 2.6.14.4.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-01-07 11:28:52 UTC
I tried gentoo-source-2.6.15, vanilla-source-2.6.14.4, and  vanilla-source-2.6.14.5.

all patched correctly.

can you include the kernel version you are using and some output that illistrated this bug.
Comment 2 Jesús García Crespo (aka Sevein) 2006-01-07 11:40:01 UTC
In the installation process all seemed correct over my vanilla-sources-2.6.15.

>>> Unpacking source...
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 2.6.15
>>> Unpacking netfilter-layer7-v2.0.tar.gz to /var/tmp/portage/l7-filter-2.0/work
 * Applying kernel-2.6.13-2.6.14-layer7-2.0.patch ...                                                                                           [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/l7-filter-2.0/work/netfilter-layer7-v2.0 ...
 * no compiling - just patching source
>>> Source compiled.
>>> Test phase [not enabled]: net-misc/l7-filter-2.0
[...]

The problem is when I go to config my sources (make menuconfig):
Networking ---> Networking options ---> Network packet filtering (replaces ipchains) ---> IP: Netfilter Configuration  ---> IP tables support (required for filtering/masq/NAT) --> the l7-filter option does not appear!!!!!
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-01-07 15:13:26 UTC
You may need to enable Connection tracking flow accounting IP_NF_CT_ACCT

From net/ipv4/netfilter/Kconfig
config IP_NF_MATCH_LAYER7
        tristate "Layer 7 match support (EXPERIMENTAL)"
        depends on IP_NF_IPTABLES && IP_NF_CT_ACCT && IP_NF_CONNTRACK && EXPERIMENTAL

Worked with gentoo-source-2.6.15 anyway.

Let me know if that was it.
Comment 4 Jesús García Crespo (aka Sevein) 2006-01-09 09:09:48 UTC
Yes, you were right.
Sorry, this bug was an error!
Comment 5 Daniel Black (RETIRED) gentoo-dev 2006-01-09 11:51:00 UTC
np - took me a bit to find too.