From: "ITM CS Ruslan O. Nesterov" <ruslan@complexsystem.ru>
To: netfilter@lists.netfilter.org
Subject: What is wrong with this chain
Date: Mon, 6 Jan 2003 15:54:45 +0300 [thread overview]
Message-ID: <748017849.20030106155445@complexsystem.ru> (raw)
Hello List,
I want to drop portscans and DOS attacks. I've found two chains on
the internet. But after executing them my connection drops and no
data passes firewall. Anyone can tell me where i'm wrong?
# Log and drop portscans:
echo -n "SCAN "
$IPTABLES -A SCAN -m limit --limit 30/m -j LOG --log-prefix "PORTSCAN " --log-ip-options --log-tcp-options --log-level 1
$IPTABLES -A SCAN -j DROP
# Log and drop DOS attacks:
echo -n "DOS "
$IPTABLES -A DOS -p tcp --syn -m limit -j LOG --log-prefix "SYN Flood "
$IPTABLES -A DOS -p icmp -m limit -j LOG --log-prefix "PING Flood "
$IPTABLES -A DOS -j DROP
--
Best regards,
ITM mailto:ruslan@complexsystem.ru
reply other threads:[~2003-01-06 12:54 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=748017849.20030106155445@complexsystem.ru \
--to=ruslan@complexsystem.ru \
--cc=netfilter@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.