其他分享
首页 > 其他分享> > 1.8 curl拨测

1.8 curl拨测

作者:互联网

 

https进行拨测

[root@bjcdn01 ~]# curl -k -vv -o /dev/null --resolve  域名:443:ip "https://域名/05007E00006027B0108BB7800000007AB682DB-68E2-4EE3-8F4E-47BAF0E41C4B_video_00680.mp4?ccode=0502&duration=7683&expire=18000&psid=7f5c1ef3014b279586ec7e640c9e22a543346&ups_client_netip=b7d5b410&ups_ts=1625653683&ups_userid=3075871406&apscid=&mnid=&umt=1&type=cmaf4hd3&utid=IldcGGucTwcCAXAUrsA%2FuC6a&vid=XMjUwNDMyMDQyNA%3D%3D&s=85af103196a611e69c81&iv=1&sp=&t=d0a1676bd711dbe&cug=2&bc=2&si=3&eo=0&vkey=Bce02a0c0506bf2e56d29c7e304a39094"

  % 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 

* Initializing NSS with certpath: sql:/etc/pki/nssdb

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* skipping SSL peer certificate verification

* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

* Server certificate:

* subject: CN=*.com,O="Alibaba (China) Technology Co., Ltd.",L=HangZhou,ST=ZheJiang,C=CN

* start date: Jun 07 03:36:01 2021 GMT

* expire date: Jul 06 08:21:04 2022 GMT

* common name: *.com

* issuer: CN=GlobalSign Organization Validation CA - SHA256 - G2,O=GlobalSign nv-sa,C=BE

> GET /67756D6080932713CFC02204E/05007E00006027B0108BB7800000007AB682DB-68E2-4EE3-8F4E-47BAF0E41C4B_video_00680.mp4?ccode=0502&duration=7683&expire=18000&psid=7f5c1ef3014b279586ec7e640c9e22a543346&ups_client_netip=b7d5b410&ups_ts=1625653683&ups_userid=3075871406&apscid=&mnid=&umt=1&type=cmaf4hd3&utid=IldcGGucTwcCAXAUrsA%2FuC6a&vid=XMjUwNDMyMDQyNA%3D%3D&s=85af103196a611e69c81&iv=1&sp=&t=d0a1676bd711dbe&cug=2&bc=2&si=3&eo=0&vkey=Bce02a0c0506bf2e56d29c7e304a39094 HTTP/1.1

> User-Agent: curl/7.29.0

> Host: 

> Accept: */*

>

< HTTP/1.1 200 OK

< Date: Wed, 07 Jul 2021 12:04:46 GMT

< Content-Type: video/mp4

< Content-Length: 1787797

< Connection: keep-alive

< Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"

< x-oss-request-id: 60C205944473053832D1BAC7

< x-oss-cdn-auth: success

< Accept-Ranges: bytes

< ETag: "BB5509127C3EED3CDCD7D83B57A3EC28"

< x-oss-object-type: Normal

< x-oss-hash-crc64ecma: 12332453719907822018

< x-oss-storage-class: Standard

< Content-MD5: u1UJEnw+7Tzc19g7V6PsKA==

< x-oss-server-time: 63

< Ali-Swift-Global-Savetime: 1623328148

< Via: cache22.l2cn1811[0,26,200-0,H], cache29.l2cn1811[27,0], vcache33.cn2930[31,32,206-0,M], vcache5.cn2930[35,200200]

< X-Swift-SaveTime: Wed, 07 Jul 2021 11:49:18 GMT

< X-Swift-CacheTime: 6309590

< Access-Control-Allow-Origin: *

< Access-Control-Expose-Headers: Content-Length

< cloud_type: aliyun

< Timing-Allow-Origin: *

< EagleId: 249cb51a16256585581388172e

< Cache-Control: max-age=8640000

< Age: 928

< Accept-Ranges: bytes

< Server: Tengine-CMCC

<

{ [data not shown]

100 1745k  100 1745k    0     0  4764k      0 --:--:-- --:--:-- --:--:-- 4757k

http进行拨测

[root@bjcdn01 ~]# curl -vv -o /dev/null "http://域名/5103/428/514/5103428514/media/5103428514_5010142834_92.mp4_0-56.ts?mdspid=&spid=800033&netType=4&sid=5700050291&pid=2028600796&timestamp=20210627193132&Channel_ID=0116_2504090100-99000-200300020100001&ProgramID=712433346&ParentNodeID=-99&assertID=5700050291&&SecurityKey=20210627193132&mvid=5103428514&mcid=1000&playurlVersion=SJ-A1-4.6.1&videocodec=h264&encrypt=6a2bb5076e2edf723b03a38bef120bf0&hls_type=2&HlsSubType=2&HlsProfileId=0&mtv_session=a3cb181b74038429f1015cddee8ce14a" -x 域名:8088
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to proxy

> User-Agent: curl/7.29.0
> Host:
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 OK
< Date: Thu, 08 Jul 2021 10:35:06 GMT
< Content-Type: application/octet-stream
< Content-Length: 3045224
< Connection: keep-alive
< MiguStorageType: NAS
< Cache-Control: max-age=15552000, public
< Age: 2273165
< Proxy-Connection: keep-alive
< Via: http/1.1 EAC_WXS04_MGED002 ( [cHs f ])
< Host-Ip: 
<
{ [data not shown]
100 2973k 100 2973k 0 0 4253k 0 --:--:-- --:--:-- --:--:-- 4248k

 

标签:--,oss,1.8,Content,拨测,Time,curl,ups,GMT
来源: https://www.cnblogs.com/bjcdn/p/14987623.html