From f9f1f0315fa901d09c88769ad6d1b99c82c4e997 Mon Sep 17 00:00:00 2001 From: Donald Yandt <10255876+TorontoMedia@users.noreply.github.com> Date: Sun, 17 Jul 2022 18:23:47 -0400 Subject: [PATCH] docs: add supported protocol options Fixes: firewalld/firewalld#991 --- documentation/helper/options.md | 2 +- documentation/service/options.md | 4 ++-- documentation/zone/options.md | 18 +++++++++--------- documentation/zone/parts.md | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/documentation/helper/options.md b/documentation/helper/options.md index 75b2c99..b4de74d 100644 --- a/documentation/helper/options.md +++ b/documentation/helper/options.md @@ -39,4 +39,4 @@ The port string can be a single port number or a port range portid-portid or als protocol="string" -The protocol value can either be tcp or udp. +The protocol value can either be tcp, udp, sctp, or dccp. diff --git a/documentation/service/options.md b/documentation/service/options.md index 4cb09fa..b367478 100644 --- a/documentation/service/options.md +++ b/documentation/service/options.md @@ -33,7 +33,7 @@ The port string can be a single port number or a port range portid-portid or als protocol="string" -The protocol value can either be tcp or udp. +The protocol value can either be tcp, udp, sctp, or dccp. For compatibility with older firewalld versions, it is possible to add protocols with the port option where the port is empty. With the addition of native protocol support in the service, this it not needed anymore. These entries will automatically be converted to protocols. With the next modification of the service file, the entries will be listed as protocols. @@ -55,7 +55,7 @@ The port string can be a single port number or a port range portid-portid. protocol="string" -The protocol value can either be tcp or udp. +The protocol value can either be tcp, udp, sctp, or dccp. ## module diff --git a/documentation/zone/options.md b/documentation/zone/options.md index 9cf23e3..fbceed7 100644 --- a/documentation/zone/options.md +++ b/documentation/zone/options.md @@ -65,9 +65,9 @@ Is an optional empty-element tag and can be used several times to have more than The port can either be a single port number portid or a port range portid-portid. - protocol="tcp|udp" + protocol="tcp|udp|sctp|dccp" -The protocol can either be tcp or udp. +The protocol can either be tcp, udp, sctp, or dccp. ## protocol @@ -105,9 +105,9 @@ The local port and protocol to be forwarded. The port can either be a single port number portid or a port range portid-portid. - protocol="tcp|udp" + protocol="tcp|udp|sctp|dccp" -The protocol can either be tcp or udp. +The protocol can either be tcp, udp, sctp, or dccp. ### Optional attributes: @@ -129,9 +129,9 @@ Is an optional empty-element tag and can be used several times to have more than The port can either be a single port number portid or a port range portid-portid. - protocol="tcp|udp" + protocol="tcp|udp|sctp|dccp" -The protocol can either be tcp or udp. +The protocol can either be tcp, udp, sctp, or dccp. ## rule @@ -144,12 +144,12 @@ The general rule structure: [ ] [ | - | + | | | | - | - | + | + | ] [ [] | diff --git a/documentation/zone/parts.md b/documentation/zone/parts.md index bab375f..36ed9ac 100644 --- a/documentation/zone/parts.md +++ b/documentation/zone/parts.md @@ -11,7 +11,7 @@ A service is a combination of port and/or protocol entries. Optionally netfilter ### Ports, source ports and protocols -Definition of tcp or udp ports, where ports can be a single port or a port range. +Definition of tcp, udp, sctp, or dccp ports, where ports can be a single port or a port range. ### ICMP blocks