[strongSwan-dev] [PATCH 1/3] ikev1: fix prefix length of vendor id MS NT5 ISAKMPOAKLEY

Volker RĂ¼melin vr_strongswan at t-online.de
Mon Nov 1 14:49:15 CET 2021


Before commit 6c49ddfbca ("ike: Add additional Vendor IDs for
third-party implementations") the prefix length of vendor id
MS NT5 ISAKMPOAKLEY was hardcoded to 16. Change the prefix length
accordingly.
---
 src/libcharon/sa/ikev1/tasks/isakmp_vendor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c b/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c
index 991613d0b..863479fc0 100644
--- a/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c
+++ b/src/libcharon/sa/ikev1/tasks/isakmp_vendor.c
@@ -115,7 +115,7 @@ static struct {
 	  "\x40\x48\xb7\xd5\x6e\xbc\xe8\x85\x25\xe7\xde\x7f\x00\xd6\xc2\xd3\x80\x00\x00\x00"},
 
 	/* Windows peers send this VID and a version number */
-	{ "MS NT5 ISAKMPOAKLEY", EXT_MS_WINDOWS, FALSE, TRUE, 20,
+	{ "MS NT5 ISAKMPOAKLEY", EXT_MS_WINDOWS, FALSE, TRUE, 16,
 	  "\x1e\x2b\x51\x69\x05\x99\x1c\x7d\x7c\x96\xfc\xbf\xb5\x87\xe4\x61\x00\x00\x00\x00"},
 
 	{ "Cisco VPN Concentrator", 0, FALSE, TRUE, 16,
-- 
2.31.1



More information about the Dev mailing list