Radius-Client Access Request Password

Alan DeKok aland at deployingradius.com
Wed Oct 4 20:42:19 CEST 2006


Johannes Luther <johannes.luther at gmx.de> wrote:
> I'm currenty developing a radius client class (Open-Source) in c#.

  Ok... so it's not directly related to FreeRADIUS.

> 1.) How to do the operation (S+RA) ???
>     Do I have to convert the String a to a hex value (ASCII Table) ??

  See the FreeRADIUS source code.  It does all this.

> 2.) How to XOR the user password with b?
>     OK ... the b is the easy part, because it's already a 16byte hex
> value... but how do I have to convert the user password (in this case "b") ?
>     Is it a ASCII Conversion? if this would be the case, the char b is
> 0x62 hex.

  See the FreeRADIUS source code.

  src/lib/radius.c, rad_pw_encode()

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Devel mailing list