P-660HW-T v2 User’s Guide
144
Chapter 9 Firewalls
The previous figure shows the ZyXEL Device’s default firewall rules in action as well as
demonstrates how stateful inspection works. User A can initiate a Telnet session from within
the LAN and responses to this request are allowed. However other Telnet traffic initiated from
the WAN is blocked.
9.5.1 Stateful Inspection Process
In this example, the following sequence of events occurs when a TCP packet leaves the LAN
network through the firewall's WAN interface. The TCP packet is the first in a session, and the
packet's application layer protocol is configured for a firewall rule inspection:
1
The packet travels from the firewall's LAN to the WAN.
2
The packet is evaluated against the interface's existing outbound access list, and the
packet is permitted (a denied packet would simply be dropped at this point).
3
The packet is inspected by a firewall rule to determine and record information about the
state of the packet's connection. This information is recorded in a new state table entry
created for the new connection. If there is not a firewall rule for this packet and it is not an
attack, then the settings in the
Firewall General
screen determine the action for this
packet.
4
Based on the obtained state information, a firewall rule creates a temporary access list
entry that is inserted at the beginning of the WAN interface's inbound extended access
list. This temporary access list entry is designed to permit inbound packets of the same
connection as the outbound packet just inspected.
5
The outbound packet is forwarded out through the interface.
6
Later, an inbound packet reaches the interface. This packet is part of the connection
previously established with the outbound packet. The inbound packet is evaluated against
the inbound access list, and is permitted because of the temporary access list entry
previously created.
7
The packet is inspected by a firewall rule, and the connection's state table entry is updated
as necessary. Based on the updated state information, the inbound extended access list
temporary entries might be modified, in order to permit only packets that are valid for the
current state of the connection.
8
Any additional inbound or outbound packets that belong to the connection are inspected
to update the state table entry and to modify the temporary inbound access list entries as
required, and are forwarded through the interface.
9
When the connection terminates or times out, the connection's state table entry is deleted
and the connection's temporary inbound access list entries are deleted.
9.5.2 Stateful Inspection and the ZyXEL Device
Additional rules may be defined to extend or override the default rules. For example, a rule
may be created which will:
• Block all traffic of a certain type, such as IRC (Internet Relay Chat), from the LAN to the
Internet.
Содержание P-660HW-T - V2
Страница 1: ...P 660HW T v2 802 11g Wireless ADSL 2 4 port Gateway User s Guide Version 3 40 Edition 1 12 2006...
Страница 2: ......
Страница 7: ...P 660HW T v2 User s Guide Safety Warnings 7 This product is recyclable Dispose of it properly...
Страница 26: ...P 660HW T v2 User s Guide 26 List of Figures...
Страница 40: ...P 660HW T v2 User s Guide 40 Chapter 1 Getting To Know Your ZyXEL Device...
Страница 53: ...P 660HW T v2 User s Guide Chapter 2 Introducing the Web Configurator 53 Figure 13 System General...
Страница 54: ...P 660HW T v2 User s Guide 54 Chapter 2 Introducing the Web Configurator...
Страница 74: ...P 660HW T v2 User s Guide 74 Chapter 4 Bandwidth Management Wizard...
Страница 92: ...P 660HW T v2 User s Guide 92 Chapter 5 WAN Setup...
Страница 124: ...P 660HW T v2 User s Guide 124 Chapter 7 LAN Setup...
Страница 156: ...P 660HW T v2 User s Guide 156 Chapter 10 Firewall Configuration Figure 85 Firewall Edit Rule...
Страница 170: ...P 660HW T v2 User s Guide 170 Chapter 10 Firewall Configuration...
Страница 174: ...P 660HW T v2 User s Guide 174 Chapter 11 Content Filtering...
Страница 178: ...P 660HW T v2 User s Guide 178 Chapter 12 Static Route...
Страница 190: ...P 660HW T v2 User s Guide 190 Chapter 13 Bandwidth Management...
Страница 194: ...P 660HW T v2 User s Guide 194 Chapter 14 Dynamic DNS Setup...
Страница 206: ...P 660HW T v2 User s Guide 206 Chapter 15 Remote Management Configuration...
Страница 218: ...P 660HW T v2 User s Guide 218 Chapter 16 Universal Plug and Play UPnP...
Страница 224: ...P 660HW T v2 User s Guide 224 Chapter 17 System...
Страница 244: ...P 660HW T v2 User s Guide 244 Chapter 18 Logs...
Страница 250: ...P 660HW T v2 User s Guide 250 Chapter 19 Tools...
Страница 256: ...P 660HW T v2 User s Guide 256 Chapter 21 Troubleshooting...
Страница 260: ...P 660HW T v2 User s Guide 260 Appendix A Product Specifications...
Страница 280: ...P 660HW T v2 User s Guide 280 Appendix D Wall mounting Instructions...
Страница 308: ...P 660HW T v2 User s Guide 308 Appendix G Command Interpreter...
Страница 320: ...P 660HW T v2 User s Guide 320 Appendix J Splitters and Microfilters...
Страница 334: ...P 660HW T v2 User s Guide 334 Appendix K Wireless LANs...
Страница 342: ...P 660HW T v2 User s Guide 342 Appendix L Pop up Windows JavaScripts and Java Permissions Figure 195 Java Sun...