Manual Chapter :
Using Conditions in Rules
Applies To:
Show Versions
F5 SSL Orchestrator
- 17.1.1
Using Conditions in Rules
When selecting a new rule Condition, we recommend you follow these
tips:
- When you selectClient IP GeolocationorServer IP Geolocation, select eitherCountry Code,Country Name,Continent, orStatefrom the first dropdown list. Selectisoris notfrom the second dropdown list. Next, select eitherStatic ValueorDatagroupfrom the third dropdown list. If you selectStatic Value, the name or abbreviation you enter (i.e. US) must be a letter (a-z, A-Z). Number combinations are not allowed. If you selectDatagroup, select an option from the list.
- When you selectCategory Lookup (HTTP Connect)condition, also add theL7 Protocol Lookup (TCP)condition.
- When you selectL7 Protocol Lookup (UDP)condition, do not add theCategory Lookup (SNI),Category Lookup (HTTP Connect),SSL Check, orURL Matchconditions.
- ForClient IP Subnet MatchorServer IP Subnet Match, select theisoris notmatch condition for an IP subnet match.
- ForClient Port MatchorServer Port Match, select eitherStatic Value/DatagrouporRangefrom theValue Sourcelist. If you selectStatic Value/Datagroup, select theisoris notmatch condition and then type to addPortsor select from the list. If you selectRange, enter the 'From' port number (between 1-65535) first and then enter the 'To' port number (between 2-65535) second.
- When you selectURL Match, select theisoris notmatch condition and then select a condition value and enter a pattern. The available condition values are:Equals,SubString,Prefix Match,Suffix Match,Glob Match. Once a pattern is entered, you must click that condition value to add it to the list.
- ForIP Protocol, select theisoris notmatch condition, and then select eitherTCPorUDPas condition value.
- ForL7 Protocol Lookup(eitherTCPorUDP), selectisoris notmatch condition, and then type to add protocols or select from the list. You may click on as many different protocols as needed to add to the selected condition. ForTCP, the available protocols areDNS,FTP,FTPS,HTTP,HTTP CONNECT,HTTP2,HTTPS,IMAP,IMAPS,POP3,POP3S,SMTP,SMTPS,SSH,telnet. ForUDP, you may select fromQUICandDNS.
- If you decide to use "SSL Proxy Action: Bypass" for theServer Name (TLS Client Hello)Condition, and if the Rule precedes other conditions that require a server side SSL connection, then the SSL Bypass action is taken immediately without triggering a server-side handshake. In such cases, SSL Orchestrator/BIG-IP will not validate the Server Name in the TLS Client Hello to that of Server Certificate Subject CN or SAN. ChooseStatic ValueorDatagroupfrom the drop-down. If you chooseStatic Value, select the match condition from the drop-down next to it and enter the server name. If you chooseDatagroup, select the match condition and datagroup name from the drop-down fields.
- To allow SSL traffic to bypass without triggering the TLS handshake, you can now select "SSL Proxy Action: Bypass (Client Hello)" for all conditions exceptCategory Lookup (All)andServer Certificate (*). Configuring a rule withAllowfor Bypass (Client Hello) enables theBypass on SSL Client Hellosetting in theSSL Bypass Setaction in the deployed policy. If a rule contains an SSL condition with "SSL Proxy Action: Bypass", no subsequent rule can have the Bypass on SSL Client Hello enabled.
A URLF license is not required to use
Custom Categories
when creating a new URL
category.When you use SSL Orchestrator to provision and deploy an L3
Outbound or L3 Explicit Proxy configuration, and then use BIG-IP Access to configure a
custom category, the custom category is supported for the hostname only (with no URLDB or
SWG). Therefore, the URL should be configured with the hostname only (for example,
http://www.f5.com/). In case of a full URL configuration (http://www.f5.com/services/), the
category lookup will result in an uncategorized category (id# 153).