A fast, custom encrypted transport protocol written in Rust.
Go to file
ospab a9ba941782 CI/CD: release version v0.1.59 2026-05-17 02:56:17 +03:00
.github/workflows fix: resolve build errors and remove GUI from main release; docs: improve READMEs 2026-05-16 19:15:04 +03:00
docs fix: implement non-blocking unbounded channels and clean stream reset on reconnect 2026-05-16 23:41:04 +03:00
ostp feat: add turn section to default client init template 2026-05-17 00:21:15 +03:00
ostp-client perf: heavily tune UDP socket buffers via socket2 to support 10Gbps+ micro-burst resilience 2026-05-17 02:19:59 +03:00
ostp-core fix: immediately ACK duplicate packets instead of silently dropping them to unblock client retries when ACKs are lost 2026-05-17 02:56:16 +03:00
ostp-gui chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
ostp-jni fix: implement non-blocking unbounded channels and clean stream reset on reconnect 2026-05-16 23:41:04 +03:00
ostp-server perf: heavily tune UDP socket buffers via socket2 to support 10Gbps+ micro-burst resilience 2026-05-17 02:19:59 +03:00
ostp-tun-helper chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
scripts fix: implement non-blocking unbounded channels and clean stream reset on reconnect 2026-05-16 23:41:04 +03:00
.gitattributes chore: enforce LF line endings on bash scripts via gitattributes to fix 'bad interpreter' on Linux 2026-05-15 19:08:03 +03:00
.gitignore fix: resolve build errors and remove GUI from main release; docs: improve READMEs 2026-05-16 19:15:04 +03:00
Cargo.lock fix: immediately ACK duplicate packets instead of silently dropping them to unblock client retries when ACKs are lost 2026-05-17 02:56:16 +03:00
Cargo.toml CI/CD: release version v0.1.59 2026-05-17 02:56:17 +03:00
Cross.toml CI/CD: Resolve MIPS Tier-3 compilation by instructing Cross to dynamically build-std library from source 2026-05-14 23:57:19 +03:00
LICENSE Initial public release: Ospab Stealth Transport Protocol v0.1.0 2026-05-14 21:41:54 +03:00
README.md feat: switch to JSON with comments (JSONC) for config; docs: update READMEs 2026-05-16 19:23:17 +03:00
README.ru.md feat: switch to JSON with comments (JSONC) for config; docs: update READMEs 2026-05-16 19:23:17 +03:00

README.md

OSTP (Ospab Stealth Transport Protocol)

Русский язык

GitHub Release License: BSL 1.1 Platform: Windows | Linux | macOS | Android

OSTP is a fast and secure transport protocol designed to bypass DPI and network restrictions. It masks traffic as high-entropy data, making it difficult to detect or block.


Features

  • Traffic Obfuscation: Hides VPN/proxy signatures from network analysis.
  • High Performance: Written in Rust using the gVisor network stack for low latency.
  • Reliable Connectivity: Built-in keep-alive mechanism for stable operation on mobile networks.
  • Flexible Modes: Supports SOCKS5/HTTP proxying and full-system TUN (VPN) mode.
  • Multi-platform: Compatible with Windows, Linux, macOS, and Android.

Installation

Linux

Run the installer script to set up OSTP as a system service:

bash <(curl -Ls https://raw.githubusercontent.com/ospab/ostp/master/scripts/install.sh)

Windows

Run the following in PowerShell as Administrator:

irm https://raw.githubusercontent.com/ospab/ostp/master/scripts/install.ps1 | iex

Configuration

Initialize a default config file:

./ostp --init server # For VPS
./ostp --init client # For local machine

Server (config.json)

{
  // OSTP Server Configuration
  "mode": "server",
  "listen": "0.0.0.0:50000",
  "access_keys": ["YOUR_KEY"],
  // Optional: forward traffic to another proxy
  "outbound": {
    "enabled": false,
    "protocol": "socks5",
    "address": "127.0.0.1",
    "port": 9050,
    "default_action": "proxy"
  }
}

Client (config.json)

{
  // OSTP Client Configuration
  "mode": "client",
  "server": "SERVER_IP:50000",
  "access_key": "YOUR_KEY",
  "socks5_bind": "127.0.0.1:1088",
  // Virtual network adapter settings
  "tun": {
    "enable": false,
    "wintun_path": "./wintun.dll",
    "ipv4_address": "10.1.0.2/24",
    "dns": "1.1.1.1"
  }
}

Usage

Start the node with your configuration:

./ostp --config config.json

For TUN mode on Windows, ensure tun2socks.exe and wintun.dll are in the same directory.


License

Business Source License 1.1. Free for personal and non-commercial use. Converts to MIT License on May 14, 2030.