Skip to content

Tornix provides an easy way to manage streams over Tor. The program separates streams across circuits by connection metadata.

Notifications You must be signed in to change notification settings

imthaghost/tornix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

net

Tornix is a user-friendly tool that enhances privacy and security on the Tor network by providing easy-to-manage stream isolation, enabling users to route their internet traffic securely through separate Tor circuits for discrete, protected online activities.


Usage

go get "github.com/imthaghost/tornix"

Examples

package main

import (
	"io"
	"log"

	"github.com/imthaghost/tornix"
)

func main() {
	// include the max concurrent sessions
	manager := tornix.NewManager(10)
	// start a new session
	session, client, err := manager.StartNewSession()
	if err != nil {
		log.Fatal(err)
	}

	// check your client's IP with AWS
	resp, err := client.Get("https://checkip.amazonaws.com")
	if err != nil {
		log.Fatal(err)
	}
	body, err := io.ReadAll(resp.Body)
	if err != nil {
		log.Fatal(err)
	}

	log.Println(string(body))
	// 185.220.100.254
}

About

Tornix provides an easy way to manage streams over Tor. The program separates streams across circuits by connection metadata.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages