ProxySS Mesh Core v3.8 • Quantum-Resistant Sharding

Next-Gen Encrypted Transport for Zero-Trust Tunnels

ProxySS orchestrates deterministic multi-hop cryptographic routing, obfuscating traffic signatures at line-rate speeds with sub-millisecond handshake overhead.

⚡ Quick Initialize curl | bash
curl -sSf https://get.proxyss.dev/init.sh | sh -s -- --tunnel=node-alpha

🛡️ Verified SHA-256 Digest: 9f84c...e21a

🚀 Deploy First Gateway 📊 Live Telemetry

1.84M

Active Relays

0.42ms

Mean Latency

Real-Time Mesh Topology
🔒 MESH_OPTIMIZED
💻
Client Edge [Localhost]
127.0.0.1:44301 • TLS 1.3 / Kyber-1024
Handshake OK
🌐
Transit Node #109 (Frankfurt-IX)
ChaCha20-Poly1305 • 9.8 Gbps
HOP_01
🛡️
Shield Proxy #442 (Tokyo-East)
Packet Scrambler: Active • Jitter: 0.08ms
HOP_02
🎯
Target Destination / Exit Node
Identity Masked • E2E Encrypted
Delivered
CIPHER XChaCha20
PACKET DROP 0.000%
RTT 14.2ms
⚙️ Protocol Fundamentals

Anatomy of Modern Shadowsocks & Pluggable Obfuscation

Shadowsocks utilizes symmetric authenticated encryption (AEAD) to strip packet metadata into indistinguishable high-entropy noise. Layered alongside SIP003 plugins, transport streams resist Active Probing, Deep Packet Inspection (DPI), and statistical entropy detection.

🔄

Shadowsocks Protocol Core

An asynchronous SOCKS5-derived secure tunneling standard. It acts as an transparent forwarder replacing standard proxy handshakes with symmetric pre-shared key (PSK) negotiation, rendering raw connection requests indistinguishable from uniform pseudorandom streams.

Handshake Style: 0-RTT Nonce-Prepended
Transport Modes: TCP Stream / UDP Relay
🔐

AEAD Encryption Primitives

Replaces obsolete stream ciphers (e.g., RC4, AES-CFB) with Authenticated Encryption with Associated Data. Each chunk enforces cryptographic message integrity tags to thwart replay, bit-flipping, and chosen-ciphertext attacks.

Standard Ciphers: AEAD_CHACHA20_POLY1305
Hardware Accelerated: AES-256-GCM (AES-NI)
🧩

SIP003 Plugin Architecture

A modular abstraction interface for traffic transformation. SIP003 spawns external child processes communicating via local loopback sockets or stdio pipes, wrapping raw AEAD payloads inside genuine TLS, WebSocket, or QUIC frames.

IPC Protocol: Standard I/O / Loopback
Environment Hook: SS_REMOTE_HOST / PORT

AEAD TCP Chunk Wire Format

Payload encapsulation layout under RFC 7539 / AEAD specifications

Max Payload: 0x3FFF (16383 Bytes)
Length Field (2B) [Encrypted Length] Chunk length uint16
Length Tag (16B) [Poly1305 / GCM Tag] Length verification
Payload (Variable) [Encrypted Payload Body] SOCKS5 Address + Raw Data
Payload Tag (16B) [Poly1305 / GCM Tag] Full body authentication

SIP003 Plugin Implementations: Cloak vs v2ray-plugin

Comparing camouflage techniques, defensive posture, and multiplexing capabilities.

Attribute / Metric v2ray-plugin (WebSocket / TLS) Cloak v2 (Multiplexed Camouflage)
Camouflage Strategy Simulates standard HTTP/1.1 or HTTP/2 WebSocket upgrade over TLS Stateful TLS mimicry masking as chosen CDN / domain with valid X.509 cert
Active Probing Defense Moderate (DPI probes with invalid WS handshake drop or return 400 Bad Request) Aggressive (Unauthorized probes are reverse-proxied to genuine web server)
CDN Compatibility Native (Full routing support behind Cloudflare, Fastly, AWS CloudFront) Direct IP/Domain only (Requires direct raw TCP handshake handling)
Multiplexing & Concurrency Available via mux option; higher overhead per socket Integrated smux engine; multi-session trunking over single TCP connection
User Authentication Shared secret embedded in URI path headers Multi-user asymmetric UID validation via Curve25519 ECDH keys

