[quagga-users 14816] Re: BGP type 2 length 3294 is too large, attribute total length is 2314.

France <[email protected]> Sun, 1 Oct 2017 00:50:06 +0200
Newsgroups gmane.network.quagga.user
Message-ID <[email protected]>
Hi.

We also got hit by this on CentOS / EL 7. See log below.

For now, I will try and apply filter as suggested using route maps:

router bgp 48894 :-)
  ..
  neighbor 172.16.1.2 route-map r2out out
  ..
!
ip as-path access-list maxas-limit75 deny ^([{},0-9]+ ){75}
ip as-path access-list maxas-limit75 permit .
!
route-map r2out permit 10
  match as-path maxas-limit75

It seems to work:

172.16.1.2      4 48894 200778604 245226444        0    0    0 00:05:26   655853


This is the affected package.
Name        : quagga
Arch        : x86_64
Version     : 0.99.22.4
Release     : 4.el7
Size        : 5.1 M
Repo        : installed

*Is anyone going to submit bug report to CentOS and RedHat bug trackers?**
**If no one answers, I will do it.*


Sep 30 23:30:13 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Up
Sep 30 23:30:29 r2 bgpd[1172]: 172.16.1.1: BGP type 2 length 3298 is too 
large, attribute total length is 2307.  attr_endp is 0x7f58178a3e71.  
endp is 0x7f58178a3a8a
Sep 30 23:30:29 r2 bgpd[1172]: %NOTIFICATION: sent to neighbor 
172.16.1.1 3/5 (UPDATE Message Error/Attribute Length Error) 0 bytes
Sep 30 23:30:29 r2 bgpd[1172]: Notification sent to neighbor 172.16.1.1: 
type 3/5
Sep 30 23:30:29 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Down BGP 
Notification send
Sep 30 23:30:38 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Up
Sep 30 23:30:54 r2 bgpd[1172]: 172.16.1.1: BGP type 2 length 3298 is too 
large, attribute total length is 2307.  attr_endp is 0x7f58178a3e71.  
endp is 0x7f58178a3a8a
Sep 30 23:30:54 r2 bgpd[1172]: %NOTIFICATION: sent to neighbor 
172.16.1.1 3/5 (UPDATE Message Error/Attribute Length Error) 0 bytes
Sep 30 23:30:54 r2 bgpd[1172]: Notification sent to neighbor 172.16.1.1: 
type 3/5
Sep 30 23:30:54 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Down BGP 
Notification send
Sep 30 23:31:10 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Up
Sep 30 23:31:27 r2 bgpd[1172]: 172.16.1.1: BGP type 2 length 3298 is too 
large, attribute total length is 2307.  attr_endp is 0x7f58178a3e71.  
endp is 0x7f58178a3a8a
Sep 30 23:31:27 r2 bgpd[1172]: %NOTIFICATION: sent to neighbor 
172.16.1.1 3/5 (UPDATE Message Error/Attribute Length Error) 0 bytes
Sep 30 23:31:27 r2 bgpd[1172]: Notification sent to neighbor 172.16.1.1: 
type 3/5
Sep 30 23:31:27 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Down BGP 
Notification send
Sep 30 23:31:43 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Up
Sep 30 23:31:58 r2 bgpd[1172]: 172.16.1.1: BGP type 2 length 3298 is too 
large, attribute total length is 2307.  attr_endp is 0x7f58178a3e71.  
endp is 0x7f58178a3a8a
Sep 30 23:31:58 r2 bgpd[1172]: %NOTIFICATION: sent to neighbor 
172.16.1.1 3/5 (UPDATE Message Error/Attribute Length Error) 0 bytes
Sep 30 23:31:58 r2 bgpd[1172]: Notification sent to neighbor 172.16.1.1: 
type 3/5
Sep 30 23:31:58 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Down BGP 
Notification send
Sep 30 23:32:12 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Up
Sep 30 23:32:22 r2 bgpd[1172]: 172.16.1.1: BGP type 2 length 3298 is too 
large, attribute total length is 2307.  attr_endp is 0x7f58174c0a21.  
endp is 0x7f58174c063a
Sep 30 23:32:22 r2 bgpd[1172]: %NOTIFICATION: sent to neighbor 
172.16.1.1 3/5 (UPDATE Message Error/Attribute Length Error) 0 bytes
Sep 30 23:32:22 r2 bgpd[1172]: Notification sent to neighbor 172.16.1.1: 
type 3/5
Sep 30 23:32:22 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Down BGP 
Notification send
Sep 30 23:32:33 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Up
Sep 30 23:32:48 r2 bgpd[1172]: %NOTIFICATION: received from neighbor 
172.16.1.1 3/5 (UPDATE Message Error/Attribute Length Error) 0 bytes
Sep 30 23:32:48 r2 bgpd[1172]: %ADJCHANGE: neighbor 172.16.1.1 Down BGP 
Notification received

Regards,
F.

_______________________________________________
Quagga-users mailing list
Quagga-users-UOy77sIEA+cAd7ICUelF/[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users