Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Łukasz Hejnak" <grupy@szift.org>
To: NetFilter <netfilter@lists.netfilter.org>
Subject: Re: Where is TARPIT -- iptables V. 1.3.4
Date: Tue, 22 Nov 2005 10:56:33 +0100	[thread overview]
Message-ID: <4382EB51.9090702@szift.org> (raw)
In-Reply-To: <462d0fec0511211335h3a53f7a2n92e00059e4aa9c7c@mail.gmail.com>

Richard R wrote:
> It looks like the tarpit module provided by pom won't compile in the
> 2.6.14.2 kernel:
>   CC [M]  net/ipv4/netfilter/ipt_string.o
>   CC [M]  net/ipv4/netfilter/ipt_REJECT.o
>   CC [M]  net/ipv4/netfilter/ipt_TARPIT.o
> net/ipv4/netfilter/ipt_TARPIT.c: In function `tarpit_tcp':
> net/ipv4/netfilter/ipt_TARPIT.c:123: error: structure has no member
> named `nfcache'
> net/ipv4/netfilter/ipt_TARPIT.c:197: warning: implicit declaration of
> function `dst_pmtu'
> make[3]: *** [net/ipv4/netfilter/ipt_TARPIT.o] Error 1
> make[2]: *** [net/ipv4/netfilter] Error 2
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2

Hmm.. in fact I've been doing so till 2.6.11.12 and everything was fine,
but now I compiled the 2.6.14.12 and patched it with POM and I'm having
similar errors with this, but in my case the build stops at the
ipt_osf.o, although I suspect that if I disable OSF, it will complain
with the TARPIT as well. So what's wrong? what have been changed in this
branch of the kernel that breaks this?
For the OSF I got this:

   CC [M]  net/ipv4/netfilter/ipt_osf.o
net/ipv4/netfilter/ipt_osf.c: In function `ipt_osf_nlsend':
net/ipv4/netfilter/ipt_osf.c:158: error: structure has no member named
`dst_groups'
net/ipv4/netfilter/ipt_osf.c: In function `osf_init':
net/ipv4/netfilter/ipt_osf.c:824: warning: passing arg 2 of
`netlink_kernel_create' makes integer from pointer without a cast
net/ipv4/netfilter/ipt_osf.c:824: error: too few arguments to function
`netlink_kernel_create'

Anybody into kernel hacking? :)
or maybe is there a simple solution to adapt the ipt_TARPIT.c and
ipt_osf.c to the new kernel?

--
Best wishes
£ukasz Hejnak



      parent reply	other threads:[~2005-11-22  9:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 17:48 Where is TARPIT -- iptables V. 1.3.4 Richard R
2005-11-21 19:07 ` ?ukasz Hejnak
2005-11-21 21:35   ` Richard R
2005-11-22  5:06     ` /dev/rob0
2005-11-22  9:56     ` Łukasz Hejnak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4382EB51.9090702@szift.org \
    --to=grupy@szift.org \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox