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
4•x1colegal•1d 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•1d ago
Seems like we’re barking up the same tree:

https://github.com/proxylity/raptor

adithyaharish•1h ago
Just tried, works well

Claude Desktop spins up a VM without no way of stopping it

https://github.com/anthropics/claude-code/issues/29045
146•tonyrice•2h ago•83 comments

How JPL keeps the 13-year-old Curiosity rover doing science

https://spectrum.ieee.org/curiosity-rover-jpl-mars-science
73•pseudolus•1h ago•2 comments

I'm Eric Ries, author of "The Lean Startup" and new book "Incorruptible" – AMA

345•eries•4h ago•261 comments

Why SpaceX 2040 Revenue FCST $4.3T in highly unlikely

https://www.matteast.io/spacex-escape-velocity.html
106•meast•1h ago•78 comments

PgDog is funded and coming to a database near you

https://pgdog.dev/blog/our-funding-announcement
271•levkk•5h ago•136 comments

Policy on the AI Exponential

https://darioamodei.com/post/policy-on-the-ai-exponential
22•yjp20•52m ago•7 comments

L'Affaire Siloxane

https://mceglowski.substack.com/p/laffaire-siloxane
35•idlewords•1d ago•4 comments

GitHub Authentication issues related to API requests

https://www.githubstatus.com/incidents/fcj3088jg1wx
114•Multicomp•3h ago•23 comments

Building an HTML-first site doubled our users overnight

https://mohkohn.co.uk/writing/html-first/
824•edent•6h ago•377 comments

Meta steals a tactic from Tesla and builds data centers in tents

https://techcrunch.com/2026/06/04/meta-steals-a-tactic-from-tesla-and-builds-data-centers-in-tents/
26•gnabgib•2h ago•16 comments

Mercedes‑Benz starts large‑scale production of electric axial flux motor

https://media.mercedes-benz.com/en/article/bebac2af-acdc-465a-9538-adb0bf3d8ccf
454•raffael_de•11h ago•273 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
33•kbyatnal•3h ago•5 comments

Anthropic's Model Naming, Extrapolated

https://samwilkinson.io/posts/2026-06-09-anthropics-model-naming-extrapolated
18•sammycdubs•42m ago•3 comments

Show HN: HelixDB – A graph database built on object storage

https://github.com/HelixDB/helix-db/tree/main
39•GeorgeCurtis•3h ago•21 comments

Apache Burr: Build reliable AI agents and applications

https://burr.apache.org/
119•anhldbk•4h ago•74 comments

All 9,300 Japanese train station, animated by the year it opened (1872–2026)

https://jivx.com/eki
144•momentmaker•7h ago•53 comments

The Dynamo and the Computer: The Modern Productivity Paradox (1989) [pdf]

https://www.almendron.com/tribuna/wp-content/uploads/2018/03/the-dynamo-and-the-computer-an-histo...
17•simonpure•1h ago•3 comments

A €0.01 bank transfer could compromise a banking AI agent

https://blue41.com/blog/how-we-helped-bunq-secure-their-financial-ai-assistant/
116•tvissers•5h ago•92 comments

DiffusionGemma: 4x Faster Text Generation

https://blog.google/innovation-and-ai/technology/developers-tools/diffusion-gemma-faster-text-gen...
174•meetpateltech•3h ago•38 comments

Buy a train, bridge or tracks from the Swiss Railway

https://sbbresale.ch/
148•kisamoto•2d ago•75 comments

Who's the Smartest Corvid?

https://thetyee.ca/Culture/2026/06/05/Whos-the-Smartest-Corvid/
26•NaOH•1d ago•17 comments

GeoLibre 1.0

https://geolibre.app/
9•jonbaer•1h ago•0 comments

The iPad was on Tailscale: a WebRTC debugging story

https://p2claw.com/blog/2026-06-09-the-ipad-was-on-tailscale/
42•syllogistic•4h ago•20 comments

Who Runs Your Rust Future? Hands-On Intro to Async Rust

https://aibodh.com/posts/async-rust-chapter-1-hands-on-intro-to-async-rust/
78•febin•2d ago•15 comments

'They take you out of life, out of time': a journey into Spain's cave paintings

https://www.theguardian.com/science/2026/jun/02/journey-into-spain-palaeolithic-cave-paintings-al...
45•NaOH•2d ago•19 comments

The Case for Free Online Books (2014)

http://from-a-to-remzi.blogspot.com/2014/01/the-case-for-free-online-books-fobs.html
73•jimsojim•2h ago•65 comments

Reviving Papers with Code

https://paperswithcode.co/
172•nielz_r•2d ago•40 comments

macOS Container Machines

https://github.com/apple/container/blob/main/docs/container-machine.md
1145•timsneath•18h ago•397 comments

The Last Evolution, by John W Campbell Jr. (1932)

https://www.gutenberg.org/files/27462/27462-h/27462-h.htm
15•cf100clunk•3h ago•1 comments

Ask HN: Are most corporate SWE jobs performative?

158•hnthrow10282910•6h ago•179 comments