]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: When acting as a RR server do not modify nexthop
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 28 Mar 2020 17:58:46 +0000 (13:58 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 28 Mar 2020 18:04:24 +0000 (14:04 -0400)
commit99819027b1b3e969fed75253aef24c480000fab1
tree4e825c3787867e197cc15006208919655ae0daed
parentee8606ee39a50b8a644352be4881a77a5822911d
bgpd: When acting as a RR server do not modify nexthop

https://lists.frrouting.org/pipermail/frog/2020-March/000776.html

It was pointed out that we are not properly passing the nexthop
through and instead we were replacing the nexthop as a Route Server
with our own.

https://tools.ietf.org/html/rfc4456#section-4

10.  Implementation Considerations
   Care should be taken to make sure that none of the BGP path
   attributes defined above can be modified through configuration when
   exchanging internal routing information between RRs and Clients and
   Non-Clients.  Their modification could potentially result in routing
   loops.
   In addition, when a RR reflects a route, it SHOULD NOT modify the
   following path attributes: NEXT_HOP, AS_PATH, LOCAL_PREF, and MED.
   Their modification could potentially result in routing loops.

Modify the code such that when FRR is instructed to act as a
Route-Server to pass through the nexthop.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgpd.c