Palo Alto Networks Knowledgebase: What is Application Dependency

What is Application Dependency

22428
Created On 11/16/19 00:27 AM - Last Updated 11/16/19 00:49 AM
Applications Device Management Initial Configuration Installation QoS Zone and DoS Protection 8.1 8.0 7.1 9.0 PAN-OS
Environment
  • Any PAN-OS.
  • Palo Alto Firewall.


Resolution

What is Application Dependency?

Application Dependency or "Depends on Applications" (how it is listed inside of the Application details inside of Objects > Applications > application detail window) is a list of other applications that are required for this application to properly work.

 

Why is it important to you?

If you do not allow the application and its dependency through the Palo Alto Networks firewall, then the application will not work.

 

Note: There is also a "Implicitly Use Applications" field that you need to recognize.

The "Implicitly Use Applications" is a subset of "Depends on Applications", whereby the dependent applications are implicitly allowed. The application still does depend on these applications, however they do not need to be explicitly permitted in security policy. Dependent applications can be allowed implicitly, when the firewall is able to determine the correct application by a specific point in the session.

 

For more information on checking Application Dependency, please see this doc:

How to Check if an Application Needs to have Explicitly Allowed Dependency Apps

 

Lets take two applications as examples; 'facebook-base' and 'facebook-posting'.

 

'facebook-base'

tnt-2015-07-10-p1.png

When we look at the application detail window for 'facebook-base', you can see 2 things listed.

  1. Depends on Applications is blank. This means that it does not need any other applications to be allowed in the same rule for this to work.
  2. Implicitly Use Applications has SSL and web-browsing listed. This means that if you allow facebook-base, that it will also be allowing SSL and Web-Browsing applications implicitly.

 

So, if you allow 'facebook-base' in a rule no other applications are needed.

tnt-2015-07-10-p3.png

 

'facebook-posting'

tnt-2015-07-10-p2.png

When we look at the application detail window for 'facebook-posting', you can see 2 things listed.

  1. Depends on Applications has the following applications listed: facebook-base, facebook-apps and facebook-chat. This means that in order for this to work, one or more of the above applications need to be allowed in the same rule for this to work.
  2. Implicitly Use Applications has web-browsing listed. This means that if you allow facebook-posting, that it will also be allowing the Web-Browsing application implicitly.

So, in order to allow facebook-posting application, you need to have one of the following apps need to be allowed in the same rule to allow facebook-posting through at that security rule depending on what is to be allowed:

  • facebook-apps
  • facebook-chat
  • facebook-posting

As well as facebook-base.

I was able to test this with the following rule, which allowed me to post on facebook.

tnt-2015-07-10-p4.png

If you wanted to chat, then facebook-base and facebook-chat would need to be allowed in the same rule.

 



Additional Information

When the first TCP packet is received (SYN), the firewall must setup a session. Since the application can not be detected on a TCP session until at least one data packet traverses the device, the application will be incomplete.  For the firewall to determine if it should even allow the SYN packet through it must do a security policy lookup.

Because the application is not known when the SYN packet is received the application portion of the security policies can not be applied. As a result, the security policy lookup is performed against the 6 tuples of the session, source and destination IP and port, ingress interface (actually zone) and protocol. The first policy, which matches these 6 tuples, will be used to allow the SYN and any additional packets that traverse the firewall before the application is identified.

It is always a good idea to look at any new application details first to determine what the security rule might need to allow the application to work properly. Also, this may help prevent any application dependency warning messages upon commits.



Attachments
Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClV0CAK&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language