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.  A port range (port:port) counts as two
      3 ports.  It can only be used in conjunction with one of the
      4 following protocols:
      5 \fBtcp\fP, \fBudp\fP, \fBudplite\fP, \fBdccp\fP and \fBsctp\fP.
      6 .TP
      7 [\fB!\fP] \fB\-\-source\-ports\fP,\fB\-\-sports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\fB:\fP\fIport\fP]...
      8 Match if the source port is one of the given ports.  The flag
      9 \fB\-\-sports\fP
     10 is a convenient alias for this option. Multiple ports or port ranges are
     11 separated using a comma, and a port range is specified using a colon.
     12 \fB53,1024:65535\fP would therefore match ports 53 and all from 1024 through
     13 65535.
     14 .TP
     15 [\fB!\fP] \fB\-\-destination\-ports\fP,\fB\-\-dports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\fB:\fP\fIport\fP]...
     16 Match if the destination port is one of the given ports.  The flag
     17 \fB\-\-dports\fP
     18 is a convenient alias for this option.
     19 .TP
     20 [\fB!\fP] \fB\-\-ports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\fB:\fP\fIport\fP]...
     21 Match if either the source or destination ports are equal to one of
     22 the given ports.
     23