summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusd
AgeCommit message (Collapse)Author
10 daysHandle radiusd and npppd, they are different but nothing stands out.Claudio Jeker
OK tb@
10 daysConvert radiusd to new imsgbuf_read behaviour.Claudio Jeker
OK tb@
10 daysUse imsgbuf_queuelen() instead of accessing the w.queue member.Claudio Jeker
OK tb@
10 daysUse imsgbuf_clear() where appropriate instead of msgbuf_clear().Claudio Jeker
OK tb@
10 daysRename imsg_init, imsg_clear, imsg_read, imsg_write and imsg_flush toClaudio Jeker
imsgbuf_init, imsgbuf_clear, imsgbuf_read, imsgbuf_write and imsgbuf_flush. This separates the imsgbuf API from the per-imsg API. OK tb@
10 daysConvert imsg_write() callers to the new simplified return logic.Claudio Jeker
OK tb@
10 daysIntroduce imsg_write() and use it instead of msgbuf_write().Claudio Jeker
imsg_write() is just a thin wrapper around msgbuf_write(). So this is mostly search and replace. OK tb@
2024-11-07The comparator of the RBtree for the IP addresses was broken.YASUOKA Masahiko
Also, log verbosely when ignoring accounting request.
2024-11-07Log the username when rejecting by ipcp.YASUOKA Masahiko
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