How to build 802.1x auth in the management vlan environment?

DJ HENRY henry1412 at gmail.com
Sun Jun 7 07:30:07 EDT 2009


Does hostapd and wpa_supplicat cann't run in the management vlan
environment?

The hostaps recive unknown ethertype: Unknown ethertype 0x8100 in data frame

The detail log of hostaps:
--------------------------------------------
Configuration file: wired.conf
Opening raw packet socket for ifindex 6
socket ouvert pour htons(ETH_P_PAE) = 0x8e88
Opening raw packet socket for ifindex 6
Using interface br0 with hwaddr 00:0f:1e:34:2c:ef and ssid ''
br0: RADIUS Authentication server 192.168.0.92:1812
Flushing old station entries
Deauthenticate all stations
Unknown ethertype 0x8100 in data frame
Data frame from unknown STA 00:0f:1e:00:00:83 - adding a new STA
  New STA
br0: STA 00:0f:1e:00:00:83 IEEE 802.1X: start authentication
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_PAE entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 BE_AUTH entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_KEY_TX entering state NO_KEY_TRANSMIT
IEEE 802.1X: 00:0f:1e:00:00:83 KEY_RX entering state NO_KEY_RECEIVE
IEEE 802.1X: 00:0f:1e:00:00:83 CTRL_DIR entering state IN_OR_BOTH
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_PAE entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 BE_AUTH entering state IDLE
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 KEY_RX entering state NO_KEY_RECEIVE
IEEE 802.1X: 00:0f:1e:00:00:83 CTRL_DIR entering state FORCE_BOTH
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_PAE entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 KEY_RX entering state NO_KEY_RECEIVE
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_PAE entering state DISCONNECTED
br0: STA 00:0f:1e:00:00:83 IEEE 802.1X: unauthorizing port
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_PAE entering state RESTART
IEEE 802.1X: station 00:0f:1e:00:00:83 - new auth session, clearing State
IEEE 802.1X: Generated EAP Request-Identity for 00:0f:1e:00:00:83
(identifier 0, timeout 30)
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_PAE entering state CONNECTING
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 AUTH_PAE entering state AUTHENTICATING
IEEE 802.1X: 00:0f:1e:00:00:83 BE_AUTH entering state REQUEST
IEEE 802.1X: Sending EAP Packet to 00:0f:1e:00:00:83 (identifier 0)
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:0f:1e:00:00:83 REAUTH_TIMER entering state INITIALIZE
Unknown ethertype 0x8100 in data frame

wpa_supplicant log:
--------------------------
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wired_init: Added multicast membership with packet socket
Setting scan request: 0 sec 100000 usec
Added interface br0
EAPOL: External notification - portControl=Auto
Already associated with a configured network - generating associated event
Association info event
State: DISCONNECTED -> ASSOCIATED
Associated to a new BSS: BSSID=01:80:c2:00:00:03
No keys have been configured - skip key clearing
Network configuration found for the current AP
EAPOL: External notification - portControl=Auto
Associated with 01:80:c2:00:00:03
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
EAPOL: startWhen --> 0
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
TX EAPOL - hexdump(len=4): 01 01 00 00
RX EAPOL from 00:0f:1e:34:2c:ef
RX EAPOL - hexdump(len=14): 02 00 00 0a 01 00 00 0a 01 68 65 6c 6c 6f
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_PAE entering state RESTART
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=1 id=0
EAP: EAP entering state IDENTITY
CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: EAP-Request Identity data - hexdump_ascii(len=5):
     68 65 6c 6c 6f                                    hello
EAP: using real identity - hexdump_ascii(len=17):
     30 30 3a 30 46 3a 31 45 3a 30 30 3a 30 30 3a 38   00:0F:1E:00:00:8
     33                                                3
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=26): 01 00 00 16 02 00 00 16 01 30 30 3a 30 46 3a 31
45 3a 30 30 3a 30 30 3a 38 33
EAPOL: SUPP_BE entering state RECEIVE
RX EAPOL from 00:0f:1e:34:2c:ef
RX EAPOL - hexdump(len=14): 02 00 00 0a 01 01 00 0a 01 68 65 6c 6c 6f
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=1 id=1
EAP: EAP entering state IDENTITY
CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: EAP-Request Identity data - hexdump_ascii(len=5):
     68 65 6c 6c 6f                                    hello
EAP: using real identity - hexdump_ascii(len=17):
     30 30 3a 30 46 3a 31 45 3a 30 30 3a 30 30 3a 38   00:0F:1E:00:00:8
     33                                                3
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
TX EAPOL - hexdump(len=26): 01 00 00 16 02 01 00 16 01 30 30 3a 30 46 3a 31
45 3a 30 30 3a 30 30 3a 38 33
EAPOL: SUPP_BE entering state RECEIVE
EAPOL: startWhen --> 0
EAPOL: authWhile --> 0
EAPOL: SUPP_BE entering state TIMEOUT
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAPOL: startWhen --> 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20090607/f9ca3927/attachment.htm 


More information about the HostAP mailing list