Skip to content

Instantly share code, notes, and snippets.

@cuberri
Created July 14, 2013 18:25
Show Gist options
  • Save cuberri/5995198 to your computer and use it in GitHub Desktop.
Save cuberri/5995198 to your computer and use it in GitHub Desktop.
# tcpdump -r getversion.pcap -X -n
reading from file getversion.pcap, link-type LINUX_SLL (Linux cooked)
20:58:05.110305 IP 127.0.0.1.40076 > 127.0.0.1.9000: Flags [S], seq 1062634558, win 32792, options [mss 16396,sackOK,TS val 3575215 ecr 0,nop,wscale 2], length 0
0x0000: 4500 003c 0991 4000 4006 3329 7f00 0001 E..<..@.@.3)....
0x0010: 7f00 0001 9c8c 2328 3f56 843e 0000 0000 ......#(?V.>....
0x0020: a002 8018 fe30 0000 0204 400c 0402 080a .....0....@.....
0x0030: 0036 8daf 0000 0000 0103 0302 .6..........
20:58:05.110317 IP 127.0.0.1.9000 > 127.0.0.1.40076: Flags [S.], seq 2492371573, ack 1062634559, win 32768, options [mss 16396,sackOK,TS val 3575215 ecr 3575215,nop,wscale 2], length 0
0x0000: 4500 003c 0000 4000 4006 3cba 7f00 0001 E..<..@.@.<.....
0x0010: 7f00 0001 2328 9c8c 948e 9275 3f56 843f ....#(.....u?V.?
0x0020: a012 8000 fe30 0000 0204 400c 0402 080a .....0....@.....
0x0030: 0036 8daf 0036 8daf 0103 0302 .6...6......
20:58:05.110328 IP 127.0.0.1.40076 > 127.0.0.1.9000: Flags [.], ack 1, win 8198, options [nop,nop,TS val 3575215 ecr 3575215], length 0
0x0000: 4500 0034 0992 4000 4006 3330 7f00 0001 E..4..@.@.30....
0x0010: 7f00 0001 9c8c 2328 3f56 843f 948e 9276 ......#(?V.?...v
0x0020: 8010 2006 fe28 0000 0101 080a 0036 8daf .....(.......6..
0x0030: 0036 8daf .6..
20:58:05.110369 IP 127.0.0.1.40076 > 127.0.0.1.9000: Flags [P.], seq 1:577, ack 1, win 8198, options [nop,nop,TS val 3575215 ecr 3575215], length 576
0x0000: 4500 0274 0993 4000 4006 30ef 7f00 0001 E..t..@.@.0.....
0x0010: 7f00 0001 9c8c 2328 3f56 843f 948e 9276 ......#(?V.?...v
0x0020: 8018 2006 0069 0000 0101 080a 0036 8daf .....i.......6..
0x0030: 0036 8daf 0101 0001 0008 0000 0001 0000 .6..............
0x0040: 0000 0000 0104 0001 0216 0200 0c1f 5155 ..............QU
0x0050: 4552 595f 5354 5249 4e47 7265 7175 6573 ERY_STRINGreques
0x0060: 743d 4765 7456 6572 7369 6f6e 2673 6572 t=GetVersion&ser
0x0070: 7669 6365 3d57 4d54 530e 0352 4551 5545 vice=WMTS..REQUE
0x0080: 5354 5f4d 4554 484f 4447 4554 0c00 434f ST_METHODGET..CO
0x0090: 4e54 454e 545f 5459 5045 0e00 434f 4e54 NTENT_TYPE..CONT
0x00a0: 454e 545f 4c45 4e47 5448 0f19 5343 5249 ENT_LENGTH..SCRI
0x00b0: 5054 5f46 494c 454e 414d 452f 7573 722f PT_FILENAME/usr/
0x00c0: 7368 6172 652f 6e67 696e 782f 7777 772f share/nginx/www/
0x00d0: 776d 7473 0b05 5343 5249 5054 5f4e 414d wmts..SCRIPT_NAM
0x00e0: 452f 776d 7473 0b25 5245 5155 4553 545f E/wmts.%REQUEST_
0x00f0: 5552 492f 776d 7473 3f72 6571 7565 7374 URI/wmts?request
0x0100: 3d47 6574 5665 7273 696f 6e26 7365 7276 =GetVersion&serv
0x0110: 6963 653d 574d 5453 0c05 444f 4355 4d45 ice=WMTS..DOCUME
0x0120: 4e54 5f55 5249 2f77 6d74 730d 1444 4f43 NT_URI/wmts..DOC
0x0130: 554d 454e 545f 524f 4f54 2f75 7372 2f73 UMENT_ROOT/usr/s
0x0140: 6861 7265 2f6e 6769 6e78 2f77 7777 0f08 hare/nginx/www..
0x0150: 5345 5256 4552 5f50 524f 544f 434f 4c48 SERVER_PROTOCOLH
0x0160: 5454 502f 312e 3111 0747 4154 4557 4159 TTP/1.1..GATEWAY
0x0170: 5f49 4e54 4552 4641 4345 4347 492f 312e _INTERFACECGI/1.
0x0180: 310f 0b53 4552 5645 525f 534f 4654 5741 1..SERVER_SOFTWA
0x0190: 5245 6e67 696e 782f 312e 322e 310b 0952 REnginx/1.2.1..R
0x01a0: 454d 4f54 455f 4144 4452 3132 372e 302e EMOTE_ADDR127.0.
0x01b0: 302e 310b 0552 454d 4f54 455f 504f 5254 0.1..REMOTE_PORT
0x01c0: 3430 3134 340b 0953 4552 5645 525f 4144 40144..SERVER_AD
0x01d0: 4452 3132 372e 302e 302e 310b 0453 4552 DR127.0.0.1..SER
0x01e0: 5645 525f 504f 5254 3830 3830 0b09 5345 VER_PORT8080..SE
0x01f0: 5256 4552 5f4e 414d 456c 6f63 616c 686f RVER_NAMElocalho
0x0200: 7374 0500 4854 5450 530f 0352 4544 4952 st..HTTPS..REDIR
0x0210: 4543 545f 5354 4154 5553 3230 300f 0b48 ECT_STATUS200..H
0x0220: 5454 505f 5553 4552 5f41 4745 4e54 6375 TTP_USER_AGENTcu
0x0230: 726c 2f37 2e32 362e 3009 0e48 5454 505f rl/7.26.0..HTTP_
0x0240: 484f 5354 6c6f 6361 6c68 6f73 743a 3830 HOSTlocalhost:80
0x0250: 3830 0b03 4854 5450 5f41 4343 4550 542a 80..HTTP_ACCEPT*
0x0260: 2f2a 0000 0104 0001 0000 0000 0105 0001 /*..............
0x0270: 0000 0000 ....
20:58:05.110380 IP 127.0.0.1.9000 > 127.0.0.1.40076: Flags [.], ack 577, win 8192, options [nop,nop,TS val 3575215 ecr 3575215], length 0
0x0000: 4500 0034 1fd9 4000 4006 1ce9 7f00 0001 E..4..@.@.......
0x0010: 7f00 0001 2328 9c8c 948e 9276 3f56 867f ....#(.....v?V..
0x0020: 8010 2000 fe28 0000 0101 080a 0036 8daf .....(.......6..
0x0030: 0036 8daf .6..
20:58:05.110749 IP 127.0.0.1.9000 > 127.0.0.1.40076: Flags [P.], seq 1:353, ack 577, win 8192, options [nop,nop,TS val 3575215 ecr 3575215], length 352
0x0000: 4500 0194 1fda 4000 4006 1b88 7f00 0001 E.....@.@.......
0x0010: 7f00 0001 2328 9c8c 948e 9276 3f56 867f ....#(.....v?V..
0x0020: 8018 2000 ff88 0000 0101 080a 0036 8daf .............6..
0x0030: 0036 8daf 0106 0001 013d 0300 5374 6174 .6.......=..Stat
0x0040: 7573 3a20 3530 3120 4e6f 7420 696d 706c us:.501.Not.impl
0x0050: 656d 656e 7465 640d 0a43 6f6e 7465 6e74 emented..Content
0x0060: 2d54 7970 653a 2074 6578 742f 786d 6c0d -Type:.text/xml.
0x0070: 0a43 6f6e 7465 6e74 2d44 6973 706f 7369 .Content-Disposi
0x0080: 7469 6f6e 3a20 6669 6c65 6e61 6d65 3d22 tion:.filename="
0x0090: 6d65 7373 6167 652e 786d 6c22 0d0a 0d0a message.xml"....
0x00a0: 3c45 7863 6570 7469 6f6e 5265 706f 7274 <ExceptionReport
0x00b0: 2078 6d6c 6e73 3d22 6874 7470 3a2f 2f77 .xmlns="http://w
0x00c0: 7777 2e6f 7065 6e67 6973 2e6e 6574 2f6f ww.opengis.net/o
0x00d0: 7773 2f31 2e31 223e 0a3c 4578 6365 7074 ws/1.1">.<Except
0x00e0: 696f 6e20 6578 6365 7074 696f 6e43 6f64 ion.exceptionCod
0x00f0: 653d 224f 7065 7261 7469 6f6e 4e6f 7453 e="OperationNotS
0x0100: 7570 706f 7274 6564 2220 3e0a 2020 4c27 upported".>...L'
0x0110: 6f70 6572 6174 696f 6e20 6765 7476 6572 operation.getver
0x0120: 7369 6f6e 206e 2765 7374 2070 6173 2070 sion.n'est.pas.p
0x0130: 7269 7365 2065 6e20 6368 6172 6765 2070 rise.en.charge.p
0x0140: 6172 2063 6520 7365 7276 6575 722e 524f ar.ce.serveur.RO
0x0150: 4b34 2d30 2e31 332e 310a 3c2f 4578 6365 K4-0.13.1.</Exce
0x0160: 7074 696f 6e3e 0a3c 2f45 7863 6570 7469 ption>.</Excepti
0x0170: 6f6e 5265 706f 7274 3e00 0000 0106 0001 onReport>.......
0x0180: 0000 0000 0103 0001 0008 0000 0000 0000 ................
0x0190: 0000 0000 ....
20:58:05.110773 IP 127.0.0.1.40076 > 127.0.0.1.9000: Flags [.], ack 353, win 8192, options [nop,nop,TS val 3575215 ecr 3575215], length 0
0x0000: 4500 0034 0994 4000 4006 332e 7f00 0001 E..4..@.@.3.....
0x0010: 7f00 0001 9c8c 2328 3f56 867f 948e 93d6 ......#(?V......
0x0020: 8010 2000 fe28 0000 0101 080a 0036 8daf .....(.......6..
0x0030: 0036 8daf .6..
20:58:05.110792 IP 127.0.0.1.9000 > 127.0.0.1.40076: Flags [F.], seq 353, ack 577, win 8192, options [nop,nop,TS val 3575215 ecr 3575215], length 0
0x0000: 4500 0034 1fdb 4000 4006 1ce7 7f00 0001 E..4..@.@.......
0x0010: 7f00 0001 2328 9c8c 948e 93d6 3f56 867f ....#(......?V..
0x0020: 8011 2000 fe28 0000 0101 080a 0036 8daf .....(.......6..
0x0030: 0036 8daf .6..
20:58:05.110990 IP 127.0.0.1.40076 > 127.0.0.1.9000: Flags [F.], seq 577, ack 354, win 8192, options [nop,nop,TS val 3575215 ecr 3575215], length 0
0x0000: 4500 0034 0995 4000 4006 332d 7f00 0001 E..4..@.@.3-....
0x0010: 7f00 0001 9c8c 2328 3f56 867f 948e 93d7 ......#(?V......
0x0020: 8011 2000 fe28 0000 0101 080a 0036 8daf .....(.......6..
0x0030: 0036 8daf .6..
20:58:05.111012 IP 127.0.0.1.9000 > 127.0.0.1.40076: Flags [.], ack 578, win 8192, options [nop,nop,TS val 3575215 ecr 3575215], length 0
0x0000: 4500 0034 1fdc 4000 4006 1ce6 7f00 0001 E..4..@.@.......
0x0010: 7f00 0001 2328 9c8c 948e 93d7 3f56 8680 ....#(......?V..
0x0020: 8010 2000 fe28 0000 0101 080a 0036 8daf .....(.......6..
0x0030: 0036 8daf .6..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment