Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

miekg/bgp

Repository files navigation

Build Status

BGP

BGP is a BGP-4 implementation in Go.

RFCs

Notes

Parameters in the open message seems not to be used. Can hide it in its entirety and just focus on capabilities. i.e make Append() work on the open message itself.

Also the data in now a []TLV, maybe it would be nicer to have a map map[int]TLV indexed on the Code so we can implement a .Clear(code int) as well to clear a message.

TODO

  • multiple message after each other, i.e. Open and Notifcation.
  • fix all error uses
  • create server infra ala net/http, godns
  • Fix Path Attributes, these are like dns RR's, define an interface and use reflection to pack/unpack.
  • Unpack doesn't do header, Pack does do header Makes more sense if they all do or neither.
  • Tests!

About

BGP implementation in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages