I follow i386 stable and after applying the WPA1/WPA2 MITM fix to 6.0 (#018) I 
can no longer obtain an IP address via dhclient when WPA2 is in use. This 
happens with both PSK and enterprise modes (via wpa_supplicant). Wireless 
(iwi0) connections without encryption work fine.

I tried the 03/25/17 snapshot and that does not resolve the issue.

I reversed patch #018 and and built a stable kernel and that does resolve the 
issue.

With the iwi debug flag enabled I see the expected rssi lines and then the 4 
handshake messages without patch #018. These messages are then followed by 
normal dhclient success.

Mar 28 22:14:51  /bsd: iwi0: begin active scan
Mar 28 22:14:51  /bsd: iwi0: received probe_resp from 00:0f:66:b0:d9:dc rssi 66 
mode auto
Mar 28 22:14:51  /bsd: iwi0: received beacon from 00:0f:66:b0:d9:dc rssi 60 
mode auto
Mar 28 22:14:51  /bsd: iwi0: received probe_resp from 00:0f:66:b0:d9:dc rssi 63 
mode auto
Mar 28 22:14:51  /bsd: iwi0: received beacon from 2c:59:e5:f4:57:e3 rssi 44 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received probe_resp from 44:94:fc:78:a4:40 rssi 56 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received probe_resp from 2c:59:e5:f4:57:e3 rssi 47 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received beacon from 2c:59:e5:f4:57:e3 rssi 47 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received probe_resp from 44:94:fc:78:a4:40 rssi 54 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received probe_resp from 7c:bf:b1:77:40:30 rssi 37 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received probe_resp from 7c:bf:b1:77:40:30 rssi 38 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received probe_resp from 7c:bf:b1:77:40:30 rssi 37 
mode auto
Mar 28 22:14:52  /bsd: iwi0: received probe_resp from 7c:bf:b1:77:40:30 rssi 38 
mode auto
Mar 28 22:14:52  /bsd: iwi0: end active scan
Mar 28 22:14:52  /bsd: iwi0: received msg 1/4 of the 4-way handshake from 
00:0f:66:b0:d9:dc
Mar 28 22:14:52  /bsd: iwi0: sending msg 2/4 of the 4-way handshake to 
00:0f:66:b0:d9:dc
Mar 28 22:14:52  /bsd: iwi0: received msg 3/4 of the 4-way handshake from 
00:0f:66:b0:d9:dc
Mar 28 22:14:52  /bsd: iwi0: sending msg 4/4 of the 4-way handshake to 
00:0f:66:b0:d9:dc

With patch #018 applied or with 3/25 snapshot, active scanning occurs and ends, 
but no RSNA handshake happens. Therefore, dhclient does not succeed.




OpenBSD 6.0 (GENERIC) #5: Thu Mar 23 11:13:03 CDT 2017
    
r...@slartibartfast.jamesjerkinscomputer.com:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1500MHz ("GenuineIntel" 686-class) 1.50 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,EST,TM2,PERF
real mem  = 536027136 (511MB)
avail mem = 513101824 (489MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 06/29/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 
0xf8cb0 (61 entries)
bios0: vendor Dell Computer Corporation version "A17" date 06/29/2005
bios0: Dell Computer Corporation Inspiron 600m
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP
acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) USB0(S1) USB1(S1) USB2(S1) 
USB3(S1) MODM(S3) PCIE(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (PCIE)
acpicpu0 at acpi0
C1: unknown FFH class 0: !C3(100@185 io@0x816), !C3(250@85 io@0x815), !C2(500@1 
io@0x814), C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 89 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 not present
acpibat1 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
"PNP0F13" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0401" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
bios0: ROM list: 0xc0000/0x10000
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: Enhanced SpeedStep 1496 MHz: speeds: 1500, 1500, 1500, 1400, 1200, 1000, 
800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855PM Host" rev 0x03
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xe0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0 "Intel 82855PM AGP" rev 0x03
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon Mobility M9" rev 0x02
drm0 at radeondrm0
radeondrm0: irq 11
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5705M" rev 0x01, BCM5705 A1 
(0x3001): irq 11, address 00:0f:1f:a3:ac:81
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 1
cbb0 at pci2 dev 1 function 0 "O2 Micro OZ711EC1 SmartCardBus" rev 0x20: irq 
11, CardBus support disabled
cbb1 at pci2 dev 1 function 1 "O2 Micro OZ711EC1 SmartCardBus" rev 0x20: irq 
11, CardBus support disabled
iwi0 at pci2 dev 3 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 11, 
address 00:0e:35:16:8a:cf
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <TS32GSSD25-M>
wd0: 1-sector PIO, LBA48, 30560MB, 62586880 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, CDRW/DVD SN-324F, U203> ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11, ICH4 
AC97
ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
"Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: ALPS Glidepoint, version 0x7321
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
"O2Micro, SmartCardBus Reader, V1.0" at pcmcia1 function 0 not configured
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (4e96772979f19e0f.a) swap on wd0b dump on wd0b
radeondrm0: 1024x768
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

Reply via email to