summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-08Merge pull request #18 from samuelvarley/masterAlan DeKok
Make module (almost) thread-safe.
2016-12-01Merge pull request #26 from justinsg/masterAlan DeKok
Copy password to buffer before rounding length
2016-12-01Copy password to buffer before rounding lengthJustin Standring
2016-11-28Replaced select with poll to allow file descriptors >FD_SETSIZEmweissen13
2016-10-24notes on "configure"Alan T. DeKok
2016-05-17Check for too long linesAlan T. DeKok
2016-05-17use buffer size. Found by Dennis GoodletAlan T. DeKok
2016-01-17Add Calling-Station-Id to accounting requests.Thomas Liske
2015-12-10Thread safety: Control debug with local variable.Samuel Varley
2015-12-10Thread safety: Store the name of conf file in radius_conf_t.Samuel Varley
I needed to move the position of the structures so I could use the CONST macro with the new member.
2015-12-10Thread safety: Use strerror_r() instead of strerror().Samuel Varley
2015-12-10Thread safety: Use getaddrinfo() instead of getservbyname().Samuel Varley
2015-12-01Thread safety: Use getaddrinfo() instead of gethostbyname().Samuel Varley
2015-11-24Thread safety: Store session start time as PAM data.Samuel Varley
Previously, it was stored as file-scope variable. I also deleted the file-scope variable, "live_server", because it was not being used.
2015-11-24Ensure config.h is included first.Samuel Varley
pam_radius_auth.c was including config.h via pam_radius_auth.h but only after other library header files had been included. This meant you could have _GNU_SOURCE, for example, defined in config.h but it did not have any effect on which library functions were provided.
2015-10-31Clear out trailing part of the bufferAlan T. DeKok
2015-09-27Merge pull request #16 from bsiegert/masterAlan DeKok
Fixes from pkgsrc patches
2015-09-26Fix NetBSD build.Benny Siegert
This preprocessor define should be replaced by a test in the configure script, instead of a hardcoded list of operating systems.
2015-09-26Fix invocation of test.Benny Siegert
2015-09-26Quell warnings for isdigit.Benny Siegert
Explicitly cast the arg to isdigit to an unsigned char.
2015-09-08Allow src_ip to be setAlan T. DeKok
2015-07-13export CFLAGSAlan T. DeKok
2015-07-13More descriptive messagesAlan T. DeKok
2015-07-13More build checks.Alan T. DeKok
If configure fails, don't build anything
2015-07-13Build objects in src directoryAlan T. DeKok
Which is a bit better practice
2015-07-09Send password to next layer on fail, tooAlan T. DeKok
2015-05-21Use "length", which has been limited in sizeAlan T. DeKok
2015-04-22Bump version, minor changes.Alan T. DeKok
2015-04-22Bump to 1.4.1Alan T. DeKok
2015-01-16Updates for Solaris. Fixes #872Alan T. DeKok
2014-12-17Note 1.4.0Alan T. DeKok
2014-12-17Updates to release processAlan T. DeKok
2014-12-02Use port 0 instead of trying to be stupid about itAlan T. DeKok
2014-11-26Merge pull request #14 from JensKuehnel/masterAlan DeKok
add force_prompt option to enforce new password prompt for use with Toke...
2014-11-26add force_prompt option to enforce new password prompt for use with TokenJens Kuehnel
2014-09-03Add Calling-Station-Id to Access-Request after challenge. Closes #13Alan T. DeKok
2014-08-29Updated text on retryAlan T. DeKok
2014-08-29Merge pull request #12 from sara-nl/limit_challengesAlan DeKok
new parameter max_challenge limits number of Access-Challenges
2014-08-29new parameter max_challenge limits number of Access-ChallengesWalter de Jong
Force authentication failure when a certain amount of challenges has been reached. This is a workaround for buggy servers that keep issueing challenges, when they should really send Access-Reject. The limit is configurable through parameter "max_challenge". The default is 0, which means the workaround is disabled. An invalid or negative value also disables this workaround.
2014-08-28Merge pull request #10 from sara-nl/surfsaraArran Cudbard-Bell
SURFsara fixes and changes
2014-08-15check return value of rad_converse()Walter de Jong
2014-08-15code style consistencyWalter de Jong
2014-08-15no semicolons here (empty statements)Walter de Jong
2014-08-06Merge pull request #8 from foolean/masterArran Cudbard-Bell
Added 'prompt' option
2014-08-06clear the responseWalter de Jong
Just making sure, it seems cleaner to make sure that the function can not exit with the response in some random/undefined state
2014-08-06use DPRINT for logging debug messagesWalter de Jong
2014-08-06fix wrong format string modifierWalter de Jong
2014-08-06only print debug messages when configuredWalter de Jong
2014-08-06protect against buffer overflowWalter de Jong
2014-06-17Added 'prompt' optionBennett Samowich