Chapter 8 Firewalls
P-793H User’s Guide
125
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.
Summary of Contents for G.SHDSL.bis 4-port Security Gateway P-793H
Page 2: ......
Page 7: ...Safety Warnings P 793H User s Guide 7 This product is recyclable Dispose of it properly ...
Page 8: ...Safety Warnings P 793H User s Guide 8 ...
Page 30: ...List of Figures P 793H User s Guide 30 ...
Page 36: ...List of Tables P 793H User s Guide 36 ...
Page 38: ...38 ...
Page 68: ...Chapter 4 Point to 2 point Configuration P 793H User s Guide 68 ...
Page 70: ...70 ...
Page 114: ...Chapter 7 Network Address Translation NAT Screens P 793H User s Guide 114 ...
Page 116: ...116 ...
Page 152: ...Chapter 10 Content Filtering P 793H User s Guide 152 ...
Page 180: ...Chapter 12 Static Route P 793H User s Guide 180 ...
Page 194: ...Chapter 14 Dynamic DNS Setup P 793H User s Guide 194 ...
Page 216: ...Chapter 16 Universal Plug and Play UPnP P 793H User s Guide 216 ...
Page 217: ...217 PART IV Maintenance System 219 Logs 225 Tools 229 Diagnostic 235 ...
Page 218: ...218 ...
Page 224: ...Chapter 17 System P 793H User s Guide 224 ...
Page 234: ...Chapter 19 Tools P 793H User s Guide 234 ...
Page 238: ...238 ...
Page 244: ...Chapter 21 Introducing the SMT P 793H User s Guide 244 ...
Page 248: ...Chapter 22 General Setup P 793H User s Guide 248 ...
Page 256: ...Chapter 23 WAN Setup P 793H User s Guide 256 ...
Page 262: ...Chapter 24 LAN Setup P 793H User s Guide 262 ...
Page 278: ...Chapter 27 Static Route Setup P 793H User s Guide 278 ...
Page 308: ...Chapter 30 Filter Configuration P 793H User s Guide 308 ...
Page 310: ...Chapter 31 SNMP Configuration P 793H User s Guide 310 ...
Page 312: ...Chapter 32 System Password P 793H User s Guide 312 ...
Page 322: ...Chapter 33 System Information Diagnosis P 793H User s Guide 322 ...
Page 352: ...Chapter 37 Schedule Setup P 793H User s Guide 352 ...
Page 360: ...360 ...
Page 366: ...Appendix B Wall mounting Instructions P 793H User s Guide 366 ...
Page 400: ...Appendix F IP Address Assignment Conflicts P 793H User s Guide 400 ...
Page 404: ...Appendix G Common Services P 793H User s Guide 404 ...
Page 432: ...Appendix K Legal Information P 793H User s Guide 432 ...
Page 443: ...Index P 793H User s Guide 443 ...
Page 444: ...Index P 793H User s Guide 444 ...