History log of /openbsd-current/usr.sbin/radiusctl/radiusctl.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.8 24-Feb-2020 dlg

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@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.7 01-Apr-2019 yasuoka

Show message-authenticator correctly. It had shown the result of
authenticator mistakenly. Original diff from IIJ.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.6 31-Dec-2015 millert

Do not mix EX_* from sysexits.h and EXIT_* from stdlib.h, just use
EXIT_*.


# 1.5 19-Oct-2015 yasuoka

Add pledge(2) for radiusctl(8) and radiusd(8).
- 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


# 1.4 25-Aug-2015 yasuoka

Remove references to the -h command line option which was removed.
Also use `return' instead of exit(3) in main().

Patch from Michael Reed
ok jmc


Revision tags: OPENBSD_5_8_BASE
# 1.3 03-Aug-2015 jmc

sync usage();


# 1.2 02-Aug-2015 yasuoka

Fix styles. Also delete -h option since any other ctl command doesn't have
it.


# 1.1 21-Jul-2015 yasuoka

Add radiusd(8) and radiusctl(8). They are WIP. radiusd(8) is a RADIUS
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


Revision tags: OPENBSD_6_5_BASE
# 1.7 01-Apr-2019 yasuoka

Show message-authenticator correctly. It had shown the result of
authenticator mistakenly. Original diff from IIJ.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.6 31-Dec-2015 millert

Do not mix EX_* from sysexits.h and EXIT_* from stdlib.h, just use
EXIT_*.


# 1.5 19-Oct-2015 yasuoka

Add pledge(2) for radiusctl(8) and radiusd(8).
- 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


# 1.4 25-Aug-2015 yasuoka

Remove references to the -h command line option which was removed.
Also use `return' instead of exit(3) in main().

Patch from Michael Reed
ok jmc


Revision tags: OPENBSD_5_8_BASE
# 1.3 03-Aug-2015 jmc

sync usage();


# 1.2 02-Aug-2015 yasuoka

Fix styles. Also delete -h option since any other ctl command doesn't have
it.


# 1.1 21-Jul-2015 yasuoka

Add radiusd(8) and radiusctl(8). They are WIP. radiusd(8) is a RADIUS
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


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.6 31-Dec-2015 millert

Do not mix EX_* from sysexits.h and EXIT_* from stdlib.h, just use
EXIT_*.


# 1.5 19-Oct-2015 yasuoka

Add pledge(2) for radiusctl(8) and radiusd(8).
- 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


# 1.4 25-Aug-2015 yasuoka

Remove references to the -h command line option which was removed.
Also use `return' instead of exit(3) in main().

Patch from Michael Reed
ok jmc


Revision tags: OPENBSD_5_8_BASE
# 1.3 03-Aug-2015 jmc

sync usage();


# 1.2 02-Aug-2015 yasuoka

Fix styles. Also delete -h option since any other ctl command doesn't have
it.


# 1.1 21-Jul-2015 yasuoka

Add radiusd(8) and radiusctl(8). They are WIP. radiusd(8) is a RADIUS
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