diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2020-02-24 07:07:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2020-02-24 07:07:12 +0000 |
commit | 5939ebc8f74101bcd9e8f7ec508799560f3e6e96 (patch) | |
tree | 46042c3045b5c0d93a195dac4a43976951317850 /usr.sbin/vmd | |
parent | 6ce3e859dd6a4f86875c0127a3a307d1c9c229bc (diff) |
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@
Diffstat (limited to 'usr.sbin/vmd')
0 files changed, 0 insertions, 0 deletions