]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
vici: Document ICMP type/code traffic selector restrictions
authorTobias Brunner <tobias@strongswan.org>
Wed, 5 Mar 2025 09:55:51 +0000 (10:55 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 5 Mar 2025 09:55:51 +0000 (10:55 +0100)
src/swanctl/swanctl.opt

index cb61210656c22eb82b43a8a1b513e47508093cd2..70dac8ee4972577b4a98380e9f715d5aa2dad1d6 100644 (file)
@@ -780,6 +780,10 @@ connections.<conn>.children.<child>.local_ts = dynamic
        restriction may be numeric, a **getservent**(3) service name, or the special
        value _opaque_ for RFC 4301 OPAQUE selectors. Port ranges may be specified
        as well, none of the kernel backends currently support port ranges, though.
+       If the protocol is _icmp_ or _ipv6-icmp_, the port is interpreted as ICMP
+       message type if it is less than 256 or as type and code if it is greater or
+       equal to 256, with the type in the most significant 8 bits and the code in
+       the least significant 8 bits.
 
        When IKEv1 is used only the first selector is interpreted, except if
        the Cisco Unity extension plugin is used. This is due to a limitation of the