Created
April 28, 2017 12:27
-
-
Save dmage/3654741ccf160dcbf9a8ea3099ca0aa2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ date | nc -l 0.0.0.0 8080 | |
| GET / HTTP/1.1 | |
| Host: 127.0.0.1:8080 | |
| User-Agent: curl/7.51.0 | |
| Accept: */* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl -v http://127.0.0.1:8080/ | |
| * Trying 127.0.0.1... | |
| * TCP_NODELAY set | |
| * connect to 127.0.0.1 port 8080 failed: Connection timed out | |
| * Failed to connect to 127.0.0.1 port 8080: Connection timed out | |
| * Closing connection 0 | |
| curl: (7) Failed to connect to 127.0.0.1 port 8080: Connection timed out | |
| $ curl -v http://127.0.0.1:8080/ | |
| * Trying 127.0.0.1... | |
| * TCP_NODELAY set | |
| * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0) | |
| > GET / HTTP/1.1 | |
| > Host: 127.0.0.1:8080 | |
| > User-Agent: curl/7.51.0 | |
| > Accept: */* | |
| > | |
| Fri Apr 28 14:23:43 CEST 2017 | |
| * Curl_http_done: called premature == 0 | |
| * Connection #0 to host 127.0.0.1 left intact |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 14:23:43.958447 IP 127.0.0.1.38230 > 127.0.0.1.8080: Flags [S], seq 3637901325, win 65495, options [mss 65495,sackOK,TS val 2204071257 ecr 0,nop,wscale 3], length 0 | |
| 14:23:44.999650 IP 127.0.0.1.38230 > 127.0.0.1.8080: Flags [S], seq 3637901325, win 65495, options [mss 65495,sackOK,TS val 2204072299 ecr 0,nop,wscale 3], length 0 | |
| 14:23:47.047940 IP 127.0.0.1.38230 > 127.0.0.1.8080: Flags [S], seq 3637901325, win 65495, options [mss 65495,sackOK,TS val 2204074347 ecr 0,nop,wscale 3], length 0 | |
| 14:23:51.080120 IP 127.0.0.1.38230 > 127.0.0.1.8080: Flags [S], seq 3637901325, win 65495, options [mss 65495,sackOK,TS val 2204078379 ecr 0,nop,wscale 3], length 0 | |
| 14:24:09.987682 IP 127.0.0.1.38292 > 127.0.0.1.8080: Flags [S], seq 3236281677, win 65495, options [mss 65495,sackOK,TS val 627401386 ecr 0,nop,wscale 3], length 0 | |
| 14:24:09.987698 IP 127.0.0.1.8080 > 127.0.0.1.38292: Flags [S.], seq 1011489289, ack 3236281678, win 65483, options [mss 65495,sackOK,TS val 1527625492 ecr 627401386,nop,wscale 3], length 0 | |
| 14:24:09.987706 IP 127.0.0.1.38292 > 127.0.0.1.8080: Flags [.], ack 1, win 8187, options [nop,nop,TS val 627401386 ecr 1527625492], length 0 | |
| 14:24:09.987760 IP 127.0.0.1.38292 > 127.0.0.1.8080: Flags [P.], seq 1:79, ack 1, win 8187, options [nop,nop,TS val 627401386 ecr 1527625492], length 78: HTTP: GET / HTTP/1.1 | |
| 14:24:09.987765 IP 127.0.0.1.8080 > 127.0.0.1.38292: Flags [.], ack 79, win 8186, options [nop,nop,TS val 1527625492 ecr 627401386], length 0 | |
| 14:24:09.987785 IP 127.0.0.1.8080 > 127.0.0.1.38292: Flags [P.], seq 1:31, ack 79, win 8186, options [nop,nop,TS val 1527625492 ecr 627401386], length 30: HTTP | |
| 14:24:09.987853 IP 127.0.0.1.38292 > 127.0.0.1.8080: Flags [F.], seq 79, ack 32, win 8187, options [nop,nop,TS val 627401386 ecr 1527625492], length 0 | |
| 14:24:09.987858 IP 127.0.0.1.8080 > 127.0.0.1.38292: Flags [.], ack 80, win 8186, options [nop,nop,TS val 1527625492 ecr 627401386], length 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment