Thanks for your reply.I want to decode the Wiamx-Msk. Whether the Wiamx-msk be encoded by the rad_tunnel_pwencode function at freeradius-server/src/lib/radius.c or not. Could I reuse the rad_tunnel_pwdecode() to decode it? Alan DeKok-2 wrote:
youler wrote:
hi all, I has installed freeradius-server 2.1.3,but I encounter a problem. I add MSK information in the raddb/usrs as follow: ... Wimax-MSK += 0x00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff
Run the commend ,radiusd -X. I see the results in the server as follow:
Sending Access-Accept of id 111 to 127.0.0.1 port 35987 ... WiMAX-MSK += 0x00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff
Exactly. It prints out the attribute BEFORE it is encrypted.
Finally, I parse the radius packet,and get that the lenth of Wimax-MSK is 82. Now, I don't kown it is right or wrong.
That's right.
Besides,I kown the "encrypt=2" in the dictionary stands for tunnel password,but I don't kown freeradius-server how to encode the Wimax-msk.
The server does it automatically.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
-- View this message in context: http://www.nabble.com/How-the-Wimax-Msk-be-encrypted--tp23558787p23571079.ht... Sent from the FreeRadius - Dev mailing list archive at Nabble.com.