CHAP with perl module

Alan DeKok aland at deployingradius.com
Tue Mar 4 07:06:55 CET 2008


Jeremy Kusnetz wrote:
> We are able to retrieve the clear text password and encrypt it with the CHAP-Challenge and see if it matches the CHAP-Password,
> but as far as I can tell, we don't have access to the Request Authenticator of the Access-Request packet in the perl module.

  Why would you want access to it in the Perl module?  The "chap" module
already does this.

> Any thoughts on how to support the RFC?

  Use the code that's already in the server?

  Your Perl module should supply a Cleartext-Password to the server, and
the server will Just Do the Right Thing.

  If you're thinking of doing something else, I'd like to know why.
Odds are it's overly complicated and unnecessary.

  Alan DeKok.



More information about the Freeradius-Users mailing list