Go-MultiTor

command module
v0.0.0-...-5e016a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2022 License: GPL-3.0 Imports: 19 Imported by: 0

README

Go Multi Tor

Multitor with golang

Purpose

this tools was inspired by multitor,but multitor was not very scalable with container and have issuse with high memory usage

Workflow

                            ┌───────────────────────┐
                            │                       │
                            │      Mux (Rest api)   │
            ┌───────────────┤                       ├───────────────────────────┐
            |               │       Controller      │                           │
            |               │                       │                           │
            |               └────────────┬──────────┘                           │
            |                            │                                      │
            |                            │                                      │
            |                            │                                      │
            |                            │                                      │
            |                            │                                      │
            |                            │                                 xxxxx│xxxxxxxxxx
            |                            │                                 x ┌──┴─────┐   x
            |                            │                                 x │        │   x
            |                            │                                 x │ Tor    │   x
            |                            │                ┌────────────────x─┤        │   x
            │                            │                │                x └────────┘   x
            │                            │                │                x  Tor cluster x
            │            ┌───────────────┴────────────────┤                x ┌────────┐   x
            │            |                                │                x │        │   x
 User       ├────────────┤  Socks5 tcp load balancer      ├────────────────x─┤ Tor    │   x
                         │                                │                x │        │   x
                         └────────────────────────────────┤                x └────────┘   x
                                                          │                x              x
                                                          │                x ┌────────┐   x
                                                          │                x │        │   x
                                                          └────────────────x─┤ Tor    │   x
                                                                           x │        │   x
                                                                           x └────────┘   x
                                                                           xxxxxxxxxxxxxxxx
                                                                            

Create a bunch of tor circuit > load balancing theme with round robin > serve as http socks5 proxy

Requirement

  • tor
  • go1.16.5 linux/amd64

Use

Deploy

docker run -it -d -p 1412:1412 -p 2525:2525 --name=go-multitor justhumanz/go-multitor

Test

while true;do curl -x socks5://localhost:1412 https://ifconfig.me;printf "\n";done

Rest API

soon

Features

  • Scalable tor circuit
  • Rest API
  • Http proxy
  • Scoks5 load balancer
  • Rest API use authentication
  • Multiple tor circuit nodes
  • Tor health check

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL