On Wed, May 13, 2009 at 09:38:24AM -0700, Gerald Combs wrote:
> airpdcap.c uses uri_str_to_bytes() to build a GByteArray from the SSID
> string. You should be able to use "%00" to represent a zero byte. This
> also applies to the passphrase.
Ah, thanks for the explanation!
> > The code in question does something even more interesting: It tests
> > whether the length of the entered SSID is < 0. So removing that test
> > doesn't introduce any problems.
>
> We use a zero-length SSID to repesent a "wildcard" SSID. Otherwise the
> length should be > 0 as far as I know. It should be safe to remove the test.
In wireless messages (well, mostly probe requests) that's the meaning of
a zero-length SSID as well ("I want information from anyone who's willing
to answer") so your interpretation looks good to me ;-)
ciao
Joerg
--
Joerg Mayer <[email protected]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe