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•37m ago
Seems like we’re barking up the same tree:

https://github.com/proxylity/raptor

AI, Argentina and the Antichrist: Thiel's Vision Blooms

https://www.thenerdreich.com/ai-argentina-and-the-antichrist-thiels-vision-blooms/
1•prawn•20s ago•0 comments

New command-line in macOS 27 for interacting with Foundation Models

https://bsky.app/profile/alex.zenla.io/post/3mnswr2qxb22i
1•alexzenla•1m ago•0 comments

Reading Buffett and Munger, the stuff that stuck had nothing to do with stocks

https://old.reddit.com/r/ValueInvesting/comments/1u0hbzt/spent_my_first_year_actually_reading_buf...
2•dkga•3m ago•0 comments

Our Stock Market Is Broken

https://www.nytimes.com/2026/06/08/opinion/spacex-ipo-stock-market.html
2•2OEH8eoCRo0•6m ago•0 comments

Autonomy Is Not a Switch

https://autonomousagents19.com/blog/governed-autonomy/approval-hybrid-autonomous-three-modes-of-t...
1•KissMySaas•13m ago•0 comments

macOS 27 requires Apple Silicon, as Apple draws down the Intel Mac era

https://arstechnica.com/gadgets/2026/06/macos-27-requires-apple-silicon-as-apple-draws-down-the-i...
2•gk1•16m ago•0 comments

How to Find Consulting Clients (2015)

https://www.gkogan.co/how-to-find-consulting-clients/
1•gk1•17m ago•0 comments

If only you could be so lucky as to feel regret

https://www.bitsofwonder.co/p/if-only-you-could-be-so-lucky-as
1•ogundipeore•17m ago•0 comments

Building Software Is Learning

https://registerspill.thorstenball.com/p/building-software-is-learning
1•baetylus•20m ago•0 comments

Same Query, Three Results: Benchmarking ParadeDB and Postgres FTS

https://www.paradedb.com/blog/benchmarker-iteration
1•jamesgresql•22m ago•1 comments

The Truth About Salt – By a Midwestern Doctor

https://www.midwesterndoctor.com/p/the-truth-about-salt-efa
1•bilsbie•25m ago•0 comments

Federal judge blocks H1B visa $100K fee

https://www.alaskasnewssource.com/2026/06/08/federal-judge-blocks-h1-b-visa-100k-fee/
4•naturalmovement•27m ago•0 comments

Let us filter AI slop, you cowards

https://www.theverge.com/ai-artificial-intelligence/942909/let-us-filter-ai-slop-google-youtube-m...
3•cdrnsf•27m ago•0 comments

1010220

https://www.1010220.com/
1•kidbomb•29m ago•0 comments

A cargo airship lifted by vacuum instead of helium (peer-reviewed)

https://www.sciencedirect.com/science/authShare/S1270963826011788/20260608T232600Z/1?md5=c16e82fa...
1•iliatoli•30m ago•0 comments

Meta Launches 'Workforce Academy' to Train Workers to Build Data Centers

https://www.wsj.com/tech/ai/meta-launches-workforce-academy-to-train-workers-to-build-data-center...
1•sebastian_z•30m ago•0 comments

France Slaps Nintendo with $46M Fine over Switch Joy-Con Drift

https://www.ign.com/articles/france-slaps-nintendo-with-46-million-fine-over-switch-joy-con-drift
1•rcy•31m ago•0 comments

US millionaire big-game hunter dies after being crushed by elephants

https://www.theguardian.com/us-news/2026/apr/24/millionaire-hunter-dies-elephants-gabon
3•PaulHoule•33m ago•4 comments

Getting Lois in Defense?

1•andrebenoit11•34m ago•0 comments

If HN policy disallows AI comments, why is linking to AI generated content ok?

5•ekelsen•35m ago•5 comments

Empire of the Air (PBS, 1992)

https://archive.org/details/empire-of-the-air
1•petethomas•37m ago•0 comments

Tests suggest Russian satellites can jam GPS on a continental scale

https://arstechnica.com/space/2026/06/tests-suggest-russian-satellites-can-jam-gps-on-a-continent...
5•emot•43m ago•0 comments

Elon Musk says SpaceX doesn't need 'magic' to put AI data centers up in space

https://www.marketwatch.com/story/elon-musk-says-spacex-doesnt-need-magic-to-put-ai-data-centers-...
2•emot•44m ago•0 comments

Meta Deletes Face-Recognition System from Smart Glasses App After Wired Report

https://www.wired.com/story/meta-removes-face-recognition-code-meta-ai-app-smart-glasses/
4•littlexsparkee•44m ago•0 comments

Show HN: I recreated AOL Instant Messenger in the browser

https://www.webaim.xyz
3•RgrTheShrubbr•50m ago•0 comments

Loop Engineering

https://twitter.com/i/status/2064127981161959567
2•twapi•52m ago•0 comments

Rutger Bregman and His School for Moral Ambition Lacks Moral Ambition

https://louwrentius.com/rutger-bregman-his-school-for-moral-ambition-lacks-moral-ambition.html
1•louwrentius•53m ago•0 comments

Supporting Exchange and beyond

https://brendan.abolivier.bzh/exchange-pt-2/
1•babolivier•54m ago•0 comments

A new study says people love working from home, but does it love them back?

https://www.npr.org/2026/06/08/nx-s1-5848125/remote-work-mental-health-isolation
2•xrd•55m ago•0 comments

Exposing the Solid State Donut Battery. It's Over. [video]

https://www.youtube.com/watch?v=j5oyVNjrUPI
3•jbardnz•56m ago•0 comments