Hello, guys!
Some time ago I slightly changed my flow spec announces for BGP fragmentation and TCP flags. I decided to set match bit for them because Huawei requires it.
As you know, I craft flow spec NLRI messages from my own code.
Then I found that GoBGP displays TCP flags correct (it print it as "(match)") but forgot to show "match" for fragmentation flags:
/opt/fastnetmon/libraries/gobgp_1_4_0_git/gobgp global rib -a ipv4-flow
Network Next Hop AS_PATH Age Attrs
*> [destination:127.0.0.0/24][source:4.0.0.0/24][protocol: tcp][destination-port: =80][source-port: =53 =5353][tcp-flags: (match)syn][packet-length: =777 =1122][fragment: =is-fragment =dont-fragment]fictitious 00:00:04 [{Origin: ?} {Extcomms: [rate: 1024.000000]}]
According to BGP Flow Spec RFC 5575 they suggest using "bitmask operand format" for fragmentation flags and TCP flags.
But looks like GoBGP supports them only for TCP Flags and forgot about fragmentation flags.
Thank you!
Hello, guys!
Some time ago I slightly changed my flow spec announces for BGP fragmentation and TCP flags. I decided to set match bit for them because Huawei requires it.
As you know, I craft flow spec NLRI messages from my own code.
Then I found that GoBGP displays TCP flags correct (it print it as "(match)") but forgot to show "match" for fragmentation flags:
According to BGP Flow Spec RFC 5575 they suggest using "bitmask operand format" for fragmentation flags and TCP flags.
But looks like GoBGP supports them only for TCP Flags and forgot about fragmentation flags.
Thank you!