WatchGuard Firebox System 4.6 User Guide

WatchGuard Firebox System 4.6 User Guide WatchGuard Firebox System 4.6 User Guide

watchguard.com
from watchguard.com More from this publisher
13.07.2015 Views

Service precedenceService precedencePrecedence is generally given to the most specific service and descends to the mostgeneral service. However, exceptions exist. There are three different precedencegroups for services:• The “Any” service (see the Online Help system for information about the “Any”packet filter service). This group has the highest precedence.• IP and ICMP services and all TCP/UDP services that have a port numberspecified. This group has the second highest precedence and is the largest of thethree.• “Outgoing” services that do not specify a port number (they apply to any port).This group includes Outgoing TCP, Outgoing UDP, and Proxy.“Multiservices” can contain subservices of more than one precedence group.“Filtered-HTTP” and “Proxied-HTTP,” for example, contain both a port-specific TCPsubservice for port 80 as well as a nonport subservice that covers all other TCPconnections. When precedence is being determined, individual subservices are givenprecedence according to their group (described previously) independent of the othersubservices contained in the multiservice.Precedence is determined by group first. Services from a higher precedence groupalways have higher precedence than the services of a lower-precedence group,regardless of their individual settings (for example, the lowest precedence “Any”service will take precedence over the highest precedence Telnet service).The precedences of services that are in the same precedence group are ordered fromthe most specific services (based on source and destination targets) to the leastspecific service. The method used to sort services is based on the specificity of targets,from most specific to least specific. The following order is used:From To RankIP IP 0List IP 1IP List 2List List 3Any IP 4IP Any 5Any List 6List Any 7Any Any 8“IP” refers to exactly one host IP address; “List” refers to multiple host IP addresses, anetwork address, or an alias; and “Any” refers to the special “Any” target (not “Any”services).When two icons are representing the same service (for example, two Telnet icons ortwo Any icons) they are sorted using the above tables. The most specific one willalways be checked first for a match. If a match is not made, the next specific servicewill be checked, and so on, until either a match is made or there are no services left to56

Service precedencecheck. In the latter case, the packet is denied. For example, if there are two Telneticons, telnet_1 allowing from A to B and telnet_2 allowing from C to D, a Telnetattempt from C to E will first check telnet_1, and then telnet_2. Because no match isfound, the rest of the rules are considered. If an Outgoing service will allow from C toE, it will do so.When only one icon is representing a service in a precedence category, only thatservice is checked for a match. If the packet matches the service and both targets, theservice rule applies. If the packet matches the service but fails to match either target,the packet is denied. For example, if there is one Telnet icon allowing from A to B, aTelnet attempt from A to C will be blocked without considering any services furtherdown the precedence chain, including Outgoing services.User Guide 57

Service precedencecheck. In the latter case, the packet is denied. For example, if there are two Telneticons, telnet_1 allowing from A to B and telnet_2 allowing from C to D, a Telnetattempt from C to E will first check telnet_1, and then telnet_2. Because no match isfound, the rest of the rules are considered. If an Outgoing service will allow from C toE, it will do so.When only one icon is representing a service in a precedence category, only thatservice is checked for a match. If the packet matches the service and both targets, theservice rule applies. If the packet matches the service but fails to match either target,the packet is denied. For example, if there is one Telnet icon allowing from A to B, aTelnet attempt from A to C will be blocked without considering any services furtherdown the precedence chain, including Outgoing services.<strong>User</strong> <strong>Guide</strong> 57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!