Featured post
tcp - Can I send an ACK response to a successfully received SYNACK using BSD raw sockets? -
my code tries manually establish tcp handshaking, , then, sends data segment requesting resource via http get.
i'm using raw sockets craft headers , send packets, , libpcap in order check received packet headers.
the syn sent receiver, replies me synack. @ point far works, when receive synack, try ack it, , send http get next, doesn't work. can see headers ok in wireshark.
so questions are: can ack synack via raw sockets receive using same socket used send syn? , there required options go along headers in order accomplish that?
i'm acking synack, , after send segment ack , psh flags set in order request resource via http. can see them both on wireshark, don't response server.
there's no reason can't ack using raw sockets, os's kernel stack see received synack isn't expecting , send rst. doing prevent happening? otherwise, maybe aren't sending right seq/ack numbers.
- Get link
- X
- Other Apps
Comments
Post a Comment