Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2003 17:09:16 +0200
From:      "Michael L. Hostbaek" <mich@FreeBSD.org>
To:        traore@afribone.net.gn
Cc:        questions@FreeBSD.org
Subject:   Re: ipfw using
Message-ID:  <20031009150915.GA98369@mich2.itxmarket.com>
In-Reply-To: <1065710483.3f8573935bee1@mail.afribone.net.gn>
References:  <1065710483.3f8573935bee1@mail.afribone.net.gn>

next in thread | previous in thread | raw e-mail | index | archive | help

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

traore@afribone.net.gn (traore) writes:
>=20
> Pls=20
> Let me know how use ipfw with adress MAC bloking syntaxe.
>=20

=66rom 'man ipfw' :
{ MAC | mac } dst-mac src-mac

Match packets with a given dst-mac and src-mac addresses,
specified as the any keyword (matching any MAC address), or six
groups of hex digits separated by colons, and optionally followed
by a mask indicating how many bits are significant, as in

                   MAC 10:20:30:40:50:60/33 any

Note that the order of MAC addresses (destination first,
source second) is the same as on the wire, but the opposite of the
one used for IP addresses.

/mich


--=20
Best Regards,
	Michael L. Hostbaek=20
	mich@FreeBSD.org - http://www.FreeBSD.org

	*/ PGP-key available upon request /*

--FCuugMFkClbJLl1L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/hXobewpSEg9V9r4RAoYcAJ4lLnzMG1sDnSM1Z9ZApKIWhm2TTwCgy4xZ
j9BcPr/6u4wf+cwjzhINSOg=
=ZRFn
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--



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