In both cases the incomplete sessions are allowed through the firewall the the question from the PA logging engine is where to mark those sessions in the logs. In the first case, you clearly cannot log them with rule 2 because this is a final deny all policy, and we allowed the packets so they must log on rule 1. In the second case we have a final permit all policy. So there is a clear match of permit for these incomplete sessions and no need to show that the application block rule is permitting the traffic. This traffic is allowed by rule 2 even if the application block rule did not exist. So we log the sessions on rule 2 as a better match. The important note here is that application based rules are not as instantaneous as port based rules. There needs to be some actual packet data to determine the application match that may take some time to occur. As a result application based block rules do permit small amounts of packets on the flow before stopping the traffic once correctly identified. The PA logging is set up to give you visibility to these permitted partial flows in the rules.
... View more