- May 10, 2020
-
-
Sebastian Lohff authored
RFC7911 sec 4 allows multiple AFISAFIs in a single AddPath capability entry, which also must be presented in a single capability message. Without this patch the AddPath capability of a peer advertising multiple AFISAFIs cannot be parsed and the connection will fail.
-
Sebastian Lohff authored
RFC2545 section 3 paragraph 2 allows for a next-hop field length of 32. In this case two IPv6 addresses are being sent, first the global address, then the link local address. For now we are just ignoring the link local address and parsing only the first. Without this patch Bio will not be able to talk to BGP spekaders using this features. An UPDATE mesage containing such a next-hop field would result in the following error: Failed to decode BGP message: Failed to decode message: Unable to decode path attr: Failed to multi protocol reachable NLRI: Unable to decode MP_REACH_NLRI: Failed to decode next hop IP: byte slice has an invalid length. Expected either 4 (IPv4) or 16 (IPv6) bytes but got: 32 Co-authored-by:
Daniel Czerwonk <czerwonk@users.noreply.github.com>
-
Sebastian Lohff authored
* Accept all RFC4486 bgp error subcodes Bio-BGP used to only decode AdministrativeShut and AdministrativeReset error subcodes when error code "Cease" was sent by a BGP peer. Other BGP packets could not be decoded. With this commit Bio-BGP accepts and decodes all error codes defined in RFC4486. * Set OtherConfigChange to value defined in RFC4486
-
- May 07, 2020
-
-
Sebastian Lohff authored
In the risserver every bmp server is identified by its address, specified in the config, but the GetRouters() grpc only presents us with the name acquired via the BMP session. To clarify the field usage the router field is renamed to sys_name and an address field is added. The address field is of type string to match the other grpc methods, which require a router address to be specified as string. Co-authored-by:
takt <oliver.herms@exaring.de>
-
Christoph Petrausch authored
Fix BMP label names/combinations
-
Oliver Herms authored
-
- Apr 26, 2020
-
-
Sebastian Lohff authored
* riscli dump-loc-rip: Dump IPv4/IPv6 routes By default riscli dump-loc-rib will now dump IPv4 and IPv6 routes. The flags -4 and -6 have been added to restrict dumping to a single address family. * riscli dump-loc-rip: Handle EOF from API
-
- Apr 15, 2020
-
-
Christoph Petrausch authored
* Remove unused function This unused function triggered go vet github.com/bio-routing/bio-rd/syscallwrappers [error]syscallwrappers/syscalls_linux.go:75:9: possible misuse of unsafe.Pointer * Remove unreachable code * Use keyed syntax for composite literals * Remove copies of mutex locks
-
Christoph Petrausch authored
Refactor net API to use pointers when working with protos
-
Oliver Herms authored
-
Oliver Herms authored
-
Christoph Petrausch authored
Make BGP path dedup optional. Set init cache size = 0.
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Christoph Petrausch authored
* Implement a GetRouters RPC to RIS This RPC returns all configured routers and their VRF IDs. This can be used by RIS clients to discovery the routers. The router and the VRF ID is a required parameter for all other RPCs. * Update grpc to v1.28.0 to support protoc-gen-go v1.21.0 * Fix test Co-authored-by:
Oliver Herms <oliver.peter.herms@gmail.com>
-
- Apr 12, 2020
-
-
Maximilian Wilhelm authored
BGP: Add support for MD5 secret (RFC2385)
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
- Apr 11, 2020
-
-
Annika Wickert authored
Add support for setting TTL on BGP sessions
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
- Mar 25, 2020
-
-
Maximilian Wilhelm authored
Add IP Next() method and Prefix BaseAddr()
-
Oliver Herms authored
-
- Mar 03, 2020
-
-
Annika Wickert authored
Fix route withdraw when using BGP add path TX
-
Oliver Herms authored
-