tcp handshake failed.client send rst (after syn-ack). can any one advice?
- by user1495181
architecture:
2 linux computer connected . on the second (192.168.1.1) one run apache server .
I have a small program that take tcp packets from nfqueue change the dst ip to 192.168.1.1 in case that the dst ip is 192.168.1.2 (i know that i can do it with iptables , but my program will do more things in the future), fix check sum and return to the queue.
if i call to telnet 192.168.1.1 , means that my program dosnt need to do any manipulation, handshake is OK.
If i call to telnet 192.168.1.2 , my program change the dest. server get the syn and return syn-ack, but right after getting the syn-ack the client send rst.
Can anyone advice?
wireshark of the telnet
tcpdump of the telenet above