Skip to content

Instantly share code, notes, and snippets.

View ading2210's full-sized avatar

ading2210

View GitHub Profile
@ading2210
ading2210 / README.md
Last active November 2, 2026 23:37
Cloudflare MASQUE L4 Proxy Protocol Docsc

Cloudflare MASQUE L4 proxy specification

Note

This document was generated by an LLM based on information from the Usque open source MASQUE implementation. All credit goes to @Diniboy1123 for their original work reverse engineering this.

Standalone description of the reverse-engineered L4 mode: TCP-over-QUIC/HTTP/3 via consumer-masque-proxy, plus control-plane registration and mTLS session auth.

Conventions

@ading2210
ading2210 / ollama-limiter.sh
Created January 21, 2025 03:23
A bash script to limit ollama download speeds
#!/bin/bash
#see https://github.com/ollama/ollama/issues/2006 for why this is needed
set -e
run_nethogs() {
local pid="$1"
nethogs -t -d 0 -P "$pid" | grep --line-buffered "ollama"
}