Re: ipfw and MAC Addresses

2003-10-15 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

> I'm using Freebsd 5.0 Release.
> And i want to use ipfw with Mac adresses fitering. But its not working.
> When i add a rule like:
> ipfw add 49 deny mac any 00:E0:18:F1:57:94 
> 
> the kernel change it to be:
> ipfw add 49 deny ip from any to any mac any 00:E0:18:F1:54:94 
> 
> Can you help me?

Makes sense so far.
Perhaps you wanted:
ipfw add 49 deny ip from any mac any 00:E0:18:F1:54:94 to any
?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipfw and MAC Addresses

2003-10-13 Thread traore

I'm using Freebsd 5.0 Release.
And i want to use ipfw with Mac adresses fitering. But its not working.
When i add a rule like:
ipfw add 49 deny mac any 00:E0:18:F1:57:94 

the kernel change it to be:
ipfw add 49 deny ip from any to any mac any 00:E0:18:F1:54:94 

Can you help me?

Rgards!

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipfw and MAC Addresses

2003-07-11 Thread Matthew Seaman
On Fri, Jul 11, 2003 at 04:15:09PM -0400, Dan Mahoney, System Admin wrote:

> I'm running 4.7-Release, and I have compiled the firewall into the kernel
> but I can't seem to figure out the syntax for mac address based firewalls
> .
> 
> I'm trying:
> 
> box#ipfw add 5 allow ip from any to any in mac any any
> ipfw: unknown argument ``mac''
> 
> If there's some secret to getting this to work, let me know, as right now
> I would really like a way to restrict ip traffic by source mac.

MAC is an IPFW2 extension.  All FreeBSD 4.x versions compile IPFW1 by
default, although from 4.7-RELEASE on, you can optionally select to
use IPFW2.  IPFW2 is the default in FreeBSD 5.x.

You need to add:

IPFW2=true

to your /etc/make.conf, and

options IPFW2

to your kernel config, and rebuild, reinstall world+kernel in the
usual fashion.

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


pgp0.pgp
Description: PGP signature


ipfw and MAC Addresses

2003-07-11 Thread Dan Mahoney, System Admin
Hi,

I'm running 4.7-Release, and I have compiled the firewall into the kernel
but I can't seem to figure out the syntax for mac address based firewalls
.

I'm trying:

box#ipfw add 5 allow ip from any to any in mac any any
ipfw: unknown argument ``mac''

If there's some secret to getting this to work, let me know, as right now
I would really like a way to restrict ip traffic by source mac.

--

"Happy, Sad, Happy, Sad, Happy, Sad, Happy, Intruiged!  I've never been so
in touch with my emotions!"

-AndrAIa as Hexadecimal, Reboot Episode 3.2.3

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"