Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 12:55:29 -0700
From:      Sam Leffler <sam@errno.com>
To:        "Kenneth D. Merry" <ken@kdm.org>, Sam Leffler <sam@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/ifconfig ifieee80211.c
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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