Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Arnt Karlsen <arnt@c2i.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: deny cgi scanner
Date: Wed, 2 Apr 2003 07:54:01 -0500	[thread overview]
Message-ID: <20030402125401.GC18434@ns.snowman.net> (raw)
In-Reply-To: <20030402012310.180c7aac.arnt@c2i.net>

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

* Arnt Karlsen (arnt@c2i.net) wrote:
> On Tue, 1 Apr 2003 15:06:52 -0500, 
> Stephen Frost <sfrost@snowman.net> wrote in message 
> <20030401200652.GY18434@ns.snowman.net>:
> > # Bad guy detected!  Add his IP to the badguy list!
> > iptables -A BADCHAIN -m recent --set --name badguy -j DROP # Add IP to
> > list
> 
> ..this also shoots down the good guys with servers on dynamic dns, 
> using an old recycled-by-the-isp bad guy's ip.

That's why there's a time limit to it.  Chances are pretty bad you're
going to have a good guy getting the bad guy's ip within 60 seconds and
worse that they're both going to try and go to the given site.
Additionally, there's an option to require a TTL match for those who are
really concerned about it to make it even less likely to be an issue
(and for cases where the bad guy likes to spoof his IP's, though do
realize that if the bad guy spoof's google's IP address it's not a big
deal because we use this state-based firewalling thing and the recent
module should be used to filter inbound NEW packets, not ones already
set up, so outbound connections to google wouldn't be affected).

And, of course, you can always also create 'whitelists' in addition to
the 'blacklists' in situations where you have friends who like to mess
with other friends (my friends are great sometimes..; of course, it's my
fault for making them listen to me babble on about my wonderful
ipt_recent kernel module ;) ).

	Stephen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-04-02 12:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 17:34 deny cgi scanner Eric Marchionni
2003-04-01 17:47 ` Cedric Blancher
2003-04-01 19:43   ` Eric Marchionni
2003-04-01 20:06     ` Stephen Frost
2003-04-01 23:23       ` Arnt Karlsen
2003-04-02 12:54         ` Stephen Frost [this message]
2003-04-02 19:32           ` Arnt Karlsen
2003-04-01 18:17 ` Jesper Lund

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=20030402125401.GC18434@ns.snowman.net \
    --to=sfrost@snowman.net \
    --cc=arnt@c2i.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox