Re: Clever Firewall Rules - Second Edition - Update

From: pierre.lombard@imag.fr
Date: 09/21/01


Date: Fri, 21 Sep 2001 17:30:26 +0200
To: focus-linux@securityfocus.com
Subject: Re: Clever Firewall Rules - Second Edition - Update
Message-ID: <20010921173025.B18731@sci41.imag.fr>
From: pierre.lombard@imag.fr

On Tue, Sep 18, 2001 at 04:03:15PM -0600, Rob 'Feztaa' Park wrote:
> Just a quick update, I don't want to send out the whole thing again.
>
> I've managed to get my SYN limiting rules to filter the closed ports,
> eliminating the problem of ports randomly flickering between closed and
> filtered during a SYN scan:
>
> iptables -A INPUT -i eth0 -p tcp --syn -m limit --limit 10/m \
> --limit-burst 10 -j syn_limit
> iptables -A INPUT -i eth0 -p tcp --syn -j DROP
> iptables -A syn_limit -p tcp --dport 80 -j ACCEPT
> [Rules for opening any other ports you need]
> iptables -A syn_limit -p tcp -j DROP
>
> If I can, I'm going to make the limiting host-specific.
[...]

Maybe you can give a try to dynfw (http://freshmeat.net/projects/dynfw/): it
seems to do that.

(I don't have tested it yet but it's queued on my first-in-random-out list :)

-- 
Best regards,
  Pierre Lombard 



Relevant Pages

  • Re: Source Code to Filter out WindowsMessenger POP-UPS
    ... rejecting all traffic on those same ports from any other IP. ... I just want to filter out ... >>sample code that compiles on Linux, ... >>apply pass/fail rules to - provided the router isn't one ...
    (microsoft.public.inetserver.iis.security)
  • Re: controling ports
    ... I have a dedicated filter up, ... Personal firewalls ... and do a few reg. ... > what ports it can and can't use. ...
    (microsoft.public.win2000.security)
  • Re: Port 135 Probes Continue
    ... I'm one who also doesn't believe the ISP ... should decide what ports to filter. ... linux intrusions vs. windows intrusions and factor in windows being on ...
    (comp.security.misc)
  • Re: Port 135 Probes Continue
    ... I'm one who also doesn't believe the ISP ... should decide what ports to filter. ... linux intrusions vs. windows intrusions and factor in windows being on ...
    (comp.security.misc)
  • Re: Port 135 Probes Continue
    ... I'm one who also doesn't believe the ISP ... should decide what ports to filter. ... linux intrusions vs. windows intrusions and factor in windows being on ...
    (comp.os.linux.security)