In my linux host, I noticed that linux is sending RESET just after it receives SYNC-ACK. Note that there is no active firewall in the box. If I reboot linux box, issue disappears, but same doesn't work after "service networking restart". Here is capture screenshoot. https://s27.postimg.org/45fuwmz43/Capture.png May I know no. of reasons for this scenario ? As per @Jasper answer, here are more details. 1) I am using telnet host 80 to validate things 2) linux date command results seems right without any issue. asked 20 Jan '17, 06:54 rajdip edited 20 Jan '17, 07:13 |
One Answer:
Either the client socket is closed already when the SYN/ACK arrives, or you've got timestamp problems, which is hard to tell because you posted an incomplete screenshot. answered 20 Jan '17, 07:00 Jasper ♦♦ showing 5 of 6 show 1 more comments |
Since I am using telnet to validate things, I keep open telnet until it says "Connection failed...."
Here is pcap file. http://wikisend.com/download/586222/capture.pcap
Looks like its the timestamp value that does this. Check Christians answer in this question: https://ask.wireshark.org/questions/57774/syn-synack-rst-reason
Thanks a lot. It was tcp timestamps issue. It worked successfully after echo 0 > /proc/sys/net/ipv4/tcp_timestamps. I will make permanent changes in /etc/sysctl.conf
Just out of curiosity: What OS do you exactly?
It's debian, running on ARM SBC.