Up to [local] / src / usr.sbin / radiusd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.27 / (download) - annotate - [select for diffs], Thu Aug 15 07:24:28 2024 UTC (13 months, 2 weeks ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_7_7_BASE,
OPENBSD_7_7,
OPENBSD_7_6_BASE,
OPENBSD_7_6,
HEAD
Changes since 1.26: +3 -2 lines
Diff to previous 1.26 (colored)
Accept empty lines for authopts to fix the parser to accept the old syntax. It was broken by parse.y 1.18. Found by Mike at mgm51.com.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 14 16:09:23 2024 UTC (14 months, 3 weeks ago) by yasuoka
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)
Add new radiusd_eap2mschap module. It provides conversions from EAP to MSCHAPv2.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 14 15:27:57 2024 UTC (14 months, 3 weeks ago) by yasuoka
Branch: MAIN
Changes since 1.24: +59 -33 lines
Diff to previous 1.24 (colored)
Add "authentication-filter". Add new 2 imsg types so that authentication modules can request the next authentication and the next authentication can receive the result of the previous and modify the result.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 14 13:44:30 2024 UTC (14 months, 3 weeks ago) by yasuoka
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)
Add radiusd_file(8) module. It provides authencation by a local file.
Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 13 13:06:47 2024 UTC (14 months, 3 weeks ago) by yasuoka
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)
Use calloc(3) instead of malloc(3). "accounting" is used without initialization. Also don't check request authenticator for other than Accounting-Request.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 10 16:30:43 2024 UTC (14 months, 3 weeks ago) by yasuoka
Branch: MAIN
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)
Fix memory leaks, a use after free, accessing outside the region introduced by recent commits. Found by malloc(3).
Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 9 17:26:14 2024 UTC (14 months, 3 weeks ago) by yasuoka
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)
Add radiusd_ipcp(8). A module which provides IP configuration through RADIUS Access-Accept messages and manages IP address pool through RADIUS accounting messages.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 2 00:33:51 2024 UTC (15 months ago) by yasuoka
Branch: MAIN
Changes since 1.19: +70 -8 lines
Diff to previous 1.19 (colored)
Add support for RADIUS accounting.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 2 00:00:12 2024 UTC (15 months ago) by yasuoka
Branch: MAIN
Changes since 1.18: +158 -24 lines
Diff to previous 1.18 (colored)
Change the syntax for "module" and "authenticate". "module" can have a {} block now. On the other hand, "authentication" can be without a {} block. The previous syntax is still accepted. Also make specifying the path of "module" be optional.
Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 1 03:13:42 2024 UTC (15 months ago) by yasuoka
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)
Delete a garbage empty definition.
Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 8 05:56:22 2023 UTC (2 years ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)
Add request or response decoration feature which is used through the radiusd module interface. This makes additional modules can modify RADIUS request or response messages. Also add new "radius_standard" module which uses this new feature, provides some generic features like "strip-atmark-realm" which removes the realm part from the User-Name attribute. from IIJ.
Revision 1.16 / (download) - annotate - [select for diffs], Tue Sep 5 00:32:01 2023 UTC (2 years, 1 month ago) by yasuoka
Branch: MAIN
Changes since 1.15: +6 -1 lines
Diff to previous 1.15 (colored)
Refuse an incomplete config, an authentication block which doesn't have authentication module. The code doesn't expect this.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 4 12:28:18 2023 UTC (2 years, 1 month ago) by yasuoka
Branch: MAIN
Changes since 1.14: +8 -2 lines
Diff to previous 1.14 (colored)
Don't surround by "" at much as possible.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 18 06:37:20 2023 UTC (2 years, 1 month ago) by yasuoka
Branch: MAIN
Changes since 1.13: +36 -34 lines
Diff to previous 1.13 (colored)
Fix the config parser to be able to have comment lines at middle of "client" block. Also fix a memory leak and improve the error messages when parse errors.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 15 15:01:28 2021 UTC (3 years, 11 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.12: +13 -13 lines
Diff to previous 1.12 (colored)
Don't declare variables as "unsigned char *" that are passed to functions that take "char *" arguments. Where such chars are assigned to int or passed to ctype functions, explicitly cast them to unsigned char. For OpenBSD's clang, -Wpointer-sign has been disabled by default, but when the parse.y code was built elsewhere, the compiler would complain. With help from millert@ ok benno@ deraadt@
Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 1 11:05:41 2019 UTC (6 years, 6 months ago) by yasuoka
Branch: MAIN
CVS Tags: 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,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.11: +7 -5 lines
Diff to previous 1.11 (colored)
Pass the debug status to modules. Also some non functional changes (comment, log message, and rearrange lines).
Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 1 09:25:14 2019 UTC (6 years, 6 months ago) by yasuoka
Branch: MAIN
Changes since 1.10: +6 -1 lines
Diff to previous 1.10 (colored)
Make "secret" become a required configuration for both client and radius module. "secret" for client was required already, but it hadn't cause an error if it's missing. Original diff from IIJ.
Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 29 07:07:48 2019 UTC (6 years, 6 months ago) by yasuoka
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)
Use u_char for buffer in yylex. This happened on the other parse.y already.
Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 29 07:05:58 2019 UTC (6 years, 6 months ago) by yasuoka
Branch: MAIN
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored)
Add printf format attributes to yyerror() in parse.y. This happened already on the other parse.y. Also fix the format warnings.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 13 22:57:08 2019 UTC (6 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)
(unsigned) means (unsigned int) which on ptrdiff_t or size_t or other larger types really is a range reduction... Almost any cast to (unsigned) is a bug. ok millert tb benno
Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 1 00:18:44 2018 UTC (6 years, 11 months ago) by sashan
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)
- odd condition/test in PF lexer (and other lexers too) This commit rectifies earlier change: in the lex... even inside quotes, a \ followed by space or tab should expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). OK deraadt@, OK millert@
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 9 12:05:11 2018 UTC (7 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)
No need to mention which memory allocation entry point failed (malloc, calloc or strdup), we just need to log that we ran out of memory in a particular function. Recommended by florian@ and deraadt@ ok benno@ henning@ tb@
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 8 17:15:07 2018 UTC (7 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)
Be consistent in warn() and log_warn() usage when running out of memory. Next step, be correct *and* consistent. ok dennis@ tb@ benno@ schwarze@
Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 27 09:04:20 2016 UTC (9 years, 1 month ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)
Add missing $OpenBSD$ line and remove an unnecessary comment line.
Revision 1.3 / (download) - annotate - [select for diffs], Wed Aug 26 02:04:43 2015 UTC (10 years, 1 month ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)
fix a use after free in an error path found with afl ok yasuoka@
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 2 21:48:55 2015 UTC (10 years, 2 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)
Tweak XXX comments.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 21 04:06:04 2015 UTC (10 years, 2 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