Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 02:20:05 -0700
From:      Sandy Rutherford <sandy@krvarr.bc.ca>
To:        John Pettitt <jpp@cloudview.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: blocking MAC address with ipfw ?
Message-ID:  <17015.16965.161664.895667@szamoca.krvarr.bc.ca>
In-Reply-To: <4276EF4B.8000305@cloudview.com>
References:  <20050503031357.69849.qmail@web51108.mail.yahoo.com> <4276EF4B.8000305@cloudview.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Mon, 02 May 2005 20:26:03 -0700, 
>>>>> John Pettitt <jpp@cloudview.com> said:

 > faisal gillani wrote:
 >> faisal gillani wrote:
 >> 
 >> how can i block a MAC address with ipfw ?
 >> can you share the syntax please ?
 >> 
 >> 
 >> thanks
 >> 
 > man ipfw reveals ...

 >             { MAC | mac } dst-mac src-mac
 >              Match packets with a given dst-mac and src-mac addresses,
 > speci-
 > ...

You also need to make sure that the sysctl variable
net.link.ether.ipfw is set to 1 to enable layer 2 checks.

Sandy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17015.16965.161664.895667>