Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 20:37:11 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Martin <nakal@web.de>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: kern/149516: [ath] ath(4) hostap with fake MAC/BSSID results in station dropping packets when associated
Message-ID:  <CAJ-VmonYCr8e642yRRFJkjGZG-XTUQUK_mCyinGK2wnxo7oYmw@mail.gmail.com>
In-Reply-To: <20121130075819.42a8c41c@zelda.sugioarto.com>
References:  <201211291940.qATJe1Jf033574@freefall.freebsd.org> <CAJ-Vmo=0kvPO=ioieDeaciX2E-37RUt756qMA07W7NyoDSPzKQ@mail.gmail.com> <20121129214512.4909fa8f@zelda.sugioarto.com> <CAJ-Vmokc=RZJyR_KCCpqxwBQyphc7VdAT5RBduF=g8pi_F0BEQ@mail.gmail.com> <20121129223901.686290ce@zelda.sugioarto.com> <CAJ-Vmo=y0PKWXHoxJUXnj%2BV%2B=%2BEBZa5B8F0rY_1_ZU7nxgxMrg@mail.gmail.com> <20121129225347.757b1fc8@zelda.sugioarto.com> <CAJ-Vmon4n2WP1cSzN6%2BGRcsTJ2D26Us_W8j7Th98GgUd0txkKA@mail.gmail.com> <20121130075819.42a8c41c@zelda.sugioarto.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29 November 2012 22:58, Martin <nakal@web.de> wrote:

> this is not good, if alternate MACs are not supported, because you also
> need them to configure multiple access points in hostapd. Take a look
> at the end of the hostapd.conf in examples. This definitely takes away
> features.

Alternate MACs are supported, but it likely needs a little further
debugging to figure out what is working and what is broken.

> Like I said... the ath(4) driver is dropping/blocking/filtering the
> packets somewhere in the send code. The receive part and the network
> operation generally work correctly, as far as I can remember.

The driver doesn't do anything like that. It just passes frames up.
The net80211 stack would set the MAC and the hardware TXes it. The ath
driver doesn't do any kind of TX filtering by MAC address.

>> If you want to take a look at whta's in the card:
>>
>> * add ATH_DIAGAPI, AH_DEBUG, ATH_DEBUG to your kernel, recompile
>> * compile up src/tools/tools/ath/
>> * use athregs -i athX , look at the BSS and MAC registers to see what
>> address it has configured.
>>
>> I bet htose aren't "right"..
>
> I'll take a look at it soon.

Thanks, that'll be very helpful.



Adrian



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