Bay Networks 6300 Supplement Manual page 176

Supplement to the remote annex administrator’s guide for unix
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Chapter 10
Filtering
Remote Annex 6300 Supplement to the Remote Annex Administrator's Guide for UNIX
A-148
Table A-12. Keywords for the add criteria Argument (continued)
Keyword
Value
port_pair
{p1 p2| s1 s2 |*|-1}
protocol
{protonum|protoname}
Explanation
Matches packets passing in
either direction between the two
specified TCP or UDP port
numbers (p1 and p2) or standard
service names (s1 and s2), such
as finger, ftp, nfs, rlogin, smtp,
telnet, or tftp. Use a space to
separate the port numbers or
names.
To match all packets to or from a
given port number, enter one
port number or service name and
specify –1 or * for the other. For
a list of service names and their
corresponding port numbers,
see
Table
A-13.
Restriction: if you use the
port_pair keyword, you cannot
use the dst_port or src_port
keyword.
Matches the transport protocol
in the packet. Valid protocol
numbers range from 1 to 255.
Or, specify a protocol name,
such as tcp, udp, or icmp. If no
protocol is given but a port is
specified (dst_port, src_port, or
port_pair), the port specification
applies to both TCP and UDP
packets.
Warning: A command such as
the following can cause infinite
loops:
filter add asy1 output include\
> protocol icmp icmp
Book A

Advertisement

Table of Contents
loading

Table of Contents