From: Alex Flex <aflexzor@gmail.com>
To: netfilter@vger.kernel.org
Subject: Question about behaviour of rule in a syn attack.
Date: Fri, 12 Apr 2013 17:05:30 -0600 [thread overview]
Message-ID: <5168933A.30409@gmail.com> (raw)
Greetings !
Id be thankful if somebody can shed some light here:
If Iam getting a syn attack, and I have syn cookies enabled via sysctl
would any of these two rules match those connections?
iptables -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above
10 --connlimit-mask 32 -j DROP
iptables -A INPUT -p tcp --syn --dport 80 -m hashlimit
--hashlimit-above 25/second --hashlimit-srcmask 32 --hashlimit-name
IP_LIMIT_REQ -j DROP
Or do these only apply to connections that have undergone the handshake?
Thanks
Alex
reply other threads:[~2013-04-12 23:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5168933A.30409@gmail.com \
--to=aflexzor@gmail.com \
--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 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.