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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

39 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages