Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190295 - TARPIT patch makes sys-kernel/gentoo-sources-2.6.22-r2 unable to build
Summary: TARPIT patch makes sys-kernel/gentoo-sources-2.6.22-r2 unable to build
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-08-26 13:36 UTC by Auke Booij (tulcod)
Modified: 2007-08-26 13:39 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Auke Booij (tulcod) 2007-08-26 13:36:56 UTC has, for some years, been developing a patch called TARPIT, which takes a tcp connection and sets its window size to 0, forcing a timeout. This can be used by iptables to slow down unwanted connection attempts. This patch applies perfectly for vanilla sources, as does it for gentoo-sources, but it won't compile with gentoo-sources.

Reproducible: Always

Steps to Reproduce:
1. get iptables
2. get patch-o-matic
3. ./runme TARPIT
4. enable the module
5. make
Actual Results:  
compile errors: "net/ipv4/netfilter/ipt_TARPIT.c:188: error: 'struct sk_buff' has no member named 'nh'" a thousand times (with different line numbers)

Expected Results:  
compile seamlessly
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-26 13:39:57 UTC
I'm sorry but unsupported third-party patches are not a Gentoo bug. You can either fix the patch yourself or report the bug ustream to the tarpit patch authors.