Open johannesmoos opened 4 years ago
Hey JMo,
I've looked into the example PCAP and was able to reproduce the problem. I've filed pull request https://github.com/de-cix/pbgp-parser/pull/36 that seems to fix the occurred problem.
Could you please verify that this resolves the issue with some other test PCAPs?
I don't know whether you are familiar with running pbgpp directly from source, so I'll quicky explain it so others could reproduce and check, too.
fix-35
branch from GitHub into a dedicated folderpython3 -m venv ./venv && source venv/bin/activate
to create a dedicated Python virtual environment to avoid package conflictspip3 install -r requirements.txt
to install the packages pbgpp is depending onHi Tobias,
thanks for the quick fix. Looks good to me. Will do some more tests and then we can merge the PR.
JMo
I ran into the same problem, and your fix addressed it. Thanks!
Environment
Result: pbgpp shows nonexistent NLRIs and masks for (some) input files with many UPDATE messages. That's my guess. Might also result from another factor.
Example:
Output is mixed between:
0.0.0.0/0
81.194.255.192/80
0.3.33.254/71
I'm assuming there's an overflow at some point which causes the result.
How to reproduce: Parse the attached PCAP:
Example PCAP: example.pcap.zip