From 5a591e21f36f3f7071e6359893d3c88baf0c5f24 Mon Sep 17 00:00:00 2001 From: jamesm Date: Fri, 23 Jun 2000 16:44:47 +0000 Subject: updated port range specification to match existing code --- iptables.8 | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'iptables.8') diff --git a/iptables.8 b/iptables.8 index 176df72..38f14ac 100644 --- a/iptables.8 +++ b/iptables.8 @@ -309,13 +309,11 @@ to invert the sense of the match. These extensions are loaded if `--protocol tcp' is specified, and no other match is specified. It provides the following options: .TP -.BR "--source-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP]" +.BR "--source-port " "[!] [\fIport[:port]\fP]" Source port or port range specification. This can either be a service name or a port number. An inclusive range can also be specified, using the format -.IR port : port -or -.IR port - port . +.IR port : port . If the first port is omitted, "0" is assumed; if the last is omitted, "65535" is assumed. If the second port greater then the first they will be swapped. @@ -323,7 +321,7 @@ The flag .B --sport is an alias for this option. .TP -.BR "--destination-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP" +.BR "--destination-port " "[!] [\fIport[:port]\fP]" Destination port or port range specification. The flag .B --dport is an alias for this option. @@ -357,13 +355,13 @@ Match if TCP option set. These extensions are loaded if `--protocol udp' is specified, and no other match is specified. It provides the following options: .TP -.BR "--source-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP" +.BR "--source-port " "[!] [\fIport[:port]\fP]" Source port or port range specification. See the description of the .B --source-port option of the TCP extension for details. .TP -.BR "--destination-port " "[!] [\fIport[:port]\fP] or [\fIport[-port]]\fP" +.BR "--destination-port " "[!] [\fIport[:port]\fP]" Destination port or port range specification. See the description of the .B --destination-port -- cgit v1.2.3