Re: CTF: wpa_supplicant/hostapd 2.4 import

2015-04-22 Thread Oliver Pinter
Rui, FYI: http://w1.fi/security/2015-1/wpa_supplicant-p2p-ssid-overflow.txt

On Sun, Apr 19, 2015 at 9:41 PM, Rui Paulo rpa...@me.com wrote:
 Hi,

 Please test the new wpa_supplicant/hostapd.  Here's the patch against FreeBSD
 HEAD:

 https://people.freebsd.org/~rpaulo/wpa-2.4.diff

 Thanks,
 --
 Rui Paulo
 ___
 freebsd-curr...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: CTF: wpa_supplicant/hostapd 2.4 import

2015-04-22 Thread Ian FREISLICH
Rui Paulo wrote:
 Hi,
 
 Please test the new wpa_supplicant/hostapd.  Here's the patch against FreeBSD
 
 HEAD:
 
   https://people.freebsd.org/~rpaulo/wpa-2.4.diff

EAP never actually completes the association.  Authentication
completes but the link never actually comes up.  This configuration
worked with the previous wpa_supplicant.

Config:
network={
ssid=quasar
key_mgmt=WPA-EAP
eap=PEAP
identity=zen
password=x
priority=8
}


RADIUS log:
Wed Apr 22 12:28:20 2015 : Auth: Login OK: [zen] (from client AP-PRO-1 port 0 
cli 00-22-5F-70-A1-DF)

Client log:
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: Trying to associate with 
00:27:22:6c:0b:8f (SSID='quasar' freq=2437 MHz)
Apr 22 12:28:20 zen kernel: wlan0: link state changed to UP
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: Associated with 
00:27:22:6c:0b:8f
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-STARTED EAP 
authentication started
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD 
vendor=0 method=4 - NAK
Apr 22 12:28:20 zen dhclient[2297]: send_packet: No buffer space available
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD 
vendor=0 method=25
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-METHOD EAP 
vendor 0 method 25 (PEAP) selected
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PEER-CERT 
depth=1 subject='/C=ZA/ST=Western Cape/O=Freislich Home Network/OU=Freislich 
Home/CN=freislich.nom.za/emailAddress=c...@freislich.nom.za' 
hash=79d3b2233b7c0e261445f3fe488ef259fdab3c2fbe0727043ff47b0f3f3d22a0
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PEER-CERT 
depth=1 subject='/C=ZA/ST=Western Cape/O=Freislich Home Network/OU=Freislich 
Home/CN=freislich.nom.za/emailAddress=c...@freislich.nom.za' 
hash=79d3b2233b7c0e261445f3fe488ef259fdab3c2fbe0727043ff47b0f3f3d22a0
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-PEER-CERT 
depth=0 subject='/C=ZA/ST=Western Cape/L=Cape Town/O=Freislich Home 
Network/OU=Freislich 
Home/CN=freislich.nom.za/emailAddress=c...@freislich.nom.za' 
hash=ea38723d53e84d2574f9edf105cdb904b773479badfedab1f8b9d1abbab0c12e
Apr 22 12:28:20 zen wpa_supplicant[2191]: EAP-MSCHAPV2: Authentication succeeded
Apr 22 12:28:20 zen wpa_supplicant[2191]: EAP-TLV: TLV Result - Success - 
EAP-TLV/Phase2 Completed
Apr 22 12:28:20 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-EAP-SUCCESS EAP 
authentication completed successfully
Apr 22 12:28:21 zen kernel: wlan0: link state changed to DOWN
Apr 22 12:28:21 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=00:27:22:6c:0b:8f reason=0
Apr 22 12:28:24 zen wpa_supplicant[2191]: wlan0: Trying to associate with 
00:27:22:6c:0b:8f (SSID='quasar' freq=2437 MHz)
Apr 22 12:28:24 zen wpa_supplicant[2191]: wlan0: Associated with 
00:27:22:6c:0b:8f
Apr 22 12:28:24 zen kernel: wlan0: link state changed to UP
Apr 22 12:28:24 zen dhclient[2297]: send_packet: No buffer space available
Apr 22 12:28:29 zen last message repeated 2 times
Apr 22 12:28:34 zen wpa_supplicant[2191]: wlan0: Authentication with 
00:27:22:6c:0b:8f timed out.
Apr 22 12:28:34 zen wpa_supplicant[2191]: wlan0: CTRL-EVENT-DISCONNECTED 
bssid=00:27:22:6c:0b:8f reason=3 locally_generated=1
Apr 22 12:28:34 zen kernel: wlan0: link state changed to DOWN

