contents.lr 4.61 KB
Newer Older
1
2
_model: page
---
Antonela's avatar
Antonela committed
3
4
color: primary
---
5
6
7
8
title: Bad relays
---
body:

nyxnor's avatar
nyxnor committed
9
Ran into a misconfigured, malicious, or suspicious relay while using Tor? Please let us know by sending email to bad-relays AT lists DOT torproject DOT org! Many bad relays are caught thanks to our wider community, so many thanks for all your help and vigilance! The criteria for rejecting bad relays can be found in the [wiki](https://gitlab.torproject.org/tpo/network-health/team/-/wikis/Criteria-for-rejecting-bad-relays)
10
11
12
13
14
15
16

### What is a bad relay?

A bad relay is one that either doesn't work properly or tampers with our users' connections. This can be either through maliciousness or misconfiguration. Some common examples are...

 * Tampering with exit traffic in any way (including dropping accepted connections). This might be accidental (such as an anti-virus filter) or malicious (commonly SSLStrip, which replaces https:// links with http:// to snoop on traffic) or even intentional (such as layer 7 inspection for P2P traffic detection/mitigation).
 * Running HSDirs that harvest and probe .onion addresses
Antonela's avatar
Antonela committed
17
 * Manipulating the DHT that is used for onion services, e.g., by positioning itself in the DHT.
18
 * Using a DNS provider that censors its results (such as some [OpenDNS](http://www.opendns.com) or Quad (9.9.9.9) configurations).
19
 * Performing a [Sybil attack](https://en.wikipedia.org/wiki/Sybil_attack), which means flooding the network with new relays in an effort to deanonymize users. If you want to run multiple relays then that's great! But please be sure to set the [MyFamily parameter](https://www.torproject.org/docs/tor-manual.html.en#MyFamily).
Antonela's avatar
Antonela committed
20
21
 * Exit relays routing their exit traffic back into the tor network (not actually exiting any traffic)

22
Also, if your relay is stolen or goes missing, please report it as well, so we can blocklist it in case whoever took it puts it back online.
23

Antonela's avatar
Antonela committed
24
The following are currently permitted yet do have some discussion for prohibition (as such, they should not be reported at this time)...
25

Antonela's avatar
Antonela committed
26
 * Only allowing plain-text traffic (for instance, just port 80). There's no good reason to disallow its encrypted counterpart (like port 443), making these relays highly suspect for sniffing traffic. See [context](https://www.google.com/search?site:torproject.org+80+443+6667) and [spec](https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n1969).
27
28
29
30
31
32
33
34
35

### How do I report a bad relay?

If you encounter a bad relay then please let us know and write to `bad-relays AT lists DOT torproject DOT org`.

You can check which exit you are using at any time by visiting [tor check](https://check.torproject.org/). Please include the following in your report:

 1. The relay's IP address or fingerprint. The fingerprint is a forty-character hex string such as `203933ED4E55EF8A3C3518427D1A1ED6A4CC285E`.
 2. What kind of behavior did you see?
Antonela's avatar
Antonela committed
36
 3. Any additional information we'll need to reproduce the issue.
37

Gustavo Gus's avatar
Gustavo Gus committed
38
However, if you need help with anything Tor-related, please contact the [front desk](https://www.torproject.org/about/contact) instead.
39
40
41
42
43

### What happens to bad relays?

After a relay is reported and we've verified the behavior we'll attempt to contact the relay operator. Often we can sort things out but if not (or the relay lacks contact information) we'll flag it to prevent it from continuing to be used.

Gus's avatar
Gus committed
44
We have three types of flags we can apply:
45
46
47

 * BadExit - Never used as an exit relay (for relays that appear to mess with exit traffic)
 * Invalid - Never used unless AllowInvalidNodes is set (by default this only allows for middle and rendezvous usage)
Antonela's avatar
Antonela committed
48
 * Reject - Dropped from the consensus entirely
49

Antonela's avatar
Antonela committed
50
Which we use depends on the severity of the issue, and if it can still be safely used in certain situations.
51

Dimitris Apostolou's avatar
Dimitris Apostolou committed
52
### My relay was given the BadExit flag. What's up?
53

Antonela's avatar
Antonela committed
54
In just about all cases we're unable to contact the operator to resolve the issue, so if your relay has been flagged as a BadExit then please let us know (see above for contact info) so we can work together to fix the issue.
55
56
57
58
59

### Do you actively look for bad relays?

Yes. For our automated issue detection see [exitmap](http://www.cs.kau.se/philwint/spoiled_onions/) and [sybilhunter](https://gitweb.torproject.org/user/phw/sybilhunter.git/).

Gustavo Gus's avatar
Gustavo Gus committed
60
Other monitors include [tortunnel](https://github.com/moxie0/tortunnel), [SoaT](https://gitweb.torproject.org/torflow.git/tree/NetworkScanners/ExitAuthority/README.ExitScanning), [torscanner](https://code.google.com/p/torscanner/), and DetecTor.
61
62
63
64
65
66
67
68
69
70
71
72


---
html: two-columns-page.html
---
key: 7
---
section: Community Resources
---
section_id: bad-relays
---
subtitle: Learn how to report relays that either doesn't work properly or tampers with our users' connections