summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-03-29Added ListPeerGroup message to APIMarcus Wichelmann
2021-03-19Add GENEVE encapsulation supportRavi Aysola
2021-03-16Add support for the gRPC server to listen on a unix domain socketbbassingthwaite
Fixes #2230
2021-03-14add support for tunnel egress endpoint sub-TLVMikael Magnusson
As specified in draft-ietf-idr-tunnel-encaps-22. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2021-03-13tools: don't use a shebang for bash completionVincent Bernat
They are not expected to be executed. This seems a silly path, but some people bother filing bug reports about it, so if you are OK with it, it could be "fixed".
2021-03-06docs: fix typoFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-03-06docs: add next-hop action examplesFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-03-03policy: add nexthop unchangedFaicker Mo
Support config set-next-hop = "unchanged" and also cli command. Signed-off-by: Faicker Mo <faicker.mo@ucloud.cn>
2021-03-03bugfix: should check if next-hop attr exists or not before appendImcom Jin
2021-03-03fixing an issue when gobgp sits between a MP-capable peer and a ↵Imcom Jin
non-MP-capable peer whereby MP-capable peer uses MP_REACH_NLRI to send updates to gobgp gobgp accepts it but without setting NEXT_HOP pathattr then gobgp propagates the paths to the non-MP-capable peer with update.NLRI set but without NEXT_HOP the non-MP-capable peer will treat the update as withdraw message cause routes cannot propagate properly
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>