Skip to content
This repository was archived by the owner on Aug 6, 2018. It is now read-only.

认证失败(猜测是MD5算法更改了) #30

Open
yutouyes opened this issue Oct 31, 2016 · 11 comments
Open

认证失败(猜测是MD5算法更改了) #30

yutouyes opened this issue Oct 31, 2016 · 11 comments

Comments

@yutouyes
Copy link

yutouyes commented Oct 31, 2016

师兄/师姐好,最近中东校园网更新之后无法认证了,提示
==> Sending EAPOL start
==> Got EAP Request for identity
==> Sending EAP response with identity = [yuxk3]
==> Got EAP Request for MD5-Challenge
==> Sending EAP response with password
==> Got EAP Failure
我看了H3C 802.11x的认证流程,猜测是校园网把校验算法改了,现在的认证端取得MD5-Challenge后加密所得的密文不符合现在校园网的规范,就是eapauth.py的140-144行(包括其调用的send_response_md5方法)的加密算法不符合现在校园网所用的算法,所以认证失败。其他地方没有看到有影响的部分。
所以想请教一下师兄/师姐,您当年是根据什么写出这个算法的,我想试一下能不能把算法改成现在校园网使用的算法(如果真是这个原因的话)
不过有个特别的情况:极路由2自带的华三认证是可以成功认证现在的校园网的,但是我不知道它的实现,它也没开源,从它的设置里也看不出什么可以学习的地方。。
非常感谢!

@SgLy
Copy link

SgLy commented Nov 1, 2016

在Raspbian Jessie和最新的ArchLinux上同样出现这种情况。Windows客户端可以正常连接,考虑抓个包研究一下……

@yutouyes
Copy link
Author

yutouyes commented Nov 1, 2016

@SgLy 基本可以确认是算法改了,第三方没有跟进,所以认证失败。但是这个算法怎么弄呢。。抓包应该是抓不到这个的

@yutouyes
Copy link
Author

yutouyes commented Nov 1, 2016

zlsun/yah3c@d59686c
可以看一下另一位大牛的更新,这个可以认证

@SgLy
Copy link

SgLy commented Nov 1, 2016

zlsun/yah3c@d59686c 在Raspbian Jessie上验证可用
(所以是该close了?

@yutouyes
Copy link
Author

yutouyes commented Nov 2, 2016

@SgLy 我想请教一下你在树莓派上认证之后是不是建立热点就可以让其他设备上网了

@SgLy
Copy link

SgLy commented Nov 2, 2016

@yutouyes 是的……不过issue不是用来聊天的……跟这个issue无关的事情还是发邮件吧?

@Sevyyy
Copy link

Sevyyy commented Nov 6, 2016

上面那个“大牛”的版本也连不上怎么破

@Zhuolun1996
Copy link

@zonyitoo/sysuh3c这个大神更新后可以使用了

@goodboy95
Copy link

今年突然又好了,原因不明

@Zhuolun1996
Copy link

我身边一些人可以用旧版的认真了,但是我还是得用修改了md5算法的版本,不知道是什么问题

@CharleVV
Copy link

CharleVV commented May 5, 2017

==> Got EAP Request for MD5-Challenge
==> Sending EAP response with password
==> Got EAP Failure
E63032: Incorrect password. You can retry 9 times.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants