]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
Tor: allow enforcing distinct Guard relays or countries
authorPeter Müller <peter.mueller@ipfire.org>
Wed, 4 Nov 2020 21:28:50 +0000 (22:28 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Nov 2020 17:20:51 +0000 (17:20 +0000)
commit7c507f3d5bd855aa30ed4c11a2c43c0e42350ae3
treed41da127bcf0974d388979daab089a40df748f05
parent5efe8957a553d024a95a1201672a0755b8084e39
Tor: allow enforcing distinct Guard relays or countries

In order to make deanonymisation harder, especially high-risk Tor users
might want to use certain Guard relays only (for example operated by
people they trust), enforce Tor to use Guard relays in certain countries
only (for example countries with very strict data protection laws or
poor diplomatic relations), or avoid Guard relays in certain countries
entirely.

Since Tor sticks to sampled Guards for a long time (usually within the
range of months), restricting those is believed to cause less harm to a
users' anonymity than restricting Exit relays, since their diversity of
a generic Tor user is significantly higher.

This patch extends the Tor CGI for restricting Guard nodes to certain
countries or relays matching certain fingerprints.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/tor.cgi