Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Tor Relay availability checker, for using it as a bridge in countries with censorship

NotificationsYou must be signed in to change notification settings

ValdikSS/tor-relay-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This small script downloads all Tor Relay IP addresses fromonionoo.torproject.org directly and via embedded proxies, and checks whether random Tor Relays are reachable from your Internet connection.

It could be used to find working Relay in a countries with Internet censorship and blocked Tor, and use it as Bridge to connect to Tor network, bypassing standard well-known nodes embedded into Tor code.

How to use with Tor Browser

Works on Windows and Linux. Not tested on macOS.

  1. Download latest version fromReleases page.
  2. Put the file into Tor Browser's directory.
  3. (Windows): Create a shortcut (link) to the file and append the following command line in shortcut settings:-g 2 --timeout 3 --browser --start-browser
    (Linux) : Create a shortcut to the file, launching it usingpython3, and append the following arguments:-g 2 --timeout 3 --browser --start-browser.
    The quick way to do this is to create a script with the following command:
    echo -e '#!/bin/sh\nexec python3' ./tor-relay-scanner-*.pyz '-g 2 --timeout 3 --browser --start-browser' > run.sh && chmod +x run.sh
  4. From now on, launch Tor Browser using the shortcut you've created in step 3. It will scan for reachable Relays, add it to Tor Browser configuration file (prefs.js), and launch the browser.

How to use with Tor (daemon)

This utility is capable of generatingtorrc configuration file containing Bridge information. Launch it with the following arguments:

--torrc --outfile /etc/tor/bridges.conf

And append:

%include /etc/tor/bridges.conf

to the end of/etc/tor/torrc file to make Tor daemon load it.

How to use as a standalone tool

Windows: download *.exe file fromReleases and run it in console (start → cmd)

Linux & macOS: download *.pyz file fromReleases and run it with Python 3.7+:
python3 tor-relay-scanner.pyz


[8]ページ先頭

©2009-2025 Movatter.jp