From owner-freebsd-questions@FreeBSD.ORG Tue Jan 13 05:31:37 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEE0116A4CE for ; Tue, 13 Jan 2004 05:31:37 -0800 (PST) Received: from Vitsch.net (b74143.upc-b.chello.nl [212.83.74.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98D7143D1F for ; Tue, 13 Jan 2004 05:31:35 -0800 (PST) (envelope-from Danovitsch@Vitsch.net) Received: from FreeBSD.Danovitsch.LAN (b83007.upc-b.chello.nl [212.83.83.7]) by Vitsch.net (8.12.3p2/8.11.3) with ESMTP id i0DDV6Xe088308; Tue, 13 Jan 2004 14:31:11 +0100 (CET) (envelope-from Danovitsch@Vitsch.net) Content-Type: text/plain; charset="iso-8859-9" From: "Daan Vreeken [PA4DAN]" To: Malik =?iso-8859-9?q?B=FClent?= Date: Tue, 13 Jan 2004 14:31:37 +0100 User-Agent: KMail/1.4.3 References: <004b01c3d9d4$5d6cee60$dc96eed5@maslak> In-Reply-To: <004b01c3d9d4$5d6cee60$dc96eed5@maslak> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200401131431.37985.Danovitsch@Vitsch.net> cc: FreeBSD-questions@FreeBSD.org Subject: Re: mac address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2004 13:31:38 -0000 On Tuesday 13 January 2004 13:54, Malik B=FClent wrote: > hello > > i use freebsd5.1 and i want to reject some computers whose according t= o > "Mac Addresses" and i recompiled kernel with > options IPFIREWALL > > then i made ipfw.sh with touch and wrote in ; > ipfw add deny MAC 00:60:67:28:0c:1e any > ipfw add deny MAC any 00:60:67:28:0c:1e > > but I couldn't reject above machine > What shall i do ? You have to it first with a sysctl : # sysctl -w net.link.ether.ipfw=3D1 grtz, Daan