OpenBSD CVS

CVS log for src/usr.sbin/radiusd/radiusd_module.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 9 07:41:32 2024 UTC (4 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Add nochroot parameter to module_drop_privilege() so that modules can
use unveil(2) instead of chroot(2) if need.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 8 04:16:48 2024 UTC (5 months ago) by yasuoka
Branch: MAIN
Changes since 1.14: +36 -6 lines
Diff to previous 1.14 (colored)

Pass the request packet to response decorations for future use.
This is required for many cases and will be used future.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 8 05:56:22 2023 UTC (9 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.13: +79 -24 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:49 2019 UTC (4 years, 11 months ago) by deraadt
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, 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
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 3 11:54:56 2019 UTC (5 years, 2 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.11: +12 -12 lines
Diff to previous 1.11 (colored)

Fix the bug that radius module didn't work when the size of radius message
changes.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Apr 1 10:34:02 2019 UTC (5 years, 2 months ago) by yasuoka
Branch: MAIN
Changes since 1.10: +6 -7 lines
Diff to previous 1.10 (colored)

Update authenticator and message authenticator always.  Previous was
to keep the original authenticators and modify them only if needed.
But actually, there supposed to be no case such that the original
authenticators can be used for the client.  Original diff from IIJ.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 5 21:24:02 2016 UTC (8 years, 2 months ago) by krw
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
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Move more fcntl(,F_GETFL,0) -> fcntl(,F_GETFL).

No functional change.

ok guenther@

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 5 13:22:32 2015 UTC (8 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

EAGAIN handling for imsg_read. OK henning@ benno@

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 1 18:21:24 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Fix a couple typos.   ok yasuoka@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 27 04:18:36 2015 UTC (8 years, 7 months ago) by yasuoka
Branch: MAIN
Changes since 1.6: +5 -4 lines
Diff to previous 1.6 (colored)

Fix radiusd module to set O_NONBLOCK properly.

diff from Yuuichi Someya.

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

Remove a duplicated '#include <stdio.h>' line.

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

Call tzset() before dropping the priviledge to use correct timezone.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 2 23:29:27 2015 UTC (8 years, 10 months ago) by yasuoka
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Check the received packet length properly.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 2 21:30:34 2015 UTC (8 years, 10 months ago) by yasuoka
Branch: MAIN
Changes since 1.2: +32 -17 lines
Diff to previous 1.2 (colored)

radiusd_module with libevent didn't stop when the daemon stops.  Fix
it to delete its event handler properly.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 27 08:58:09 2015 UTC (8 years, 10 months ago) by yasuoka
Branch: MAIN
Changes since 1.1: +40 -5 lines
Diff to previous 1.1 (colored)

Drop the privilege from modules.  "radiusd_radius" could simply run
without root.  "radiusd_bsdauth" uses some functions which needs root.
So separate its process into a privileged process and a non-privileged
process.

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.