Pipeline Execution Topology

Source Client Browser / App
Local Daemon ss-local + Plugin
Remote Endpoint ss-server (AEAD)
🛠️ Production Deployment

Server-Side Daemon Provisioning

Step-by-step deployment configurations for bare-metal Linux servers and production-ready containerized stacks with kernel-level BBR congestion control.

Step 01

Create Directory Structure

Initialize a sandboxed location for the configuration keys, certs, and compose declarations.

Step 02

Generate Server Config

Define the AEAD cipher, listen ports, and SIP003 obfuscator parameters inside config.json.

Step 03

Launch Container Stack

Run the shadowsocks-rust daemon pinned to unprivileged runtime containers.

📄 docker-compose.yml
version: '3.8'

services:
  shadowsocks:
    image: ghcr.io/shadowsocks/ssserver-rust:latest
    container_name: proxyss-daemon
    restart: unless-stopped
    network_mode: "host"
    environment:
      - RUST_LOG=info
    volumes:
      - ./config.json:/etc/shadowsocks-rust/config.json:ro
    cap_drop:
      - ALL
    cap_add:
      - NET_ADMIN
      - NET_BIND_SERVICE
    logging:
      driver: "json-file"
      options:
        max-size: "20m"
        max-file: "3"
⚙️ config.json (AEAD 2022 / ChaCha20-Poly1305)
{
  "server": "0.0.0.0",
  "server_port": 8443,
  "password": "SetYourBase64StrongRandomKeyHere==",
  "method": "2022-blake3-chacha20-poly1305",
  "timeout": 300,
  "mode": "tcp_and_udp",
  "fast_open": true,
  "plugin": "v2ray-plugin",
  "plugin_opts": "server;tls;host=cdn.gateway.internal;cert=/etc/certs/fullchain.pem;key=/etc/certs/privkey.pem"
}
# Startup & Validation Commands
$ docker compose up -d
$ docker compose logs -f proxyss-daemon
📊 Stress Tests & Telemetry

Protocol Benchmarks & Cipher Metrics

Empirical evaluation comparing line-rate throughput, synthetic handshake latency, and hardware thread saturation across production cipher suites under simulated edge packet degradation.

Peak Single-Core
9.42 Gbps

AES-256-GCM + AES-NI

Arm64 Mobile Core
6.85 Gbps

ChaCha20-Poly1305

0-RTT Tunnel Handshake
0.18 ms

AEAD Session Resumption

Memory Footprint
14.8 MB

Per 10,000 Sockets

Cryptographic Cipher Throughput vs CPU Overhead

Benchmarked on 8-Core AMD EPYC 9654, 10Gbps link, Linux 6.5.0-generic

Target: 10 Gbps Saturation
⚡ AES-256-GCM (AES-NI Enabled)
CPU: 12% 9,420 Mbps
🛡️ 2022-BLAKE3-CHACHA20-POLY1305
CPU: 21% 8,180 Mbps
📦 CHACHA20-IETF-POLY1305 (ARM NEON / Fallback)
CPU: 26% 7,340 Mbps
🌐 SIP003 v2ray-plugin (WSS Outer Layer)
CPU: 48% 4,120 Mbps

Loss Resilience & Latency Variance (5% Synthetic Loss + 120ms Base RTT)

Simulating trans-Pacific undersea cables with active state filtering and random packet loss.

Configuration Profile Congestion Control Effective Bandwidth Handshake Penalty Memory Per Client Stability Score
Shadowsocks 2022 (Pure TCP) BBR v3 428 Mbps +0.22 ms 1.4 KB 99.8%
Shadowsocks + Cloak v2 CUBIC 210 Mbps +1.84 ms 6.2 KB 98.4%
Shadowsocks + v2ray (WSS Mode) BBR v1 164 Mbps +4.12 ms 18.9 KB 94.1%
Standard OpenVPN (Reference Baseline) RENO 34 Mbps +28.40 ms 42.0 KB 78.2%
🛡️ Threat Vector Hardening

Defensive Cryptography & DPI Evasion

