Skip to content

Cloudflare bot fight mode and Google search

Blog
  • Edit - I’ve re-enabled CF on this domain, but left BFM disabled 🙂

  • Coming back here with an update. I’ve actually disabled CF on this domain. It’s been off for a couple of weeks, and honestly, there’s zero difference.

    It’s going to remain that way I think…

  • I’m not a systems guy at all, so in basic terms why is Cloudflare used?
    Yesterday someone had problem with their server and I took a look at it but was out of my depth with it. Some nginx issues, which I wasn’t sure how to fix
    In simple terms if you buy a domain, and have your own server, can you point one to another without using Cloudflare, or Nginx?

  • @Panda said in Cloudflare bot fight mode and Google search:

    I’m not a systems guy at all, so in basic terms why is Cloudflare used?

    Cloudflare is used to act as a gateway or a proxy to your website. This has the immediate benefit of hiding your true IP address, making DDoS attacks much harder. Cloudflare isn’t a CDN (Content Delivery Network) in the traditional sense (although most people seem to think it is, but it doesn’t cache HTML content by default).

    Cloudflare offers numerous performance and security enhancements along with Layer 7 DDoS protection. Essentially, you can think of it as a security gateway where all traffic is examined for threats before being allowed through.

    However, in the same ilk, cyber criminals also hide behind Cloudflare to make their domain names look legitimate.

    @Panda said in Cloudflare bot fight mode and Google search:

    In simple terms if you buy a domain, and have your own server, can you point one to another without using Cloudflare, or Nginx?

    Yes, of course. You simply use DNS to create associated (A, WWW, etc) records to point to the IP address that will be hosting the content. Most people “think” they need Cloudflare, when actually, they don’t. The free package has limitations, such as the amount of page rules you can create, and other features not being available that are in the Pro upwards (USD 20.00 per month - and it’s licensed per domain so you can’t just buy pro for example and use all of your domains in it) plan.

    As a final point, Cloudflare actually slows down traffic by adding extra checks, and headers, and ultimately also increases TTFB (Time to First Byte). It’s basically a myth, but one everyone seems to have bought into. You can get the same level of protection with Open Source tooling and 80% best practice implementation if you want to invest the time.

  • and what about nginx?
    Might be me being dumb, but the linux file structure is confusing and I never know where to go to edit this nginx stuff, or what its doing.

  • @Panda said in Cloudflare bot fight mode and Google search:

    and what about nginx?

    NGINX is an web server application in it’s own right (borne out of the 10k issue with Apache where it suffers locks at around 10,000 concurrent sessions) which has a low footprint, yet is scalable no matter what you throw at it.

    @Panda said in Cloudflare bot fight mode and Google search:

    Might be me being dumb, but the linux file structure is confusing and I never know where to go to edit this nginx stuff, or what its doing.

    Linux uses the EXT file system (whereas Windows uses NTFS), and has it’s origins in UNIX. This means that Linux would use a path like /var/log/ whereas windows will use c:\windows\system32 for example. The Linux file system isn’t confusing, but can appear daunting to the uninitiated.

    NGINX under Linux is normally located in /etc/nginx but this is dependant on the Linux distribution (for example, under Ubuntu this would apply, but not always the case with Debian or Red Hat).

  • It is recommended to use nginx with docker OpenResty, the isolation of docker makes the environment very clean!I use the 1panel panel to manage these, and the visual management makes it so much easier for me!

  • @veronikya said in Cloudflare bot fight mode and Google search:

    It is recommended to use nginx with docker OpenResty, the isolation of docker makes the environment very clean!

    That’s a good question. The advantage of docker is the ability to isolate, but in my view, it’s clunky, and not necessary - particularly when you need two applications to talk to each other, or you want to add a website to an existing NGINX host for example - it’s not possible to add a docker instance to an existing server and this is what makes it unappealing for me.

    Yes, the environment is “clean”, but not practical in most cases.

  • @phenomlab docker modifications are a pain in the ass, one wrong operation can result in total data loss, I made that mistake once and now I stick to manual deployment for important services

  • phenomlabundefined phenomlab forked this topic on
  • @phenomlab We’re in the same boat, brother, which is why I choose to return to my Hosting NS after experiencing issues with even those tiny search engine bots. The issue depends on whether you want your website to resemble a corporate firm with few pages and a money-handling function; in that case, you can choose strong security, but for a community, it’s the opposite. But congrats on your site’s good ranking!

  • @veronikya said in Cloudflare bot fight mode and Google search:

    docker modifications are a pain in the ass,

    I couldn’t have put that better myself - such an accurate analogy. I too have “been there” with this pain factor, and I swore I’d never do it again.

  • phenomlabundefined phenomlab referenced this topic on

