XF2 Add-on [DigitalPoint] Cloudflare 1.0.0.1 - Xenforo Add-Ons

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,531
Reaction score
29,741
Points
113
NullCash
579,102
1653064849673.png
Features
Everything is available from within XenForo (you do not need to go to Cloudflare for things) via the Cloudflare API. This allows you give admins permission to do certain things (for example block IP addresses within Cloudflare without giving them access to your Cloudflare account).
It simplifies/automates much of the configuration and usage of Cloudflare with XenForo.
  • Manage all Cloudflare settings/options for your zone.
  • Ability to purge Cloudflare cache.
  • Cloudflare Firewall support
    • You can automatically create firewall filters to block access to XenForo internal directories that are not intended to be accessed via web browser (internal_data and src). You can also delete any firewall filter.
    • Create/delete Firewall user agent rules.
    • Create/delete Firewall IP address rules. Includes the ability to optionally expire the rule in the future (for example maybe you want to block a class C for 7 days, or you want to force a challenge to a specific IP for 30 days).
    • Manage country-level traffic blocking (includes Tor exit nodes).
  • Cloudflare Access support
    • You can automatically create Access policies to allow only admins the ability to access the install and admin.php URLs. You can also delete any existing Access policy.
  • Cloudflare Page Rule support
    • You can automatically create a Page Rule that will instruct Cloudflare to cache XenForo CSS files (normally they are not cached because Cloudflare caches based on file extension, and XenForo's CSS system has .php extension).
    • You can automatically create a Page Rule that will instruct Cloudflare to cache images served through XenForo's image proxy (similar to XenForo's CSS, Cloudflare normally does not cache them because the image proxy uses .php extension).
  • Supports both Global API key and API tokens. API tokens allow the minimum required permissions and can span multiple zones (you could use the same API token across multiple XenForo installations/domains without giving any unnecessary permissions).
  • Moderators that have the ability to spam clean and view user's IPs get an extra option in the spam cleaner where they can temporarily ban the IP address(es) the spammer used in the last 30 days. The number of days to ban is an option you can set in the admin area (it defaults to 7 days).
  • Ability to backup and restore certain Cloudflare configuration (Access Apps, Firewall Rules, Firewall IP Access Rules, Firewall User Agent Blocking, Page Rules).
    • You can restore backups to a different zone (for example if you had extensive configuration for a zone, you could give another zone the same configuration through a backup restore).
    • Restoring a backup does not delete existing configurations (you are able to merge configuration into an existing config).
  • Cloudflare configuration is protected by a new admin permission, Manage Cloudflare.
In exchange for being free, this addon has a single attribution link buried on the bottom of XenForo's Help -> Cookie usage page (there are no site-wide or footer links).

1653063704304.png
1653063749583.png
1653064442091.png

Compatible XF Versions 2.0 , 2.1 , 2.2
 

Attachments

  • DigitalPoint-Cloudflare-1.0.0.1.zip
    128.4 KB · Views: 0

alialialiali

Member
XNullUser
Joined
May 16, 2022
Messages
56
Reaction score
2
Points
6
NullCash
27
1653064849673.png

Features
Everything is available from within XenForo (you do not need to go to Cloudflare for things) via the Cloudflare API. This allows you give admins permission to do certain things (for example block IP addresses within Cloudflare without giving them access to your Cloudflare account).
It simplifies/automates much of the configuration and usage of Cloudflare with XenForo.
  • Manage all Cloudflare settings/options for your zone.
  • Ability to purge Cloudflare cache.
  • Cloudflare Firewall support
    • You can automatically create firewall filters to block access to XenForo internal directories that are not intended to be accessed via web browser (internal_data and src). You can also delete any firewall filter.
    • Create/delete Firewall user agent rules.
    • Create/delete Firewall IP address rules. Includes the ability to optionally expire the rule in the future (for example maybe you want to block a class C for 7 days, or you want to force a challenge to a specific IP for 30 days).
    • Manage country-level traffic blocking (includes Tor exit nodes).
  • Cloudflare Access support
    • You can automatically create Access policies to allow only admins the ability to access the install and admin.php URLs. You can also delete any existing Access policy.
  • Cloudflare Page Rule support
    • You can automatically create a Page Rule that will instruct Cloudflare to cache XenForo CSS files (normally they are not cached because Cloudflare caches based on file extension, and XenForo's CSS system has .php extension).
    • You can automatically create a Page Rule that will instruct Cloudflare to cache images served through XenForo's image proxy (similar to XenForo's CSS, Cloudflare normally does not cache them because the image proxy uses .php extension).
  • Supports both Global API key and API tokens. API tokens allow the minimum required permissions and can span multiple zones (you could use the same API token across multiple XenForo installations/domains without giving any unnecessary permissions).
  • Moderators that have the ability to spam clean and view user's IPs get an extra option in the spam cleaner where they can temporarily ban the IP address(es) the spammer used in the last 30 days. The number of days to ban is an option you can set in the admin area (it defaults to 7 days).
  • Ability to backup and restore certain Cloudflare configuration (Access Apps, Firewall Rules, Firewall IP Access Rules, Firewall User Agent Blocking, Page Rules).
    • You can restore backups to a different zone (for example if you had extensive configuration for a zone, you could give another zone the same configuration through a backup restore).
    • Restoring a backup does not delete existing configurations (you are able to merge configuration into an existing config).
  • Cloudflare configuration is protected by a new admin permission, Manage Cloudflare.
In exchange for being free, this addon has a single attribution link buried on the bottom of XenForo's Help -> Cookie usage page (there are no site-wide or footer links).

1653063704304.png

1653063749583.png

1653064442091.png


Compatible XF Versions 2.0 , 2.1 , 2.2

Attachments​

  • DigitalPoint-Cloudflare-1.0.0.1.zip
    128.4 KB · Views: 0
 
Top