- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
06-21-2023 07:20 PM
Dear Team,
I have a server with ip 10.206.195.16, on that server port 4410 is not active. But when I try to Tcp Scan to that server with port 4410 using VPN Global Protect the state TcpTestSuccessed is 'True'. When I try to Tcp Scan to that server with port using another VPN (Anyconnect) or with internal network without VPN the state TcpTestSuccessed is 'False'. Why is VPN Global Protect said the TCP Test 'Success' where the port of that server is not active ?
Please help me to solved this or where must be I checked?
Thank You
06-25-2023 01:03 AM
Hi @Hendrik9 ,
Can you confirm if your Zone associated with GlobalProtect tunnel is configured with Zone-Protection profile?
Is this zone-protection profile using SYN Cookie for TCP flood protection?
06-25-2023 06:49 AM
Hi Aleksandar,
Zone-Protection Profile configuration on here.
Is that what you mean? Any concern of from the configuration that relate with my issue?
Thank You.
06-25-2023 09:55 AM
Hi @Hendrik9 ,
No. What you have highligthed will drop TCP connection if the SYN-ACK (the respond from destionation to the SYN) is split to two separate packets - SYN and ACK.
What I am refering to is under Flood Protection tab (the first from your screenshot). Can you please share screenshot for this?
07-03-2023 09:25 PM
Hi Aleksandar,
Sorry for the late response.
Here is the screenshot that you want. Is there something wrong ?
Thank You.
07-03-2023 11:24 PM
Hi @Hendrik9 ,
The screenshot confirms that PAN FW is applying SYN-Cookie protection against TCP flood attack. The behaviour you observe is expected when SYN cookie is used (compared to RED - random early drop).
The following link is better than me explaining exactly why - https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClgRCAS&refURL=http%3A%2F%...
Since this is for GlobalProtect zone - where you have some layer of protection by authenticating the users first, the probabilty to have TCP flood from that zone is lower (in my personal opinion, attacker will use your VPN to silently infiltrate your organization,not using it for DoS) it should be safe to change from SYN cookie to RED for this particular zone.
07-04-2023 12:25 AM
Hi Aleksandar,
Thank you for your help and your information.
When I read the docs when we use RED, it will drop syn packet if there is tcp flood and exceed the threshold limit.
Is this the maximun threshold?
Thank You
07-04-2023 01:02 AM
Hi @Hendrik9 ,
Yes, that is correct.
I just noticed that your "Activate" rate is set to 0. To be honest I am still not completely sure what is the difference between Activate and Maximum, but if I understand the docs correctly "Activate" will tell when to start the protection. So in your case FW will perform SYN-Cookie for every new connection, no matter the rate.
I would still recommend to change to RED, the docs mentioned another good reason
https://docs.paloaltonetworks.com/pan-os/11-0/pan-os-admin/zone-protection-and-dos-protection/zone-d...
When SYN Cookies
is activated, the firewall does not honor the TCP options that the server sends because it does not know these values at the time that it proxies the SYN/ACK. Therefore, values such as the TCP server’s window size and MSS values cannot be negotiated during the TCP handshake and the firewall will use its own default values. In the scenario where the MSS of the path to the server is smaller than the firewall’s default MSS value, the packet will need to be fragmented.
But if you still want to use SYN-Cookie you may try to set activate level little higher than the Alert level and see if your port scan will show open ports.
The link above gives suggestion how to select correct rate for flood protection. Pay attention at the note on the bottom of the page. You didn't mentioned what device you are using, but check if it is using multiple dataplane to calculate your rates properly.
07-04-2023 01:11 AM
Hi Aleksandar,
I think I will do like your suggestion, but I want to discuss with my customer first about this action.
Thank You very much for your help and you information. If there is another question about this problem. I will mention you again.
Thank You.
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!