A fast, custom encrypted transport protocol written in Rust.
Go to file
ospab 9982b8b94b fix: correct crate name to json_comments 2026-05-16 19:25:27 +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 docs: add official specifications for OSTP 2026-05-15 18:51:13 +03:00
ostp fix: correct crate name to json_comments 2026-05-16 19:25:27 +03:00
ostp-client fix: correct crate name to json_comments 2026-05-16 19:25:27 +03:00
ostp-core fix: throw error on ARQ max_retries exceeded to prevent silent deadlock that caused infinite upload timeouts 2026-05-15 20:04:07 +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 feat(gui): implement real-time atomic status polling and multi-state UI feedback (Stopped/Handshaking/Established) and update JNI/core layers 2026-05-15 22:37:50 +03:00
ostp-server feat: resolve flow control, tun crash route cleanup, log pollution, padding caps 2026-05-15 18:34:32 +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(installer): use rename trick to bypass file locks and ensure all bundled files (tun2socks, wintun) are copied 2026-05-15 20:24:01 +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 chore: implement keep-alive, config comments, validation and CI/CD improvements 2026-05-16 18:20:53 +03:00
Cargo.toml CI/CD: release version v0.1.46 2026-05-16 19:24:08 +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.