Re: [Snort-users] ICMP / drop.

This is a discussion on Re: [Snort-users] ICMP / drop. within the Snort forums, part of the System Security and Security Related category; Am Don, 2003-10-09 um 08.13 schrieb Rudi Starcevic: > I'm trying to drop all icmp/ping ...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-09-2003
Ralf Spenneberg
 
Posts: n/a
Default Re: [Snort-users] ICMP / drop.

Am Don, 2003-10-09 um 08.13 schrieb Rudi Starcevic:
> I'm trying to drop all icmp/ping packets on my Debian box in the US.
> I'm in Australia.
> /sbin/iptables --append INPUT -p icmp -s ! 127.0.0.1/32 -j DROP


> This works fine from my side.
> I'm unable to get any Ping responses.
>=20
> However some are still getting through.
>=20
> Here is a sample Snort log alert.
> [**] ICMP PING CyberKit 2.2 Windows [**]
> 10/08-22:42:48.897689 4.34.170.219 -> 64.235.238.29
> ICMP TTL:114 TOS:0x0 ID:10694 IpLen:20 DgmLen:92
> Type:8 Code:0 ID:768 Seq:59374 ECHO
>=20

Snort uses libpcap. This library sees the packets before they are
filtered. Even if you filter the packet in the input chain tcpdump and
snort still sees the packet!

> How can I make it so my machine replies to *no* icmp packets ?

If you want to stop the replies you have to use
iptables -A OUTPUT -p icmp -j DROP

Cheers,

Ralf
--=20
Ralf Spenneberg
RHCE, RHCX

Book: Intrusion Detection f=FCr Linux Server http://www.spenneberg.com
IPsec-Howto http://www.ipsec-howto.org
Honeynet Project Mirror: http://honeynet.spenneberg.org


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0