Blame SOURCES/0039-improvement-service-IPsec-Update-description-and-add.patch

8072fb
From 13442af85c144da1eff00cf193db118eb9afb498 Mon Sep 17 00:00:00 2001
8072fb
From: Paul Wouters <pwouters@redhat.com>
8072fb
Date: Mon, 6 Jul 2020 20:43:05 -0400
8072fb
Subject: [PATCH 39/45] improvement(service): IPsec: Update description and add
8072fb
 TCP port 4500
8072fb
8072fb
IKE and IPsec over TCP is defined in RFC 8229. It specifically mentions
8072fb
no ports to allow administrators to configure any port to prevent being
8072fb
blocked by networks.
8072fb
8072fb
However, most IKE/IPsec blocking seems to come from unwanted accidental
8072fb
UDP blocks, so any TCP would usually ensures IPsec can still work on
8072fb
such networks. The default is therefor to pick the same TCP port as IKE
8072fb
and IPsec over UDP uses, port 4500.
8072fb
8072fb
(cherry picked from commit 8c4fb4f658719cfb58bacae9e6e82c8e82c3465d)
8072fb
(cherry picked from commit 0e2733a5b052a4a1d5e1f6f34bca1ff3760948f1)
8072fb
---
8072fb
 config/services/ipsec.xml | 3 ++-
8072fb
 1 file changed, 2 insertions(+), 1 deletion(-)
8072fb
8072fb
diff --git a/config/services/ipsec.xml b/config/services/ipsec.xml
8072fb
index 9e70acb40003..824f1f3e539f 100644
8072fb
--- a/config/services/ipsec.xml
8072fb
+++ b/config/services/ipsec.xml
8072fb
@@ -1,9 +1,10 @@
8072fb
 
8072fb
 <service>
8072fb
   <short>IPsec</short>
8072fb
-  <description>Internet Protocol Security (IPsec) incorporates security for network transmissions directly into the Internet Protocol (IP). IPsec provides methods for both encrypting data and authentication for the host or network it sends to. If you plan to use a vpnc server or FreeS/WAN, do not disable this option.</description>
8072fb
+  <description>Internet Protocol Security (IPsec) is the standarized IETF VPN architecture defined in RFC 4301. IPsec is negotiated using the IKEv1 (RFC 2409) or IKEv2 (RFC 7296) protocol, which in itself uses encryption and authentication. IPsec provides Internet Protocol (IP) packet encryption and authentication. Both IKE and IPsec can be encapsulated in UDP (RFC 3948) or TCP (RFC 8229 to make it easier to traverse NAT. Enabling this service will enable IKE, IPsec and their encapsulation protocols and ports. Note that IKE and IPsec can also be configured to use non-default ports, but this is not common practise.</description>
8072fb
   <port protocol="ah" port=""/>
8072fb
   <port protocol="esp" port=""/>
8072fb
   <port protocol="udp" port="500"/>
8072fb
   <port protocol="udp" port="4500"/>
8072fb
+  <port protocol="tcp" port="4500"/>
8072fb
 </service>
8072fb
-- 
8072fb
2.27.0
8072fb