sensepost / hostapd-mana

SensePost's modified hostapd for wifi attacks.
https://w1f1.net/
Other
536 stars 126 forks source link

[WPA-EAP] client cannot join EAPOL TX: Message too long #33

Closed anjasnewbie closed 5 years ago

anjasnewbie commented 5 years ago

Hi, I got error when client connect to my fake AP. this is my AP conf.

[config_wifi.conf]

interface=wlx00c0ca977de5
ssid=Corporate-Wifi
channel=1
hw_mode=g
wpa=3
wpa_key_mgmt=WPA-EAP
wpa_pairwise=TKIP CCMP
auth_algs=3

ieee8021x=1
eap_server=1
eap_user_file=hostapd.eap_user1
ca_cert=sslforfree/ca_bundle.crt
server_cert=sslforfree/certificate.crt
private_key=sslforfree/unkey.key

[Log]

Configuration file: test.conf
MANA: Captured credentials will be written to file 'hostapd.credout'.
Using interface wlx00c0ca977de5 with hwaddr 00:c0:ca:97:7d:e5 and ssid "Corporate-Wifi"
wlx00c0ca977de5: interface state UNINITIALIZED->ENABLED
wlx00c0ca977de5: AP-ENABLED 
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: authenticated
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: associated (aid 1)
wlx00c0ca977de5: CTRL-EVENT-EAP-STARTED 5c:c5:d4:7b:eb:a2
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: authenticated
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: associated (aid 1)
wlx00c0ca977de5: CTRL-EVENT-EAP-STARTED 5c:c5:d4:7b:eb:a2
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=13
nl80211: EAPOL TX: Message too long
nl80211: EAPOL TX: Message too long
nl80211: EAPOL TX: Message too long
wlx00c0ca977de5: CTRL-EVENT-EAP-STARTED 5c:c5:d4:7b:eb:a2
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: authenticated
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: associated (aid 1)
wlx00c0ca977de5: CTRL-EVENT-EAP-STARTED 5c:c5:d4:7b:eb:a2
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: authenticated
wlx00c0ca977de5: STA 5c:c5:d4:7b:eb:a2 IEEE 802.11: associated (aid 1)
wlx00c0ca977de5: CTRL-EVENT-EAP-STARTED 5c:c5:d4:7b:eb:a2
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
wlx00c0ca977de5: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=13
nl80211: EAPOL TX: Message too long
nl80211: EAPOL TX: Message too long
anjasnewbie commented 5 years ago

Hi, this error because iptables rules. after clear the iptables rules this error is gone and client can connect to my AP. thank you.