[Nagiosplug-devel] [ nagiosplug-Bugs-2911752 ] check_radius doesn't detect or report authentication errors

SourceForge.net noreply at sourceforge.net
Thu Dec 10 05:05:01 CET 2009


Bugs item #2911752, was opened at 2009-12-09 21:47
Message generated for change (Comment added) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2911752&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
>Group: release-1.4.15
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Craig Leres (leres)
>Assigned to: Thomas Guyot-Sionnest (dermoth)
Summary: check_radius doesn't detect or report authentication errors

Initial Comment:
The check_radius plugin exits with status 0 and no messages if it gets a "result" it isn't expecting. This issue is tickled when you use an incorrect password. In that case, radiusclient returns REJECT_RC (2).

The attached patch (against 1.4.13) adds a case to handle REJECT_RC and also complains if an unexpected result is returned.

Although I did not actually test the snapshot version, examination of the code indicates that 1.4.14-61-g45e2 still has these issues.


----------------------------------------------------------------------

>Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-12-09 23:05

Message:
Which library/version are you using for radius? We currently support the
original radiusclient and radiusclient-ng, and none of them provide the
REJECT_RC macro. 

I'll apply the last hunk anyway, but for the rest i'd like to know where
it's from at the very least.

Thanks

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2911752&group_id=29880




More information about the Devel mailing list