You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
Hi, all,
I encounter some problems when I want to modify TCP 3-way handshake. Suppose that a client send SYN to a server, and server will response SYN+ACK to the server. What can I do If I want to modify TCP header of SYN+ACK? Can you give me some hints or source code about it? Thank you very much!
Best,
Peng
Tommaso Pecorella
unread,
May 21, 2014, 12:07:59 PM5/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-...@googlegroups.com
Hi,
the SYN-ACK is sent at line 1827 of tcp-socket-base.cc
SendEmptyPacket(TcpHeader::SYN |TcpHeader::ACK);
The header can not be modified easily, as it's a "normal" TCP header in an empty packet.