Skip site navigation (1)Skip section navigation (2)
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

--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:
>=20
> void
> ieee80211_status (int s, struct rt_addrinfo *info __unused)
> {
> ...
> 			if (ireq.i_len =3D=3D 0 || ireq.i_len > 13)
> 				continue;
> ...
> }
>=20
> 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

--=20
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

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+iGkqXY6L6fI4GtQRAjhnAJ45/rc47RVaIUuNJoaxyEx9GDnhtQCfQn2g
LWsSzP/qIEY5sfyj1ixcQnk=
=dJOD
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030331081331.A27067>