Skip to content

Instantly share code, notes, and snippets.

@aaronpeters
Created November 29, 2024 10:52
Show Gist options
  • Save aaronpeters/2e0c91874a61c980a75418b8839ec6b6 to your computer and use it in GitHub Desktop.
Save aaronpeters/2e0c91874a61c980a75418b8839ec6b6 to your computer and use it in GitHub Desktop.
Medianova new CDN resource for VOD - first range requests
aaronpeters$ curl -svo /dev/null https://cdnplanet-vod-loc-test.lg.mncdn.com/storage-services/service/mbrs/ntscrm/00047382/00047382.mp4 -H 'range: bytes=0-1023'
* Host cdnplanet-vod-loc-test.lg.mncdn.com:443 was resolved.
* IPv6: (none)
* IPv4: 185.22.163.103
* Trying 185.22.163.103:443...
* Connected to cdnplanet-vod-loc-test.lg.mncdn.com (185.22.163.103) port 443
* ALPN: curl offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4586 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
* subject: CN=*.lg.mncdn.com
* start date: Sep 27 00:00:00 2024 GMT
* expire date: Oct 28 23:59:59 2025 GMT
* subjectAltName: host "cdnplanet-vod-loc-test.lg.mncdn.com" matched cert's "*.lg.mncdn.com"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
* Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha384WithRSAEncryption
* Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption
} [5 bytes data]
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://cdnplanet-vod-loc-test.lg.mncdn.com/storage-services/service/mbrs/ntscrm/00047382/00047382.mp4
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: cdnplanet-vod-loc-test.lg.mncdn.com]
* [HTTP/2] [1] [:path: /storage-services/service/mbrs/ntscrm/00047382/00047382.mp4]
* [HTTP/2] [1] [user-agent: curl/8.8.0]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [range: bytes=0-1023]
} [5 bytes data]
> GET /storage-services/service/mbrs/ntscrm/00047382/00047382.mp4 HTTP/2
> Host: cdnplanet-vod-loc-test.lg.mncdn.com
> User-Agent: curl/8.8.0
> Accept: */*
> range: bytes=0-1023
>
* Request completely sent off
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [305 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [305 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
< HTTP/2 504
< date: Fri, 29 Nov 2024 10:48:26 GMT
< content-type: text/html
< content-length: 383
< etag: "664e04d1-17f"
< server: MNCDN-163151
< x-edge-location: RO-687
< x-mnrequest-id: ae0cda9de433445134dda82e18cb6a7a
<
{ [383 bytes data]
* Connection #0 to host cdnplanet-vod-loc-test.lg.mncdn.com left intact
aaronpeters$
aaronpeters$ curl -svo /dev/null https://cdnplanet-vod-loc-test.lg.mncdn.com/storage-services/service/mbrs/ntscrm/00047382/00047382.mp4 -H 'range: bytes=0-1023'
* Host cdnplanet-vod-loc-test.lg.mncdn.com:443 was resolved.
* IPv6: (none)
* IPv4: 185.22.163.103
* Trying 185.22.163.103:443...
* Connected to cdnplanet-vod-loc-test.lg.mncdn.com (185.22.163.103) port 443
* ALPN: curl offers h2,http/1.1
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4586 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / x25519 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
* subject: CN=*.lg.mncdn.com
* start date: Sep 27 00:00:00 2024 GMT
* expire date: Oct 28 23:59:59 2025 GMT
* subjectAltName: host "cdnplanet-vod-loc-test.lg.mncdn.com" matched cert's "*.lg.mncdn.com"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
* Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha384WithRSAEncryption
* Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha384WithRSAEncryption
} [5 bytes data]
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://cdnplanet-vod-loc-test.lg.mncdn.com/storage-services/service/mbrs/ntscrm/00047382/00047382.mp4
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: cdnplanet-vod-loc-test.lg.mncdn.com]
* [HTTP/2] [1] [:path: /storage-services/service/mbrs/ntscrm/00047382/00047382.mp4]
* [HTTP/2] [1] [user-agent: curl/8.8.0]
* [HTTP/2] [1] [accept: */*]
* [HTTP/2] [1] [range: bytes=0-1023]
} [5 bytes data]
> GET /storage-services/service/mbrs/ntscrm/00047382/00047382.mp4 HTTP/2
> Host: cdnplanet-vod-loc-test.lg.mncdn.com
> User-Agent: curl/8.8.0
> Accept: */*
> range: bytes=0-1023
>
* Request completely sent off
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [305 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [305 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
< HTTP/2 206
< date: Fri, 29 Nov 2024 10:48:37 GMT
< content-type: video/mp4
< content-length: 1024
< access-control-allow-origin: *
< referrer-policy: no-referrer-when-downgrade
< strict-transport-security: max-age=3600; preload
< x-content-type-options: nosniff
< last-modified: Thu, 26 Oct 2017 16:04:16 GMT
< cache-control: max-age=31536000
< expires: Sat, 29 Nov 2025 10:42:10 GMT
< content-disposition: inline; filename=service-mbrs-ntscrm-00047382-00047382.mp4
< x-app-cache-tag: storage-services, storage-services/service
< cf-cache-status: HIT
< age: 388
< cf-ray: 8ea206ca7a0fdb6b-IST
< server: MNCDN-163151
< x-edge-location: RO-687
< x-mnrequest-id: c38e279fe83e5577f51d35d75e8ab21d
< x-cache-status: Edge : MISS, Midcache : MISS
< content-range: bytes 0-1023/1129647946
<
{ [1024 bytes data]
* Connection #0 to host cdnplanet-vod-loc-test.lg.mncdn.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment