Ask Your Question
0

Why is this TCP SYN/ACK packet malformed?

asked 2018-03-09 13:03:07 +0000

TiMeX gravatar image

So I've been trying to make a TCP-Stack in VHDL but I've run into the problem that the SYN/ACK packet I'm sending for the initial handshake is malformed according to Wireshark and I can't seem to figure out why.

I've uploaded the wireshark file to my dropbox:

https://www.dropbox.com/s/ggvfmb442i0...

It's packet No. 15.

There must be some error in how the packet is put together since Wireshark says it's not a full TCP-Header even though all the data is there.

Any help would be much appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-03-09 14:06:59 +0000

Jaap gravatar image

Your IP length field is wrong, it says 40, but should be 52, as in the SYN packet (#14)

edit flag offensive delete link more

Comments

thank you so much! I completely forgot changing that after I did some changes

TiMeX gravatar imageTiMeX ( 2018-03-09 20:56:34 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-03-09 13:03:07 +0000

Seen: 1,727 times

Last updated: Mar 09 '18