ifconfig question

M. Warner Losh imp at bsdimp.com
Sat Mar 29 18:52:22 PST 2003


The code that prints out the keys for the 802.11 wireless stuff has
the following it it:

void
ieee80211_status (int s, struct rt_addrinfo *info __unused)
{
...
			if (ireq.i_len == 0 || ireq.i_len > 13)
				continue;
...
}

Should that check really be there?  Newer wep does 256bits....  Not
that the rest of the code supports that, but I was just curious.

Second, should ifconfig report the wep key if run as root?  wicontrol
does if it is run as root, for example.  Any objections for fixing
this?

Warner


More information about the freebsd-net mailing list