State-level censors employ heuristic statistical profiling, replay fuzzing, and out-of-band active probing. Discover how ProxySS mitigates correlation vectors to guarantee wire-level indistinguishability.

🔍 Mitigation: RFC AEAD-2022

Active Probing & DPI Fingerprinting

Censors monitor suspicious high-entropy TCP connections and send crafted probes to provoke daemon responses. The 2022-AEAD specification enforces pre-shared key validation directly on the first packet, completely silently discarding malformed probes to prevent server enumeration.

Heuristic Signature: Entropy Scans / Fixed Offsets
Remediation Strategy: Silent Drop + Strict Nonce Cache
🔁 Mitigation: Bloom Sliding Window

Replay Attack Neutralization

Attackers duplicate valid recorded encrypted handshakes to confirm listener behaviors. ProxySS deploys a high-throughput in-memory Bloom filter combined with monotonic packet sequence numbers, rejecting any duplicate or expired salt/nonce pair unconditionally.

Sliding Window Horizon: 60 Seconds / 65,536 Nonces
False Rejection Rate: < 0.00001% (Zero Resends)
🌐 Mitigation: Remote Host Resolution

DNS Leak Prevention & Encrypted DoH

Standard operating system resolvers often leak plaintext domain requests via port 53 before proxy handshakes. ProxySS wraps all target domain resolutions into remote destination descriptors or proxies them strictly across a dedicated DNS-over-HTTPS (DoH) tunnel.

Client Resolution: Bypassed (0 Plaintext Packets)
Server Query Engine: DoH (RFC 8484) / Quad9-PFS
🎭 Mitigation: Dynamic Packet Padding

Traffic Morphology & Packet Padding

Advanced machine learning models identify video, VoIP, or web traffic by packet length distribution and timing intervals. Through random geometric payload padding, packet lengths are normalized to prevent packet-size metadata profiling.

Length Uniformity: MTU Chunk Fitting
Timing Jitter Injection: Pseudorandom 2ms–8ms

Production Node Hardening Audit

Essential baseline controls before exposing tunnels to hostile transit corridors.

● Zero-Trust Baseline
🩺 Fault Isolation & Telemetry

Diagnostics & Firewall Incident Matrix

Systematic triage protocols for identifying active interference, TCP RST injection, handshake timeouts, and MTU packet blackholing.

Filter Scope:
Severity: Critical Code: ERR_TCP_RST_INJECTED

Heuristic TCP Port Block / RST Injection

Connection establishes initially but abruptly terminates with a TCP RST flag after transferring roughly 20KB–50KB. The IP or port becomes completely unresponsive for 15–180 minutes.

# Probe Command
sudo tcpdump -ni any 'tcp[tcpflags] & (tcp-rst) != 0 and port 8443'
🛠️ Resolution Action:

Switch from raw AEAD to v2ray-plugin (WSS) behind Cloudflare CDN or activate Cloak v2 multiplexing on port 443 with a genuine SNI host.

Severity: High Code: ERR_ICMP_BLACKHOLE_DROP

MTU Clamping & DF Bit Dropping

TCP handshake completes cleanly and small CLI queries work, but large file transfers or high-resolution media streams freeze indefinitely due to dropped jumbo frames without ICMP Path MTU Discovery replies.

# Diagnostic Ping Test (Do Not Fragment)
ping -M do -s 1472 gateway.proxyss.dev
🛠️ Resolution Action:

Clamp MSS at the gateway: iptables -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu or manually set client interface MTU to 1280 (IPv6 safe baseline).

Severity: Medium Code: ERR_AEAD_TAG_AUTH_FAILED

AEAD Decryption Tag Mismatch / Replay Window Expire

Server logs display failed to authenticate payload or discarded expired replay salt. Handshake immediately dropped with 0 bytes returned.

# Chrony / NTP Health Check
chronyc tracking && timedatectl status
🛠️ Resolution Action:

Shadowsocks-2022 rejects nonces with timestamp deviations > 30 seconds. Synchronize server NTP via systemd-timesyncd and verify pre-shared key format encoding matches Base64 byte length.

Severity: Critical Code: ERR_DNS_BOGUS_BOGON_RETURN

GFW Transparent DNS Hijacking & Bogon Return

