From owner-freebsd-bugs Tue Nov 20 0: 0:13 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 71B2537B418 for ; Tue, 20 Nov 2001 00:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAK802m06899; Tue, 20 Nov 2001 00:00:02 -0800 (PST) (envelope-from gnats) Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id 12C0537B405 for ; Mon, 19 Nov 2001 23:51:16 -0800 (PST) Received: from morpheus.kfu.com (morpheus.kfu.com [205.178.90.238]) by quack.kfu.com (8.11.6/8.11.6) with ESMTP id fAK7pAD67467 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK) for ; Mon, 19 Nov 2001 23:51:10 -0800 (PST) (envelope-from nsayer@medusa.kfu.com) Received: (from nsayer@localhost) by morpheus.kfu.com (8.11.6/8.11.6) id fAK7pAs34488; Mon, 19 Nov 2001 23:51:10 -0800 (PST) (envelope-from nsayer) Message-Id: <200111200751.fAK7pAs34488@morpheus.kfu.com> Date: Mon, 19 Nov 2001 23:51:10 -0800 (PST) From: Nick Sayer Reply-To: Nick Sayer To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/32124: Cannot set 128 bit wep key on prism2 (wi0) cards Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32124 >Category: kern >Synopsis: Cannot set 128 bit wep key on prism2 (wi0) cards >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 20 00:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Nick Sayer >Release: FreeBSD 4.4-RELEASE i386 >Organization: just me >Environment: System: FreeBSD morpheus.kfu.com 4.4-RELEASE FreeBSD 4.4-RELEASE #30: Tue Nov 13 22:01:08 PST 2001 root@:/usr/obj/usr/src/sys/MORPHEUS i386 Vaio notebook, Netgear MA401, Linksys WAP-11 access point >Description: Attempting to set a 128 bit WEP key does not result in the correct key being set. The exact same sequence of operations with a (Dell OEM) Lucent gold card works correctly. The equivalent sequence of operations under Windows 2000 with the Netgear card works correctly. I can only conclude that the code to set a 128 bit WEP key on Prism2 cards under FreeBSD is incorrect. wicontrol reports the correct value for the key, so the ioctls to read and write the keys at least are reading and writing the same bit of data. Traffic snooped off the Ethernet segment connected to the access point show corrupted frames that seem to match up in length and time to transmissions from the machine under test. That tells me the key is not being set properly. >How-To-Repeat: ifconfig wi0 wepmode on weptxkey 1 wepkey 1:0x00112233445566778899aabbcc on a prism2 card (with your access point similarly configured, of course). >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message