Chapter 10 Firewalls
P-660HWP-Dx User’s Guide
43
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 P-660HWP-Dx 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).
10.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 P-660HWP-Dx 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.
10.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 P-660HWP-Dx 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 802.11g HomePlug AV ADSL2+ Gateway P-660HWP-Dx
Page 2: ......
Page 7: ...Safety Warnings P 660HWP Dx User s Guide 39 ...
Page 8: ...Safety Warnings P 660HWP Dx User s Guide 40 ...
Page 10: ...Contents Overview P 660HWP Dx User s Guide 36 ...
Page 20: ...Table of Contents P 660HWP Dx User s Guide 44 ...
Page 32: ...List of Tables P 660HWP Dx User s Guide 40 ...
Page 33: ...35 PART I Introduction Introducing the P 660HWP Dx 35 Introducing the Web Configurator 43 ...
Page 34: ...36 ...
Page 42: ...Chapter 1 Introducing the P 660HWP Dx P 660HWP Dx User s Guide 42 ...
Page 56: ...Chapter 2 Introducing the Web Configurator P 660HWP Dx User s Guide 48 ...
Page 58: ...36 ...
Page 78: ...Chapter 4 Bandwidth Management Wizard P 660HWP Dx User s Guide 54 ...
Page 80: ...36 ...
Page 98: ...Chapter 5 WAN Setup P 660HWP Dx User s Guide 52 ...
Page 142: ...Chapter 8 Powerline P 660HWP Dx User s Guide 42 ...
Page 156: ...36 ...
Page 176: ...Chapter 11 Firewall Configuration P 660HWP Dx User s Guide 54 Figure 99 Firewall Edit Rule ...
Page 190: ...Chapter 11 Firewall Configuration P 660HWP Dx User s Guide 68 ...
Page 194: ...Chapter 12 Content Filtering P 660HWP Dx User s Guide 72 ...
Page 218: ...36 ...
Page 222: ...Chapter 14 Static Route P 660HWP Dx User s Guide 38 ...
Page 238: ...Chapter 16 Dynamic DNS Setup P 660HWP Dx User s Guide 38 ...
Page 250: ...Chapter 17 Remote Management Configuration P 660HWP Dx User s Guide 46 ...
Page 262: ...Chapter 18 Universal Plug and Play UPnP P 660HWP Dx User s Guide 58 ...
Page 264: ...36 ...
Page 270: ...Chapter 19 System P 660HWP Dx User s Guide 40 ...
Page 288: ...Chapter 20 Logs P 660HWP Dx User s Guide 52 ...
Page 294: ...Chapter 21 Tools P 660HWP Dx User s Guide 40 ...
Page 304: ...36 ...
Page 340: ...Appendix C Internal SPTGEN P 660HWP Dx User s Guide 50 ...
Page 364: ...Appendix E IP Subnetting P 660HWP Dx User s Guide 42 ...
Page 368: ...Appendix F Command Interpreter P 660HWP Dx User s Guide 38 ...
Page 388: ...Appendix K Legal Information P 660HWP Dx User s Guide 38 ...
Page 394: ...Appendix L Customer Support P 660HWP Dx User s Guide 40 ...
Page 402: ...Index P 660HWP Dx User s Guide 42 ...