- Jun 06, 2020
-
-
Oliver Herms authored
-
- Jun 05, 2020
-
-
Oliver Herms authored
-
- May 25, 2020
-
-
Sebastian Lohff authored
When creating a BGP peer the description field can be filled as well. This can then be exported via API.
-
- 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>
-
Oliver Herms authored
-
- 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
-
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
-
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
- Apr 11, 2020
-
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
- Feb 11, 2020
-
-
Oliver Herms authored
-
Oliver Herms authored
-
- Feb 10, 2020
-
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
Oliver Herms authored
-
- Jan 28, 2020
-
-
takt authored
-
- Jan 27, 2020
-
-
takt authored
-
- Jan 21, 2020
-
-
takt authored
-
- Jan 14, 2020
-
-
Oliver Herms authored
-
- Jan 13, 2020
-
-
Oliver Herms authored
-
- Jan 09, 2020
-
-
Oliver Herms authored
-
Oliver Herms authored
-
- Dec 29, 2019
-
-
takt authored
* Add decoding benchmark * Add .gitattributes * Add test data * Implement decoding speed improvements * Performance improvements * Fix tests * Optimizing values vs ptr. * Change cache inserts to pointers * Refactor tests for ip dedup changes * Fix tests * Fix types in device protocol tests * Fix tests * Fix types in routingtable tests * Fix kernel package for darwin/win * Swap BTree with Map * Drop legacy BMP code * Drop legacy fib implementation. * Fix Ptr calls * Drop unused code * Drop unused Less functions * Drop unused copy function * Drop dead code. Add IP dedup to prefix dedup. Co-authored-by:
Marcus Weiner <marcus.weiner@gmail.com>
-
- Sep 17, 2019
- Aug 18, 2019
-
-
takt authored
* Add caches * Replace IPs and Prefixes with pointers to these * Fix nil pointer derefs * Fix nil pointer deref * Fix community encoding * Fix tests * Fix tests * Fix tests * Fix tests * Fix tests * Fix tests * Fix BGP path hashing * Fix path attr decoding * Fix tests * Fix tests * Fix tests * Fix tests * Cleanup * Cleanup * Revert config change * Fix Benchmark. Fix ClusterList PA. * Fix ClusterList tests * Add client * Remove stale test * Cleanup * Increase verbosity on decode failure * Improve chache layer performance * Improve bgp path cache performance * Cleanup
-
- Jul 26, 2019
-
-
takt authored
* Implementing basic daemon with configuration * Add daemon * Implement hot reloadable filters * Adding more filter actions * Make filters comparable * Fix tests * Fix tests * Fix tests * Cleanup * Cleanup * Cleanup * Use documentation prefixes rfc5737 * Correct one prefix * Fix copy&paste error
-
- Jul 23, 2019
-
-
Annika Wickert authored
-
- Jul 14, 2019
-
-
takt authored
-
- Jul 09, 2019
-
-
takt authored
* Make BMP server VRF aware * Implement RIS service * Remove binary * Fix .gitignore * Implement more RPCs * Implement RIB Observer * Fix tests * Implement RIB Dump * Add support for translating proto BGP Paths into internal paths * Cleanup * Fix peer down * Implement buffered update receiver. Fix route propagation. * Add metrics * Add VRF metrics * Add router label to VRF metrics * Add peer metrics * Fix tests * Fix test * Fix test * Fix build * Add tests * Add test for unknown path attributes * Add tests * Extend test * Standardize grpc API * Fix tests
-