All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: Jan Engelhardt <jengelh@computergmbh.de>,
	Netfilter Development Mailinglist
	<netfilter-devel@lists.netfilter.org>
Subject: Re: ipt_account / iptables 1.3.8
Date: Thu, 28 Jun 2007 01:44:55 +0200	[thread overview]
Message-ID: <4682F677.7010503@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0706280007080.28193@blackhole.kfki.hu>

Jozsef Kadlecsik wrote:
> On Wed, 27 Jun 2007, Jan Engelhardt wrote:
> 
>> Can I also submit a (hopefully cleaned) e.g. TARPIT?
> 
> 
> I'd like to see an IPv4/IPv6 compatible TARPIT module in the mainline
> kernel. But please extend the target so that it could be used from the
> raw table and let the reply packets skip conntrack. Thus we could
> benefit from TARPIT even in a full blown conntrack/nat setup as well.
> (If I recall correctly, that is not possible with the original version.)

The easiest way to do this would probably be to optionally attach
a notrack conntrack to new packets. Looking at the version in SVN,
it also needs:

- use generic checks for table and hook validation
- remove impossible skb->dst NULL ptr check
- remove impossible check for PACKET_OTHERHOST
- not abuse xrlim_allow
- resync TCP packet generation code with ipt_REJECT, especially
  properly deal with IPsec, not use ip_direct_send but dst_output
- kill ip_direct_send
- kill obsolete ifdefs

Shouldn't be much work, maybe I'll look into this after finishing
my conntrack hash patches if no one beats me to it.

  reply	other threads:[~2007-06-27 23:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-27 16:43 ipt_account / iptables 1.3.8 Thomas Jacob
2007-06-27 18:16 ` Pascal Hambourg
2007-06-27 18:30   ` David Ford
2007-06-27 18:59     ` Jan Engelhardt
2007-06-27 19:03     ` Jan Engelhardt
2007-06-27 19:39       ` Patrick McHardy
2007-06-27 19:46         ` Jan Engelhardt
2007-06-27 22:15           ` Jozsef Kadlecsik
2007-06-27 23:44             ` Patrick McHardy [this message]
2007-06-28  6:43               ` Jan Engelhardt
2007-06-28 11:29               ` Jozsef Kadlecsik
2007-06-29  8:53   ` experiences with ipt_ACCOUNT (was Re: ipt_account / iptables 1.3.8) Thomas Jacob

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=4682F677.7010503@trash.net \
    --to=kaber@trash.net \
    --cc=jengelh@computergmbh.de \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.