Related Topics
  • 3 Votes
    30 Posts
    1k Views

    @DownPW any update?

  • 4 Votes
    11 Posts
    721 Views

    @Hari Really? Can you elaborate a bit more here?

  • NodeBB socket with CloudFlare

    Unsolved Performance
    23
    1 Votes
    23 Posts
    2k Views

    @DownPW it’s your only realistic option at this stage.

  • 3 Votes
    4 Posts
    623 Views

    @DownPW yeah, I seem to spend a large amount of my time trying to educate people that there’s no silver bullet when it comes to security.

  • how to use CF tunnels with Virtualmin?

    Solved Configure
    10
    3 Votes
    10 Posts
    1k Views

    @Hari DDoS protection is not just a switch, or one component. It’s a collection of different and often disparate technologies that when grouped together form the basis of a combined toolset that can be used in defence.

    Typically these consist of IDS (Instrusion Detection System) and IPS (Intrusion Prevention System) components that detect irregularities in network traffic, and will take decisive action based on predefined rulesets, or in the case of more modern systems, AI and ML.

    Traditional “traffic shaping” technology is also deployed, so if an attack cannot be easily identified as malicious, the bandwidth available to that connection is severely limited to nothing more than a trickle rather than a full flow.

    Years ago, ISP’s used traffic shaping (also called “policers”) as an effective means of stopping applications such as BearShare, eDonkey, Napster, and other P2P based sharing systems from functioning correctly - essentially reducing the “appeal” of distributing and seeding illegal downloads. This was essentially the ISP’s way of saying “stop what you are doing please” without actually pulling the plug.

    These days, DDoS attacks are designed to overwhelm - not assume control of - webservers and other public facing components. It’s rare for small entities to be attacked unless there is some form of political agenda driven by your site or product. A classic example is governmental institutions or lawmakers who effectively are classed as “enforcers” and those who disagree are effectively making a statement in the form of Denial of Service.

    DDoS protection is effectively the responsibility of the hosting provider, but you shouldn’t just assume that they will protect you or your site. Their responsibility stops at their infrastructure, so it’s then up to you too decide how you full the gap in between your host and the website.

    Typically, you’d leverage something like Imunify360 which you can get for Plesk (and something I’d strongly recommend) but it’s not free, and is a paid (not expensive per month) subscription. If you want to use VirtualMin then there are a variety of tools readily available out of the box such as firewalls and fail2ban.

  • 1 Votes
    2 Posts
    327 Views

    @hari the cache level for woocommerce should always be bypass. Any caching of woocommerce will cause you serious issues and will result in the checkout process not functioning correctly.

    This does mean that the overall experience will be slower (depending on geographic location) although CF is known to cause significant issues hence the need to bypass.

    If you want to cache as much as possible, then set rules to bypass caching on the cart and account pages etc.

  • Cloudflare now handling email routing, YAY 🚀

    Configure
    1
    0 Votes
    1 Posts
    281 Views
    No one has replied
  • moving domain to google domains

    Configure
    6
    5 Votes
    6 Posts
    537 Views

    @hari That’s it. Yes. Nothing more to do