From owner-freebsd-security Fri Oct 19 7:29:23 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.neophile.net (neophile.net [195.224.237.7]) by hub.freebsd.org (Postfix) with ESMTP id 0A05B37B403 for ; Fri, 19 Oct 2001 07:29:20 -0700 (PDT) Received: from host213-121-119-83.in-addr.btopenworld.com ([213.121.119.83] helo=celly.neophile.net ident=slamdunk) by mail.neophile.net with esmtp (Exim 3.15 #1) id 15uac7-0000lC-00 for security@freebsd.org; Fri, 19 Oct 2001 15:27:08 +0100 Message-Id: <5.1.0.14.2.20011019152713.00a937f8@pop3.neophile.net> X-Sender: slamdunk@pop3.neophile.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 19 Oct 2001 15:29:19 +0100 To: security@freebsd.org From: slamdunk Subject: Re: OT: Data Packet Filters? In-Reply-To: <003101c1589e$061ceac0$0301a8c0@bigdaddy> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is from another list, maybe it will work on BSD echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all To make it permanent, bung it in /etc/rc.d/rc.network, with other similar commands. Lets us know how you get on. Slammer At 06:00 19/10/2001 -0700, you wrote: >I'm hoping someone on this list will share his/her knowledge with me >even though this is somewhat off-topic. :) > >I am trying to deny ICMP echo reply packets on my 3Com 812 ADSL >modem/router. It appears that the only way to do this is to write a >data filter. The fields I need to determine are offset (bytes - which >I thought was 36 for ICMP code), length (bytes - I thought 1), Masked >(hex - appears that FF is to match data exactly), and data (hex - I >thought 0x0 echo reply). > >Can anyone get me pointed in the right direction? Any help or URLs >will be most appreciated. > >Thanks! > >Drew > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-security" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message