V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
holinhot
V2EX  ›  信息安全

为什么阿里云超 url 不能 curl

  •  
  •   holinhot · 2015-06-16 21:32:59 +08:00 · 3176 次点击
    这是一个创建于 3259 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    4 条回复    2015-06-17 08:47:35 +08:00
    churchmice
        1
    churchmice  
       2015-06-16 22:11:17 +08:00
    你wget下先
    esile
        2
    esile  
       2015-06-17 00:01:30 +08:00 via iPhone
    curl模拟浏览器标示在获取,大部分WAF默认封curl头
    weyou
        3
    weyou  
       2015-06-17 00:19:59 +08:00
    可以试试把User-Agent头改成浏览器的
    zeayes
        4
    zeayes  
       2015-06-17 08:47:35 +08:00
    @weyou 嗯,应该是根据http的头部信息做了一次过滤。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1043 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:10 · PVG 07:10 · LAX 16:10 · JFK 19:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.