Skip to content
Snippets Groups Projects
  1. Jun 06, 2020
  2. Jun 05, 2020
  3. May 25, 2020
  4. May 10, 2020
    • Sebastian Lohff's avatar
      Allow multiple AFISAFIs in AddPath capability · 2306fd06
      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.
      2306fd06
    • Sebastian Lohff's avatar
      Handle multiple next-hops in NLRI (#265) · 9154f485
      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: default avatarDaniel Czerwonk <czerwonk@users.noreply.github.com>
      Unverified
      9154f485
    • Sebastian Lohff's avatar
      Accept all rfc4486 bgp error codes (#264) · 573ae6bc
      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
      Unverified
      573ae6bc
  5. May 07, 2020
  6. Apr 15, 2020
  7. Apr 12, 2020
  8. Apr 11, 2020
  9. Feb 11, 2020
  10. Feb 10, 2020
  11. Jan 28, 2020
  12. Jan 27, 2020
  13. Jan 21, 2020
  14. Jan 14, 2020
  15. Jan 13, 2020
  16. Jan 09, 2020
  17. Dec 29, 2019
    • takt's avatar
      BGP speed improvement (#228) · f280f199
      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: default avatarMarcus Weiner <marcus.weiner@gmail.com>
      Unverified
      f280f199
  18. Sep 17, 2019
  19. Aug 18, 2019
    • takt's avatar
      Add caching for Path, BGPPath, IP and Prefix structures (#218) · 16459281
      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
      16459281
  20. Jul 26, 2019
    • takt's avatar
      Implementing basic daemon with configuration (#214) · 8f8c1730
      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
      8f8c1730
  21. Jul 23, 2019
  22. Jul 14, 2019
  23. Jul 09, 2019
    • takt's avatar
      Implement RIS (#208) · 832b7b63
      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
      832b7b63
Loading