234
C
HAPTER
14: H
ANDLING
P
ACKET
F
ILTERS
Filter Examples
This section provides specific filter examples.
IP Packet Filter Rule
Examples
This section briefly describes IP packet filtering options and provides rule
examples for each IP packet filtering capability. It includes the following
topics:
■
Source and Destination Address Filtering
■
Masks
■
TCP and UDP Parameter Filtering
■
IP/IPX-RIP Packet Filtering
■
IPX-SAP Filtering
■
ICMP Packet Filtering
■
IP/IPX-Call Filtering
■
Login-Access Filtering
Source and Destination Address Filtering
Source and destination address filtering is generally used to limit
permitted access to trusted hosts and networks only, to explicitly deny
access to hosts and networks that are not trusted, or to limit external
access to a given host (for example, a Web server or a firewall).
Only the part of the IP address specified by the mask field is used in the
comparison. If a match is found, the packet is forwarded (rules containing
accept) or discarded (rules containing reject).
The following rule example rejects forwarding of IP packets with a source
address of 192.77.100.32:
#filter
IP:
010 REJECT src-addr = 192.77.100.32;
The following rule example prevents forwarding of IP packets with
destination addresses that match the
first 24 bits of the given IP address
(that is, addresses beginning with 188.039.150):
#filter
IP:
010 REJECT dst-addr = 188.039.150.000/24;
Summary of Contents for 3C421600A
Page 14: ......
Page 40: ......
Page 58: ......
Page 120: ......
Page 130: ......
Page 158: ......
Page 178: ......
Page 202: ......
Page 266: ......
Page 286: ......
Page 292: ......
Page 297: ...INDEX 295 V 90 151 W Windows 95 Dial Up Networking 89 World Wide Web WWW 285 X X 75 152...
Page 298: ...296 INDEX...