From owner-freebsd-current@FreeBSD.ORG Thu Apr 23 02:01:52 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A118773A; Thu, 23 Apr 2015 02:01:52 +0000 (UTC) Received: from st11p00im-asmtp001.me.com (st11p00im-asmtp001.me.com [17.172.80.95]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77E841509; Thu, 23 Apr 2015 02:01:52 +0000 (UTC) Received: from akita.localnet (c-73-162-13-215.hsd1.ca.comcast.net [73.162.13.215]) by st11p00im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NN800KD3LN11420@st11p00im-asmtp001.me.com>; Thu, 23 Apr 2015 02:01:50 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-04-22_06:2015-04-22,2015-04-22,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1504230023 From: Rui Paulo To: Ian FREISLICH Cc: "freebsd-wireless@freebsd.org" , freebsd-current@freebsd.org Subject: Re: CTF: wpa_supplicant/hostapd 2.4 import Date: Wed, 22 Apr 2015 19:01:48 -0700 Message-id: <3845818.sZ85oEnXDh@akita> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-reply-to: <55377bf3.653cc20a.6e28.54ad@mx.google.com> References: <2408123.McWtPaBMsU@akita> <55377bf3.653cc20a.6e28.54ad@mx.google.com> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 02:01:52 -0000 On Wednesday 22 April 2015 12:44:12 Ian FREISLICH wrote: > 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="xxxxxxxxxxxxx" > 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=ca@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=ca@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=ca@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 Can you send me the log of the previous wpa_supplicant version? -- Rui Paulo