-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
radius request or response Authenticator #24
Comments
Hello, The library verifies the authenticator field in Accounting-Request packets: aaa4j-radius/aaa4j-radius-core/src/main/java/org/aaa4j/radius/core/packet/PacketCodec.java Lines 320 to 331 in 562f411
If the RADIUS server receives an Accounting-Request packet with an invalid authenticator field, the The library also verifies the authenticator field in all the response packets: Access-Accept, Access-Reject, Access-Challenge, and Accounting-Response and throws an exception when calling If a RADIUS packets contains a Message-Authenticator attribute, the library will also verify that and throw an exception if it is not correct. If you want to include a Message-Authenticator attribute in your request or response packets, you can add |
thanks for your reply |
Hi~
when i read radius Standard,i find the Authenticator,the description is as follows:
The NAS and RADIUS accounting server share a secret. The Request
Authenticator field in Accounting-Request packets contains a one-
way MD5 hash calculated over a stream of octets consisting of the
Code + Identifier + Length + 16 zero octets + request attributes +
shared secret (where + indicates concatenation). The 16 octet MD5
hash value is stored in the Authenticator field of the
Accounting-Request packet
ok, actually in my project,i need use this algorithm to check the legitimacy of request,do you have some suggestions?
The text was updated successfully, but these errors were encountered: