ppp-project/ppp

ppp2.5.0 chap authentication failed

lxzxjchan opened this issue · 4 comments

Hi,
after I upgraded ppp from 2.4.9 to 2.5.0, chap authentication failed and pppoe dial-up failed. Judging from the packets captured through tcpdump, the response "VALUE" in the chap authentication response message seems to be unusually long and contains many 0s.
I used chap one-way authentication. When my code works with ppp 2.4.9, everything works fine, but when it works with ppp2.5.0, the above problem occurs.
What should I check?
Thanks.

@lxzxjchan you able to post or email the pcap file to either myself or Paul? Are you using chap-md5 in that case?

Are you using radius by any chance?

Thank you for your answers. I apologize for not replying in time as I have been busy recently.
I found the cause of this problem. That's because I specified the path to openssl when compiling, so md5_init uses the version defined by openssl. So my solution is to specify not to use openssl when compiling. @paulusmack @enaess @jkroonza