Search Linux Wireless

Re: [PATCH] mac80211: enable IBSS merging

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

 



On Thursday 24 January 2008 23:30:02 Johannes Berg wrote:
> > > I think that needs a check "&& ssid_len" or something. Someone's bound
> > > to try making an IBSS with a hidden SSID and we really don't want that
> > > to work.
> >
> > why? i know, hidden SSIDs are pretty useless but if somedody wants
> > them... why would you want to make extra effort so it does not work?
>
> Uh, I think you should rethink your question. Consider two different
> hidden-SSID IBSSes.

that's the same case as two different IBSS with the same non-zero ESSID.

> > > > +			printk(KERN_DEBUG "%s: beacon TSF higher than local TSF"
> > > > +				" -> IBSS merge with BSSID %s\n",
> > > > +				dev->name, print_mac(mac, mgmt->bssid));
> > >
> > > No way. At the very least you need to ratelimit this.
> >
> > well, it should not happen very often, and for debugging i would like to
> > see this case. would
>
> Well, "should" is pretty soft. It can also be trivially triggered as a
> DOS attack by sending beacons with fake timestamps.

ok, i agree that a ratelimit is necessary.

> >  			if (CONFIG_MAC80211_IBSS_DEBUG || net_ratelimit())
> > 				printk(KERN_DEBUG "%s: beacon TSF higher than "
> >
> > be ok with you?
>
> Maybe && would be better?

well, i would like to see every merge when debugging IBSS, hence the OR.
if you want i can remove that message when IBSS debugging is disabled.

bruno



-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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