Skip to content

Instantly share code, notes, and snippets.

@blt
Created June 7, 2011 18:10
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 blt/1012787 to your computer and use it in GitHub Desktop.
Save blt/1012787 to your computer and use it in GitHub Desktop.
$ sudo tcpdump -vvi lo port 3306
tcpdump: listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
14:09:02.465336 IP (tos 0x0, ttl 64, id 56507, offset 0, flags [DF], proto TCP (6), length 60)
localhost.localdomain.39272 > localhost.localdomain.mysql: Flags [S], cksum 0xfe30 (incorrect -> 0x8877), seq 1037592087, win 32792, options [mss 16396,sackOK,TS val 36223660 ecr 0,nop,wscale 6], length 0
14:09:02.465370 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
localhost.localdomain.mysql > localhost.localdomain.39272: Flags [S.], cksum 0xfe30 (incorrect -> 0x2519), seq 1029531955, ack 1037592088, win 32768, options [mss 16396,sackOK,TS val 36223660 ecr 36223660,nop,wscale 6], length 0
14:09:02.465404 IP (tos 0x0, ttl 64, id 56508, offset 0, flags [DF], proto TCP (6), length 52)
localhost.localdomain.39272 > localhost.localdomain.mysql: Flags [.], cksum 0xfe28 (incorrect -> 0x0c3c), seq 1, ack 1, win 513, options [nop,nop,TS val 36223660 ecr 36223660], length 0
14:09:02.466458 IP (tos 0x0, ttl 64, id 54168, offset 0, flags [DF], proto TCP (6), length 52)
localhost.localdomain.mysql > localhost.localdomain.39272: Flags [F.], cksum 0xfe28 (incorrect -> 0x0c3b), seq 1, ack 1, win 512, options [nop,nop,TS val 36223661 ecr 36223660], length 0
14:09:02.466660 IP (tos 0x0, ttl 64, id 56509, offset 0, flags [DF], proto TCP (6), length 52)
localhost.localdomain.39272 > localhost.localdomain.mysql: Flags [F.], cksum 0xfe28 (incorrect -> 0x0c38), seq 1, ack 2, win 513, options [nop,nop,TS val 36223661 ecr 36223661], length 0
14:09:02.466690 IP (tos 0x0, ttl 64, id 54169, offset 0, flags [DF], proto TCP (6), length 52)
localhost.localdomain.mysql > localhost.localdomain.39272: Flags [.], cksum 0xfe28 (incorrect -> 0x0c39), seq 2, ack 2, win 512, options [nop,nop,TS val 36223661 ecr 36223661], length 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment