From owner-cvs-all@FreeBSD.ORG Wed Sep 17 12:55:36 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19CE216A4BF; Wed, 17 Sep 2003 12:55:36 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F49943FE0; Wed, 17 Sep 2003 12:55:34 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange.errno.com (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h8HJtT17026023 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 17 Sep 2003 12:55:33 -0700 (PDT) (envelope-from sam@errno.com) Date: Wed, 17 Sep 2003 12:55:29 -0700 From: Sam Leffler To: "Kenneth D. Merry" , Sam Leffler Message-ID: <422263733.1063803328@melange.errno.com> In-Reply-To: <20030917194312.GA42166@panzer.kdm.org> References: <200309171927.h8HJRhmr012987@repoman.freebsd.org> <20030917194312.GA42166@panzer.kdm.org> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ifconfig ifieee80211.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 19:55:36 -0000 > On Wed, Sep 17, 2003 at 12:27:43 -0700, Sam Leffler wrote: >> sam 2003/09/17 12:27:43 PDT >> >> FreeBSD src repository >> >> Modified files: >> sbin/ifconfig ifieee80211.c >> Log: >> o add support for setting 128-bit WEP keys >> o use IEEE80211_KEYBUF_SIZE instead of magic numbers >> o distinguish between 40-, 104-, and 128-bit WEP keys when printing >> status >> >> Revision Changes Path >> 1.7 +7 -4 src/sbin/ifconfig/ifieee80211.c > > My Netgear router also claims to support 152-bit (and I think 64 bit, I > can check when I get home) WEP keys. You have to specify the 152-bit key > manually, though, instead of using their web-based Javascript code to > generate the key from a passphrase. > > Can we support 152-bit (and 64-bit) keys as well? The in-kernel storage is currently limited to 128-bit keys. There is major work needed in this area to support larger keys and AES but it's not a simple matter. Since WEP is basically useless (regardless of the key length) I don't think it's worth the effort to support larger keys right now. (I only fixed the 128-bit keys because it didn't require modifying the kernel.) Oh and 64-bit keys just get zero-padded to 104 bits so that's not really important. Sam