CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2020/02/24 00:07:11
Modified files: usr.sbin/radiusctl: Makefile parser.c parser.h radiusctl.8 radiusctl.c Log message: add retries and timeouts for test packets. 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@