Queries over standard UDP port 53 immediately return false IP addresses (Facebook, Twitter, or military IP spaces) within 2ms, poisoning local resolver cache and preventing proxy ingress resolution.

# Direct Port 53 Bypass Check
dig @8.8.8.8 +short twitter.com
🛠️ Resolution Action:

Never execute raw local DNS lookup. Enforce SOCKS5 address type 0x03 (Domain Name) to delegate all address resolutions to the remote Shadowsocks node.

Interactive MTU / MSS Overhead Calculator

Calculate optimal maximum segment size (MSS) to prevent fragmentation penalty.

Standard Base MTU: 1500
Recommended Client MTU 1450
Clamped TCP MSS 1410
💾 Artifact Registry

Verified Releases & Signed Builds

Cryptographically signed client packages, daemon binaries, and hardened configuration manifests. Verify all distributions against official SHA-256 digests.

🔑

Release Signing Key Fingerprint

E5A2 C48D 93BF 1709 881E  7B92 4DF1 08CA 3F65 BE12

📋 Import PGP Key ✓ GPG Verified
🪟
ProxySS Desktop GUI for Windows v4.3.0 x86_64

Built-in TUN mode, system proxy auto-fallback, SIP003 sub-process supervisor.

SHA-256: d3c8f1e94817a5b306bce8f1109a15d2a93427ec561cfcb76ef8a9034293f77a
✓ EV Code Signed
🍎
ProxySS for macOS (Universal) v4.3.0 Apple Silicon + Intel

Network Extension API, native status bar tray, zero-copy packet engine.

SHA-256: 8a2c7e0b5f1349892c90df621a78eec5594bc019a7e6d091b6194723fa01ef41
✓ Apple Notarized
🐧
ProxySS Linux Desktop & CLI Bundle v4.3.0 tar.gz / AppImage

Standalone binary bundle including ss-local, sslocal-tun, and plugin shims.

SHA-256: 19b43e82ac2429a1b41f71a9386d90141f1295b3fef3c8a90c1f60021cbb4730
✓ Musl Static Link
🤖
ProxySS Mobile for Android v2.1.6 F-Droid & APK

Per-app proxy routing, VpnService sandbox, low battery wake-lock optimization.

SHA-256: 5e4f2010b991da7a998ce87515cb26ef488102e35b7194f1c1fca830607daff7
✓ Reproducible Build
🛡️
Integrity Verification Command Verify local binary matches published digest before executing in production:
echo "<HASH> <FILENAME>" | sha256sum --check
📢 Security Bulletins & Community

CVE Disclosures & Protocol Upgrades

Automated vulnerability disclosures, cipher deprecation calendars, and verified community communication pipelines for network infrastructure engineers.

🚨 Recent Critical Advisories

RSS / Atom Synchronized
CRITICAL (CVSS 9.1) CVE-2024-38910
2024-09-18

Stream Cipher Salt Reuse Timing Leakage in Legacy SS Implementations

Implementations utilizing aes-cfb or chacha20 (non-IETF non-AEAD) without sub-session ratcheting are susceptible to passive plaintext extraction via side-channel timing analysis.

Fix: Upgrade to shadowsocks-rust >= v1.18.0 & enforce AEAD 2022 Read Advisory ↗
HIGH (CVSS 7.8) ADV-2024-004
2024-08-02

SIP003 Plugin IPC Stdio Desynchronization under Synthetic Backpressure

High concurrent throughput exceeding 100k IOPS could trigger deadlocks in pipe descriptors between child proxy shims and parents, leading to unhandled daemon restarts.

Status: Resolved in v2ray-plugin v1.3.3 & Cloak v2.8.0 Read Advisory ↗
Automated Dispatch Subscriptions Receive instant webhook alerts on zero-day disclosures.

📅 Protocol Lifecycle Roadmap

Q4 2024: End of Support Legacy Stream Ciphers (CFB/OFB)
Sunset
Q1 2025: Standard Default 2022-BLAKE3 Post-Quantum Resilient
Enforced
Q3 2025: SIP004 Draft eBPF Line-Rate Kernel Hooking
Proposal
🐞

Found a security flaw or side-channel leakage vector?

Our vulnerability bounty program offers up to $15,000 for verified cryptographic compromises.

Submit Encrypted PGP Report