From owner-freebsd-net@FreeBSD.ORG Sat Mar 29 18:52:21 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04F6B37B401 for ; Sat, 29 Mar 2003 18:52:21 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 146E743FDF for ; Sat, 29 Mar 2003 18:52:20 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h2U2qIA7017230 for ; Sat, 29 Mar 2003 19:52:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 29 Mar 2003 19:51:08 -0700 (MST) Message-Id: <20030329.195108.133248709.imp@bsdimp.com> To: net@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ifconfig question X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2003 02:52:22 -0000 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