Home | History | Annotate | Download | only in extensions
      1 This module matches a set of source or destination ports.  Up to 15
      2 ports can be specified.  It can only be used in conjunction
      3 with
      4 .B "-p tcp"
      5 or
      6 .BR "-p udp" .
      7 .TP
      8 .BR "--source-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport\fP...]]"
      9 Match if the source port is one of the given ports.  The flag
     10 .B --sports
     11 is a convenient alias for this option.
     12 .TP
     13 .BR "--destination-ports " "\fI[!] port\fP[,\fIport\fP[,\fIport\fP...]]"
     14 Match if the destination port is one of the given ports.  The flag
     15 .B --dports
     16 is a convenient alias for this option.
     17 .TP
     18 .BR "--ports " "\fI[!] port\fP[,\fIport\fP[,\fIport\fP...]]"
     19 Match if the both the source and destination ports are equal to each
     20 other and to one of the given ports.
     21