Skip to content

Instantly share code, notes, and snippets.

@rimusz
Last active August 29, 2015 14:02
Show Gist options
  • Save rimusz/47af40840c47bd84c42b to your computer and use it in GitHub Desktop.
Save rimusz/47af40840c47bd84c42b to your computer and use it in GitHub Desktop.
tcpdump -A -n -v 'host 146.148.16.147 and port 8182'
tcpdump: data link type PKTAP
tcpdump: listening on pktap, link-type PKTAP (Packet Tap), capture size 65535 bytes
20:49:08.742860 IP (tos 0x0, ttl 64, id 12073, offset 0, flags [DF], proto TCP (6), length 64, bad cksum 0 (->f69f)!)
192.168.177.31.55948 > 146.148.16.147.8182: Flags [S], cksum 0x1522 (incorrect -> 0xb64d), seq 2539106807, win 65535, options [mss 1460,nop,wscale 4,nop,nop,TS val 918614318 ecr 0,sackOK,eol], length 0
\}^f.6<.T<.#..E..@/)@.@................W...........".............
6...........
20:49:08.756219 IP (tos 0x78, ttl 43, id 0, offset 0, flags [DF], proto TCP (6), length 60)
146.148.16.147.8182 > 192.168.177.31.55948: Flags [S.], cksum 0xa28a (correct), seq 787541161, ack 2539106808, win 28160, options [mss 1412,sackOK,TS val 9935538 ecr 918614318,nop,wscale 7], length 0
<.T<.#\}^f.6..Ex.<..@.+.:U.................W....n............
....6.......
20:49:08.756344 IP (tos 0x0, ttl 64, id 10402, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->fd32)!)
192.168.177.31.55948 > 146.148.16.147.8182: Flags [.], cksum 0x1516 (incorrect -> 0x1ef9), ack 1, win 8225, options [nop,nop,TS val 918614331 ecr 9935538], length 0
\}^f.6<.T<.#..E..4(.@.@................W........ !.......
6..;....
20:49:08.757549 IP (tos 0x0, ttl 64, id 30437, offset 0, flags [DF], proto TCP (6), length 424, bad cksum 0 (->ad7b)!)
192.168.177.31.55948 > 146.148.16.147.8182: Flags [P.], cksum 0x168a (incorrect -> 0x99cb), seq 1:373, ack 1, win 8225, options [nop,nop,TS val 918614332 ecr 9935538], length 372
\}^f.6<.T<.#..E...v.@.@................W........ !.......
6..<....GET /v1/status HTTP/1.1
Host: 146.148.16.147:8182
DNT: 1
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Cache-Control: max-age=0
20:49:08.769982 IP (tos 0x78, ttl 43, id 30229, offset 0, flags [DF], proto TCP (6), length 52)
146.148.16.147.8182 > 192.168.177.31.55948: Flags [.], cksum 0x3cb2 (correct), ack 373, win 229, options [nop,nop,TS val 9935552 ecr 918614332], length 0
<.T<.#\}^f.6..Ex.4v.@.+..G.................W.l....<......
....6..<
20:49:08.770494 IP (tos 0x78, ttl 43, id 30230, offset 0, flags [DF], proto TCP (6), length 191)
146.148.16.147.8182 > 192.168.177.31.55948: Flags [P.], cksum 0x5347 (correct), seq 1:140, ack 373, win 229, options [nop,nop,TS val 9935552 ecr 918614332], length 139
<.T<.#\}^f.6..Ex..v.@.+....................W.l....SG.....
....6..<HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Fri, 20 Jun 2014 19:49:08 GMT
Content-Length: 16
{"Status":"ok"}
20:49:08.770553 IP (tos 0x0, ttl 64, id 5453, offset 0, flags [DF], proto TCP (6), length 52, bad cksum 0 (->1088)!)
192.168.177.31.55948 > 146.148.16.147.8182: Flags [.], cksum 0x1516 (incorrect -> 0x1ce8), ack 140, win 8216, options [nop,nop,TS val 918614344 ecr 9935552], length 0
\}^f.6<.T<.#..E..4.M@.@................W.l...5.. ........
6..H....
^C
7 packets captured
3450 packets received by filter
0 packets dropped by kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment