Website under Fire, Cloudflare does not help

What is the name of the domain?

mapsupport.de

What is the issue you’re encountering

My Server is slow and getting attacked

What steps have you taken to resolve the issue?

DDoS Protected IP
rate-limiting
fail2ban

What are the steps to reproduce the issue?

Hey, i run a social media platform based on “Mastodon”, so someone decided to Attack this platform, but not by directly accessing the site, but using a different social media Platform to constantly access my Profile, and thus slowing down the site till it not longer works, my profile is getting accessed 28 times per second from a lot of different IPs.

i tried rate-limiting - no luck
DDoS Protected IP - no luck
fail2ban - no luck

so i setup cloudflare (mind you i got no experience with cloudflare and only medium server experience) but the attacks keeps coming in, does anyone have a clue how i would need to setup cloudflare for this?

Thanks :slight_smile:

Screenshot of the error

I’d start with enabling under attack mode.

Then look at WAF events to determine identity the attacks to see if you can identify characteristics you can use to block - country of origin, IP, or ASN are good places to start. With DDoS attacks where multiple IPs are used it’s a bit trickier. Once you identify attacks, block or challenge the attack traffic with a WAF rule.

It may be the attacks are hitting your origin directly and bypassing Cloudflare. In that case, ask your hosting provider to configure your server to accept requests only from Cloudflare.

But, start with under attack mode first.

Thanks, i activated “under attack mode”, but now i get

SSL_ERROR_NO_CYPHER_OVERLAP

when trying to reach my site, i deactivated it but still getting this.

edit: SSL Checker tells me

" No SSL certificates were found on mapsupport.de. Make sure that the name resolves to the correct server and that the SSL port (default is 443) is open on your server’s firewall."

but my SSL Certificates are managed by my server and letsencrypt (i deactivated it in cloudflare) and are up to date.

If you want to use Cloudflare’s features, then your DNS records must be proxied and in turn that will require you to use Cloudflare’s SSL if you want HTTPS. If you have a Business or Enterprise plan, you can use Cloudflare’s SSL and upload your own certificate for use on the edge.

Ensure Cloudflare’s SSL/TLS mode set is to “Full (strict)” so Cloudflare validates the SSL certificate on your origin when it makes connections.

1 Like

Thanks, just did this, no change tho will it take time to update, or do i need to change anything on my server?

It may take a little while to generate the Universal SSL certificate if that is what you have just re-enabled. Is that the case?

Make sure your SSL/TLS mode is set to “Full (strict)”.

What plan do you have and who is your host? I’m seeing a lot more Cloudflare IP addresses for your domain than normal so maybe either you have an Enterprise plan, or a host who has…
https://cf.sjr.dev/tools/check?17d93fd9043f483bb2b759ad0ed2c613#dns

yes i enabled Full Strict, so it shouldf autogenerate a Certificate?

i use the free plan currently, and my Host is “Frantech Solutions”, but it runs over a DDoS Protected IP they offer.

Enabling Universal SSL will generate the certificate.

Likely then that requests are passing through their Cloudflare account and not yours. If so your site is already DDoS protected but any settings you make in your Cloudflare account won’t have any effect as requests don’t pass through it.

Thanks, the page resolves now, should i disable Frantechs DDoS protected IP?

also i activated Attack Mode, and checked the WAF, but im not experienced enough to make anything out of this?

also over all this the 100s of IPs keep attacking from a specific point

As above, it looks like their protected service is over Cloudflare. I’m not familiar with it, but I guess if you disable that feature and they then give you a non-Cloudflare IP address to use, you can instead use that proxied in your Cloudflare DNS and then all requests will instead go through your Cloudlfare account and settings before going to your origin IP address.

Thx, i set the IP to normal and now have it run over Cloudflare, i deactivated the Attack Mode (still dunno how to read the WAF Site), hopefully it helps i cant keep the Attack mode running all the time as it might cause issues with the Federation of other Instances running Mastodon, Pleroma or misskey (other social media platforms)

anything else me as a beginner should do?

If you are under attack, follow this guide…

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.