[Bug] Is it feasible to complete the TCP handshake by replaying SYN+ACK using tcpliveplay?
ruoniao opened this issue · 2 comments
Hello everyone.I encountered the same issue as this one when using tcpliveplay.
I used a complete TCP packet from the diagram below for replay.
But it seems that Linux automatically sends an RST packet I suspect that it's because the network interruption has a higher priority than tcprelay, causing the Linux system to send an RST.
I try use iptables command (iptables -I OUTPUT -p tcp -m tcp --dport 5000 --tcp-flags RST RST -j DROP) drop this package , But tcpreply
But It does't work.So, I am suspecting if this method of sending TCP payload is feasible? Or is it a better choice to establish a TCP connection using sockets AF_INIT to send and receive payloads?
Looking forward to your reply.
Hello @ruoniao, exactly the same issue. Cannot get it to work.