From owner-freebsd-questions Sat Oct 20 16:41:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (ekgr-dsl2-116.citlink.net [207.173.226.116]) by hub.freebsd.org (Postfix) with ESMTP id C7C1437B406 for ; Sat, 20 Oct 2001 16:41:55 -0700 (PDT) Received: from bigdaddy (bigdaddy [192.168.1.3]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 911CBEE64C for ; Sat, 20 Oct 2001 16:41:50 -0700 (PDT) Message-ID: <005701c159c0$c9ed4e90$0301a8c0@bigdaddy> From: "Drew Tomlinson" To: Subject: OT: Generic Packet Filters? Date: Sat, 20 Oct 2001 16:41:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm hoping someone on this list will share his/her knowledge with me even though this is 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), length (bytes), Mask (hex), and data (hex). I've found packet structure documentation for Ethernet frames but I think it might be different for PPPoA which is what my ADSL provider is using. Can anyone recommend URLs or a simple way to calculate what the offset should be for PPPoA? Any help will be most appreciated. Thanks! Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message