News for hackers. Stuff that matters.
Re:BGP Implemented in Go by tptacek on Saturday March 19, 2022 @06:26PM (#30738113)
A BGP route server might be the platonic ideal of a Go problem: it's demanding enough not to be tenable in Python, but not real-time or kernel resident, and mostly data structure --- and just a couple data structures --- intensive.
Re:BGP Implemented in Go by justinsaccount on Saturday March 19, 2022 @07:48PM (#30738631)
> not to be tenable in Python

https://github.com/Exa-Networks/exabgp is written in python

Re:BGP Implemented in Go by tptacek on Saturday March 19, 2022 @08:23PM (#30738804)
Sorry, I wasn't being precise. Lots of people use BGP for easy lifts, like internal policy routing inside data centers (I find this mystifying but whatever) or simply to advertise Anycast prefixes to upstreams. I was thing more about doing default-free global Internet routing with multiple peers.
Re:BGP Implemented in Go by justinsaccount on Saturday March 19, 2022 @08:32PM (#30738851)
I've used exabgp running on a small VM to inject 300,000 /32 routes to multiple peers. Not quite the size of the full v4 routing table, but not too far off either.
Re:BGP Implemented in Go by tptacek on Saturday March 19, 2022 @10:09PM (#30739390)
Were you taking a feed in? Or just publishing your own addresses?
Re:BGP Implemented in Go by justinsaccount on Sunday March 20, 2022 @10:39AM (#30742972)
just injecting routes. There are a bunch of looking glass implementations that use exabgp though.