From: Patrick McHardy <kaber@trash.net>
To: netfilter@vger.kernel.org
Subject: Re: conntrack is bad during DDoS?
Date: Thu, 04 Oct 2007 11:22:52 +0200 [thread overview]
Message-ID: <4704B0EC.2030802@trash.net> (raw)
In-Reply-To: <4702BDCB.3060102@andrei.myip.org>
Florin Andrei wrote:
> [...]
> I am testing the firewall with pktgen, running on another machine. It's
> pretty much a DDoS test, random source IP, random source UDP port, small
> packets.
>
>
> While pktgen is blasting the firewall, I am downloading a 2GB file
> through the firewall in an infinite loop.
>
> The problem: pretty soon after starting pktgen, the HTTP download stops.
> It appears to happen only when using random source IP addresses for the
> DoS. If all UDP packets have the same source IP, the firewall works fine.
Please try 2.6.23 once its out (or the current -rc), it should behave
better.
> I suspect it might be related to conntrack. Is there a way to disable
> that module while still having that set of rules loaded up?
>
> I don't need stateful filtering, all I need to do is:
> - 1:1 NAT for each server behind the firewall (each server gets its own
> public IP on the outside interface of the firewall)
2.6.24 will include stateless NAT again for 1:1 mappings.
next prev parent reply other threads:[~2007-10-04 9:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-02 21:53 conntrack is bad during DDoS? Florin Andrei
2007-10-04 9:22 ` Patrick McHardy [this message]
2007-10-04 22:01 ` Florin Andrei
2007-10-04 22:12 ` Florin Andrei
2007-10-08 8:46 ` Patrick McHardy
2007-10-08 8:45 ` Patrick McHardy
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=4704B0EC.2030802@trash.net \
--to=kaber@trash.net \
--cc=netfilter@vger.kernel.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