https://github.com/imthaghost/tornix
Tornix provides an easy way to manage streams over Tor. The program separates streams across circuits by connection metadata.
https://github.com/imthaghost/tornix
go golang stream-isolation tor torsocks
Last synced: over 1 year ago
JSON representation
Tornix provides an easy way to manage streams over Tor. The program separates streams across circuits by connection metadata.
- Host: GitHub
- URL: https://github.com/imthaghost/tornix
- Owner: imthaghost
- Created: 2020-06-19T05:39:14.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T22:55:56.000Z (over 2 years ago)
- Last Synced: 2025-02-11T20:50:54.728Z (over 1 year ago)
- Topics: go, golang, stream-isolation, tor, torsocks
- Language: Go
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
```bash
go get "github.com/imthaghost/tornix"
```
# Examples
```go
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
}
```