diff options
author | 2005-03-05 12:22:40 +0000 | |
---|---|---|
committer | 2005-03-05 12:22:40 +0000 | |
commit | 9f8f63b2d6004a4204b918090a63df3bf9a5ae1d (patch) | |
tree | 44d1aafd18e8c593d9d75c66d414f4c53b58182b | |
parent | No need for err.h. hshoexer@ ok (diff) | |
download | wireguard-openbsd-9f8f63b2d6004a4204b918090a63df3bf9a5ae1d.tar.xz wireguard-openbsd-9f8f63b2d6004a4204b918090a63df3bf9a5ae1d.zip |
Add RFC3947 NAT-T vendor ID string. hshoexer@ ok.
-rw-r--r-- | sbin/isakmpd/nat_traversal.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sbin/isakmpd/nat_traversal.c b/sbin/isakmpd/nat_traversal.c index 6b33329d114..53cd1ad77f2 100644 --- a/sbin/isakmpd/nat_traversal.c +++ b/sbin/isakmpd/nat_traversal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nat_traversal.c,v 1.9 2005/02/27 13:12:12 hshoexer Exp $ */ +/* $OpenBSD: nat_traversal.c,v 1.10 2005/03/05 12:22:40 ho Exp $ */ /* * Copyright (c) 2004 Håkan Olsson. All rights reserved. @@ -49,20 +49,17 @@ #include "virtual.h" /* - * XXX According to draft-ietf-ipsec-nat-t-ike-07.txt, the NAT-T - * capability of the other peer is determined by a particular vendor ID - * sent as the first message. This vendor ID string is supposed to be a - * MD5 hash of "RFC XXXX", where XXXX is the future RFC number. + * NAT-T capability of the other peer is determined by a particular vendor + * ID sent in the first message. This vendor ID string is supposed to be a + * MD5 hash of "RFC 3947". * * These seem to be the "well" known variants of this string in use by * products today. */ static const char *isakmp_nat_t_cap_text[] = { - "draft-ietf-ipsec-nat-t-ike-02\n", /* V2 */ - "draft-ietf-ipsec-nat-t-ike-03", /* V3 */ -#ifdef notyet - "RFC XXXX", -#endif + "draft-ietf-ipsec-nat-t-ike-02\n", /* draft, V2 */ + "draft-ietf-ipsec-nat-t-ike-03", /* draft, V3 */ + "RFC 3947" }; /* In seconds. Recommended in draft-ietf-ipsec-udp-encaps-09. */ |