History log of /openbsd/usr.sbin/radiusd/radiusd.c (Results 1 – 25 of 55)
Revision Date Author Comments
# 58911fd1 14-Aug-2024 yasuoka <yasuoka@openbsd.org>

Messages from modules were leaked. Call imsg_free() for them.


# 30c0952c 14-Aug-2024 yasuoka <yasuoka@openbsd.org>

Don't abort the query when it is requesting to the next module.


# ce1078f6 14-Aug-2024 yasuoka <yasuoka@openbsd.org>

Don't abort the query when a duplicated query is received. Also tweak
the log message.


# 27a2e2e1 22-Jul-2024 yasuoka <yasuoka@openbsd.org>

Make some functions "static".


# a449bbce 17-Jul-2024 yasuoka <yasuoka@openbsd.org>

Decrypt "Password" attribute always before passing the packet to
modules. Also, don't assume the authenticator of the packet from the
module that has no secret is valid.


# a6eb37b5 14-Jul-2024 yasuoka <yasuoka@openbsd.org>

Move radius_attr_{,un}hide() to radius_subr.c.


# ed1dc925 14-Jul-2024 yasuoka <yasuoka@openbsd.org>

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

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.

show more ...


# 836eeaed 14-Jul-2024 yasuoka <yasuoka@openbsd.org>

Add "radiusd" field to struct radius_query.


# e0671980 13-Jul-2024 yasuoka <yasuoka@openbsd.org>

Use calloc(3) instead of malloc(3). "accounting" is used without
initialization. Also don't check request authenticator for other than
Accounting-Request.


# 43436be7 10-Jul-2024 yasuoka <yasuoka@openbsd.org>

Fix memory leaks, a use after free, accessing outside the region
introduced by recent commits. Found by malloc(3).


# 842565f2 09-Jul-2024 yasuoka <yasuoka@openbsd.org>

Add radiusd_ipcp(8). A module which provides IP configuration through
RADIUS Access-Accept messages and manages IP address pool through
RADIUS accounting messages.


# 747da5e9 02-Jul-2024 yasuoka <yasuoka@openbsd.org>

Add support for RADIUS accounting.


# 4a4dce94 01-Jul-2024 yasuoka <yasuoka@openbsd.org>

Stop scheduling an I/O event by the timer when the imsg_buf has the data
larger than the imsg header. It prevented the receiver from receiving the
following parts of the message.


# 59396270 01-Jul-2024 yasuoka <yasuoka@openbsd.org>

Exit with an error code when error or module die.
CVS ----------------------------------------------------------------------


# 55b9f5be 01-Jul-2024 yasuoka <yasuoka@openbsd.org>

Set SO_REUSEADDR for the listening socket. This makes radiusd(8)
can bind both on an interface address and a wildcard address.


# 8c9be245 01-Jul-2024 yasuoka <yasuoka@openbsd.org>

Call daemon(3) before parse_config() since parse_config() of radiusd(8)
starts some sub processes and parent-child relationship with them must
be kept. But we want to show config error on stderr, so

Call daemon(3) before parse_config() since parse_config() of radiusd(8)
starts some sub processes and parent-child relationship with them must
be kept. But we want to show config error on stderr, so keep stdio
files open and close them after parse_config().

show more ...


# c9e9c1c9 01-Jul-2024 yasuoka <yasuoka@openbsd.org>

Don't receive decoration when not requested.


# c917c3ca 01-Jul-2024 yasuoka <yasuoka@openbsd.org>

Show config error when -n


# 2e151769 01-Jul-2024 yasuoka <yasuoka@openbsd.org>

Add missing size check.


# 5e763c0b 14-Feb-2024 jsg <jsg@openbsd.org>

avoid use after free of q
found by smatch, ok miod@ deraadt@


# 936475aa 09-Feb-2024 yasuoka <yasuoka@openbsd.org>

Refactor some functions to prepare accounting support.


# 76e157ac 08-Jan-2024 yasuoka <yasuoka@openbsd.org>

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


# 0fcb2422 23-Oct-2023 yasuoka <yasuoka@openbsd.org>

Fix radiusd(8) to fixup MPPE-{Send,Recv}-Key and Tunnel-Password
attributes of the response properly.


# 237e61d9 08-Sep-2023 yasuoka <yasuoka@openbsd.org>

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_sta

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.

show more ...


# 36a3d429 05-Sep-2023 yasuoka <yasuoka@openbsd.org>

Refuse an incomplete config, an authentication block which doesn't
have authentication module. The code doesn't expect this.


123