]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Drop aggregator_as attribute if malformed in case of BGP_AS_ZERO 8010/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Wed, 3 Feb 2021 12:58:23 +0000 (14:58 +0200)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Wed, 3 Feb 2021 12:58:23 +0000 (14:58 +0200)
commit8085c9a7a5daec5715eb7eab87cd5531369e9bc8
tree02fd9d92dd1d4565166184aa7cb41090564729bd
parentfe7bc9964e90470509324cafda4c98424de506c6
bgpd: Drop aggregator_as attribute if malformed in case of BGP_AS_ZERO

An UPDATE message that contains the AS number of zero in the AS_PATH
   or AGGREGATOR attribute MUST be considered as malformed and be
   handled by the procedures specified in [RFC7606].

An UPDATE message with a malformed AGGREGATOR attribute SHALL be
   handled using the approach of "attribute discard".

Attribute discard: In this approach, the malformed attribute MUST
      be discarded and the UPDATE message continues to be processed.
      This approach MUST NOT be used except in the case of an attribute
      that has no effect on route selection or installation.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_attr.c