diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2024-07-13 12:22:47 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2024-07-13 12:22:47 +0000 |
commit | bc7304d910477e4c473ae4a6c5dc2ef2db807c6d (patch) | |
tree | b6bec27aabe2f7281fcd1dde16928a8e8699503c /sbin/iked/iked.c | |
parent | 26645bfb61e3f02e4cdc5642dfaa16bfd1c86a7b (diff) |
Add RADIUS support. Authentication, accounting, and "Dynamic
Authorization Extensions"(DAE) are supported.
feedback markus stu
ok tobhe
Diffstat (limited to 'sbin/iked/iked.c')
-rw-r--r-- | sbin/iked/iked.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index 00bd3f6e2d6..b69a354438a 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.c,v 1.70 2024/02/15 20:10:45 tobhe Exp $ */ +/* $OpenBSD: iked.c,v 1.71 2024/07/13 12:22:46 yasuoka Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -307,6 +307,8 @@ parent_configure(struct iked *env) config_setstatic(env); config_setcoupled(env, env->sc_decoupled ? 0 : 1); config_setocsp(env); + config_setradauth(env); + config_setradacct(env); /* Must be last */ config_setmode(env, env->sc_passive ? 1 : 0); @@ -324,6 +326,7 @@ parent_reload(struct iked *env, int reset, const char *filename) if (reset == RESET_RELOAD) { config_setreset(env, RESET_POLICY, PROC_IKEV2); + config_setreset(env, RESET_RADIUS, PROC_IKEV2); if (config_setkeys(env) == -1) fatalx("%s: failed to send keys", __func__); config_setreset(env, RESET_CA, PROC_CERT); |