Skip to content

Instantly share code, notes, and snippets.

@cmoulliard
Last active August 29, 2015 14:20
Show Gist options
  • Save cmoulliard/3debd03a0399fdad4afc to your computer and use it in GitHub Desktop.
Save cmoulliard/3debd03a0399fdad4afc to your computer and use it in GitHub Desktop.
packets-httpie-req
sudo tcpdump -A -s0 -ilo0 port 8181
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lo0, link-type NULL (BSD loopback), capture size 65535 bytes
19:45:41.635269 IP localhost.64736 > localhost.8181: Flags [S], seq 57080398, win 65535, options [mss 16344,nop,wscale 5,nop,nop,TS val 519343412 ecr 0,sackOK,eol], length 0
E..@.`@.@................f.N.........4....?........
...4........
19:45:41.635323 IP localhost.8181 > localhost.64736: Flags [S.], seq 2057699762, ack 57080399, win 65535, options [mss 16344,nop,wscale 5,nop,nop,TS val 519343412 ecr 519343412,sackOK,eol], length 0
E..@..@.@...............z....f.O.....4....?........
...4...4....
19:45:41.635332 IP localhost.64736 > localhost.8181: Flags [.], ack 1, win 12759, options [nop,nop,TS val 519343412 ecr 519343412], length 0
E..48.@.@................f.Oz.....1..(.....
...4...4
19:45:41.635339 IP localhost.8181 > localhost.64736: Flags [.], ack 1, win 12759, options [nop,nop,TS val 519343412 ecr 519343412], length 0
E..4..@.@...............z....f.O..1..(.....
...4...4
19:45:41.635366 IP localhost.64736 > localhost.8181: Flags [P.], seq 1:194, ack 1, win 12759, options [nop,nop,TS val 519343412 ecr 519343412], length 193
E....F@.@................f.Oz.....1........
...4...4GET /hawtio/jolokia/list HTTP/1.1
Host: localhost:8181
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate
Authorization: Basic YWRtaW46YWRtaW4=
User-Agent: HTTPie/0.9.2
19:45:41.635374 IP localhost.8181 > localhost.64736: Flags [.], ack 194, win 12753, options [nop,nop,TS val 519343412 ecr 519343412], length 0
E..4f.@.@...............z....f....1..(.....
...4...4
19:45:41.636378 IP localhost.8181 > localhost.64736: Flags [P.], seq 1:79, ack 194, win 12753, options [nop,nop,TS val 519343413 ecr 519343412], length 78
E....-@.@...............z....f....1..v.....
...5...4HTTP/1.1 403 Forbidden
Content-Length: 0
Server: Jetty(8.1.16.v20140903)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment