summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/conf.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-07-13 15:16:19 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-07-13 15:16:19 +0000
commitd7bd49c8c13df8bd89e576e3645a9cf664118443 (patch)
tree94cd02eeae24a00fbc93dd2e2d4e53f8ea4727e6 /sbin/isakmpd/conf.c
parent62e6cd318955abfa5f563dfd7e12d71ff3b9cb62 (diff)
Support additional MODP DH groups in the Phase 1 and Phase 2.
lteo@ noticed that ipsecctl allowed them within the ike rules while isakmpd failed to load the generated configuration. The fix was verified by hshoexer, ok naddy
Diffstat (limited to 'sbin/isakmpd/conf.c')
-rw-r--r--sbin/isakmpd/conf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/isakmpd/conf.c b/sbin/isakmpd/conf.c
index 71ae01641ae..bf1a55abc49 100644
--- a/sbin/isakmpd/conf.c
+++ b/sbin/isakmpd/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.100 2012/06/30 14:51:31 naddy Exp $ */
+/* $OpenBSD: conf.c,v 1.101 2012/07/13 15:16:18 mikeb Exp $ */
/* $EOM: conf.c,v 1.48 2000/12/04 02:04:29 angelos Exp $ */
/*
@@ -482,9 +482,10 @@ conf_load_defaults(int tr)
char *mm_enc_p[] = {"DES", "BLF", "3DES", "CAST", "AES", "AES-128",
"AES-192", "AES-256", 0};
char *dhgroup[] = {"MODP_1024", "MODP_768", "MODP_1024",
- "MODP_1536", "MODP_2048", "MODP_3072", 0};
+ "MODP_1536", "MODP_2048", "MODP_3072", "MODP_4096",
+ "MODP_6144", "MODP_8192", 0};
char *dhgroup_p[] = {"", "-GRP1", "-GRP2", "-GRP5", "-GRP14",
- "-GRP15", 0};
+ "-GRP15", "-GRP16", "-GRP17", "-GRP18", 0};
char *qm_enc[] = {"DES", "3DES", "CAST", "BLOWFISH", "AES",
"AES", "AES", "AES", "AES_CTR", "AES_CTR", "AES_CTR",
"AES_CTR", "AES_GCM_16",