Search Linux Wireless

Re: iw and non-ASCII SSIDs

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

 



On Thu, 2015-06-25 at 20:50 +0000, Joerg wrote:
> Johannes Berg <johannes@...> writes:
> 
> > 
> > On Thu, 2015-06-25 at 16:12 +0000, Joerg wrote:
> > > Hello all,
> > > is there a way to submit a non-ASCII SSID with iw? One that 
> > > contains 
> > > 0 as in an octet with value zero?
> > 
> > No, that doesn't seem to be possible in the code.
> > 
> > But it's certainly possible in wp_supplicant config file, which you
> > should probably be using anyway?
> > 
> > johannes
> 
> That's what I thought from looking at the code, too. 
> 
> And no, this is for an IBSS network that uses an IPsec overlay for 
> security. 
> It doesn't use wpa_supplicant and changing the code that way would be 
> a major 
> hassle. 
> 
> I would volunteer to change iw to accept a hex encoded binary blob as 
> SSID. 
> What commandline would be acceptable?

Well I guess you're not interested in "connect" but rather "ibss join"
then.

We *could* break backward compatibility and say that if you pass "\x00"
it's no longer interpreted as the bytes 5c 78 30 30 but rather as the
byte 00, but I'm not sure we should?

OTOH, what choice do we really have - the only other option would be to
add a command line flag indicating that this behaviour is desired?

johannes
--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux