master
minor repairs
minor cleanups, especially DPADD
Add radiusd_file(5) and link it from radiusd.conf(5).
Add radiusd_ipcp(8). A module which provides IP configuration through RADIUS Access-Accept messages and manages IP address pool through RADIUS accounting messages.
Add new radiusd_eap2mschap module. It provides conversions from EAP to MSCHAPv2.
Add radiusd_file(8) module. It provides authencation by a local file.
Handle radiusd and npppd, they are different but nothing stands out.
__STDC_VERSION__ not __STDC_VERSION; ok miod@
Use imsgbuf_queuelen() instead of accessing the w.queue member.
including sys/cdefs.h manually started as a result of netbsd trying to macro-build a replacement for sccsid, and was done without any concern for namespace damage. Unfortunately this practice started infecting other code as others were unaware they didn't need the file. ok millert guenther
Save errno before doing other things. Also add __deade for fatal() and fatalx().
Accept empty lines for authopts to fix the parser to accept the old syntax. It was broken by parse.y 1.18. Found by Mike at mgm51.com.
Move radius_attr_{,un}hide() to radius_subr.c.
Consistently use _rcctl enable foo_ in examples, it's simpler and less error prone than manually editing rc.conf.local, and also works to enable ipsec and accounting.
Fix typos in log.
Add a link to radiud_file(8)
Add "authentication-filter". Add new 2 imsg types so that authentication modules can request the next authentication and the next authentication can receive the result of the previous and modify the result.
Use "module" for the modules. Add a link to radiusd_file(8) from radiusd_eap2mschap(8).
Add checks that the passed strings from the unprivileged process have one char at least to make sure they are terminated by a null char.
- sort SEE ALSO - radiusd_file(8) is section 8, not 5
Improve the log messages and white spaces.
Use the value from RADIUS in preference.
Keep the number of requests for a DAE server below 64 to avoid congestion.
Delete req_modified. Which is not used.
Free memory as much as possible. Also, fix a use-after-free when exiting.
Add support for RADIUS accounting.
snprintf/vsnprintf return < 0 on error, rather than -1.