We have security policy to allow any application on port 3389.
I see users are able to connect to server on port 3389.
traffic log shows denied on application cotp.
my understanding is that if you have application as any it should cover all the applications.
why it is getting denied on app cotp for port 3389?
Running PAN os 8.1.9
In the Traffic log, add the Rule column, and see which Security Policy is matching the allowed traffic, and which Security Policy is matching the denied traffic. From the sounds of it, there's two separate policies in play here.
Check the traffic logs when ms-rdp is allowed on port 3389 it hits the right rule
when i see application cotp on port 3389 i see hitting default default deny rule.
strange behaviour as application in rule is any on port 3389
Add the protocol column to your logview. I am pretty sure that the denied connections are udp connections and you have added only 3389/tcp to your security rule, right?
RDP primary tries to establish a connection on udp because of performance reasons and if this is not possible there is a fallback to tcp which is the reason that your connections work (port 3389/tcp) but you still have deny logs on (port 3389/udp).
Yes i only have added port 3389-tcp on the security rule.
I can see deny on udp connection on port 3389.
I also deny on application cotp on tcp port 3389 and it does not hit the rdp rule.
application cotp denied on port 3389 tcp does not make sense to me.
Seem application ms-rdp uses Implicitly Uses: cotp, t.120??
I agree that this does not make sense, as long as the source really hits your RDP rule. Another idea I do not have right now.
Did you do a security policy match test on the cli (or in WebUI if you already are on PAN-OS 9) with exactly the same connection details as the dropped connections? And does it then match your RDP rule?
here is test from cli
i am running pan os 8.1.9
(active)> test security-policy-match from CorpData_INT to Pay_Prod_DMZ application ms-rdp source 10.63.44.68 destination 10.29.33.34 protocol 6 destination-port 3389
(active)> test security-policy-match from CorpData_INT to Pay_Prod_DMZ application cotp source 10.63.44.68 destination 10.29.33.34 protocol 6 destination-port 3389
i see no output
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!