{"action":"created","issue":{"url":"https://api.github.com/repos/securestate/eapeak/issues/1","labels_url":"https://api.github.com/repos/securestate/eapeak/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/securestate/eapeak/issues/1/comments","events_url":"https://api.github.com/repos/securestate/eapeak/issues/1/events","html_url":"https://github.com/securestate/eapeak/issues/1","id":81825342,"number":1,"title":"Problem with Authentication/Association to AP","user":{"login":"CapitanShinChan","id":3536296,"avatar_url":"https://avatars.githubusercontent.com/u/3536296?v=3","gravatar_id":"","url":"https://api.github.com/users/CapitanShinChan","html_url":"https://github.com/CapitanShinChan","followers_url":"https://api.github.com/users/CapitanShinChan/followers","following_url":"https://api.github.com/users/CapitanShinChan/following{/other_user}","gists_url":"https://api.github.com/users/CapitanShinChan/gists{/gist_id}","starred_url":"https://api.github.com/users/CapitanShinChan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CapitanShinChan/subscriptions","organizations_url":"https://api.github.com/users/CapitanShinChan/orgs","repos_url":"https://api.github.com/users/CapitanShinChan/repos","events_url":"https://api.github.com/users/CapitanShinChan/events{/privacy}","received_events_url":"https://api.github.com/users/CapitanShinChan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zeroSteiner","id":2058303,"avatar_url":"https://avatars.githubusercontent.com/u/2058303?v=3","gravatar_id":"","url":"https://api.github.com/users/zeroSteiner","html_url":"https://github.com/zeroSteiner","followers_url":"https://api.github.com/users/zeroSteiner/followers","following_url":"https://api.github.com/users/zeroSteiner/following{/other_user}","gists_url":"https://api.github.com/users/zeroSteiner/gists{/gist_id}","starred_url":"https://api.github.com/users/zeroSteiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeroSteiner/subscriptions","organizations_url":"https://api.github.com/users/zeroSteiner/orgs","repos_url":"https://api.github.com/users/zeroSteiner/repos","events_url":"https://api.github.com/users/zeroSteiner/events{/privacy}","received_events_url":"https://api.github.com/users/zeroSteiner/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-05-28T08:28:10Z","updated_at":"2015-05-28T13:17:44Z","closed_at":null,"body":"Hi!\r\n\r\nI was using eapeak during a pentest a week ago, but it didn't work properly. The Wireless State Machine nearly always doesn't complete the Authentication/Association process with the AP, sometimes it's because it doesn't get the Authentication/Association Response.\r\n\r\nBut debugging with Wireshark or tcpdump using another interface, I can see that the AP sends the Authentication/Association frames, but there are not processed by eapscan. Could it be a problem related the scapy sniff() function, which could me lossing some frames?\r\n\r\nI've tried with different USB WiFi cards.\r\n\r\n\r\nHere is some example output:\r\n\r\n10:00:50 root@KaliMero eapeak master ? ./eapscan -e WLAN_XY -b 60:A4:4C:69:D2:48 -i mon0 -c 6 -V                 \r\n[*] Verbose output has been enabled\r\n[*] Checking Connection To AP\r\n[*] Verbose: using source MAC address: 00:93:a2:a9:8f:97 for testing connections\r\nL2socket created?\r\n\r\n[-] Verbose: did not receive a reply to the authentication request\r\n.\r\n[*] Verbose: using source MAC address: 00:17:f3:f8:aa:bd for testing connections\r\nL2socket created?\r\nL2socket created?\r\n\r\n[-] Verbose: did not receive a reply to the association request\r\n.\r\n[*] Verbose: using source MAC address: 00:6b:fa:0f:fb:c3 for testing connections\r\nL2socket created?\r\n\r\n[-] Verbose: did not receive a reply to the authentication request\r\n.\r\n[-] Connection Attempts Failed\r\n[-] Now Exiting..."},"comment":{"url":"https://api.github.com/repos/securestate/eapeak/issues/comments/106306452","html_url":"https://github.com/securestate/eapeak/issues/1#issuecomment-106306452","issue_url":"https://api.github.com/repos/securestate/eapeak/issues/1","id":106306452,"user":{"login":"CapitanShinChan","id":3536296,"avatar_url":"https://avatars.githubusercontent.com/u/3536296?v=3","gravatar_id":"","url":"https://api.github.com/users/CapitanShinChan","html_url":"https://github.com/CapitanShinChan","followers_url":"https://api.github.com/users/CapitanShinChan/followers","following_url":"https://api.github.com/users/CapitanShinChan/following{/other_user}","gists_url":"https://api.github.com/users/CapitanShinChan/gists{/gist_id}","starred_url":"https://api.github.com/users/CapitanShinChan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CapitanShinChan/subscriptions","organizations_url":"https://api.github.com/users/CapitanShinChan/orgs","repos_url":"https://api.github.com/users/CapitanShinChan/repos","events_url":"https://api.github.com/users/CapitanShinChan/events{/privacy}","received_events_url":"https://api.github.com/users/CapitanShinChan/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T13:17:44Z","updated_at":"2015-05-28T13:17:44Z","body":"I've been deeping in your code (and scapy's too) looking for the problem origin.\r\n\r\nOne possible reason could be that the callback function defined for stopping the sniffing process is taking too much time, so meanwhile some frames are lost (maybe because the Rx buffer is full?). I've tried to apply some filters like tcpdump does (tested \"raw\" and \"cooked\" filters) but it didn't fix the problem (they were not even properly working).\r\n\r\nIf you have any ideas, let me know, I'll be happy to help :smile: \r\n"}}