Re: hostapd-2.10: Invalid country_code '00'

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

 



On Sat, Feb 19, 2022 at 11:41:48AM +0100, Peter Seiderer wrote:
> since the hostapd bump to version 2.10 the special world regulatory domain
> country code '00' is denied with the following error message (see e.g. [1]):
> 
> 	Invalid country_code '00'
> 
> I think this happens since commit e149051ced781ef7b29ae47e98c6d06e4e666f68 ([2])
> 
>         hostapd: Validate the country_code parameter value
> 
>         cfg80211/regulatory supports only ISO 3166-1 alpha2 country code and
>         that's what this parameter is supposed to use, so validate the country
>         code input before accepting the value. Only characters A..Z are
>         accepted.
> 
> Should '00' be handled/allowed as special case?

What is the use case for that? That value should certainly not be
advertised as the current country in the Country element, so at most,
this value could be ignored to allow previously accepted configurations
to be loaded.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



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

  Powered by Linux