RADIUS

check_radius_ih

Description:

This plugin is based on the check_radius_adv (by Gerd.Mueller). Now attributes can be introduced by command line

Current Version

Last Release Date

June 23, 2009

Compatible With


Project Files
Project Notes
++ The advanced featetures compared to original check_radius_adv are: * radius attributes used for the authentication can be defined on command line. ++ Installation Just unpack the file. And afterwards use ./configure and make ++ Command line {{ check_radius_ih -h Usage: # ./check_radius_ih OPTIONS... OPTIONS -v verbose (output with verification) -u [username] cleartext username -p [password] cleartext password -s [shared secret] shared secret for RADIUS server -r [radius server] radius server to auth off of -c [radius port] radius server port -t [auth timeout] interval to wait until auth timeout in seconds -a [attributes] filename of the attributes file (see samplefile) -A [attributes] attributes list semicolon separated (same format as samplefile) -o [ok state] auth reply code which will return ok state -m [replymsg] expected replymsg (type=18) -h this menu Examples: ./check_radius_ih -v -u pepito -p 'r3pikn' -s 'kmPANAs' -r localhost -t 10 -A '4 0 0 A 192.168.20.1; 61 0 0 I 15; 26 3414 41 I 1; 26 3414 42 I 2' }}
Reviews (2) Add a Review
Broken password handling
by candlerb, February 28, 2018

Useless: password+shared secret is encrypted wrongly, as shown by garbage User-Password received at Freeradius. This is still the case after fixing the most immediately obvious bugs: --- check_radius_ih.c.orig 2018-02-15 13:35:01.467142532 +0000 +++ check_radius_ih.c 2018-02-15 13:35:21.572082237 +0000 @@ -38,6 +38,7 @@ #include #include #include +#include ^lt;limits.h> #include "md5.h" @@ -254,7 +255,7 @@ void fnInitialize(RADIUS_HEADER *radhead) { memset(&global,0,sizeof(GLOBAL)); - memset(radhead,0,sizeof(radhead)); + memset(radhead,0,sizeof(*radhead)); radhead->rad_attr = NULL; @@ -558,7 +559,7 @@ } regfree(&regex); } - memset(buffer,MAX_BUFFER,0); + memset(buffer,0,MAX_BUFFER); } /*



compile error
by havrla, July 31, 2016

Heloo compile error: check_radius_ih.c:148:18: error: ‘PATH_MAX’ undeclared here (not in a function) solution: add to file check_radius_ih.c #include example: #include #include #include #include #include #include #include #include #include #include #include #include #include :-) Havrla



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
2 (2)
Favorites
0
Views
97,623