From owner-freebsd-net Mon May 10 1:28:52 1999 Delivered-To: freebsd-net@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 864291581E for ; Mon, 10 May 1999 01:28:38 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id IAA12419; Mon, 10 May 1999 08:19:51 +0200 From: Luigi Rizzo Message-Id: <199905100619.IAA12419@labinfo.iet.unipi.it> Subject: Re: ipfw misc... To: bp@butya.kz (Boris Popov) Date: Mon, 10 May 1999 08:19:51 +0200 (MET DST) Cc: net@FreeBSD.ORG In-Reply-To: from "Boris Popov" at May 10, 99 03:06:00 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 745 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Mon, 10 May 1999, Luigi Rizzo wrote: > > > i have been implementing some additional rules for ipfw to match > > ethernet header fields. For my purposes, that would mainly be used to > > block non-ip-related traffic (ie IP and ARP), but it might have some uses > > for those trying to limit traffic basing on the MAC address, or > > whatever. > > Very nice. Also syntax 'ether type xxx' are very useful. The only sorry, yes, this was what i meant with ipfw add ether from type xxx ... since clearly there is only one ether type in the header... > question - how 802.3 frame can be filtered (it doesn't have 'type' field)? it must be somewhere.. i wonder actually if FreeBSD does handle IP packets in 802.3! cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message