0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-12-24 00:20:41 +00:00
cloudflare-tor/INSTRUCTION.md

359 lines
12 KiB
Markdown
Raw Normal View History

2020-03-18 10:28:19 +00:00
# List Instructions
2020-05-19 10:12:10 +00:00
![](https://codeberg.org/crimeflare/cloudflare-tor/media/branch/master/image/imnotarobot.gif)
2020-03-18 10:28:19 +00:00
---
<details>
<summary>_click me_
## Website is using Cloudflare
</summary>
- **Cloudflare users** | [**List Directory**](cloudflare_users/)
| List name | Description |
| -------- | -------- |
2020-06-02 09:50:01 +00:00
| /domain/cloudflare_?.txt | Split files (base domain) |
2020-11-13 13:45:45 +00:00
| ex_cloudflare_users.md | Domains which used Cloudflare in the past, not anymore |
2020-03-18 10:28:19 +00:00
| cloudflare_supporter.txt | who is using Cloudflare or endorsing Cloudflare. (URL only) |
- **Cloudflare Corporation** | [**List Directory**](cloudflare_inc/)
| 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 |
2020-10-21 01:07:28 +00:00
| cloudflare_members.md | Cloudflare employer, employee, ex-employee |
2020-03-18 10:28:19 +00:00
**How to detect Cloudflare?**
There are many ways to detect it:
- Add-on "[Bloku Cloudflaron MITM-Atakon](subfiles/about.bcma.md)" will help your Cloudflare collection.
- Add-on "[Ĉu ligoj estas vundeblaj al MITM-atako?](subfiles/about.ismm.md)" will tell you which link is Cloudflared.
2020-08-12 12:46:15 +00:00
- Visit a website via Tor or VPN, and you will be greeted by "_Attention Required! Cloudflare_" or "_Checking your browser_" webpage.
2020-11-10 09:33:11 +00:00
- Use "Is MITM?" webpage. [Clearnet](https://crimeflare.eu.org/ss/tool_ismitm.php) / [Tor](https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/ss/tool_ismitm.php)
2020-11-14 08:17:54 +00:00
- Search [cloudflare domain list](cloudflare_users/domain/). Karma's ["Find Cloudflare Domains" API](http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_cf.php)
2020-03-18 10:28:19 +00:00
- Dig "[NS record](https://www.digwebinterface.com/?hostnames=emsisoft.com&type=NS&ns=resolver&useresolver=8.8.4.4&nameservers=)" of the domain.
```
emsisoft.com. 21599 IN NS bella.ns.cloudflare.com.
emsisoft.com. 21599 IN NS dom.ns.cloudflare.com.
```
- Dig "[A record](https://www.digwebinterface.com/?hostnames=dev.qubes-os.org&type=A&ns=resolver&useresolver=8.8.4.4&nameservers=)" of the FQDN, then [check the IP's owner](https://ipinfo.io/104.18.228.122).
```
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!**
2020-11-13 13:45:45 +00:00
Are you sure? *Remove* it from /split/ list and *add* to "[ex_cloudflare_users.md](cloudflare_users/ex_cloudflare_users.md)".
2020-03-18 10:28:19 +00:00
</details>
------
<details>
<summary>_click me_
## Website is NOT using Cloudflare
</summary>
- **Non-Cloudflare CDN users** | [**List Directory**](not_cloudflare/)
| List name | Description |
| -------- | -------- |
2020-08-12 12:46:15 +00:00
| /cidr_data/?.txt | CIDR, ASN, NS |
2020-03-18 10:28:19 +00:00
2020-06-02 09:50:01 +00:00
```
CDN_Code
Z1 Amazon
Z2 Akamai
//Z3 Cloudflare
Z4 Imperva
Z5 Google
Z6 Microsoft
Z7 INAP
Z8 Sucuri
Z9 Fastly
```
2020-03-18 10:28:19 +00:00
- Add-on "[Kiu retejo malakceptis min?](subfiles/about.urjm.md)" will help your domain collection.
2020-05-19 10:12:10 +00:00
![](https://codeberg.org/crimeflare/cloudflare-tor/media/branch/master/image/siteground.jpg)
2020-03-18 10:28:19 +00:00
- Above is how Siteground-hosted([INAP](https://www.inap.com/press-release/inap-completes-acquisition-singlehop/);[Singlehop](https://www.siteground.com/blog/siteground-partners-singlehop/)) sites often appear to Tor visitors when timeouts/tarpitting doesn't occur.
2020-11-13 07:21:24 +00:00
Some websites combine other companies (e.g. Amazon AWS, Google Cloud, DDoS-GUARD) _with_ the Cloudflare business model.
![](https://codeberg.org/crimeflare/cloudflare-tor/media/branch/master/image/cloudflare_with_ddosguard.jpg)
2020-03-18 10:28:19 +00:00
</details>
------
<details>
<summary>_click me_
## Website is rejecting Tor visitor
</summary>
- **Anti-Tor users** | [**List Directory**](anti-tor_users/)
| List name | Description |
| -------- | -------- |
2020-07-08 22:58:56 +00:00
| /fqdn/attd.txt | **Block Tor access** Split files, Everything (FQDN) |
| hostility.md | **Does NOT block Tor access** Domain and Comment |
2020-03-18 10:28:19 +00:00
- Add-on "[Kiu retejo malakceptis min?](subfiles/about.urjm.md)" will help your domain collection.
- Add-on "[Ĉu ĉi tiuj ligoj blokos Tor-uzanton?](subfiles/about.isat.md)" will tell you which link rejected Tor visitor.
2020-11-14 08:17:54 +00:00
- Search [anti-tor fqdn list](anti-tor_users/fqdn/). Karma's ["Find Anti-Tor FQDN" API](http://avrynpc2q7pknqa3ucf5tvjcwad5nxvxgwnzvl2b6dx6uo4f7nc7zzqd.onion/a/is_at.php)
2020-03-18 10:28:19 +00:00
2020-05-19 10:12:10 +00:00
![](https://codeberg.org/crimeflare/cloudflare-tor/media/branch/master/image/tor_nontor_diff.jpg)
2020-03-18 10:28:19 +00:00
2020-05-19 10:15:52 +00:00
- 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_".
2020-06-25 07:59:43 +00:00
![](https://codeberg.org/crimeflare/cloudflare-tor/media/branch/master/image/imunify360.jpg)
2020-06-26 00:24:25 +00:00
- [Imunify360](https://web.archive.org/web/20200617160904/https://www.imunify360.com/) is not so [intelligent](https://whc.ca/blog/introducing-imunify360-your-new-intelligent-firewall/) because it is blocking real human.
2020-06-25 07:59:43 +00:00
2020-05-19 10:15:52 +00:00
- 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?**
2020-03-18 10:28:19 +00:00
```
2020-07-08 22:58:56 +00:00
About "Anti-Tor FQDN list" (attd*.txt)
2020-03-18 10:28:19 +00:00
www.example.com
---> www.example.com denied/bullied Tor visitor.
?.akamaiedge.net
---> subdomain of akamaiedge.net is denied Tor user.
2020-06-25 08:01:34 +00:00
* unique hostname will be masked as "?" for privacy reason
2020-03-18 10:28:19 +00:00
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.
2020-06-25 07:59:43 +00:00
**But my website X no longer blocking Tor users!**
2020-03-18 10:28:19 +00:00
Are you sure? There are two ways to remove yourself.
First option is just _*remove* it from the list_ and _create a pull request_.
2020-06-02 09:53:49 +00:00
Second option is _wait 1 year_. Our system will revisit your website as a Tor user.
2020-03-18 10:28:19 +00:00
2020-06-02 09:53:49 +00:00
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.
2020-03-18 10:28:19 +00:00
</details>
------
<details>
<summary>_click me_
## How to add your data
</summary>
A or B will be enough. Thank you for your contribution.
2020-07-10 00:07:01 +00:00
> Type A: Push to Codeberg
2020-03-18 10:28:19 +00:00
2020-07-10 00:07:01 +00:00
1. Log in to *Codeberg*.
2020-06-02 09:50:01 +00:00
- **WARNING**: Do note that Codeberg is blocking temporary email services and some minor email providers(not temporary email).
2020-05-19 10:12:10 +00:00
- If you're Tor user, we recommend 'type B'.
2020-03-18 10:28:19 +00:00
2. Click "*Fork*" button. (top-left corner)
3. Edit text file.
4. Click *Double-arrow* button to create a *new pull request*.
2020-06-03 02:59:18 +00:00
> Type B: Just scan the FQDN
2020-03-18 10:28:19 +00:00
2020-11-09 03:04:45 +00:00
- Cloudflare
2020-11-10 09:33:57 +00:00
- Scan FQDN on "[Is MITM?](https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/ss/tool_ismitm.php)" webpage.
2020-07-09 11:20:04 +00:00
- Or: Use add-on "[Ĉu ligoj estas vundeblaj al MITM-atako?](subfiles/about.ismm.md)"
- Or: Use "_MITM test_" API.
2020-07-10 00:07:01 +00:00
- e.g. `curl -x socks5h://127.0.0.1:9050 -k --http2 (API URL)ismitm.php?f=www.emsisoft.com`
2020-05-19 10:12:10 +00:00
- Anti-TOR
2020-07-09 11:20:04 +00:00
- Use "_Is it blocking Tor?_" API.
2020-07-10 00:07:01 +00:00
- e.g. `curl -x socks5h://127.0.0.1:9050 -k --http2 (API URL)is_antitor.php?f=www.cloudflare.com`
2020-07-09 11:20:04 +00:00
- Or: Use add-on "[Ĉu ĉi tiuj ligoj blokos Tor-uzanton?](subfiles/about.isat.md)"
2020-05-19 10:12:10 +00:00
2020-11-10 09:33:57 +00:00
Public API Details [](https://cfe.nnpaefp7pkadbxxkhz2agtbv2a4g5sgo2fbmv3i7czaua354334uqqad.onion/#!op=info/api)
2020-07-09 11:27:19 +00:00
<br>
2020-06-02 09:50:01 +00:00
Your contribution will be pushed to Codeberg automatically within a week.
2020-03-18 10:28:19 +00:00
</details>
------
<details>
<summary>_click me_
## How to setup git
</summary>
2020-06-03 02:59:18 +00:00
This procedure will give you a stop_cloudflare fork with a privacy-respecting configuration to do pushes with SSH over Tor using codeberg.org("CDB").
2020-07-10 00:07:01 +00:00
Below procedure is designed for _Linux_.
2020-03-18 10:28:19 +00:00
The first step covers Windows too, but these instructions probably
need more adaptations for Windows and other platforms.
- Linux: `aptitude install git tor ssh`
2020-06-03 02:59:18 +00:00
- Windows: Download `PortableGit` from [Github](https://github.com/git-for-windows/) & run `git-bash.exe`
2020-03-18 10:28:19 +00:00
2020-06-03 02:59:18 +00:00
1. Install Git, SSH(Not Windows), and Tor (if you haven't already)
1. Create a `codeberg.org` account (username "snowden" will be used for this example)
- **NOTICE**: Codeberg is blocking temporary email services and some minor email providers(not temporary email).
1. Create an SSH key pair `$ ssh-keygen -t rsa -N '' -C 'snowden at codeberg' -f "$HOME"/.ssh/id_rsa_codeberg-snowden`
1. Edit `$HOME/.ssh/config`:
2020-03-18 10:28:19 +00:00
```
2020-05-19 10:12:10 +00:00
host codeberg.org
hostname codeberg.org
2020-03-18 10:28:19 +00:00
ForwardX11 no
ProxyCommand connect -4 -S 127.0.0.1:9050 $(tor-resolve %h 127.0.0.1:9050) %p
host codeberg-snowden
IdentityFile /home/user/.ssh/id_rsa_codeberg-snowden
```
1. copy `"$HOME"/.ssh/id_rsa_codeberg-snowden.pub` to clipboard
1. codeberg.org > settings > SSH/GPG Keys > add key (paste from clipboard)
1. $ `firefox https://codeberg.org/crimeflare/cloudflare-tor`
1. fork it (top right corner)
1. go to the directory you want the project to be rooted in (hereafter we'll call it `$project_root`).
1. anonymously download your fork: $ `git clone git@codeberg-snowden:crimeflare/cloudflare-tor.git`
1. edit `$project_root/cloudflare-tor/.git/config` to include the account name and email address that will be on every commit, as well as the URL:
```
[user]
email = BM-yadayadayada6fgnLfybVnCcWf25AGZcgg@bitmessage.ch
name = snowden
[remote "origin"]
url = git@codeberg-snowden:snowden/cloudflare-tor.git
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "upstream"]
url = git@codeberg-snowden:crimeflare/cloudflare-tor.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
```
1. make your first change
1. (from `$project_root`) $ `git add . -u -n`
1. check that the files listed are what you changed and intend to push upstream
1. if yes: `$ git add . -u`
1. $ `git commit -m 'description of first change'`
1. $ `git push origin master`
1. $ `firefox https://codeberg.org/crimeflare/cloudflare-tor`
1. make a new pull request
&nbsp;
Whenever git operates on the cloudflare-tor project, all connections
to codeberg are automatically over Tor with this configuration
(because the `url` in `.git/config` references the virtual host
`codeberg-snowden` in `~/.ssh/config`).
</details>
------
<details>
<summary>_click me_
## About Cloudflare base domain list
</summary>
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"
2020-03-18 10:28:19 +00:00
$ getweb --headonly https://pages.amazonpayments.com/robots.txt
2020-03-18 10:28:19 +00:00
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
```
2020-11-13 13:45:45 +00:00
If `the owner` moved away from `cloudflare` **completely**, you are welcome to add `example.com` to the "[ex_cloudflare_users.md](cloudflare_users/ex_cloudflare_users.md)" - after checking `example.com` with online tool below.
2020-03-18 10:28:19 +00:00
2020-11-10 09:33:57 +00:00
1. Open "`Is MITM?`" webpage.
2020-03-18 10:28:19 +00:00
2020-05-23 05:15:24 +00:00
2. Input `gitlab.com` and click `Scan`.
2020-03-18 10:28:19 +00:00
2020-05-23 05:15:24 +00:00
3. Click `test` for detailed scan.
2020-03-18 10:28:19 +00:00
2020-11-13 13:45:45 +00:00
4. If you got `---Finish---`, the domain _might_ stopped using Cloudflare.
We'll _investigate_ and remove it _if_ it is true.<br>
You may prioritize your review request by contacting us if you are in a hurry.
5. [Optional] Wait some days and scan again to see whether the domain is removed.
2020-03-18 10:28:19 +00:00
2020-06-02 09:53:49 +00:00
2020-03-18 10:28:19 +00:00
`Only a few Cloudflare user leave Cloudflare. False positive is uncommon.`
</details>
---
!["Cloudflare is not an option."](image/cfisnotanoption.jpg)