]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
swanctl: Document the behavior of %unique[-dir] on IKE_SAs
authorTobias Brunner <tobias@strongswan.org>
Fri, 14 Oct 2022 08:57:53 +0000 (10:57 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 10 Nov 2022 15:50:02 +0000 (16:50 +0100)
src/swanctl/swanctl.opt

index 553831eca893e82cc0aceac5f5e1290eb844c9b2..9cdf78434d85a5cd98664413dc551766d004e02a 100644 (file)
@@ -301,12 +301,22 @@ connections.<conn>.if_id_in = 0
        XFRM interface ID set on inbound policies/SA, can be overridden by child
        config, see there for details.
 
+       The special value _%unique_ allocates a unique interface ID per IKE_SA,
+       which is inherited by all its CHILD_SAs (unless overriden there), beyond
+       that the value _%unique-dir_ assigns a different unique interface ID for
+       each direction (in/out).
+
 connections.<conn>.if_id_out = 0
        Default outbound XFRM interface ID for children.
 
        XFRM interface ID set on outbound policies/SA, can be overridden by child
        config, see there for details.
 
+       The special value _%unique_ allocates a unique interface ID per IKE_SA,
+       which is inherited by all its CHILD_SAs (unless overriden there), beyond
+       that the value _%unique-dir_ assigns a different unique interface ID for
+       each direction (in/out).
+
 connections.<conn>.mediation = no
        Whether this connection is a mediation connection.