Skip to content

Make StrictExitNodes 0|1 value

I'm using Tor to fight censorship in Russia, with my github repo containing a preconfigured Tor Expert (Tor core 0.4.8.13), with 172 stars, and great webtunnel bridges.

Youtube is "slowed" in Russia, but it has measures against Tor itself. So im using Tor and want Youtube to be watchable through it the same way it is from the normal network. Tor has a decent speed and decent stability especially with new webtunnel bridges, a REALLY great work from your team, but:

A lot of exit nodes from tor are partly banned on Youtube, mainly on music videos.

Steps to reproduce:

  1. Watch https://www.youtube.com/watch?v=O_ItSLCZWb0 and https://www.youtube.com/watch?v=W9lsWI7zhTY through the exit 0406DF11FC1C04CAF8B771CA2B9BA7C473E9DE4E. There is a video unavailable error.
  2. Watch the same videos through 8DB706C9B7ABA89F08FCE919DE18DAC63266EC8D. There is no video unavailable error.

So if I want people in Russia from my repo watch youtube without unwanted restrictions, I need to provide them only 8DB706C9B7ABA89F08FCE919DE18DAC63266EC8D node. But when this node is dead then this will happen:

image

Tor is not bootstrapping past 45%; I emulated the "dead exit" condition by changing only one letter. The most preferable behavior in this situation for me would be using a completely random exit when the main one is dead. So instead of freezing at 45% it for example will put a [warn] to your face with "exit nodes are unavailable, searching for new ones..." text in console and bootstrap normally to 100%, when StrictExitNodes is at 0. Default StrictExitNodes would be 1.

Edited by Verity-Freedom
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information