summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-03-02v2.25.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-03-01Fix LsTLVIgpRouterID.DecodeFromBytesKirill Smorodinnikov
According to https://tools.ietf.org/html/rfc7752#section-3.2.1.4, IGPRouterID could be 4-octet for OSPFv2 or OSPFv3 non-pseudonode.
2021-02-27Extend LsLinkDescriptor.StringKirill Smorodinnikov
Cover additional cases when only one part of the link is presented.
2021-02-25goreleaser: improve portabilityDamien Claisse
- Use tags=netgo to ensure net package won't use cgo - Rebuild stdlib (go build -a) to really disable cgo as it was tried in https://github.com/osrg/gobgp/pull/2300 - Remove static ldflags as it would statically compile cgo
2021-02-24Fix ParseValue's bug for BMPStatsTLV32xskingdom
2021-02-24server: fix AdministrativeCommunication message parserFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-02-13ci: fix release actionHEADmasterFUJITA Tomonori
release action should be triggered only when a tag is pushed. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-02-13feat: add option to bind listener to a (VRF) deviceMilan Lenco
Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
2021-02-03v2.24.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-01-27go fmtedSergey Elantsev
2021-01-23fixed panics on parsing malicious bgp packetsSergey Elantsev
2021-01-23add pb for UDP destination port sub-TLVMikael Magnusson
Generated with tools/grpc/genproto.sh Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2021-01-23support UDP destination port sub-TLVMikael Magnusson
As specified in draft-ietf-idr-tunnel-encaps. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2021-01-20packet/bgp: Fix TunnelEncapSubTLV.DecodeFromBytesMikael Magnusson
Return data of the correct length from TunnelEncapSubTLV.DecodeFromBytes. This fixes a problem with TunnelEncapSubTLVUnknown which caused it to contain more bytes in its Value unless it was the last SubTLV. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2021-01-12Fix IsEBGPPeer check to use LocalAsAlistair King
Previously the LocalAs setting for the neighbor was ignored when determining if the session is eBGP or not.
2021-01-12table: fix longer-prefixes lookupFUJITA Tomonori
probably regression due to the introduction of critbitgo. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-01-01v2.23.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-12-20fixed mistypeSergey Elantsev
2020-12-20fixed possible crashes on parsing of bgp messagesSergey Elantsev
2020-12-16Enable IPv6 and IPv4 labeled prefixes to match against prefix set in policyTahir Azim
2020-12-14change commentsSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-09interop fixSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-02v2.22.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-12-02fix linting errorsSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-02Add documentation, fix typo in proto and add marshal for tunne encal sub tlvsSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-02Add SR policy documentatiomSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-01Add missing marshal of Prefix SID path attributeSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-30Unit tests and dependenciesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-30Code changesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-30API chagesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-29set shutdownWG to nil after stopBGP finishedDuan Jiong
otherwise gobgp will panic in handlefsmMsg when handle error condition Signed-off-by: Duan Jiong <duanjiong@yunify.com>
2020-11-29Support of FRR7.5Hitoshi Irino
This commit works with FRR7.5 when "version = 6" is specified in zebra.config - Changes Zebra internal API commands to FRR7.5 which is incompatible with older version. - Changes SendHello() to include AFI - Changes SendRouteIDAdd() to include AFI - Changes decodeFromBytes/serialize of IPRouteBody and NexthopUpdateBody, because size of MESSAGE_FALG is changed.
2020-11-25dependency and spellchecker updateSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-25code changesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-25API changesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-11fix wrong vrf neighbors displayshao
2020-11-10api: keeps backward compatibility when extending LsAddrPrefixValli A. Vallimamod
2020-11-10updates NLRI marshaller to include added fieldsValli A. Vallimamod
2020-11-10api: adds LS attributes to LsAddrPrefixValli A. Vallimamod
Includes `gobgp.LsNLRI` attibutes to `api.LsAddrPrefix` so that they are distributed to all derived types (LsNodeNLRI, LsPrefixV4NLRI, and LsPrefixV6NLRI)
2020-11-09ci: use ubuntu 18.04 for all jobsFUJITA Tomonori
No need to use 16.04 for some. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09server: fix conversion from api.RouteAction to config.DefaultPolicyTypeFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09make CI fasterFUJITA Tomonori
Build GoBGP binaries of a pull request locally and copy them to the container to be tested instead of copying the code into the container and building the binaries inside. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09Stop CI on Travis CIFUJITA Tomonori
Use Github Actions instead. It's much faster and more stable. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09server: handle bogus addpath argumentFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-08run ci on github actionsFUJITA Tomonori
the same ci that we run on travis-ci. github actions is much faster. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-07config: fix Peer Group AddPath ConfigFUJITA Tomonori
Peer Group AddPath Config is deprecated but still needs to work. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-06Adding gRPC support for modified logging levelSteve Shaw
Signed-off-by: Steve Shaw <shaw38@gmail.com>
2020-11-06Fix missing args in server testsAlistair King
2020-11-06Use MonitorTableRequest.Name to filter by peerAlistair King
Filter returned Paths based on provided peer address (similar to GetTable). This should improve performance when using MonitorTable with ADJ_IN and Current for a single peer.
2020-11-01v2.21.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>