Security 14-11
This four-step process is how we produced the following filter from the original rule:
Filtering example #2
Suppose a filter is configured to block all incoming IP packets with the source IP address of 200.233.14.0,
regardless of the type of connection or its destination. The filter would look like this:
This filter blocks any packets coming from a remote network with the IP network address 200.233.14.0. The 0
at the end of the address signifies
any
host on the class C IP network 200.233.14.0. If, for example, the filter
is applied to a packet with the source IP address 200.233.14.5, it will block it.
In this case, the mask, which does not appear in the table, must be set to 255.255.255.0. This way, all
packets with a source address of 200.233.14.x will be matched correctly, no matter what the final address byte
is.
Note:
The protocol attribute for this filter is 0 by default. This tells the filter to ignore the IP protocol or type of
IP packet.
Design guidelines
Careful thought should go into designing a new filter set. You should consider the following guidelines:
■
Be sure the filter set’s overall purpose is clear from the beginning. A vague purpose can lead to a faulty
set, and that can actually make your network
less
secure.
■
Be sure each individual filter’s purpose is clear.
■
Determine how filter priority will affect the set’s actions. Test the set (on paper) by determining how the
filters would respond to a number of different hypothetical packets.
■
Consider the combined effect of the filters. If ever y filter in a set fails to match on a par ticular packet, the
packet is:
■
passed if all the filters are configured to discard (
not
for ward).
■
discarded if all the filters are configured to pass (for ward).
■
discarded if the set contains a combination of pass and discard filters.
+-#---Source IP Addr---Dest IP Addr-----Proto-Src.Port-D.Port--On?-Fwd-+
+----------------------------------------------------------------------+
| 1 192.211.211.17 0.0.0.0 TCP 0 23 Yes No |
| |
+----------------------------------------------------------------------+
+-#---Source IP Addr---Dest IP Addr-----Proto-Src.Port-D.Port--On?-Fwd-+
+----------------------------------------------------------------------+
| 1 200.233.14.0 0.0.0.0 0 Yes No |
| |
+----------------------------------------------------------------------+
Summary of Contents for R2121
Page 1: ...Netopia R2121 Dual Analog Router User s Reference Guide...
Page 11: ...Contents ix G Index Index 1 Limited Warranty and Limitation of Remedies 1...
Page 12: ...x User s Reference Guide...
Page 20: ...User s Reference Guide...
Page 30: ...2 8 User s Reference Guide...
Page 50: ...4 4 User s Reference Guide Device Event History page WAN Event History page...
Page 52: ...4 6 User s Reference Guide...
Page 60: ...5 8 User s Reference Guide...
Page 62: ...User s Reference Guide...
Page 88: ...8 16 User s Reference Guide...
Page 126: ...10 22 User s Reference Guide...
Page 134: ...11 8 User s Reference Guide...
Page 146: ...12 12 User s Reference Guide...
Page 204: ...14 42 User s Reference Guide...
Page 218: ...15 14 User s Reference Guide...
Page 220: ...User s Reference Guide...
Page 242: ...C 14 User s Reference Guide...
Page 256: ...F 4 User s Reference Guide...
Page 262: ...G 6 User s Reference Guide...
Page 272: ...8 User s Reference Guide...
Page 280: ...2 User s Reference Guide...