https://www.cloudflare.com/ips/
IPv4 space is far too small not to use this. Often times if an attacker has determined your provider in the past, they may be able to leverage that information and scan only nearby ranges.
Other common anti-DDoS proxy bypass tactics:
- direct.* subdomain used to be used by default on CloudFlare for a direct route to the server
- Check headers in outgoing emails for an origin IP (this one gets way too many sites)
- CloudFlare only recently got websocket support - check if their websocket servers are secured or not
- Check for an MX record
- Use DNS bruteforcing tools to attempt to find other services
Are there any workarounds for this, other than running mail servers on a separate network and IP range?
I only seem to find out when people complain that the site is down from certain parts of the world
We don't change the IPs often and we always update the list well before they are ever used (typically months before). The last update was two years ago. I'm sorry if you had a problem.
https://www.changedetection.com/log/cloudflare/ips-v4_log.ht...
EDIT: I was rude in the previous version of this comment. Sorry for being a jerk. And thanks to dang for letting me edit.