Date: Mon, 31 Mar 2003 08:13:32 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: "M. Warner Losh" <imp@bsdimp.com> Cc: net@freebsd.org Subject: Re: ifconfig question Message-ID: <20030331081331.A27067@Odin.AC.HMC.Edu> In-Reply-To: <20030329.195108.133248709.imp@bsdimp.com>; from imp@bsdimp.com on Sat, Mar 29, 2003 at 07:51:08PM -0700 References: <20030329.195108.133248709.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sat, Mar 29, 2003 at 07:51:08PM -0700, M. Warner Losh wrote:
> 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.
It could probably be safely removed.
> 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?
That seems reasonable.
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+iGkqXY6L6fI4GtQRAjhnAJ45/rc47RVaIUuNJoaxyEx9GDnhtQCfQn2g
LWsSzP/qIEY5sfyj1ixcQnk=
=dJOD
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030331081331.A27067>
