Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filter MAC address with IPFW



At 5:10 PM +0200 6/12/07, Giuliano Gavazzi wrote:
On 12 Jun 2007, at 04:48, Dan Shoop wrote:

At 9:13 PM -0400 6/10/07, Barrett Hartman wrote:
In BSD you need to have the sysctl variable net.link.ether.ipfw set to 1 for layer 2 checks in IPFW. I didn't see an equivalent sysctl variable in OS X.

sysctl -a | grep net\.inet\.ip\.fw\.


and that tells us?

This isn't BSD.

It tells us the above.

I think we know that. The original poster was pointing out that he did not find a way to enable filtering at layer 2.

No, he found that how he'd enable this is BSD didn't work under Darwin. He'd have to enable ipfw using the sysctl values that Darwin uses. The above prints those and he can check to see if he's got ipfw enabled from there.


--

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
email@hidden                                http://www.iwiring.net/
1-714-363-1174
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Filter MAC address with IPFW (From: Barrett Hartman <email@hidden>)
 >Re: Filter MAC address with IPFW (From: Dan Shoop <email@hidden>)
 >Re: Filter MAC address with IPFW (From: Giuliano Gavazzi <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.