Show HN: I built Maeto, an SRv6 SD-WAN from scratch on Linux that you can break ...
Show HN @show
Show HN: I built Maeto, an SRv6 SD-WAN from scratch on Linux that you can break maeto.saphal.me · 2 points · 0 comments · HN thread
TL;DR Saphal Pdyl presents Maeto, a hobby SD-WAN platform built on SRv6 with a central controller, FRR-based IS-IS, STAMP telemetry, and XDP-offloaded BFD, all running emulated in Containerlab on a single Linux kernel. The author reports core link-down reaction under 50ms and CE switchover around 300ms in the lab, and invites people to break it. The story has 2 points and no comments.
- Maeto is an SRv6 SD-WAN covering customer edge to controller, inspired by Cato Networks and Google's B4, built as a learning project for traffic engineering.
- The controller runs a weighted-cost CSPF path computation using latency, jitter, loss and static utilization, with a 10% hysteresis gate and hold-down timers on reroutes.
- Telemetry comes from unidirectional STAMP sessions (RFC 8762) with custom TLVs, smoothed by EWMA; BFD runs through FRR's bfdd with offload to XDP to avoid userspace scheduling jitter.
- Reported failover: core (PLR) reaction within 30-50ms, CE switchover about 300ms, deliberately slower to avoid false positives over public transit.
- Explicit limitations: the lab is emulated on one shared kernel so numbers are not representative, there is no internet breakout, TI-LFA is basic, and only egress protection is implemented.
- Author uses AI assistance for peripheral parts (topology generator, traffic simulator, frontend, some CRUD) and writes the core controller, agents and libraries by hand.
Links in the post
- Maeto GitHub repository: Mirror of the project with architecture, component descriptions, setup steps and an FAQ on design choices.
- Maeto Forgejo instance: Primary home for issues, planning and active development of Maeto.
- Maeto blog tag index: Author's writeups on SRv6 and FRR problems hit during development, such as End.X blackholing and SO_BINDTODEVICE behavior with multipath nexthops.
- Maeto FAQ: Answers on PCEP vs level-triggered reconciliation, TI-LFA scope, missing internet breakout and BGP-LS, and why BFD runs in XDP.
Discussion No comments have been posted yet, so there is no discussion thread to summarize. The story has 2 points and has not yet drawn attention from readers.
#SRv6 #SDWAN #SegmentRouting #FRR #NetworkingLab #TrafficEngineering