From owner-freebsd-questions@FreeBSD.ORG Sun Jan 28 05:30:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFB7C16A403 for ; Sun, 28 Jan 2007 05:30:24 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: from smtp5.wlink.com.np (smtp5.wlink.com.np [202.79.32.52]) by mx1.freebsd.org (Postfix) with SMTP id B82F813C47E for ; Sun, 28 Jan 2007 05:30:21 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: (qmail 85000 invoked from network); 28 Jan 2007 05:30:13 -0000 Received: from unknown (HELO smtp1.wlink.com.np) (202.79.32.76) by 0 with SMTP; 28 Jan 2007 05:30:13 -0000 Received: (qmail 28553 invoked by uid 98); 28 Jan 2007 05:30:13 -0000 Received: from 202.79.36.216 by smtp1.wlink.com.np (envelope-from , uid 1009) with qmail-scanner-1.25 (clamdscan: 0.88.4/2205. Clear:RC:1(202.79.36.216):. Processed in 0.026321 secs); 28 Jan 2007 05:30:13 -0000 X-Qmail-Scanner-Mail-From: teklimbu@wlink.com.np via smtp1.wlink.com.np X-Qmail-Scanner: 1.25 (Clear:RC:1(202.79.36.216):. Processed in 0.026321 secs) Received: from [202.79.36.216] (HELO teklimbu.wlink.com.np) by smtp1.wlink.com.np (qmail-smtpd) with SMTP; 28 Jan 2007 05:30:10 -0000 (Sun, 28 Jan 2007 11:15:10 +0545) Received: (qmail 52539 invoked by uid 1009); 28 Jan 2007 05:30:07 -0000 Received: from unknown (HELO teklimbu.wlink.com.np) (202.79.36.216) by teklimbu.wlink.com.np with SMTP; 28 Jan 2007 05:30:07 -0000 Date: Sun, 28 Jan 2007 11:15:07 +0545 From: Tek Bahadur Limbu To: Kevin Kinsey Message-Id: <20070128111507.4eab6746.teklimbu@wlink.com.np> In-Reply-To: <45B8BD19.8080705@daleco.biz> References: <20070125154549.236dca3f.teklimbu@wlink.com.np> <45B8BD19.8080705@daleco.biz> Organization: Worldlink Communications Pvt. Ltd. X-Mailer: Sylpheed version 2.2.0 (GTK+ 2.8.12; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Check-By: smtp1.wlink.com.np Spam: No ; 1.0 / 7.0 X-Spam-Status-WL: No, hits=1.0 required=7.0 Cc: freebsd-questions@freebsd.org Subject: Re: Blocking traffic by Mac address using IPFW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 05:30:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 25 Jan 2007 08:22:17 -0600 Kevin Kinsey wrote: > Tek Bahadur Limbu wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > > Dear All, > > > > I need some help regarding using IPFW to block specific MAC > > addresses. How do I block incoming traffic by a MAC address instead > > of an IP address. > > > > Can this be done using IPFW? Since I am quite new to FreeBSD, can > > somebody shed some light on this issue? > > Yes, it appears that ipfw(8) can do this --- check the manpage (quite > a ways down, in the RULE OPTIONS section [ about byte 45000] for full > details; note also that there may be other issues involved. Here is > a short thread on the subject from a couple of years ago: > > http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-September/001375.html > > Disclaimer: IANAE, and don't play one on television ;-) > > HTH, > > Kevin Kinsey > -- > Heisenberg may have been here. > Dear Kevin, Thanks. I am looking at the links you provided. - -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFFvDTfVrOl+eVhOvYRAr8+AJ9cRvI687IxBsQwMsoW+gDRBvxUcwCfV8ed RjZgBkI1c0m8SlB6cE3jJho= =PIHo -----END PGP SIGNATURE-----