Ian

-- 
Ian Freislich
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: CTF: wpa_supplicant/hostapd 2.4 import

2015-04-21 Thread Ranjan1018 .
2015-04-19 23:35 GMT+02:00 Rui Paulo rpa...@me.com:

 Hi,

 Please test the new wpa_supplicant/hostapd.  Here's the patch against
 FreeBSD
 HEAD:

 https://people.freebsd.org/~rpaulo/wpa-2.4.diff

 Thanks,


It works for me with LAGG(4).
# uname -a
FreeBSD ativ 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r281782M: Mon Apr 20
21:31:22 CEST 2015 root@ativ:/usr/obj/usr/src/sys/GENERIC  amd64

# ifconfig
ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 18:67:b0:39:bd:23
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
status: associated
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE
ether 18:67:b0:39:bd:23
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect (none)
status: no carrier
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff00
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
groups: lo
lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 18:67:b0:39:bd:23
inet 192.168.0.51 netmask 0xff00 broadcast 192.168.0.255
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect
status: active
groups: lagg
laggproto failover lagghash l2,l3,l4
laggport: re0 flags=1MASTER
laggport: wlan0 flags=4ACTIVE
wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 18:67:b0:39:bd:23
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
status: associated
ssid netis channel 1 (2412 MHz 11g ht/20) bssid 08:10:77:53:bc:b5
regdomain 101 indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF TKIP 2:128-bit txpower 20 bmiss 7 scanvalid 60
protmode CTS ampdulimit 32k ampdudensity 16 shortgi wme burst
roaming MANUAL
groups: wlan
vboxnet0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 0a:00:27:00:00:00
nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
media: Ethernet autoselect
status: active
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1500
options=8LINKSTATE
inet6 fe80::1a67:b0ff:fe39:bd23%tun0 prefixlen 64 scopeid 0x7
inet 10.7.0.6 -- 10.7.0.5 netmask 0x
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
groups: tun
Opened by PID 990
tun1: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1500
options=8LINKSTATE
inet6 fe80::1a67:b0ff:fe39:bd23%tun1 prefixlen 64 scopeid 0x8
inet 10.8.0.14 -- 10.8.0.13 netmask 0x
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
groups: tun
Opened by PID 997

Regards
Maurizio
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org


Re: CTF: wpa_supplicant/hostapd 2.4 import

2015-04-19 Thread David Wolfskill
On Sun, Apr 19, 2015 at 02:35:17PM -0700, Rui Paulo wrote:
 Hi,
 
 Please test the new wpa_supplicant/hostapd.  Here's the patch against FreeBSD 
 HEAD:
 
   https://people.freebsd.org/~rpaulo/wpa-2.4.diff
 ...

Seems OK so far for both amd64  i386; sources (prior to applying above
patch) @r281736.  I only use wpa_supplicant, and I've only tested it
lightly at home (which is among my less challenging 802.11
environments).

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpy7C7g91GqF.pgp
Description: PGP signature


Re: CTF: wpa_supplicant/hostapd 2.4 import

2015-04-19 Thread Kevin Lo
On Sun, Apr 19, 2015 at 02:35:17PM -0700, Rui Paulo wrote:
 
 Hi,
 
 Please test the new wpa_supplicant/hostapd.  Here's the patch against FreeBSD 
 HEAD:
 
   https://people.freebsd.org/~rpaulo/wpa-2.4.diff

Seems to be working fine on amd64.  Tested on ral(4) and run(4).
Thanks.

 Thanks,
 -- 
 Rui Paulo

Kevin
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to freebsd-wireless-unsubscr...@freebsd.org