Building an ISP in a box
By Justin Kilpatrick
Building an entire ISP, in one very small box
Legend
Encryption operation
(Wireguard)
Queue operation
Routing Operation
Video stream
Game
Chat
fq_codel
Exit tunnel
NAT
Alice’s Exit tunnel
Bob’s Exit tunnel
Exit tunnel
Babel
Babel
Arbitrary
hops / paths
Per-hop
tunnel
Per-hop
tunnel
fq_codel
Internet
NAT
HTB
Router
Exit
TBF
fq_codel
Wireguard Perf
FQ_Codel
Babel
Althea
The key Insight, multi-vector distance vector
Althea
Verifiable metrics
Althea
Example network
A
D
B
C
F
E
Price 5
Price 4
Price 8
Price 1
Price 10
Price 5
Price 3
Loss Rate: 1
RTT: 2ms
Loss Rate: 0.8
RTT: 10ms
Loss Rate: 0.95
RTT: 1ms
Loss Rate: 0.8
RTT: 1ms
Loss Rate: 0.95
RTT: 1ms
Loss Rate: 0.7
RTT: 1ms
Loss Rate: 1
RTT: 1ms
Loss Rate: 0.99
RTT: 2ms
Loss Rate: 0.95
RTT: 5ms
Loss Rate: 1
RTT: 3ms
G
Routing - Challenges
Althea
Billing
Althea
The Key insight, pay per forward
Althea
The Key insight, pay per forward
Althea
Payment map
Billing - challenges
Tales from the field
Pretty good
Particularly memorable incidents
Althea
Thank you!
@AltheaNetwork�justin@althea.net