summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusd
AgeCommit message (Collapse)Author
2024-09-15__STDC_VERSION__ not __STDC_VERSION; ok miod@Jonathan Gray
2024-09-15Improve the log messages and white spaces.YASUOKA Masahiko
2024-09-15Keep the number of requests for a DAE server below 64 to avoidYASUOKA Masahiko
congestion.
2024-09-15Add "delete" command to "radiusctl ipcp". Also, send "stop" that wasYASUOKA Masahiko
missing when disconnecting all when acct-{on,off} received.
2024-09-15Handle EAGAIN properly and fix the log when disconnected.YASUOKA Masahiko
2024-08-27Mechanically change inet_aton to inet_pton.Florian Obser
Documentation says IP addresses are not truncated, so the parser can be stricter and only accept dotted IP addresses. OK yasuoka
2024-08-23FALLTROUGH -> FALLTHROUGHJonathan Gray
2024-08-16Make sure that the uptime field is always updated. Previously it wasYASUOKA Masahiko
used before initialized when the database has a session.
2024-08-16Free memory as much as possible. Also, fix a use-after-free when exiting.YASUOKA Masahiko
2024-08-16Send a reply to the control client when DAE is timed out instead ofYASUOKA Masahiko
silence. Also, fix a broken error string.
2024-08-16Delete req_modified. Which is not used.YASUOKA Masahiko
2024-08-15Accept empty lines for authopts to fix the parser to accept the oldYASUOKA Masahiko
syntax. It was broken by parse.y 1.18. Found by Mike at mgm51.com.
2024-08-14Messages from modules were leaked. Call imsg_free() for them.YASUOKA Masahiko
2024-08-14Don't abort the query when it is requesting to the next module.YASUOKA Masahiko
2024-08-14Initialize dae objects properly.YASUOKA Masahiko
2024-08-14Don't abort the query when a duplicated query is received. Also tweakYASUOKA Masahiko
the log message.
2024-08-07Fix a typoYASUOKA Masahiko
2024-08-04- sort SEE ALSOJason McIntyre
- radiusd_file(8) is section 8, not 5
2024-08-04Use "module" for the modules. Add a link to radiusd_file(8) fromYASUOKA Masahiko
radiusd_eap2mschap(8).
2024-08-01Use arc4random_uniform(n) instead of "% n".YASUOKA Masahiko
2024-07-22Fix ipcp module to use (the maximum sequence number from the db) + 1YASUOKA Masahiko
properly.
2024-07-22Modify ipcp module to return a result forYASUOKA Masahiko
IMSG_RADIUSD_MODULE_IPCP_DISCONNECT and radiusctl to handle the result.
2024-07-22Make some functions "static".YASUOKA Masahiko
2024-07-18Send Access-Reject when the authentication is not handled or the userYASUOKA Masahiko
is not found.
2024-07-18unveil .db is needed. Also move pledge() earlier.YASUOKA Masahiko
2024-07-18Add a link to radiud_file(8)YASUOKA Masahiko
2024-07-17Fix some gcc warningsYASUOKA Masahiko
2024-07-17minor repairsTheo de Raadt
2024-07-17Error if config parameter is unknown. This also fixes a gcc warning.YASUOKA Masahiko
spotted by deraadt
2024-07-17Document "authentication-filter".YASUOKA Masahiko
2024-07-17Decrypt "Password" attribute always before passing the packet toYASUOKA Masahiko
modules. Also, don't assume the authenticator of the packet from the module that has no secret is valid.
2024-07-17Delete log_info() line for debug.YASUOKA Masahiko
2024-07-16Only perform the static_assert checks in C>=11 environment; unbreaks buildMiod Vallat
on platforms using gcc.
2024-07-14fix SEE ALSO and a word tweak;Jason McIntyre
2024-07-14grammar and macro tweaks;Jason McIntyre
2024-07-14zap a stray Nd line;Jason McIntyre
2024-07-14Add radiusd_file(5) and link it from radiusd.conf(5).YASUOKA Masahiko
2024-07-14Add new radiusd_eap2mschap module. It provides conversions from EAPYASUOKA Masahiko
to MSCHAPv2.
2024-07-14Move radius_attr_{,un}hide() to radius_subr.c.YASUOKA Masahiko
2024-07-14Add "authentication-filter". Add new 2 imsg types so thatYASUOKA Masahiko
authentication modules can request the next authentication and the next authentication can receive the result of the previous and modify the result.
2024-07-14Set length of MPPE send/recv key.YASUOKA Masahiko
2024-07-14Add radiusd_file(8) module. It provides authencation by a local file.YASUOKA Masahiko
2024-07-14Add "radiusd" field to struct radius_query.YASUOKA Masahiko
2024-07-13Use calloc(3) instead of malloc(3). "accounting" is used withoutYASUOKA Masahiko
initialization. Also don't check request authenticator for other than Accounting-Request.
2024-07-12Fix a typo in logYASUOKA Masahiko
2024-07-11Update the example because now npppd can be a DAE server.YASUOKA Masahiko
2024-07-11Add more attributes to Disconnect-Request following the RFC'sYASUOKA Masahiko
suggestions. Also nas_ipv6 wasn't stored by a mistake.
2024-07-10Fix the problem that it breaks the event timer because there is noYASUOKA Masahiko
consideration for new disconnect requests during requesting DAE. The ipcp module didn't send a DAE request again once DAE request failed. Also fix log messages.
2024-07-10Fix memory leaks, a use after free, accessing outside the regionYASUOKA Masahiko
introduced by recent commits. Found by malloc(3).
2024-07-10grammar tweak;Jason McIntyre