openbmp icon indicating copy to clipboard operation
openbmp copied to clipboard

BMP Initiation Message String gets overwritten if multiple String TLV comes in

Open ayalaalex opened this issue 7 years ago • 1 comments

Does openBMP support just one BMP Initiation String TLV message?

So if I receive one message "Base router, AS101 1.2.3.4" and another message with "station100" what we see in openbmp is "station100r, AS101 1.2.3.4". Can we append instead?

The RFC says: The initiation message consists of the common BMP header followed by two or more Information TLVs (Section 4.4) containing information about the monitored router. The sysDescr and sysName Information TLVs MUST be sent, any others are optional. The string TLV MAY be included multiple times.

ayalaalex avatar May 08 '18 00:05 ayalaalex

right now it does replace with the last entry. That can be changed to append. Although, when appending should a newline or other delimiter be added?

TimEvens avatar Sep 18 '18 04:09 TimEvens