Independent network protocol lab

PathVector Studio

A small protocol studio for reading RFCs, tracing packets, and turning routing behavior into practical notes, beginner labs, and GitHub-based code courses.

PathVector Studio は個人で運営する非商用のネットワークプロトコル研究・教材プロジェクトです。

Track 01
Daily news, signals, and routing visibility
Track 02
Paper notes, mini surveys, and research trails
Track 03
BGP, RPKI, DNS, TCP, TLS, HTTP, and QUIC notes
Method
RFC reading, GitHub code reading, and reproducible labs
What this is

Learning infrastructure for protocols that run the Internet.

The studio keeps a narrow focus: routing, verification, packet-level observation, and notes that can be reproduced on a laptop.

RFC-grounded notes

Each topic starts with the relevant RFC sections, then narrows into terms, state machines, messages, and the parts that are easiest to misunderstand.

Separated learning tracks

Beginner work stays in hands-on containerlab lessons, while intermediate work lives in Protocol in Code as GitHub source reading and logic-first explanation.

Future tooling

Small tools may appear as the notes grow, especially around BGP visibility, RPKI checks, and protocol debugging workflows.

Coming next

Two separate courses: beginner hands-on, intermediate code reading.

The beginner path stays as the traditional containerlab course. The intermediate path is a fully separate Protocol in Code course, where the code lives on GitHub and the explanations live on this site.

Choose the track that matches your level.

The beginner course is for learning by running containerlab. The intermediate course is for reading protocol logic like code, with BGP as the first subject and the source files hosted in GitHub.

Beginner containerlab と FRRouting を動かしながら BGP を学ぶ独立コース。Lab 01-03 で完結する。
Intermediate Protocol in Code は独立した中級コース。GitHub の source file を開き、neighbor の入力や best path selection の条件分岐を読む。
Intermediate course

Protocol in Code now includes BGP and OSPF, with code on GitHub.

The intermediate path reads protocol logic as code: required inputs, state changes, and decision branches. The source lives in the public `protocol-in-code` repository.

github.com/pathvector-studio/protocol-in-code
BGP
Session 01  session.py       -> neighbor inputs
Session 02  update.py        -> state mutations
...
Session 15  speaker.py       -> toy speaker loop

OSPF
Session 01  hello.py         -> Hello gate
Session 02  neighbor.py      -> adjacency state
Session 03  dr_election.py   -> DR / BDR election
Session 04  lsa.py           -> Router-LSA object
Session 05  flooding.py      -> LSA forwarding
Session 06  lsdb.py          -> versioned store
Session 07  spf.py           -> shortest-path tree
Session 08  routing.py       -> route derivation
Session 09  cost.py          -> winner selection
Session 10  recompute.py     -> topology recompute
Session 11  areas.py         -> area summary
Session 12  speaker.py       -> toy speaker loop
Public status

Small, slow, and reproducible.

Now
The beginner containerlab course is public as Lab 01-03, and the intermediate Protocol in Code course now publishes separate BGP and OSPF tracks.
Next
The intermediate BGP and OSPF tracks now point at real GitHub source files and will keep getting fuller code-by-code explanation.
Later
IS-IS, DNS, TCP, TLS, HTTP, and QUIC can join the intermediate Protocol in Code format after the BGP and OSPF modules are solid.
Contact

Protocol notes, corrections, and references are welcome.

Send short notes, RFC pointers, or corrections to the public contact address.

hello@pathvector.dev