0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-11-14 05:12:50 +00:00
cloudflare-tor/INSTRUCTION.md
Allati El Henson 56fc6a50ea INSTRUCTION.md
2021-04-04 02:26:59 +02:00

13 KiB
Raw Blame History

List Instructions


_click me_

Website is using Cloudflare

List name Description
/domains/cloudflare_?.txt Split files (base domain)
/domains/cloudflare_?.json Split files (JSON format)
ex_cloudflare_users.md Domains which used Cloudflare in the past, not anymore
cloudflare_supporter.md who is supporting, endorsing, loving, or defending Cloudflare
List name Description
cloudflare_CIDR_v4.txt IPv4 CIDR owned by Cloudflare
cloudflare_CIDR_v6.txt IPv6 CIDR owned by Cloudflare
cloudflare_range_v4.txt IPv4 range owned by Cloudflare
cloudflare_owned_ASN.txt AS network owned by Cloudflare
cloudflare_owned_NS.txt Name Server owned by Cloudflare
cloudflare_owned_domains.txt Domains owned by Cloudflare
cloudflare_owned_onions.txt Tor .onions owned by Cloudflare
cloudflare_members.md Cloudflare employer, employee, ex-employee

How to detect Cloudflare?

There are many ways to detect it:

emsisoft.com.		21599	IN	NS	bella.ns.cloudflare.com.
emsisoft.com.		21599	IN	NS	dom.ns.cloudflare.com.
dev.qubes-os.org.	299	IN	A	104.18.228.122

ASN AS13335 Cloudflare, Inc.
Organization Cloudflare, Inc.
Route 104.18.224.0/20
IMPORTANT: Please add only "Base Domain"

    if "community.example.com" is using Cloudflare
        add "example.com"

    if "www.example.co.uk" is using Cloudflare
        add "example.co.uk"

    if "example.net" is using Cloudflare
        add "example.net"

... to /split/cloudflare_e.txt

But the website X no longer using Cloudflare!

Are you sure? Remove it from /split/ list and add to "ex_cloudflare_users.md".


_click me_

Website is NOT using Cloudflare

List name Description
/cidr_data/?.txt CIDR, ASN, NS
CDN_Code

Z1 Amazon
Z2 Akamai
//Z3 Cloudflare
Z4 Imperva
Z5 Google
Z6 Microsoft
Z7 INAP
Z8 Sucuri
Z9 Fastly

  • Above is how Siteground-hosted(INAP;Singlehop) sites often appear to Tor visitors when timeouts/tarpitting doesn't occur.

Some websites combine other companies (e.g. Amazon AWS, Google Cloud, DDoS-GUARD) with the Cloudflare business model.


_click me_

Website is rejecting Tor visitor

List name Description
/fqdn/attd.txt Block Tor access Split files, Everything (FQDN)
/fqdn/attd.json Block Tor access Split files, Everything (JSON)
hostility.md Does NOT block Tor access Domain and Comment

  • Some news websites are lying to Tor users. You can read their website if you are not using Tor nor VPN. If you visit their website over Tor, they just say "Sorry, article not found".

  • Imunify360 is not so intelligent because it is blocking real human.

  • Some famous mail subscription service and some ISP websites are displaying "Maintenance" page if you visit them over Tor.

How can you trust their sites if they are not treating everyone equally?


About "Anti-Tor FQDN list" (attd*.txt)

www.example.com
   ---> www.example.com denied/bullied Tor visitor.

?.akamaiedge.net
   ---> subdomain of akamaiedge.net is denied Tor user.
   * unique hostname will be masked as "?" for privacy reason

senate.gov
   ---> base domain denied/harassed/challenged human who're using Tor.

If your website is on this list, you better talk with your network administrator.

But my website X no longer blocking Tor users!

Are you sure? There are two ways to remove yourself. First option is just remove it from the list and create a pull request. Second option is wait 1 year. Our system will revisit your website as a Tor user.

If you're not blocking Tor users, you will be removed automatically.

  • If your website is using Cloudflare
  • There's a higher chance that we receive rejection webpage from Cloudflare. Do not use cloudflare.

_click me_

How to add your data

A or B will be enough. Thank you for your contribution.

Type A: Push to git

  1. Log in to this website.
  • If you're Tor user, we recommend 'type B'.
  1. Click "Fork" button. (top-left corner)
  2. Edit text file.
  3. Click Double-arrow button to create a new pull request.

