summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusctl
AgeCommit message (Collapse)Author
2022-01-07Sync EVP_MD_CTX to heap switch from npppd.Theo Buehler
ok millert
2020-02-25sort previous, and shorten the text; ok dlg yasuokaJason McIntyre
2020-02-24add retries and timeouts for test packets.David Gwynne
the most important bit of this is that the command will exit after a timeout period. this is currently handy if you're running radiusctl as a check from relayd, because at the moment it to get confused about who it's children are if you run a lot of checks too rapidly. before timeouts were added, radiusctl would wait forever for a reply, but a reply may never arrive because networks are unreliable, and worse, computers are unreliable and may be down for extended periods of time. the number of retries, the interval between retries, and the overall wait time can be tweaked via command line arguments. the defaults are set to something that seems reasonable if you're running a test. ok yasuoka@
2019-04-01Show message-authenticator correctly. It had shown the result ofYASUOKA Masahiko
authenticator mistakenly. Original diff from IIJ.
2015-12-31Do not mix EX_* from sysexits.h and EXIT_* from stdlib.h, just useTodd C. Miller
EXIT_*.
2015-10-19Add pledge(2) for radiusctl(8) and radiusd(8).YASUOKA Masahiko
- radiusd: "stdio inet" - radiusd_radius: "stdio inet" - radiusd_bsdauth: - "stdio proc" for the non-priviledged process - "stdio getpw rpath proc exec" for the priviledged process - radiusctl: "stdio dns inet" "go ahead" deraadt
2015-08-25Remove references to the -h command line option which was removed.YASUOKA Masahiko
Also use `return' instead of exit(3) in main(). Patch from Michael Reed ok jmc
2015-08-03sync usage();Jason McIntyre
2015-08-03tweak previous;Jason McIntyre
2015-08-03Add radiusctl.8YASUOKA Masahiko
ok deraadt
2015-08-02Fix styles. Also delete -h option since any other ctl command doesn't haveYASUOKA Masahiko
it.
2015-07-21Add radiusd(8) and radiusctl(8). They are WIP. radiusd(8) is a RADIUSYASUOKA Masahiko
server and radiusctl(8) is to control the server. radiusd(8) currently supports bsdauth and radius (upstream radius servers) as authentication backends. fixes from jsg blambert ok deraadt