Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables TARPIT match
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thompsonmike
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 275
Location: Bath UK

PostPosted: Tue Feb 15, 2005 1:36 am    Post subject: iptables TARPIT match Reply with quote

What do I need to do to enable the TARPIT match in IPTables?

I have version 1.2.11 of IPTables and I am running Kernel 2.4.28-gentoo-r5

When I try and add a tarpit rule, such as

iptables -A INPUT -p TCP --dport 80 -j TARPIT

I get back

iptables: No chain/target/match by that name


Any help appreciated.
_________________
Thanks


Michael..
Back to top
View user's profile Send private message
benjones
n00b
n00b


Joined: 15 Mar 2003
Posts: 14
Location: London

PostPosted: Tue Feb 15, 2005 2:17 am    Post subject: Reply with quote

Have you compiled the option in your kernel? iirc, it comes as standard with gentoo-sources, but you have to patch vanilla kernels. In any case, you need to enable the option in your kernel config in Networking Options -> IP: Netfilter Configuration. Btw, it's not quite rfc compliant, despite being rather nifty. There's more detail here:

http://securityfocus.com/infocus/1723
Back to top
View user's profile Send private message
thompsonmike
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 275
Location: Bath UK

PostPosted: Tue Feb 15, 2005 2:22 am    Post subject: Reply with quote

I have every option for IPTables in the Kernel, but I do not see one for TARPIT.
_________________
Thanks


Michael..
Back to top
View user's profile Send private message
benjones
n00b
n00b


Joined: 15 Mar 2003
Posts: 14
Location: London

PostPosted: Tue Feb 15, 2005 2:56 am    Post subject: Reply with quote

I only read that it was in one of the gentoo sources, which I don't run, unfortunately. I don't know which kernel you're running, but you could either check the patchset of the different sources, or just apply the patch-o-matic from netfilter yourself.
Back to top
View user's profile Send private message
thompsonmike
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 275
Location: Bath UK

PostPosted: Tue Feb 15, 2005 4:27 am    Post subject: Reply with quote

Never mind, according to bugzilla, it has been removed never to return.

Guess I will have to use POM. Now to work out how the hell to do it!
_________________
Thanks


Michael..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum