From: "Tim Evans" <tkevans@tkevans.com>
To: Peter Zieseniss <peter@zconsulting.net>
Cc: netfilter@vger.kernel.org
Subject: Re: Blocking all APNIC addresses vs. per-country list
Date: Mon, 26 Apr 2010 10:19:17 -0400 [thread overview]
Message-ID: <677ceca0469ab502a71c228b68e103f3.squirrel@login.hostmonster.com> (raw)
In-Reply-To: <0414A4FA-32F4-4D94-92E0-FC5CC9B4D646@zconsulting.net>
Peter Zieseniss wrote:
> My question, therefore, is this:
> Is it wise to use a 4000-line long block-list for iptables? Or will doing
> so bring my server to a crawl (which it already is because of these darn
> brute-force ssh attacks) because for each TCP packet it has to spend 5
> minutes going through the entire list?
> Should i just forget about Australia and Japan, and block all APNIC
> countries with just a 40-line list instead?
Why not use denyhosts? http://denyhosts.sourceforge.net/
Works with tcp wrapper; auto-updates /etc/hosts.deny; sends and accepts
new bad hosts back to the mothership.
--
Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court
UNIX System Admin Consulting | Owings Mills, MD 21117
http://www.tkevans.com/ | 443-394-3864
http://www.come-here.com/News/ | tkevans@tkevans.com
next prev parent reply other threads:[~2010-04-26 14:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 14:09 Blocking all APNIC addresses vs. per-country list Peter Zieseniss
2010-04-26 14:19 ` Tim Evans [this message]
2010-04-26 14:19 ` Richard Horton
2010-04-26 14:34 ` Pascal Hambourg
2010-04-26 14:51 ` Roman Fiedler
2010-04-26 15:10 ` Покотиленко Костик
2010-04-26 15:09 ` Покотиленко Костик
2010-04-26 16:14 ` Jan Engelhardt
2010-04-26 14:46 ` Покотиленко Костик
2010-04-26 15:54 ` Jan Engelhardt
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=677ceca0469ab502a71c228b68e103f3.squirrel@login.hostmonster.com \
--to=tkevans@tkevans.com \
--cc=netfilter@vger.kernel.org \
--cc=peter@zconsulting.net \
/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