548
C
HAPTER
39: C
ONFIGURING
F
IREWALL
Classification of Firewalls
Usually firewalls are divided into two types: network layer firewalls and application
layer firewalls. A network layer firewall mainly obtains the packet head
information of data packets, such as protocol number, source address and source
port, destination address and destination port, or directly obtains the data of a
packet head. But an application layer firewall analyzes the whole information
stream.
Commonly used firewalls include the following:
■
Application Gateway: checks the application layer data of all data packets
passing through this gateway. For example, the FTP application gateway will be
a FTP server to a connected client end, but will be an FTP dlient to the server
end. All FTP data packets transmitted on the connection must pass through this
FTP application gateway.
■
Packet Filtering: filters each data packet using the user-defined items. For
example, to check if the source address and destination address of a data
packet meet the rules.
Packet filtering does not check call status, nor does it
analyze the data. If data packets with port 21 or greater than or equal to 1024
are allowed to pass, then once a port meets this condition, the data packet can
pass this firewall. If the rules are configured, then many data packets with
hidden security troubles can be filtered out on this layer.
■
Proxy: normally refer to address proxy on a proxy server or a router. It replaces
the IP address and port of a host inside the network with the IP address and
port of a server or router. For example, the intranet address of an enterprise is
129.0.0.0 network segment, and its formal external IP address is
202.38.160.2-202.38.160.6. When the internal host 129.9.10.100 accesses a
certain external server in WWW mode, the IP address and port might become
202.38.160.2:6080 after passing through the proxy server. An address
mapping table is maintained in the proxy server. When the external WWW
server returns the result, the proxy server will convert this IP address and port
into the internal IP address and port 80 of the network. The proxy server is used
so that all access between the external network hosts and the internal network
occurs through this proxy server. In this way, the access to internal devices that
contain important resources can be controlled.
Packet Filtering
Usually, packet filtering refers to filtering for IP data packets forwarded. For the
data packets that need to be forwarded by a router, first the packet header
information, including the number of the upper layer protocol carried by the IP
layer, the packet's source/destination address and source/destination port is
obtained. Then the information is compared with the set rules. Finally, it is decided
whether to transfer or discard the data packet according to the comparison result.
Packet filtering (for IP data packets) selects the following elements for judgment
(in the figure, the upper layer protocol carried by IP is TCP), as shown in the figure
below.
Содержание 3036
Страница 1: ...http www 3com com 3Com Router Configuration Guide Published March 2004 Part No 10014299 ...
Страница 4: ...VPN 615 RELIABILITY 665 QOS 681 DIAL UP 721 ...
Страница 6: ...2 ABOUT THIS GUIDE ...
Страница 7: ...I GETTING STARTED Chapter 1 3Com Router Introduction Chapter 2 3Com Router User Interface ...
Страница 8: ...4 ...
Страница 16: ...12 CHAPTER 1 3COM ROUTER INTRODUCTION ...
Страница 34: ...30 ...
Страница 60: ...56 CHAPTER 3 SYSTEM MANAGEMENT ...
Страница 88: ...84 CHAPTER 5 CONFIGURING NETWORK MANAGEMENT RouterA interface ethernet 0 RouterA Ethernet0 rmon promiscuous ...
Страница 98: ...94 CHAPTER 6 DISPLAY AND DEBUGGING TOOLS ...
Страница 110: ...106 ...
Страница 114: ...110 CHAPTER 8 INTERFACE CONFIGURATION OVERVIEW ...
Страница 158: ...154 CHAPTER 10 CONFIGURING WAN INTERFACE ...
Страница 168: ...164 ...
Страница 188: ...184 CHAPTER 13 CONFIGURING PPPOE CLIENT ...
Страница 192: ...188 CHAPTER 14 CONFIGURING SLIP Router ip route static 0 0 0 0 0 0 0 0 10 110 0 1 ...
Страница 248: ...244 CHAPTER 16 CONFIGURING LAPB AND X 25 ...
Страница 292: ...288 CHAPTER 18 CONFIGURING HDLC Enable HDLC packet debugging debugging hdlc packet interface type number ...
Страница 320: ...316 ...
Страница 330: ...326 CHAPTER 20 CONFIGURING IP ADDRESS ...
Страница 362: ...358 CHAPTER 21 CONFIGURING IP APPLICATION ...
Страница 374: ...370 CHAPTER 23 CONFIGURING IP COUNT ...
Страница 406: ...402 CHAPTER 25 CONFIGURING DLSW ...
Страница 408: ...404 ...
Страница 452: ...448 CHAPTER 29 CONFIGURING OSPF ...
Страница 482: ...478 CHAPTER 30 CONFIGURING BGP ...
Страница 494: ...490 CHAPTER 31 CONFIGURING IP ROUTING POLICY ...
Страница 502: ...498 ...
Страница 508: ...504 CHAPTER 33 IP MULTICAST ...
Страница 514: ...510 CHAPTER 34 CONFIGURING IGMP ...
Страница 526: ...522 CHAPTER 36 CONFIGURING PIM SM ...
Страница 528: ...524 ...
Страница 532: ...528 CHAPTER 37 CONFIGURING TERMINAL ACCESS SECURITY ...
Страница 550: ...546 CHAPTER 38 CONFIGURING AAA AND RADIUS PROTOCOL ...
Страница 590: ...586 CHAPTER 40 CONFIGURING IPSEC ...
Страница 599: ...IX VPN Chapter 42 Configuring VPN Chapter 43 Configuring L2TP Chapter 44 Configuring GRE ...
Страница 600: ...596 ...
Страница 638: ...634 CHAPTER 43 CONFIGURING L2TP ...
Страница 649: ...X RELIABILITY Chapter 45 Configuring a Standby Center Chapter 46 Configuring VRRP ...
Страница 650: ...646 ...
Страница 666: ...662 ...
Страница 670: ...666 CHAPTER 47 QOS OVERVIEW ...
Страница 700: ...696 CHAPTER 49 CONGESTION MANAGEMENT ...
Страница 706: ...702 CHAPTER 50 CONGESTION AVOIDANCE ...
Страница 707: ...XII DIAL UP Chapter 51 Configuring DCC Chapter 52 Configuring Modem ...
Страница 708: ...704 ...
Страница 762: ...758 CHAPTER 52 CONFIGURING MODEM ...