如何开始与 Python/Scapy 进行 EAP 通信
我正在用 Python/Scapy 编写一个应用程序,其行为类似于无线 802.1X 请求者。我希望我的应用程序能够通过 EAP 协议连接到 RADIUS 服务器。如果您在此处查看 EAP 消息流程图:
http://upload.wikimedia .org/wikipedia/commons/8/8a/EAP_message_flow.png
您可以看到,第一条消息(请求身份)从身份验证器发送到恳求者。但是Authenticator如何知道Supplicant想要验证自己的身份呢?必须有一些先前的消息从请求者发送到身份验证器,让身份验证器知道您想要进行身份验证。
我以为这个消息是 EAPOL START 数据包。我尝试在 scapy 中伪造 EAPOL START 数据包并将其发送到配置为支持 801.1X + PEAP 的 AP,但我没有收到 AP 的答复。没有请求身份数据包发送回给我。
所以我的问题是:任何人都可以向我展示我必须发送到 AP(身份验证器)以开始 EAP 通信(从请求身份数据包开始)的数据包示例吗?
I'm programming an application in Python/Scapy that behaves like wireless 802.1X supplicant. I want my application to be able to connect to RADIUS server via EAP protocol. If you look at the EAP messages flowchart here:
http://upload.wikimedia.org/wikipedia/commons/8/8a/EAP_message_flow.png
You can see, that the first message (Request Identity) goes from the Authenticator to the Supplicant. But how does Authenticator know that Supplicant wants to authenticate itself? There must be some previous message from Supplicant to Authenticator letting Authenticator know that you want to authenticate.
I thought, that this message was EAPOL START packet. I tried to forge EAPOL START packet in scapy and sent it to my AP that is configured to support 801.1X + PEAP, but I had no answer from AP. No Request Identity packet was send back to me.
So my question is: Can anybody show me example of packet I have to send to AP (Authenticator) to begin EAP communication (starting with Request Identity packet)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我自己回答:)我必须首先进行身份验证和关联。关联成功后,AP最终向我发送EAP请求身份数据包。
Ok, I will answer myself:) I have to first authenticate and associate. After successful association, AP finally sends me EAP Request Identity packet.