Re: Where is TARPIT -- iptables V. 1.3.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the reply.

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

Any ideas?

On 11/21/05, ?ukasz Hejnak <sziftgroup@xxxxx> wrote:
> Richard R napisa?(a):
> > am using linux kernel 2.6.14.2
>
> hmm.. well afaik the tarpit extension is only for kernels < 2.6
> *btw, I just checked, here's how it looks
>
> http://svn.netfilter.org/cgi-bin/viewcvs.cgi/trunk/patch-o-matic-ng/patchlets/TARPIT/info?rev=4018&view=markup
> Title: iptables TARPIT target
> Author: "Aaron Hopkins" <lists@xxxxxxx >
> Status: Works for me
> Repository: extra
> Requires: linux < 2.6.0
>
> > How do I get TARPIT working on a linux kernel 2.6.14.2 based system?
> well so far (I have also a 2.6.x kernel) I've been using the pom
> and just changing the above in the 'info' file to "> 2.4.0" and it
> didn't complain about a thing ;) I know that's a dirty way of doing it,
> but hey, it's working fine for me :)
>
> --
> Best wishes
> ?ukasz Hejnak
>
>



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux