diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-08-25 15:08:09 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-08-25 15:08:09 +0000 |
commit | 02c74a75a370179b6764962e426f9c9f2fd9eaff (patch) | |
tree | 46068b3e9a2ea9416b8ae62a7a3b3d2c5e80f1cf /sbin/iked/config.c | |
parent | aed1bc55800be23dd5d00d34ca73fbb1027c5ea5 (diff) |
Add dpd_check_interval configuration option. If for any IKE SA no IPsec
or IKE message has been received within the specified time interval,
iked will start sending DPD messages.
ok patrick@
Diffstat (limited to 'sbin/iked/config.c')
-rw-r--r-- | sbin/iked/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/config.c b/sbin/iked/config.c index a4cc98d37fc..efe7217dc68 100644 --- a/sbin/iked/config.c +++ b/sbin/iked/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.63 2020/08/24 21:00:21 tobhe Exp $ */ +/* $OpenBSD: config.c,v 1.64 2020/08/25 15:08:07 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -869,6 +869,7 @@ config_getstatic(struct iked *env, struct imsg *imsg) IMSG_SIZE_CHECK(imsg, &env->sc_static); memcpy(&env->sc_static, imsg->data, sizeof(env->sc_static)); + log_debug("%s: dpd_check_interval %llu", __func__, env->sc_alive_timeout); log_debug("%s: %senforcesingleikesa", __func__, env->sc_enforcesingleikesa ? "" : "no "); log_debug("%s: %sfragmentation", __func__, env->sc_frag ? "" : "no "); |