ipfw and MAC-keyword: "unknown arg"; but it is in man page!

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon May 3 02:19:28 PDT 2004


On Mon, May 03, 2004 at 05:51:26PM +0900, Rob wrote:

> With my ipfw firewall, I try to use the MAC keyword, as explained
> in the ipfw man page:

> But to no avail:
> 
> # ipfw add 900 allow udp from any to any MAC 00:a0:b0:0e:3a:95 any
> ipfw: unknown argument ``MAC''
> #
> 
> Is this a bug, or what?

That's definitely a 'what'.  MAC header filtering is an IPFW2 feature
and that has to be enabled specially on 4-STABLE.  Read the sections
in ipfw(8) called "IPFW2 ENHANCEMENTS" and then follow the
instructions in the section "USING IPFW2 IN FreeBSD-STABLE"

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040503/656b8400/attachment.bin


More information about the freebsd-questions mailing list