Re: wlan_acl

From: Sam Leffler <sam_at_errno.com>
Date: Tue, 19 Jul 2005 22:27:30 -0700
Sam Leffler wrote:
> Patrick Tracanelli wrote:
> 
>>
>> How can I test wlan_acl(4)? I just read about it but could not find 
>> where to set 0, 1 or 2 to the acl policy or where to add MAC addresses 
>> to...
>>
> If it's not in man ifconfig then we need to fix the man page.

I just checked man and it's missing the info.  You should UTSL but a 
quick glance indicates the commands are:

ifconfig ath0 mac:open
ifconfig ath0 mac:allow
ifconfig ath0 mac:deny
ifconfig ath0 mac:flush
ifconfig ath0 mac:detach
ifconfig ath0 mac:add <sta address>
ifconfig ath0 mac:del <sta address>

It doesn't appear I did any status code (yet).  I haven't tested the acl 
stuff forever but it should work w/ any card that is properly integrated 
with the net80211 layer (in this case the assoc-req frame must go 
through net80211 so the acl can be applied).

	Sam
Received on Wed Jul 20 2005 - 03:22:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC