Created
September 16, 2014 10:57
-
-
Save dcarley/3f97c24c489b0681c39a to your computer and use it in GitHub Desktop.
GOV.UK IPv6 bare redirect
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
dan@vps:~$ curl -vkgL -H "Host: gov.uk" -o/dev/null https://\[2400:cb00:2048:1::6810:1931\] | |
* Rebuilt URL to: https://[2400:cb00:2048:1::6810:1931]/ | |
* Hostname was NOT found in DNS cache | |
* Trying 2400:cb00:2048:1::6810:1931... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
* Connected to 2400:cb00:2048:1::6810:1931 (2400:cb00:2048:1::6810:1931) port 443 (#0) | |
* successfully set certificate verify locations: | |
* CAfile: none | |
CApath: /etc/ssl/certs | |
* SSLv3, TLS handshake, Client hello (1): | |
} [data not shown] | |
* SSLv3, TLS handshake, Server hello (2): | |
{ [data not shown] | |
* SSLv3, TLS handshake, CERT (11): | |
{ [data not shown] | |
* SSLv3, TLS handshake, Server key exchange (12): | |
{ [data not shown] | |
* SSLv3, TLS handshake, Server finished (14): | |
{ [data not shown] | |
* SSLv3, TLS handshake, Client key exchange (16): | |
} [data not shown] | |
* SSLv3, TLS change cipher, Client hello (1): | |
} [data not shown] | |
* SSLv3, TLS handshake, Finished (20): | |
} [data not shown] | |
* SSLv3, TLS change cipher, Client hello (1): | |
{ [data not shown] | |
* SSLv3, TLS handshake, Finished (20): | |
{ [data not shown] | |
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256 | |
* Server certificate: | |
* subject: C=US; ST=CA; L=San Francisco; O=CloudFlare, Inc.; CN=ssl7714.cloudflare.com | |
* start date: 2014-09-05 14:08:09 GMT | |
* expire date: 2017-08-08 12:37:16 GMT | |
* issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Organization Validation CA - G2 | |
* SSL certificate verify ok. | |
> GET / HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Accept: */* | |
> Host: gov.uk | |
> | |
< HTTP/1.1 301 Moved Permanently | |
* Server cloudflare-nginx is not blacklisted | |
< Server: cloudflare-nginx | |
< Date: Tue, 16 Sep 2014 10:55:05 GMT | |
< Content-Type: text/html | |
< Content-Length: 189 | |
< Connection: keep-alive | |
< Set-Cookie: __cfduid=d70de5d39f42dd33ad26a1b577293398b1410864905141; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; HttpOnly | |
< Location: https://www.gov.uk/ | |
< CF-RAY: 16ac879924d30a66-LHR | |
< | |
* Ignoring the response-body | |
{ [data not shown] | |
100 189 100 189 0 0 7160 0 --:--:-- --:--:-- --:--:-- 7875 | |
* Connection #0 to host 2400:cb00:2048:1::6810:1931 left intact | |
* Issue another request to this URL: 'https://www.gov.uk/' | |
* Hostname was NOT found in DNS cache | |
* Trying 185.31.18.144... | |
* Connected to www.gov.uk (185.31.18.144) port 443 (#1) | |
* successfully set certificate verify locations: | |
* CAfile: none | |
CApath: /etc/ssl/certs | |
* SSLv3, TLS handshake, Client hello (1): | |
} [data not shown] | |
* SSLv3, TLS handshake, Server hello (2): | |
{ [data not shown] | |
* SSLv3, TLS handshake, CERT (11): | |
{ [data not shown] | |
* SSLv3, TLS handshake, Server key exchange (12): | |
* SSLv3, TLS handshake, Server finished (14): | |
{ [data not shown] | |
* SSLv3, TLS handshake, Client key exchange (16): | |
} [data not shown] | |
* SSLv3, TLS change cipher, Client hello (1): | |
} [data not shown] | |
* SSLv3, TLS handshake, Finished (20): | |
} [data not shown] | |
* SSLv3, TLS change cipher, Client hello (1): | |
{ [data not shown] | |
* SSLv3, TLS handshake, Finished (20): | |
{ [data not shown] | |
* SSL connection using DHE-RSA-AES128-GCM-SHA256 | |
* Server certificate: | |
* subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=www.gov.uk | |
* start date: 2014-09-03 00:00:00 GMT | |
* expire date: 2015-11-03 12:00:00 GMT | |
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA | |
* SSL certificate verify ok. | |
> GET / HTTP/1.1 | |
> User-Agent: curl/7.35.0 | |
> Host: www.gov.uk | |
> Accept: */* | |
> | |
< HTTP/1.1 200 OK | |
< Date: Tue, 16 Sep 2014 10:55:05 GMT | |
* Server nginx is not blacklisted | |
< Server: nginx | |
< Content-Type: text/html; charset=utf-8 | |
< Cache-Control: max-age=1800, public | |
< Status: 200 OK | |
< Strict-Transport-Security: max-age=31536000 | |
< Via: 1.1 router | |
< X-Request-Id: 6c11c63512d1474fb7a4935ca87607db | |
< X-Ua-Compatible: IE=Edge,chrome=1 | |
< Via: 1.1 varnish | |
< Content-Length: 24202 | |
< Accept-Ranges: bytes | |
< Via: 1.1 varnish | |
< Age: 1045 | |
< X-Served-By: cache-lcy1128-LCY | |
< X-Cache: HIT, HIT | |
< X-Cache-Hits: 30 | |
< X-Timer: S1410864905.184209,VS0,VE0 | |
< Vary: Accept-Encoding | |
< | |
{ [data not shown] | |
100 24202 100 24202 0 0 327k 0 --:--:-- --:--:-- --:--:-- 327k | |
* Connection #1 to host www.gov.uk left intact |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment