Chapter 8 Firewalls
P-660H-Tx v2 User’s Guide
119
If an initiation packet originates on the LAN, this means that someone is trying to make a
connection from the LAN to the Internet. Assuming that this is an acceptable part of the
security policy (as is the case with the default policy), the connection will be allowed. A cache
entry is added which includes connection information such as IP addresses, TCP ports,
sequence numbers, etc.
When the ZyXEL Device receives any subsequent packet (from the Internet or from the LAN),
its connection information is extracted and checked against the cache. A packet is only
allowed to pass through if it corresponds to a valid connection (that is, if it is a response to a
connection which originated on the LAN).
8.5.4 UDP/ICMP Security
UDP and ICMP do not themselves contain any connection information (such as sequence
numbers). However, at the very minimum, they contain an IP address pair (source and
destination). UDP also contains port pairs, and ICMP has type and code information. All of
this data can be analyzed in order to build "virtual connections" in the cache.
For instance, any UDP packet that originates on the LAN will create a cache entry. Its IP
address and port pairs will be stored. For a short period of time, UDP packets from the WAN
that have matching IP and UDP information will be allowed back in through the firewall.
A similar situation exists for ICMP, except that the ZyXEL Device is even more restrictive.
Specifically, only outgoing echoes will allow incoming echo replies, outgoing address mask
requests will allow incoming address mask replies, and outgoing timestamp requests will
allow incoming timestamp replies. No other ICMP packets are allowed in through the firewall,
simply because they are too dangerous and contain too little tracking information. For
instance, ICMP redirect packets are never allowed in, since they could be used to reroute
traffic through attacking machines.
8.5.5 Upper Layer Protocols
Some higher layer protocols (such as FTP and RealAudio) utilize multiple network
connections simultaneously. In general terms, they usually have a "control connection" which
is used for sending commands between endpoints, and then "data connections" which are used
for transmitting bulk information.
Consider the FTP protocol. A user on the LAN opens a control connection to a server on the
Internet and requests a file. At this point, the remote server will open a data connection from
the Internet. For FTP to work properly, this connection must be allowed to pass through even
though a connection from the Internet would normally be rejected.
In order to achieve this, the ZyXEL Device inspects the application-level FTP data.
Specifically, it searches for outgoing "PORT" commands, and when it sees these, it adds a
cache entry for the anticipated data connection. This can be done safely, since the PORT
command contains address and port information, which can be used to uniquely identify the
connection.
Any protocol that operates in this way must be supported on a case-by-case basis. You can use
the web configurator’s Custom Ports feature to do this.
Содержание P-660H-T1 v2
Страница 1: ...www zyxel com P 660H Tx v2 ADSL 2 4 port Gateway User s Guide Version 3 40 2 2007 Edition 1...
Страница 2: ......
Страница 7: ...Safety Warnings P 660H Tx v2 User s Guide 7...
Страница 8: ...Safety Warnings P 660H Tx v2 User s Guide 8...
Страница 10: ...Contents Overview P 660H Tx v2 User s Guide 10...
Страница 24: ...List of Figures P 660H Tx v2 User s Guide 24...
Страница 28: ...List of Tables P 660H Tx v2 User s Guide 28 Table 125 NetBIOS Filter Default Settings 296...
Страница 29: ...29 PART I Introduction Introducing the ZyXEL Device 31 Introducing the Web Configurator 37...
Страница 30: ...30...
Страница 36: ...Chapter 1 Introducing the ZyXEL Device P 660H Tx v2 User s Guide 36...
Страница 49: ...49 PART II Wizards Wizard Setup for Internet Access 51 Bandwidth Management Wizard 59...
Страница 50: ...50...
Страница 58: ...Chapter 3 Wizard Setup for Internet Access P 660H Tx v2 User s Guide 58 Figure 27 Connection Test Failed 2...
Страница 64: ...Chapter 4 Bandwidth Management Wizard P 660H Tx v2 User s Guide 64...
Страница 65: ...65 PART III Network WAN Setup 67 LAN Setup 85 Network Address Translation NAT Screens 97...
Страница 66: ...66...
Страница 84: ...Chapter 5 WAN Setup P 660H Tx v2 User s Guide 84...
Страница 109: ...109 PART IV Security Firewalls 111 Firewall Configuration 123 Content Filtering 145...
Страница 110: ...110...
Страница 130: ...Chapter 9 Firewall Configuration P 660H Tx v2 User s Guide 130 Figure 65 Firewall Edit Rule...
Страница 144: ...Chapter 9 Firewall Configuration P 660H Tx v2 User s Guide 144...
Страница 150: ...150...
Страница 154: ...Chapter 11 Static Route P 660H Tx v2 User s Guide 154...
Страница 168: ...Chapter 13 Dynamic DNS Setup P 660H Tx v2 User s Guide 168...
Страница 180: ...Chapter 14 Remote Management Configuration P 660H Tx v2 User s Guide 180...
Страница 192: ...Chapter 15 Universal Plug and Play UPnP P 660H Tx v2 User s Guide 192...
Страница 193: ...193 PART VI Maintenance and Troubleshooting System 195 Tools 201 Diagnostic 207 Logs 209 Troubleshooting 227...
Страница 194: ...194...
Страница 200: ...Chapter 16 System P 660H Tx v2 User s Guide 200...
Страница 206: ...Chapter 17 Tools P 660H Tx v2 User s Guide 206...
Страница 226: ...Chapter 19 Logs P 660H Tx v2 User s Guide 226...
Страница 232: ...232...
Страница 239: ...Appendix A Product Specifications P 660H Tx v2 User s Guide 239...
Страница 240: ...Appendix A Product Specifications P 660H Tx v2 User s Guide 240...
Страница 256: ...Appendix B Internal SPTGEN P 660H Tx v2 User s Guide 256...
Страница 302: ...Appendix I Legal Information P 660H Tx v2 User s Guide 302...