google / martian

Martian is a library for building custom HTTP/S proxies
Apache License 2.0
2.01k stars 247 forks source link

Can't pass Cloudflare DDoS protection in some sites. #331

Open Thelta opened 2 years ago

Thelta commented 2 years ago

During testing this proxy (and many other proxies written in go), can't pass cloudflare ddos protection in one specific website. Other websites protected by cloudflare (such as phoronix, cloudflare blog, etc) does not have this problem.

Like I mentioned before, this problem only shows on martian and other proxies written in go (such as elazarl/goproxy, lqqyt2423/go-mitmproxy etc.). This problem does not show on mitmproxy/mitmproxy.

LaiZhou commented 1 year ago

May be you can check the tls fingerprint , you can replace the orgin GO's f tls ingerprint by your own.