最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ip - Cloudflare protection blocks server requests (with curl) - Stack Overflow

programmeradmin1浏览0评论

I have experienced some really weird behavior to me!

Make server request get blocked by cloudflare: cloudflare error image. So I tried with curl. Here is the exact command:

curl -H "Referer: /" -H "Origin: ; .m3u8

When executing this command on the server, I get a 403 with the same cloudflare error page. I thought the ip might be blocked, but executing the command on any other server results in the same response (tried also with other ips, even github workspace once).

But when executing the command on my local machine it gives the 200 correct response. Ok, maybe I'm whitelisted or something similar, but even with a pc and ip, which never accessed the site, I still get 200 correct response.

So: Every server is blocked and every client works. That's strange to me. What is the difference between making the request on the server and client?

Ultimately the question: How can I get on this kinda whitelist, for the server to be authorized to access the page without getting blocked!

发布评论

评论列表(0)

  1. 暂无评论