Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/radius.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,10 @@ Radius._verify_response_message_authenticator = function(args) {
secret: args.secret
});

// Response packets for `Status-Server` requests do not have a `Message-Authenticator` attribute hence
// no need to verify response message authenticator
if (parsed_request.code === "Status-Server") return true;

if (parsed_request.attributes["Message-Authenticator"]) {
var parsed_response = this.decode({
packet: args.response,
Expand Down