Skip to content

Commit f9f1f03

Browse files
committed
docs: add supported protocol options
Fixes: firewalld/firewalld#991
1 parent 558aa82 commit f9f1f03

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

documentation/helper/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ The port string can be a single port number or a port range portid-portid or als
3939

4040
protocol="string"
4141

42-
The protocol value can either be tcp or udp.
42+
The protocol value can either be tcp, udp, sctp, or dccp.

documentation/service/options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The port string can be a single port number or a port range portid-portid or als
3333

3434
protocol="string"
3535

36-
The protocol value can either be tcp or udp.
36+
The protocol value can either be tcp, udp, sctp, or dccp.
3737

3838
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.
3939

@@ -55,7 +55,7 @@ The port string can be a single port number or a port range portid-portid.
5555

5656
protocol="string"
5757

58-
The protocol value can either be tcp or udp.
58+
The protocol value can either be tcp, udp, sctp, or dccp.
5959

6060
## module
6161

documentation/zone/options.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ Is an optional empty-element tag and can be used several times to have more than
6565

6666
The port can either be a single port number portid or a port range portid-portid.
6767

68-
protocol="tcp|udp"
68+
protocol="tcp|udp|sctp|dccp"
6969

70-
The protocol can either be tcp or udp.
70+
The protocol can either be tcp, udp, sctp, or dccp.
7171

7272
## protocol
7373

@@ -105,9 +105,9 @@ The local port and protocol to be forwarded.
105105

106106
The port can either be a single port number portid or a port range portid-portid.
107107

108-
protocol="tcp|udp"
108+
protocol="tcp|udp|sctp|dccp"
109109

110-
The protocol can either be tcp or udp.
110+
The protocol can either be tcp, udp, sctp, or dccp.
111111

112112
### Optional attributes:
113113

@@ -129,9 +129,9 @@ Is an optional empty-element tag and can be used several times to have more than
129129

130130
The port can either be a single port number portid or a port range portid-portid.
131131

132-
protocol="tcp|udp"
132+
protocol="tcp|udp|sctp|dccp"
133133

134-
The protocol can either be tcp or udp.
134+
The protocol can either be tcp, udp, sctp, or dccp.
135135

136136
## rule
137137

@@ -144,12 +144,12 @@ The general rule structure:
144144
[ <destination address="address[/mask]" [invert="True"]/> ]
145145
[
146146
<service name="string"/> |
147-
<port port="portid[-portid]" protocol="tcp|udp"/> |
147+
<port port="portid[-portid]" protocol="tcp|udp|sctp|dccp"/> |
148148
<protocol value="protocol"/> |
149149
<icmp-block name="icmptype"/> |
150150
<masquerade/> |
151-
<forward-port port="portid[-portid]" protocol="tcp|udp" [to-port="portid[-portid]"] [to-addr="address"]/> |
152-
<source-port port="portid[-portid]" protocol="tcp|udp"/> |
151+
<forward-port port="portid[-portid]" protocol="tcp|udp|sctp|dccp" [to-port="portid[-portid]"] [to-addr="address"]/> |
152+
<source-port port="portid[-portid]" protocol="tcp|udp|sctp|dccp"/> |
153153
]
154154
[
155155
<log [prefix="prefixtext"] [level="emerg|alert|crit|err|warn|notice|info|debug"]/> [<limit value="rate/duration"/>] </log> |

documentation/zone/parts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A service is a combination of port and/or protocol entries. Optionally netfilter
1111

1212
### Ports, source ports and protocols
1313

14-
Definition of tcp or udp ports, where ports can be a single port or a port range.
14+
Definition of tcp, udp, sctp, or dccp ports, where ports can be a single port or a port range.
1515

1616
### ICMP blocks
1717

0 commit comments

Comments
 (0)