Skip to content

Instantly share code, notes, and snippets.

@MagnificentPako
Created January 16, 2019 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MagnificentPako/f8be341b0cc66aa09703781432e35e2f to your computer and use it in GitHub Desktop.
Save MagnificentPako/f8be341b0cc66aa09703781432e35e2f to your computer and use it in GitHub Desktop.
λ › curl -v https://cache.nixos.org/nar/0bszgx0cp93g1k3l2qji6a6az1rg9sfbinxh82gzzqyrdm0dfyfa.nar.xz --output something.nar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 151.101.2.217...
* TCP_NODELAY set
* Connected to cache.nixos.org (151.101.2.217) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4917 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=v2.shared.global.fastly.net
* start date: Jan 11 16:17:25 2019 GMT
* expire date: Mar 20 20:22:20 2019 GMT
* subjectAltName: host "cache.nixos.org" matched cert's "cache.nixos.org"
* issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign CloudSSL CA - SHA256 - G3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x24d13e0)
} [5 bytes data]
> GET /nar/0bszgx0cp93g1k3l2qji6a6az1rg9sfbinxh82gzzqyrdm0dfyfa.nar.xz HTTP/2
> Host: cache.nixos.org
> User-Agent: curl/7.62.0
> Accept: */*
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< x-amz-id-2: py8n4q/a4XpTrWBRL7HQ62SuEb+Ua/8VsqY1sgTT+bZFxCosiVq3Bt00cSxf6gUntvNibDvx/OA=
< x-amz-request-id: C19604B2DB71ECB8
< last-modified: Mon, 14 Jan 2019 18:21:06 GMT
< etag: "dd5e1060724ac0a896f661ca8adde244"
< content-type: application/x-nix-nar
< server: AmazonS3
< accept-ranges: bytes
< age: 78864
< accept-ranges: bytes
< date: Wed, 16 Jan 2019 19:36:19 GMT
< via: 1.1 varnish
< x-served-by: cache-hhn1534-HHN
< x-cache: HIT
< x-cache-hits: 0
< x-timer: S1547667379.085759,VS0,VE1
< content-length: 13870092
<
{ [2428 bytes data]
100 13.2M 100 13.2M 0 0 73920 0 0:03:07 0:03:07 --:--:-- 69823
* Connection #0 to host cache.nixos.org left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment