For those who have to use Cloudflare: Tor support is coming!

BM-2cWimYg96o7rdmFy99U5RMdQGpXrx75NCE 839ef964d1 News 8 éve
.gitignore 2e38277f7e Initial commit 9 éve
Apache-2.0 5b15cf88d6 Apache License 2.0 9 éve
README 839ef964d1 News 8 éve
config.example 2e38277f7e Initial commit 9 éve
remove-all-rules.sh 6dc51a0605 Output cleanup 9 éve
whitelister.sh 66fcf057d5 Fixed a typo 9 éve

README

NEWS: Now you can whitelist Tor from Cloudflare Dashboard. Please configure it if you use Cloudflare now!

Whitelist Tor Exit nodes for websites using Cloudflare

Note: This is not a perfect solution.
Cloudflare may choose to block some requests in spite of the explicit
whitelisting!

Recommended Cloudflare settings:
Set Firewall->Security Level to `Essentially Off' (or `Off' if available)

Set Firewall->Browser Integrity Check to `Off'

Enable HTTPS. (Cloudflare is MITMing, though.)

You should also consider providing a Onion service for your website.
This should provide a end2end security.
(Support for non-anonymous fast Onion services are being developed
by the Tor Project.)

After configuration, run the script every day (probably using cron).

Licensed under the Apache License 2.0 to encourage easy adoption.
(We like AGPL or GPL more, though)

--
Copyright (C) 2016 Desktopd Developers.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.