tcp out of order

Reply
Highlighted
L4 Transporter

tcp out of order

I am trying to diagnose why I am unable to access some server via ssh and the VPN. I have done a packet trace and the results were concerning tcp out of order and retransmission. So what is the best way to find out why?

Highlighted
L7 Applicator

Re: tcp out of order

That's a tricky one

 

If you're able to packet capture on both ends, that is a great start, as it will allow you to see how packets arrive and leave at each point

 

Are you running ssh through your vpn or independently from eachother ?

Have you tried accessing from other networks, as to rule out which 'end' of the line is introducing issues

reaper - PANgurus.com
I drink and I know things
Highlighted
L4 Transporter

Re: tcp out of order

@reaper

I am unable to run a packet capture on the server that is not responding since I do not have access to login to it, but I will suggest it to someone who does. My packet capture was done on the palo filtering for the IP was was coming from to the IP I was trying to ssh too.

What we are doing is logging into the VPN and then trying to ssh to the server. This VPN only had access to the PCi network alone, though I have tried to ssh to other server in this same network.

So tcp out of order and retransmission refer to assymetry, dropped packets, not able to reassembly the packets, uturn NAT,can it be a block from the recieving server?  I tried to use the cli to get more information but not able see the particular session in question

Highlighted
L7 Applicator

Re: tcp out of order

out of order means packets are received in an unusual order (eg. 1,4,2,3,6,7,5)

usually, this is caused by 'something in the middle' that is sending packets left and right  causing delay to some packets in respect to the other packets, or a severely saturated server/link

reaper - PANgurus.com
I drink and I know things
Highlighted
L4 Transporter

Re: tcp out of order

@reaper

So tcp out of order and retransmission refer to assymetry, dropped packets, not able to reassembly the packets, uturn NAT,can it be a block from the recieving server?  I tried to use the cli to get more information but not able see the particular session in question. So what is the best way to figure out the issue, is there anything more than the packet captures

Highlighted
L7 Applicator

Re: tcp out of order

can you clarify how you discovered packets were out of order, this may already help troubleshooting

-if you log on to the vpn, are other resources available normally, or is everything disrupted

-if you ping the firewall, is this responding normally and quickly

-if you ping the server is this responding normally and quickly

-is traceroute showing you any odd 'hops'

-are sessions not being created? or is there another reason sessions can't be determined?

-if you follow the packetcaptures, are packets displaced immediately or is this happening after the tcp handshake?

-what do the global counters tell you? only "out of order" or are there other counters

reaper - PANgurus.com
I drink and I know things
Highlighted
L4 Transporter

Re: tcp out of order

@reaper

I discovered the packets were out of order in the packet capture I did from the firewall

Ping the firewall from the VPN or from the server I am trying to ssh too

I beieve for security reasons the server is set to not allow pings

traceroute from the VPN correct? 

not sure what how to see the specific global counters for that specific session

I believe session are being created but aging out

The only thing I see in the packet captures is tcp out of order and retransmission unless I am not looking in the right place and something about group sessions not being accepted

Highlighted
L7 Applicator

Re: tcp out of order

i got an article for that ;) https://live.paloaltonetworks.com/t5/Featured-Articles/Getting-Started-Packet-Capture/ta-p/72069

reaper - PANgurus.com
I drink and I know things
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!