Hello,
I need to process an .erf file with contains mpls packets encapsulated in 802.1 q vlan tunnels. How can I process it with BRO? Do I have to redefine any variable?
Thanks in advance!
Veronica Estrada
Nakao’s Laboratory
The University of Tokyo
I have one for MPLS actually, it's attached. However, it is old and
hasn't seen much testing, which is why it never made it into the
distribution. It may also not apply cleanly anymore.
The patch adds a new option "mpls_link" that needs to be redefed to
true.
Thanks everyone for the fast answer.
I patched bro with the file that Robin sent me but I cannot make it works. I have two questions.
The patch says " We only support MPLS over DLT_PPP_SERIAL links currently."
What should I modify if I want to analyze MPLS over 802.1Q/Ethernet?
The protocol hierarchy seen in my data is:
I don't believe that patch is going to work for you because you're MPLS headers are within VLAN headers. Did you try my suggestion? As long as all of your packets have the same headers on them it should work. Looking at your protocol hierarchy though, it looks like not all of your packets have the mpls header. Is that right?
Like I offered before though, I can get you setup with something that will strip all of the vlan and mpls headers where appropriate if you need it.