OpenBSD CVS

CVS log for src/usr.sbin/radiusctl/radiusctl.c


[BACK] Up to [local] / src / usr.sbin / radiusctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 24 07:07:11 2020 UTC (4 years, 3 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, HEAD
Changes since 1.7: +121 -20 lines
Diff to previous 1.7 (colored)

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 1.7 / (download) - annotate - [select for diffs], Mon Apr 1 09:51:56 2019 UTC (5 years, 2 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.6: +9 -3 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 31 16:22:27 2015 UTC (8 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 19 22:07:37 2015 UTC (8 years, 7 months ago) by yasuoka
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 25 01:21:57 2015 UTC (8 years, 9 months ago) by yasuoka
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3 (colored)

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 1.3 / (download) - annotate - [select for diffs], Mon Aug 3 07:49:05 2015 UTC (8 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

sync usage();

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 2 23:49:31 2015 UTC (8 years, 10 months ago) by yasuoka
Branch: MAIN
Changes since 1.1: +12 -9 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 21 04:06:04 2015 UTC (8 years, 10 months ago) by yasuoka
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.