I am facing a really bad issue and I am pathetic in networking concepts. When I try to connect to a system using tcp protocol I am getting failure but if I connect to the same system after some time I would get a success.
Scenario : I disconnect to the target environment and obviously there are no connections established to the target which is confirmed by using the below command netstat -na|grep 10.11.12.13 I initiate a fresh request netstat -na|grep 10.11.12.13 I get a failure which is given in the below
tcp 0 182 ::ffff:127.0.0.1:1234 ::ffff:10.11.12.13:8444 ESTABLISHED
I try to initiate again after some time with same request netstat -na|grep 10.11.12.13 I get to see connections in ESTABLISHED mode.
I observed the difference only in the second third column of netstat results which says with value 182 which I did not see when my request is successful. I would like to know what does this 182 stands for.
Consider this:
[root@stg openssl]# netstat -na| more
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
You can see the description of the columns at the beginning of the netstat
output.
1st : Protocol name. In your case TCP
2nd : Recv-Q . Number of bytes of data that the application at Local Address
is yet to pull from TCP buffer. In your case it is zero
3rd: Send-Q. Number of bytes of data that the application has given to TCP and which aren't ACK'ed by the peer TCP. It is this in your case is 182