tor-router v4.0.11 releases: A SOCKS, HTTP and DNS proxy for distributing traffic across multiple instances of Tor

Tor Router

Tor Router is a SOCKS5, DNS and HTTP proxy server for distributing traffic across multiple instances of Tor. At startup, Tor Router will run an arbitrary number of instances Tor and each request will be sent to a different instance in a round-robin fashion. This can be used to increase anonymity because each request will be sent on a different circuit and will most likely use a different exit-node, and also to increase performance since outbound traffic is now split across several instances of Tor.

Changelog v4.0.11

  • Fixes issue that occurs when tor router is run on node.js versions under 10

Install

git clone https://github.com/znetstar/tor-router.git
cd
npm install

To install globally run:

npm install -g tor-router

Alternatively, docker can be used. The build will retrieve the latest version of Tor from the official Tor Project repository.

To build run:

docker build -t znetstar/tor-router .

To start run:

 docker run --rm -it -p 9050:9050 znetstar/tor-router

tor-routerUsage

Command line switchEnvironment VariableDescription
-f, –configPath to a JSON configuration file to use
-c, –controlHostCONTROL_HOSTHost the control server will bind to and listen for TCP traffic (see below)
-w, –websocketControlHostWEBSOCKET_CONTROL_HOSTHost the control server will bind to and listen for WebSocket traffic
-j, –instancesINSTANCESNumber of Tor instances to spawn
-s, –socksHostSOCKS_HOSTHost the SOCKS proxy will bind to
-d, –dnsHostDNS_HOSTHost the DNS proxy will bind to
-h, –httpHostHTTP_HOSTHost the HTTP proxy will bind to
-l, –logLevelLOG_LEVELLog level (defaults to “info”) set to “null” to disable logging. To see a log of all network traffic set logLevel to “verbose”
-p, –parentDataDirectoryPARENT_DATA_DIRECTORYParent directory that will contain the data directories for the instances
-b, –loadBalanceMethodLOAD_BALANCE_METHODMethod that will be used to sort the instances between each request. Currently supports “round_robin” and “weighted”.
-t, –torPathTOR_PATHProvide the path for the Tor executable that will be used
-n, –proxyByNamePROXY_BY_NAMEControls how authenticated requests will be handled. Can be set to “individual”, “group” or false to disable

Tutorial

Copyright 2018 Zachary Boyd

Source: https://github.com/znetstar/

Share