-
Notifications
You must be signed in to change notification settings - Fork 285
check_radius: avoid two NAS-IP-Address pairs if radiusclient-ng is used #1736
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
base: master
Are you sure you want to change the base?
Conversation
|
Thanks! So this happens with radiusclient-ng specifically, but not with the FreeRADIUS Client library? Isn't radiusclient-ng dead for way over a decade? |
|
i tried to replicate #1607 and radiusclient-ng was the library available for my system. i got the same issue and the behaviour detected was able to explain all described tests of the original poster. i have no idea if "radiusclient-ng dead for way over a decade". this plugin works with 4 different radius libraries and i will not try to bring them all to work with my system while the issue ist replicated with the first tested library. |
|
My question wasn't meant as a criticism of your work in any way, and it wasn't necessarily directed at you specifically. The question is whether we'd want to merge that change, which only affects radiusclient-ng users, as-is. In my book, the answer depends on whether that library is still in use. If it isn't, maybe we should rather remove radiusclient-ng support altogether. Because as you say:
That's precisely my problem when reviewing patches such as this one. |
And (as I said), the next question would be whether FreeRADIUS users are affected by #1607 as well. Maybe the answer is "yes", in which case this patch wouldn't actually fix that issue. So while I'm not saying that you should do the work of figuring out these things, I do think that someone should before we merge this. |
|
how you will detect if a library is still used? i checked the code for "-V". It doesn't contain a hint with which library the plugin was compiled. it could help, if this info is easier available. else we can only ask the issue reporter for ldd output, right? waiting for "someone" to check any other library option will delay this PR probably forever. that will make my analysis and the fix finally useless. that's why i'm not happy with your annotation. the PR fixes a real problem with this combination of software. and the fix will only change the code for that specific combination. |
Others might have some insight as to which of those libraries are still offered by the popular Linux/BSD distributions, for example.
Maybe "someone" could at least check FreeRADIUS, which, as far as I know, is the only supported library that's still maintained, and therefore probably the most important to address.
Yes, I understood as much. What I'm not sure about is:
|
From my POV, radiusclient-ng is dead: https://tracker.debian.org/pkg/radiusclient-ng |
In Debian we have (as far as I know) two radius library: radcli and freeradius. The monitoring-plugins package supports both for building while radcli is the preferred one. |
fix for #1607