From 8418aabe4f347e87b8918a840afc2e37638b61a4 Mon Sep 17 00:00:00 2001 From: Patrick Wildt Date: Sat, 11 May 2019 16:30:24 +0000 Subject: Add support for IKEv2 Message Fragmentation as defined in RFC 7383. ok sthen@ --- sbin/iked/iked.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sbin/iked/iked.c') diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index 5669f5a45b0..b417ad8ddf7 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,6 +1,7 @@ -/* $OpenBSD: iked.c,v 1.36 2017/11/27 18:39:35 patrick Exp $ */ +/* $OpenBSD: iked.c,v 1.37 2019/05/11 16:30:23 patrick Exp $ */ /* + * Copyright (c) 2019 Tobias Heider * Copyright (c) 2010-2013 Reyk Floeter * * Permission to use, copy, modify, and distribute this software for any @@ -251,6 +252,7 @@ parent_configure(struct iked *env) fatal("pledge"); config_setmobike(env); + config_setfragmentation(env); config_setcoupled(env, env->sc_decoupled ? 0 : 1); config_setmode(env, env->sc_passive ? 1 : 0); config_setocsp(env); @@ -282,6 +284,7 @@ parent_reload(struct iked *env, int reset, const char *filename) config_setcompile(env, PROC_IKEV2); config_setmobike(env); + config_setfragmentation(env); config_setcoupled(env, env->sc_decoupled ? 0 : 1); config_setmode(env, env->sc_passive ? 1 : 0); config_setocsp(env); -- cgit v1.2.3