Type B: Just scan the FQDN

Public API Details
Your contribution will be pushed to git automatically within a week.


_click me_

How to setup git

This procedure will give you a stop_cloudflare fork with a privacy-respecting configuration to do pushes with SSH over Tor using codeberg.org. Below procedure is designed for Linux. The first step covers Windows too, but these instructions probably need more adaptations for Windows and other platforms.

WARNING: Codeberg is blocking some non-temporary email providers

  • Linux: aptitude install git tor ssh
  • Windows: Download PortableGit from Github & run git-bash.exe
  1. Install Git, SSH(Not Windows), and Tor (if you haven't already)
  2. Create a codeberg.org account (username "snowden" will be used for this example)
  3. Create an SSH key pair $ ssh-keygen -t rsa -N '' -C 'snowden at git' -f "$HOME"/.ssh/id_rsa_mrsnowden
  4. Edit $HOME/.ssh/config:
    host git.fuwafuwa.moe
         hostname     git.fuwafuwa.moe
         ForwardX11   no
         ProxyCommand connect -4 -S 127.0.0.1:9050 $(tor-resolve %h 127.0.0.1:9050) %p
    host mrsnowden
         IdentityFile /home/user/.ssh/id_rsa_mrsnowden
  1. copy "$HOME"/.ssh/id_rsa_mrsnowden.pub to clipboard
  2. git.fuwafuwa.moe > settings > SSH/GPG Keys > add key (paste from clipboard)
  3. $ firefox https://codeberg.org/crimeflare/cloudflare-tor
  4. fork it (top right corner)
  5. go to the directory you want the project to be rooted in (hereafter we'll call it $project_root).
  6. anonymously download your fork: $ git clone git@mrsnowden:you/stop_cloudflare.git
  7. edit $project_root/stop_cloudflare/.git/config to include the account name and email address that will be on every commit, as well as the URL:
[user]
        email = noreply@example.com
        name = snowden
[remote "origin"]
        url = git@mrsnowden:snowden/stop_cloudflare.git
     	fetch = +refs/heads/*:refs/remotes/origin/*
[remote "upstream"]
        url = git@mrsnowden:crimeflare/cloudflare-tor.git
     	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master
  1. make your first change
  2. (from $project_root) $ git add . -u -n
  3. check that the files listed are what you changed and intend to push upstream
  4. if yes: $ git add . -u
  5. $ git commit -m 'description of first change'
  6. $ git push origin master
  7. $ firefox https://codeberg.org/crimeflare/cloudflare-tor
  8. make a new pull request

 

Whenever git operates on the stop_cloudflare project, all connections to git are automatically over Tor with this configuration (because the url in .git/config references the virtual host mrsnowden in ~/.ssh/config).


_click me_

How to edit files without account

It is possible to edit any files on this repository using shared editor. If you wish to collaborate anonymously, contact and show us how much activism you have done. You'll need a computer (smartphone not possible)


_click me_

About Cloudflare base domain list

Our mission is clear - stay away from Cloudflare.

If the subdomain.example.com is cloudflared, we add example.com to the database. (subdomain.example.com is the sub-domain of example.com. Only the owner of example.com can create sub-domain)

Even if whatever.example.com is not behind cloudflare we will raise a warning, because the base domain example.com is cloudflare user.

The owner of example.com can enable Cloudflare to whatever.example.com at any time without user's notice. It can be done from dash.cloudflare.com webpage or hitting Cloudflare API. The owner is supporting Cloudflare and this is severe security risk.

Until the owner completely stop using Cloudflare service for example.com, we do not remove example.com from the database.

There is no exception.


"amazonpayments.com"

$ getweb --headonly https://pages.amazonpayments.com/robots.txt

cf-cache-status: HIT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
alt-svc: h2="cflare******.onion:443"; ma=86400; persist=1
server: cloudflare
cf-ray: XXXXXXXXXXX-YYY

If the owner moved away from cloudflare completely, you are welcome to add example.com to the "ex_cloudflare_users.md" - after checking example.com with online tool below.

  1. Open "Is MITM?" webpage.

  2. Input gitlab.com and click Scan.

  3. Click test for detailed scan.

  4. If you got --- Finish ---, the domain might stopped using Cloudflare.

  • The domain will be automatically removed.
  • If the domain starts using Cloudflare again, it will be added again.

Only a few Cloudflare user leave Cloudflare. False positive is uncommon.