public
Created

HTTP POST / PUT race condition when using with Expect: 100-continue

  • Download Gist
wireshark-capture
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446
No. Time Source Destination Protocol Length Info
1 0.000000 127.0.0.1 127.0.0.1 TCP 74 54511 > 80 [SYN] Seq=0 Win=32792 Len=0 MSS=16396 SACK_PERM=1 TSval=4593254 TSecr=0 WS=64
 
Frame 1: 74 bytes on wire (592 bits), 74 bytes captured (592 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 0, Len: 0
 
No. Time Source Destination Protocol Length Info
2 0.000014 127.0.0.1 127.0.0.1 TCP 74 80 > 54511 [SYN, ACK] Seq=0 Ack=1 Win=32768 Len=0 MSS=16396 SACK_PERM=1 TSval=4593254 TSecr=4593254 WS=64
 
Frame 2: 74 bytes on wire (592 bits), 74 bytes captured (592 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54511 (54511), Seq: 0, Ack: 1, Len: 0
 
No. Time Source Destination Protocol Length Info
3 0.000022 127.0.0.1 127.0.0.1 TCP 66 54511 > 80 [ACK] Seq=1 Ack=1 Win=32832 Len=0 TSval=4593254 TSecr=4593254
 
Frame 3: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 0
 
No. Time Source Destination Protocol Length Info
4 0.000365 127.0.0.1 127.0.0.1 HTTP 232 POST /index.php HTTP/1.1 (application/x-www-form-urlencoded)
 
Frame 4: 232 bytes on wire (1856 bits), 232 bytes captured (1856 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 166
Hypertext Transfer Protocol
POST /index.php HTTP/1.1\r\n
[Expert Info (Chat/Sequence): POST /index.php HTTP/1.1\r\n]
[Message: POST /index.php HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: POST
Request URI: /index.php
Request Version: HTTP/1.1
expect: 100-continue\r\n
content-length: 7\r\n
[Content length: 7]
content-type: application/x-www-form-urlencoded\r\n
Host: 127.0.0.1\r\n
Connection: keep-alive\r\n
\r\n
[Full request URI: http://127.0.0.1/index.php]
Line-based text data: application/x-www-form-urlencoded
foo=bar
 
No. Time Source Destination Protocol Length Info
5 0.000381 127.0.0.1 127.0.0.1 TCP 66 80 > 54511 [ACK] Seq=1 Ack=167 Win=33856 Len=0 TSval=4593255 TSecr=4593255
 
Frame 5: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54511 (54511), Seq: 1, Ack: 167, Len: 0
 
No. Time Source Destination Protocol Length Info
6 0.000807 127.0.0.1 127.0.0.1 HTTP 91 HTTP/1.1 100 Continue
 
Frame 6: 91 bytes on wire (728 bits), 91 bytes captured (728 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54511 (54511), Seq: 1, Ack: 167, Len: 25
Hypertext Transfer Protocol
HTTP/1.1 100 Continue\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 100 Continue\r\n]
[Message: HTTP/1.1 100 Continue\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 100
Response Phrase: Continue
\r\n
 
No. Time Source Destination Protocol Length Info
7 0.000842 127.0.0.1 127.0.0.1 TCP 66 54511 > 80 [ACK] Seq=167 Ack=26 Win=32832 Len=0 TSval=4593255 TSecr=4593255
 
Frame 7: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 167, Ack: 26, Len: 0
 
No. Time Source Destination Protocol Length Info
8 0.001516 127.0.0.1 127.0.0.1 HTTP 358 HTTP/1.1 200 OK (text/html)
 
Frame 8: 358 bytes on wire (2864 bits), 358 bytes captured (2864 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54511 (54511), Seq: 26, Ack: 167, Len: 292
Hypertext Transfer Protocol
HTTP/1.1 200 OK\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 200 OK\r\n]
[Message: HTTP/1.1 200 OK\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 200
Response Phrase: OK
Date: Sun, 29 Jan 2012 18:29:27 GMT\r\n
Server: Apache/2.2.20 (Ubuntu)\r\n
X-Powered-By: PHP/5.3.6-13ubuntu3.3\r\n
Vary: Accept-Encoding\r\n
Content-Length: 43\r\n
[Content length: 43]
Keep-Alive: timeout=5, max=100\r\n
Connection: Keep-Alive\r\n
Content-Type: text/html\r\n
\r\n
Line-based text data: text/html
array(1) {\n
["foo"]=>\n
string(3) "bar"\n
}\n
 
No. Time Source Destination Protocol Length Info
9 0.001536 127.0.0.1 127.0.0.1 TCP 66 54511 > 80 [ACK] Seq=167 Ack=318 Win=33920 Len=0 TSval=4593255 TSecr=4593255
 
Frame 9: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 167, Ack: 318, Len: 0
 
No. Time Source Destination Protocol Length Info
10 0.007558 127.0.0.1 127.0.0.1 TCP 66 54511 > 80 [FIN, ACK] Seq=167 Ack=318 Win=33920 Len=0 TSval=4593256 TSecr=4593255
 
Frame 10: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 167, Ack: 318, Len: 0
 
No. Time Source Destination Protocol Length Info
11 0.007678 127.0.0.1 127.0.0.1 TCP 66 80 > 54511 [FIN, ACK] Seq=318 Ack=168 Win=33856 Len=0 TSval=4593256 TSecr=4593256
 
Frame 11: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54511 (54511), Seq: 318, Ack: 168, Len: 0
 
No. Time Source Destination Protocol Length Info
12 0.007727 127.0.0.1 127.0.0.1 TCP 66 54511 > 80 [ACK] Seq=168 Ack=319 Win=33920 Len=0 TSval=4593256 TSecr=4593256
 
Frame 12: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54511 (54511), Dst Port: 80 (80), Seq: 168, Ack: 319, Len: 0
 
No. Time Source Destination Protocol Length Info
13 16.407164 127.0.0.1 127.0.0.1 TCP 74 54512 > 80 [SYN] Seq=0 Win=32792 Len=0 MSS=16396 SACK_PERM=1 TSval=4597356 TSecr=0 WS=64
 
Frame 13: 74 bytes on wire (592 bits), 74 bytes captured (592 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54512 (54512), Dst Port: 80 (80), Seq: 0, Len: 0
 
No. Time Source Destination Protocol Length Info
14 16.407179 127.0.0.1 127.0.0.1 TCP 74 80 > 54512 [SYN, ACK] Seq=0 Ack=1 Win=32768 Len=0 MSS=16396 SACK_PERM=1 TSval=4597356 TSecr=4597356 WS=64
 
Frame 14: 74 bytes on wire (592 bits), 74 bytes captured (592 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54512 (54512), Seq: 0, Ack: 1, Len: 0
 
No. Time Source Destination Protocol Length Info
15 16.407187 127.0.0.1 127.0.0.1 TCP 66 54512 > 80 [ACK] Seq=1 Ack=1 Win=32832 Len=0 TSval=4597356 TSecr=4597356
 
Frame 15: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54512 (54512), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 0
 
No. Time Source Destination Protocol Length Info
16 16.407526 127.0.0.1 127.0.0.1 HTTP 232 POST /index.php HTTP/1.1 (application/x-www-form-urlencoded)
 
Frame 16: 232 bytes on wire (1856 bits), 232 bytes captured (1856 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54512 (54512), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 166
Hypertext Transfer Protocol
POST /index.php HTTP/1.1\r\n
[Expert Info (Chat/Sequence): POST /index.php HTTP/1.1\r\n]
[Message: POST /index.php HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: POST
Request URI: /index.php
Request Version: HTTP/1.1
expect: 100-continue\r\n
content-length: 7\r\n
[Content length: 7]
content-type: application/x-www-form-urlencoded\r\n
Host: 127.0.0.1\r\n
Connection: keep-alive\r\n
\r\n
[Full request URI: http://127.0.0.1/index.php]
Line-based text data: application/x-www-form-urlencoded
foo=bar
 
No. Time Source Destination Protocol Length Info
17 16.407540 127.0.0.1 127.0.0.1 TCP 66 80 > 54512 [ACK] Seq=1 Ack=167 Win=33856 Len=0 TSval=4597356 TSecr=4597356
 
Frame 17: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54512 (54512), Seq: 1, Ack: 167, Len: 0
 
No. Time Source Destination Protocol Length Info
18 16.407959 127.0.0.1 127.0.0.1 HTTP 91 HTTP/1.1 100 Continue
 
Frame 18: 91 bytes on wire (728 bits), 91 bytes captured (728 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54512 (54512), Seq: 1, Ack: 167, Len: 25
Hypertext Transfer Protocol
HTTP/1.1 100 Continue\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 100 Continue\r\n]
[Message: HTTP/1.1 100 Continue\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 100
Response Phrase: Continue
\r\n
 
No. Time Source Destination Protocol Length Info
19 16.407993 127.0.0.1 127.0.0.1 TCP 66 54512 > 80 [ACK] Seq=167 Ack=26 Win=32832 Len=0 TSval=4597356 TSecr=4597356
 
Frame 19: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54512 (54512), Dst Port: 80 (80), Seq: 167, Ack: 26, Len: 0
 
No. Time Source Destination Protocol Length Info
20 16.408695 127.0.0.1 127.0.0.1 HTTP 358 HTTP/1.1 200 OK (text/html)
 
Frame 20: 358 bytes on wire (2864 bits), 358 bytes captured (2864 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54512 (54512), Seq: 26, Ack: 167, Len: 292
Hypertext Transfer Protocol
HTTP/1.1 200 OK\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 200 OK\r\n]
[Message: HTTP/1.1 200 OK\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 200
Response Phrase: OK
Date: Sun, 29 Jan 2012 18:29:44 GMT\r\n
Server: Apache/2.2.20 (Ubuntu)\r\n
X-Powered-By: PHP/5.3.6-13ubuntu3.3\r\n
Vary: Accept-Encoding\r\n
Content-Length: 43\r\n
[Content length: 43]
Keep-Alive: timeout=5, max=100\r\n
Connection: Keep-Alive\r\n
Content-Type: text/html\r\n
\r\n
Line-based text data: text/html
array(1) {\n
["foo"]=>\n
string(3) "bar"\n
}\n
 
No. Time Source Destination Protocol Length Info
21 16.408715 127.0.0.1 127.0.0.1 TCP 66 54512 > 80 [ACK] Seq=167 Ack=318 Win=33920 Len=0 TSval=4597357 TSecr=4597357
 
Frame 21: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54512 (54512), Dst Port: 80 (80), Seq: 167, Ack: 318, Len: 0
 
No. Time Source Destination Protocol Length Info
22 16.414687 127.0.0.1 127.0.0.1 TCP 66 54512 > 80 [FIN, ACK] Seq=167 Ack=318 Win=33920 Len=0 TSval=4597358 TSecr=4597357
 
Frame 22: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54512 (54512), Dst Port: 80 (80), Seq: 167, Ack: 318, Len: 0
 
No. Time Source Destination Protocol Length Info
23 16.415176 127.0.0.1 127.0.0.1 TCP 66 80 > 54512 [FIN, ACK] Seq=318 Ack=168 Win=33856 Len=0 TSval=4597358 TSecr=4597358
 
Frame 23: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54512 (54512), Seq: 318, Ack: 168, Len: 0
 
No. Time Source Destination Protocol Length Info
24 16.415224 127.0.0.1 127.0.0.1 TCP 66 54512 > 80 [ACK] Seq=168 Ack=319 Win=33920 Len=0 TSval=4597358 TSecr=4597358
 
Frame 24: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54512 (54512), Dst Port: 80 (80), Seq: 168, Ack: 319, Len: 0
 
No. Time Source Destination Protocol Length Info
25 19.287701 127.0.0.1 127.0.0.1 TCP 74 54513 > 80 [SYN] Seq=0 Win=32792 Len=0 MSS=16396 SACK_PERM=1 TSval=4598076 TSecr=0 WS=64
 
Frame 25: 74 bytes on wire (592 bits), 74 bytes captured (592 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54513 (54513), Dst Port: 80 (80), Seq: 0, Len: 0
 
No. Time Source Destination Protocol Length Info
26 19.287716 127.0.0.1 127.0.0.1 TCP 74 80 > 54513 [SYN, ACK] Seq=0 Ack=1 Win=32768 Len=0 MSS=16396 SACK_PERM=1 TSval=4598076 TSecr=4598076 WS=64
 
Frame 26: 74 bytes on wire (592 bits), 74 bytes captured (592 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54513 (54513), Seq: 0, Ack: 1, Len: 0
 
No. Time Source Destination Protocol Length Info
27 19.287723 127.0.0.1 127.0.0.1 TCP 66 54513 > 80 [ACK] Seq=1 Ack=1 Win=32832 Len=0 TSval=4598076 TSecr=4598076
 
Frame 27: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54513 (54513), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 0
 
No. Time Source Destination Protocol Length Info
28 19.288078 127.0.0.1 127.0.0.1 HTTP 232 POST /index.php HTTP/1.1 (application/x-www-form-urlencoded)
 
Frame 28: 232 bytes on wire (1856 bits), 232 bytes captured (1856 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54513 (54513), Dst Port: 80 (80), Seq: 1, Ack: 1, Len: 166
Hypertext Transfer Protocol
POST /index.php HTTP/1.1\r\n
[Expert Info (Chat/Sequence): POST /index.php HTTP/1.1\r\n]
[Message: POST /index.php HTTP/1.1\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Method: POST
Request URI: /index.php
Request Version: HTTP/1.1
expect: 100-continue\r\n
content-length: 7\r\n
[Content length: 7]
content-type: application/x-www-form-urlencoded\r\n
Host: 127.0.0.1\r\n
Connection: keep-alive\r\n
\r\n
[Full request URI: http://127.0.0.1/index.php]
Line-based text data: application/x-www-form-urlencoded
foo=bar
 
No. Time Source Destination Protocol Length Info
29 19.288093 127.0.0.1 127.0.0.1 TCP 66 80 > 54513 [ACK] Seq=1 Ack=167 Win=33856 Len=0 TSval=4598076 TSecr=4598076
 
Frame 29: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54513 (54513), Seq: 1, Ack: 167, Len: 0
 
No. Time Source Destination Protocol Length Info
30 19.288302 127.0.0.1 127.0.0.1 HTTP 91 HTTP/1.1 100 Continue
 
Frame 30: 91 bytes on wire (728 bits), 91 bytes captured (728 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54513 (54513), Seq: 1, Ack: 167, Len: 25
Hypertext Transfer Protocol
HTTP/1.1 100 Continue\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 100 Continue\r\n]
[Message: HTTP/1.1 100 Continue\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 100
Response Phrase: Continue
\r\n
 
No. Time Source Destination Protocol Length Info
31 19.288589 127.0.0.1 127.0.0.1 HTTP 358 HTTP/1.1 200 OK (text/html)
 
Frame 31: 358 bytes on wire (2864 bits), 358 bytes captured (2864 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54513 (54513), Seq: 26, Ack: 167, Len: 292
Hypertext Transfer Protocol
HTTP/1.1 200 OK\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 200 OK\r\n]
[Message: HTTP/1.1 200 OK\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 200
Response Phrase: OK
Date: Sun, 29 Jan 2012 18:29:47 GMT\r\n
Server: Apache/2.2.20 (Ubuntu)\r\n
X-Powered-By: PHP/5.3.6-13ubuntu3.3\r\n
Vary: Accept-Encoding\r\n
Content-Length: 43\r\n
[Content length: 43]
Keep-Alive: timeout=5, max=100\r\n
Connection: Keep-Alive\r\n
Content-Type: text/html\r\n
\r\n
Line-based text data: text/html
array(1) {\n
["foo"]=>\n
string(3) "bar"\n
}\n
 
No. Time Source Destination Protocol Length Info
32 19.288681 127.0.0.1 127.0.0.1 TCP 66 54513 > 80 [ACK] Seq=167 Ack=26 Win=32832 Len=0 TSval=4598077 TSecr=4598077
 
Frame 32: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54513 (54513), Dst Port: 80 (80), Seq: 167, Ack: 26, Len: 0
 
No. Time Source Destination Protocol Length Info
33 19.288693 127.0.0.1 127.0.0.1 TCP 66 54513 > 80 [ACK] Seq=167 Ack=318 Win=33920 Len=0 TSval=4598077 TSecr=4598077
 
Frame 33: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54513 (54513), Dst Port: 80 (80), Seq: 167, Ack: 318, Len: 0
 
No. Time Source Destination Protocol Length Info
34 19.291969 127.0.0.1 127.0.0.1 TCP 66 54513 > 80 [FIN, ACK] Seq=167 Ack=318 Win=33920 Len=0 TSval=4598077 TSecr=4598077
 
Frame 34: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54513 (54513), Dst Port: 80 (80), Seq: 167, Ack: 318, Len: 0
 
No. Time Source Destination Protocol Length Info
35 19.292049 127.0.0.1 127.0.0.1 TCP 66 80 > 54513 [FIN, ACK] Seq=318 Ack=168 Win=33856 Len=0 TSval=4598077 TSecr=4598077
 
Frame 35: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 80 (80), Dst Port: 54513 (54513), Seq: 318, Ack: 168, Len: 0
 
No. Time Source Destination Protocol Length Info
36 19.292057 127.0.0.1 127.0.0.1 TCP 66 54513 > 80 [ACK] Seq=168 Ack=319 Win=33920 Len=0 TSval=4598077 TSecr=4598077
 
Frame 36: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Ethernet II, Src: 00:00:00:00:00:00 (00:00:00:00:00:00), Dst: 00:00:00:00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 54513 (54513), Dst Port: 80 (80), Seq: 168, Ack: 319, Len: 0

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.