RADIUS计算Message-Authenticator

时间:2016-04-20 03:44:49

标签: c#

我想知道,如何计算和比较半径服务器下的Message-Authenticator的值 - 什么类型? - 确定什么? - 什么长度? - 属性是什么?

1 个答案:

答案 0 :(得分:0)

类型,其中之一:

Access-Request = 1
Access-Accept = 2
Access-Reject = 3
Access-Challenge = 11

身份:

For Access-Request, a random number between 0 and 255
Otherwise the identity from the Access-Request

长度

Total length of the packet being sent = 20 + len(attrs)

属性

A Key:Value list of attributes [1] being sent.

[1] https://www.iana.org/assignments/radius-types/radius-types.txt