Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2005 15:34:03 GMT
From:      Thijs Eilander <eilander@paranoid.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/88182: wep is broken in ural(4) hostap mode
Message-ID:  <200510291534.j9TFY3KK021207@www.freebsd.org>
Resent-Message-ID: <200510291540.j9TFeE7q054462@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88182
>Category:       misc
>Synopsis:       wep is broken in ural(4) hostap mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 29 15:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thijs Eilander
>Release:        FreeBSD 6.0RC1
>Organization:
none
>Environment:
FreeBSD router.paranoid.nl 6.0-RC1 FreeBSD 6.0-RC1 #6: Fri Oct 28 21:48:58 CEST 2005     root@:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I've got an Eminent Wireless USB (EM3035) device with the Ralink chipset

ural0: Ralink 802.11g WLAN, rev 2.00/0.01, addr 2
ural0: MAC/BBP RT2570 (rev 0x03), RF RT2526
ural0: Ethernet address: 00:06:f4:0b:d6:0e
ural0: if_start running deferred for Giant

When in hostap mode, the encryption fails. I tried both WEP (ifconfig) and WPA (hostapd).

When in clientmode, encryption is OK. I tried the device with OpenBSD which works OK with hostap+wep, so the card seems to be ok.

configuration:
ifconfig_ural0="ssid home wepkey 0x1234567890 weptxkey 1 wepmode on mediaopt hostap up"

Tcpdump says:

17:16:55.609147 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:40:96:58:24:d3, length: 300
17:16:55.609168 IP truncated-ip - 24209 bytes missing! 175.8.224.204 > 86.30.246.56: ip-proto-216

I can see incoming traffic, so I used the correct key. 
But outgoing traffic seems to be broken.
>How-To-Repeat:
put the ural-device in hostap mode and try to use encryption. tcpdump the traffic to see that something is broken.
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



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