Search Linux Wireless

Re: mac80211 MLME scanning - BSS list trouble

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-03-31 at 16:05 -0400, John W. Linville wrote:
> On Sun, Mar 30, 2008 at 10:33:19AM +0200, Johannes Berg wrote:
> 
> > The first one is that there is no actual expiration of BSS structs. Each
> > BSS struct has a 'last_update' member that contains (in jiffies) the
> > time this item was last updated. This means that we accumulate BSS
> > information forever, but due to the 'last_update' only the last few
> > items will be returned to the user on asking for a scan result. This
> > obviously has problems since a rogue station could bombard us with fake
> > probe responses and cause us to build a huge BSS list which is never
> > again freed until the hardware is deregistered. This will need to be
> > fixed, of course.
> 
> Assuming this was fixed, does the rest of this issue go away?
> It seems like it would.

Sort of, it'll go away as soon as the info is expired, but you still
won't be able to switch over right away.

> Should we consider allowing the beacon to update the info if
> last_update is old enough to keep the BSS out of the scan results?

That, maybe, and maybe also if we don't want to associate with that
network right away or something.

Really, I think this needs somebody to dig into the specs, figure out
which things can change from where, and mostly rewrite it all
appropriately. I for sure won't have time to do that.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux