frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Ustps (UDP Speedy Transmission Protocol Secure) and USSH

https://github.com/x1colegal/USTP-Secure
3•x1colegal•1h ago
Hi HN,

Over the last few days I've been building USTPS (UDP Speedy Transmission Protocol Secure), an experimental encrypted transport protocol built on top of UDP.

The primary goal of USTPS is low-latency video streaming. A server can take a video source and expose it through a USTPS endpoint, while Linux and Android (Termux) clients receive the stream and expose it locally to applications such as VLC, mpv, and FFmpeg.

Although streaming is the main focus, USTPS is not limited to media delivery. It can also be used for other reliable encrypted UDP-based applications, which is why I built USSH on top of it.

Some of the main design differences compared to TCP-based transports are:

- USTPS is reliable but unordered. - If packet N is lost, later packets can still be accepted and processed immediately. - Missing packets are recovered through selective retransmission. - Ordering is handled by the application layer when needed.

This means the transport layer itself does not introduce Head-of-Line Blocking. The tradeoff is that applications which require ordering must implement reordering themselves. I consider this a reasonable tradeoff because it avoids forcing every application to pay the cost of transport-level ordering.

For media player compatibility, the default USTPS client creates a local TCP endpoint at 127.0.0.1:1238.

The client maintains a small reordering buffer (350 ms by default) to give retransmissions time to arrive before forwarding data to the local TCP stream. This allows existing software such as VLC, mpv, and FFmpeg to work without modification.

USTPS currently provides:

- Reliable delivery using ACKs and selective retransmissions - X25519 key exchange - AEAD encryption (AES-GCM and ChaCha20-Poly1305) - Optional unordered live output mode - Stream position metadata - Multi-client support - Local TCP compatibility output - No congestion control (currently intentional)

While developing USTPS, I also built USSH, an SSH-like remote shell running entirely over USTPS.

USSH uses the same unordered transport underneath, but the client reconstructs and orders terminal data before presenting it to the user. This prevents terminal corruption while still allowing the transport layer itself to remain unordered.

USSH includes:

- Interactive terminal sessions - PTY support - Password authentication - Host key verification (TOFU) - End-to-end encrypted communication through USTPS

I'm currently using USSH from my Android phone through Termux to manage my VPS.

The project is very young (less than a week old) and is primarily experimental and educational. I'm interested in feedback from people working on transport protocols, streaming systems, SSH implementations, QUIC, SCTP, and networking software.

USTP-Secure: https://github.com/x1colegal/USTP-Secure

USSH: https://github.com/x1colegal/USSH

Internet-Drafts:

USTPS Draft: https://datatracker.ietf.org/doc/draft-x1co-ustps/

USSH Draft: https://datatracker.ietf.org/doc/draft-x1co-ussh/

Questions, criticism, and suggestions are welcome.

Comments

mlhpdx•1h ago
Seems like we’re barking up the same tree:

https://github.com/proxylity/raptor

Show HN: Performative-UI – A react component library of design tropes

https://vorpus.github.io/performativeUI/
756•lizhang•10h ago•154 comments

Show HN: Gitdot – a better GitHub. Open-source, written in Rust

https://gitdot.io/
135•baepaul•8h ago•118 comments

Show HN: Mach – A compiled systems language looking for contributions

https://github.com/octalide/mach
10•octalide•1h ago•1 comments

Show HN: Command Center, the AI coding env for people who care about quality

https://www.cc.dev/
28•Darmani•2h ago•7 comments

Show HN: Courtside – TUI for NBA Games

https://github.com/NolanFogarty/courtside
13•nolanfogarty•3d ago•3 comments

Show HN: I recreated AOL Instant Messenger in the browser

https://www.webaim.xyz
3•RgrTheShrubbr•1h ago•0 comments

Show HN: Ustps (UDP Speedy Transmission Protocol Secure) and USSH

https://github.com/x1colegal/USTP-Secure
3•x1colegal•1h ago•1 comments

Show HN: HTTP/3 and raw QUIC client/server APIs for Node.js

https://github.com/currentspace/http3
11•brian_meek•6h ago•0 comments

Show HN: Startup sci-fi novel that took me 5 years to write

https://www.blockchainednovel.com/
16•mck-•8h ago•4 comments

Show HN: macOS Apps on Linux: SwiftUI for Linux (and AppKit, NSFoundation, etc.)

https://github.com/Lore-Hex/QuillUI
2•ljlolel•4h ago•0 comments

Show HN: NoSuggest – Watch YouTube without the recommendation algorithm

https://www.nosuggest.com/
56•VJ-2-108•5d ago•57 comments

Show HN: Lathe – Use LLMs to learn a new domain, not skip past it

https://github.com/devenjarvis/lathe
379•devenjarvis•1d ago•69 comments

Show HN: I Derived a Pancake

https://www.absurdlyoptimized.com/recipes/pancakes/
329•bkazez•3d ago•131 comments

Show HN: Quick games disguised as boring spreadsheets

https://boredspreadsheet.com/workbook
6•kevinclelland•8h ago•0 comments

Show HN: Nightwatch, The open-source, read-only AI SRE

https://github.com/ninoxAI/nightwatch
29•egorferber•1d ago•9 comments

Show HN: A minimal, ad-free World Cup web-app for fixtures and live scores

https://wc2026.bisheshtiwaree.com/
4•btiwaree•7h ago•2 comments

Show HN: Kyushu – A self-hostable WASM sandbox for JavaScript workers

https://kyushu.dev/
82•le_chuck•1d ago•34 comments

Show HN: A Minecraft builder skill for coding agents

https://github.com/mattzh72/minecraft-builder-skill
3•mattzh1314•10h ago•0 comments

Show HN: Free animated icon library for Vue

https://respeak-io.github.io/lucide-motion-vue/
62•evolabs•4d ago•18 comments

Show HN: Formally verified polygon intersection – Opus 4.8 oneshots, prev failed

https://github.com/schildep/verified-polygon-intersection
92•permute•4d ago•21 comments

Show HN: I built a Fujifilm X-mount lens database across 10 brands

https://atlens.app/en/lenses/x/browse
4•sentacraft•10h ago•0 comments

Show HN: Kronotop – A distributed multi-model database built on FoundationDB

https://github.com/kronotop/kronotop
6•mastabadtomm•11h ago•0 comments

Show HN: Background Be Gone – Free App and CLI for Bg Removal on Mac

https://bgbgone.franzai.com
2•franze•11h ago•3 comments

Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens

https://github.com/zdk/lowfat
154•zdkaster•3d ago•76 comments

Show HN: OpenPayphone – open-source guts for a 1996 coin payphone (Pi and SIP)

https://github.com/eric-cgn/openpayphone
21•mcintyem•1d ago•1 comments

Show HN: Oproxy – inspect and modify network traffic from the browser

https://github.com/sauravrao637/oproxy
68•sauravrao637•1d ago•12 comments

Show HN: I put my Claude Code rate-limit burndown in the status line

https://www.aimhuge.com/blog/claude-code-status-line
8•fotoflo•21h ago•2 comments

Show HN: Stop returning raw JSON from MCP servers, build rich inline UIs

https://medium.com/towards-artificial-intelligence/mcp-apps-build-interactive-apps-directly-insid...
2•muhammad-shafat•6h ago•0 comments

Show HN: Inbox-beam – notifications in your inbox without sending email

https://github.com/toyoshi/inbox-beam
13•toyoshi•1d ago•2 comments

Show HN: I ported Xonotic to WASM

https://dpgame.xonotic.workers.dev/
4•astlouis44•8h ago•0 comments