Re: stoping net scans
Mensaje citado por Michael Bergbauer <firstname.lastname@example.org>:
> On Sat Apr 12, 2003 at 11:5010AM -0500, José A. Guzmán wrote:
> > Is there a tool (log monitoring or otherwise) that effectively blocks
> > port scans (maybe interacting with iptables)?.
> > What are you guys using to block incoming port scans?
> Why do you want to block them? Get a secure configuration of you
> publicly reachable boxes and be happy with it.
> Blocking port scans is something compared to preventing people passing
> by your house because you're afraid of thieves looking around for
Well, in theory (or in a very small and controlled network) I believe you are
right, but in practice, with a campus network of thousands of boxes lying
around, with students and faculty legitimately playing around with services on
their linux-windows machines, and not being moderately paranoid (like myself),
it does make some sense to have some security through obscurity and block scans.
Plus, I belive there is an advantage in blocking detected scanners with an
'early rule' in iptables, saving the kernel the work of checking the packet with
every rule until the default policy applies, (multiply N times for each scanned
ip, times N ports, times N scanners), for a class B network it does add a bit to
the cpu of the firewall router.
Blocking port scans, following your metaphor, would be like having a policeman
in your neigborhood, detaining graffitiers or bell ringers and allowing only
Althouhg there still lurks the issue raised by Bernd, the possibility of
abusing the scan-stop mechanism to generate a DoS by forging IP addresses of
well known sites.
Is this a common or a growing practice? Is it that easy to spoof well known
> Michael Bergbauer <email@example.com>
> use your idle CPU cycles - See http://www.distributed.net for details.
> Visit our mud Geas at geas.franken.de Port 3333
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact
"We will kill them all........most of them."