Skip to content
View casablanque-code's full-sized avatar

Block or report casablanque-code

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
casablanque-code/README.md

Engineering, mostly at the edges of intuition

I build small tools around systems where the obvious explanation is often not quite true.

DNS, SSH, Zero Trust, timing, packet captures, configuration formats, infrastructure - things we've had for years and think we already understand.

Usually it starts with:

"Is that actually what happens?"

Then I go find out.


What I'm digging into

Trust & Identity

We usually treat trust as a fact. Turns out, it's something systems have to fucking keep proving.

  • khm - known_hosts is not just a cache. It's a database of server identities.
  • cfzt - Zero Trust is less about replacing a VPN and more about identity, reachability and continuously verifying state.
  • burnafterread - sharing a secret doesn't have to mean giving the server access to it. Live

Measurement

We usually treat latency as noise. Turns out, sometimes the measurement is the attack surface.

  • sidecheck - remote timing side-channel detection using statistics instead of a stopwatch.
  • gai - dig working doesn't mean your process resolves the name the same way. Reconstructs the actual getaddrinfo() decision path.

Network Forensics

We usually treat packets as what happened. Turns out, they're just evidence of what happened.

Network Forensics Series

  • ospf-postmortem - reconstruct the OSPF FSM and find why an adjacency got stuck. Live
  • dhcp-postmortem - reconstruct DORA and detect failures from packet evidence. Live
  • stp-postmortem - reconstruct STP/RSTP behaviour, topology changes and root causes. Live
  • dns-postmortem - DNS traffic, anomaly detection and tunneling analysis. Live

Everything runs locally in the browser. PCAPs never leave the machine.

Semantics & Infrastructure

Some problems look like parsing or automation problems until you look closer. Turns out most "automation" is just someone's assumptions, hardcoded and never questioned as shit.

  • netconv - configuration conversion is about semantics, not replacing keywords.
  • pcap-frame-parser - packet formats have decades of edge cases hiding behind deceptively simple structures.
  • platform-infra - self-service infrastructure for small teams, without turning the sysadmin into an API.

A few libraries

Library / Package Version Docs Downloads
gai-core Crates.io Version docs.rs Crates.io Downloads
gai-probe Crates.io Version docs.rs Crates.io Downloads
sidecheck-core Crates.io Version docs.rs Crates.io Downloads
netconv-core Crates.io Version docs.rs Crates.io Downloads
pcap-frame-parser Crates.io Version docs.rs Crates.io Downloads
burnafter npm Version npm Downloads
@lighthouse-explorer/light-parser npm Version npm Downloads

The common thread

I don't usually start with:

"What tool should I build?"

It's more often:

"Why the hell does this work like that?"

Then:

friction → investigation → hypothesis → tool

The tool is just the artifact.


PGP · Stack

Pinned Loading

  1. cfzt cfzt Public

    One-command cloudflare tunnel zero trust CLI

    Go 16 1

  2. khm khm Public

    CLI for auditing SSH host trust

    C 16

  3. netconv netconv Public

    Vendor-agnostic network config compiler

    Rust 3

  4. burnafterread burnafterread Public

    Privacy-first, end-to-end encrypted, self-destructing data sharing

    TypeScript 3 1

  5. gai gai Public

    getaddrinfo inspector — explains how a name resolves, no LD_PRELOAD/eBPF/ptrace

    Rust 2 1

  6. ospf-postmortem ospf-postmortem Public

    [Network Forensics Series] A browser-based OSPF analyzer for network engineers. Drop a PCAP file — get a structured event timeline, full FSM reconstruction, root cause analysis with causal chains, …

    Rust 3 1