holinhot

为什么阿里云超 url 不能 curl

  •  
  •   holinhot · Jun 16, 2015 · 3820 views
    This topic created in 4057 days ago, the information mentioned may be changed or developed.

    root@iZ25ouergmgZ:~# curl -I https://b3bf60b851ebaeb2768b01a32e2ef32f.xxxxx.com 等了10分钟也没回复 我有贵州电信试过可以curl 就是在阿云上就不行
    我的防火墙也加了阿里云的ip至白名单

    4 replies    2015-06-17 08:47:35 +08:00
    churchmice
        1
    churchmice  
       Jun 16, 2015
    你wget下先
    esile
        2
    esile  
       Jun 17, 2015 via iPhone
    curl模拟浏览器标示在获取,大部分WAF默认封curl头
    weyou
        3
    weyou  
       Jun 17, 2015
    可以试试把User-Agent头改成浏览器的
    zeayes
        4
    zeayes  
       Jun 17, 2015
    @weyou 嗯,应该是根据http的头部信息做了一次过滤。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2811 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 65ms · UTC 02:36 · PVG 10:36 · LAX 19:36 · JFK 22:36
    ♥ Do have faith in what you're doing.