Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

What does this plugin do?

This discussion is related to the CloudflareSupport addon.

What does this plugin do?
Sorry, I don't understand.

Comments

  • ShadowdareShadowdare π Moderator
    edited September 2016

    Cloudflare serves as a reverse proxy for your website when Cloudflare services, particularly the CDN feature, are enabled for a domain. As a result, every visitor's IP becomes hidden to the origin server, the location where your website is hosted, because it is Cloudflare's servers that request data from the origin server for each visitor.

    For this reason, functionality in any web application you use, including Vanilla Forums, that provides logging of each user's IP address will show Cloudflare servers' IP addresses instead. Cloudflare passes in additional headers that you can use to get around this issue. These headers can be set in either the web server or the web application layer.

    This plugin detects when a Cloudflare server is making a request to the origin server and modifies the standard way that a user's IP address is retrieved with one of those additional headers in order to show the user's actual IP address.

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    vrijvlinderItsVizionTv
  • @Shadowdare said:
    Cloudflare serves as a reverse proxy for your website when Cloudflare services, particularly the CDN feature, are enabled for a domain. As a result, every visitor's IP becomes hidden to the origin server, the location where your website is hosted, because it is Cloudflare's servers that request data from the origin server for each visitor.

    For this reason, functionality in any web application you use, including Vanilla Forums, that provides logging of each user's IP address will show Cloudflare servers' IP addresses instead. Cloudflare passes in additional headers that you can use to get around this issue. These headers can be set in either the web server or the web application layer.

    This plugin detects when a Cloudflare server is making a request to the origin server and modifies the standard way that a user's IP address is retrieved with one of those additional headers in order to show the user's actual IP address.

    If VanillaForums gives me the correct IP address on my user list then I don't need this plugin?

  • ShadowdareShadowdare π Moderator
    edited September 2016

    @ItsVizionTv said:
    If VanillaForums gives me the correct IP address on my user list then I don't need this plugin?

    If you're using Cloudflare and your users have their correct IP addresses without the plugin enabled, it's likely that your host already has Cloudflare headers being used in the web server or Cloudflare services aren't enabled for your domain.

    In any case, there's nothing to be worried about if your users have their correct IP addresses. Keeping the plugin enabled while using Cloudflare could only help and won't hurt, too. :)

    Add Pages to Vanilla with the Basic Pages app | Publish articles with the Articles app

    ItsVizionTv
Sign In or Register to comment.