Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正PPTP MPPE对接错误 #66

Merged
merged 1 commit into from
Dec 11, 2015
Merged

修正PPTP MPPE对接错误 #66

merged 1 commit into from
Dec 11, 2015

Conversation

syxoasis
Copy link

@syxoasis syxoasis commented Dec 9, 2015

修正PPTP MPPE对接错误。根据RFC3079,GetMasterKey的第二个参数应该为ntresponse,而utils.py中传入的是peer_challenge。这样会导致Masterkey错误,进而导致回话密钥错误,无法正确解密客户端发来的数据,将utils.py:440行的peer_challenge修改为nt_response即可,已经过测试。

修正PPTP MPPE对接错误。根据RFC3079,GetMasterKey的第二个参数应该为ntresponse,而utils.py中传入的是peer_challenge。这样会导致Masterkey错误,进而导致回话密钥错误,无法正确解密客户端发来的数据,将utils.py:440行的peer_challenge修改为nt_response即可,已经过测试。
jamiesun added a commit that referenced this pull request Dec 11, 2015
修正PPTP MPPE对接错误,thanks
@jamiesun jamiesun merged commit d9a6102 into talkincode:stable Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants