Skip to content

Instantly share code, notes, and snippets.

@zhouguangming
Created September 5, 2014 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zhouguangming/0da5575312d8fa9ed1c6 to your computer and use it in GitHub Desktop.
Save zhouguangming/0da5575312d8fa9ed1c6 to your computer and use it in GitHub Desktop.
TCP handshake on MAC
14:31:07.464300 IP (tos 0x10, ttl 64, id 47827, offset 0, flags [DF], proto TCP (6), length 64, bad cksum 0 (->81d2)!)
localhost.58204 > localhost.30000: Flags [S], cksum 0xfe34 (incorrect -> 0x1569), seq 1287356531, win 65535, options [mss 16344,nop,wscale 4,nop,nop,TS val 1546086283 ecr 0,sackOK,eol], length 0
14:31:07.464422 IP (tos 0x0, ttl 64, id 40245, offset 0, flags [DF], proto TCP (6), length 64, bad cksum 0 (->9f80)!)
localhost.30000 > localhost.58204: Flags [S.], cksum 0xfe34 (incorrect -> 0x2de6), seq 3393214846, ack 1287356532, win 65535, options [mss 16344,nop,wscale 4,nop,nop,TS val 1546086283 ecr 1546086283,sackOK,eol], length 0
14:31:07.464437 IP (tos 0x10, ttl 64, id 27669, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->d09c)!)
localhost.58204 > localhost.30000: Flags [.], cksum 0xfe28 (incorrect -> 0x83f6), seq 1287356532, ack 3393214847, win 9186, options [nop,nop,TS val 1546086283 ecr 1546086283], length 0
14:31:07.464453 IP (tos 0x0, ttl 64, id 43587, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->927e)!)
localhost.30000 > localhost.58204: Flags [.], cksum 0xfe28 (incorrect -> 0x83f6), seq 3393214847, ack 1287356532, win 9186, options [nop,nop,TS val 1546086283 ecr 1546086283], length 0
14:31:13.083524 IP (tos 0x10, ttl 64, id 25469, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->d934)!)
localhost.58204 > localhost.30000: Flags [F.], cksum 0xfe28 (incorrect -> 0x6e28), seq 1287356532, ack 3393214847, win 9186, options [nop,nop,TS val 1546091864 ecr 1546086283], length 0
14:31:13.083564 IP (tos 0x0, ttl 64, id 26721, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->d460)!)
localhost.30000 > localhost.58204: Flags [.], cksum 0xfe28 (incorrect -> 0x585b), seq 3393214847, ack 1287356533, win 9186, options [nop,nop,TS val 1546091864 ecr 1546091864], length 0
14:31:13.083579 IP (tos 0x10, ttl 64, id 61910, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->4adb)!)
localhost.58204 > localhost.30000: Flags [.], cksum 0xfe28 (incorrect -> 0x585b), seq 1287356533, ack 3393214847, win 9186, options [nop,nop,TS val 1546091864 ecr 1546091864], length 0
14:31:16.084360 IP (tos 0x0, ttl 64, id 19572, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->f04d)!)
localhost.30000 > localhost.58204: Flags [F.], cksum 0xfe28 (incorrect -> 0x4cb8), seq 3393214847, ack 1287356533, win 9186, options [nop,nop,TS val 1546094842 ecr 1546091864], length 0
14:31:16.084481 IP (tos 0x10, ttl 64, id 55070, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->6593)!)
localhost.58204 > localhost.30000: Flags [.], cksum 0xfe28 (incorrect -> 0x4116), seq 1287356533, ack 3393214848, win 9186, options [nop,nop,TS val 1546094842 ecr 1546094842], length 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment