13-10 User’s Reference Guide
Filtering example #1
Returning to our filtering rule example from above (see
page 13-7
), look at how a rule is translated into a filter.
Star t with the rule, then fill in the filter’s attributes:
1.
The rule you want to implement as a filter is:
Block all Telnet attempts that originate from the remote host 199.211.211.17.
2.
The host 199.211.211.17 is the source of the Telnet packets you want to block, while the destination
address is any IP address. How these IP addresses are masked determines what the final match will be,
although the mask is not displayed in the table that displays the filter sets (you set it when you create the
filter). In fact, since the mask for the destination IP address is 0.0.0.0, the address for Dest IP Addr could
have been anything. The mask for Source IP Addr must be 255.255.255.255 since an exact match is
desired.
■
Source IP Addr = 199.211.211.17
■
Source IP address mask = 255.255.255.255
■
Dest IP Addr = 0.0.0.0
■
Destination IP address mask = 0.0.0.0
Note:
To learn about IP addresses and masks, see
Appendix B, “Understanding IP Addressing.”
3.
Using the tables on
page 13-8
, find the destination por t and protocol numbers (the
local
Telnet por t):
■
Proto = TCP (or 6)
■
D. Por t = 23
4.
The filter should be enabled and instructed to block the Telnet packets containing the source address
shown in step 2:
■
On? = Yes
■
Fwd = No
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:
+-#---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 |
| |
+----------------------------------------------------------------------+
Содержание R7100
Страница 1: ...Netopia R7100 SDSL Router User s Reference Guide ...
Страница 12: ...User s Reference Guide ...
Страница 18: ...2 4 User s Reference Guide ...
Страница 30: ...4 8 User s Reference Guide ...
Страница 44: ...5 14 User s Reference Guide ...
Страница 68: ...User s Reference Guide ...
Страница 80: ...8 12 User s Reference Guide ...
Страница 110: ...9 30 User s Reference Guide ...
Страница 116: ...10 6 User s Reference Guide ...
Страница 148: ...12 20 User s Reference Guide WAN Event History page ...
Страница 150: ...12 22 User s Reference Guide ...
Страница 200: ...User s Reference Guide ...
Страница 206: ...A 6 User s Reference Guide ...
Страница 220: ...B 14 User s Reference Guide ...
Страница 234: ...E 4 User s Reference Guide ...
Страница 240: ...F 6 User s Reference Guide ...
Страница 250: ...8 User s Reference Guide ...
Страница 256: ...Index 6 ...
Страница 258: ...2 User s Reference Guide ...