added README

This commit is contained in:
ilya
2026-06-18 04:25:44 +03:00
parent 61d7329926
commit d10fec703d
+70
View File
@@ -0,0 +1,70 @@
# Universal Bypass Tool
Network stack research tool. TCP tunnel with pluggable transports.
```
Client (SOCKS5) --> Transport (Yandex Docs WS) --> Exit Node --> Internet
```
## What it does
Sends TCP packets through Yandex Docs cursor messages. Client side runs a SOCKS5 proxy, exit node decapsulates and forwards to real internet.
## Structure
```
openflux/
├── main.go
├── transport/
│ ├── transport.go # Transport interface
│ └── yandex/ # Yandex Docs backend
├── tunnel/
│ ├── tunnel.go # TCP tunnel core
│ ├── endpoint.go # Virtual NIC
│ └── rawsocket.go # Raw socket (exit node)
├── socks5/ # SOCKS5 server
├── network/ # Checksums, packet parsing
└── utils/ # Debug logging
```
## Build
```bash
go mod tidy
go build -o openflux .
```
## Usage
Exit node (needs root):
```bash
sudo iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP
sudo ./openflux --exit-node --url "YOUR_YANDEX_DOC_URL" --debug
```
Client:
```bash
./openflux --client --url "YOUR_YANDEX_DOC_URL" --socks5 :1080 --debug
```
Then point your browser to SOCKS5 proxy at localhost:1080.
## Flags
| Flag | Default | Description |
|------|---------|-------------|
| `--client` | | Run as client |
| `--exit-node` | | Run as exit node |
| `--url` | `https://localhost` | Document URL |
| `--socks5` | `:1080` | SOCKS5 listen addr |
| `--debug` | `false` | Verbose logging |
| `--transport` | `yandex` | Transport backend |
## Adding new transports
Implement the `Transport` interface from `transport/transport.go`, add your package, register in main.go switch.
## License
Educational use only. Test on your own machines and networks.