Comments (5)
Thanks for the report! Can you try the latest master? Should be fixed by 310543d
Looks like the mrt file includes routes that rustybgp can't handle. Fixed rustybgp to just ignore such rather than returning an error.
from rustybgp.
Thank you very much for fixing the code so quickly. It's still parsing the file, but I assume that it now works fine.
For those routes that are ignored - would it be beneficial to log them somehow(even on the "debug" level)?
from rustybgp.
Two additional things that I realised as it started to work:
- I'm getting the following message printed multiple times as it parses:
failed to parse: unknown mup subtype: 185
As far as I know, the file should be fully compatible with the BGP specs, so this should be a valid route - have you ever seen this warning? We were getting the same from the gobgp
router.
- We are using a configuration that creates MRT update dumps every 60 seconds:
[[mrt-dump]]
[mrt-dump.config]
dump-type = "updates"
file-name = "/tmp/mrt-updates-20160510.1546.dump"
rotation-interval = 60
What was happening with gobgp
is that it was parsing the file name, and when it found the 20160510.1546
part, it was actually clever enough to understand that this it Ymd.Hm
and it was storing data to a new file every 60 seconds, i.e. "/tmp/mrt-updates-20230131.1518.dump", "/tmp/mrt-updates-20230131.1519.dump" etc. - is there any chance that this could be supported?
Please let me know if I should open separate issues for all three "problems" described above,
Thanks,
Kamil
from rustybgp.
gobgp
command gives the following warning:
failed to parse: unknown mup subtype: 185
MUP SAFI looks like related. Please create an issue on gobgp.
About a way to dump MRT, feel free to create an issue on gobgp. Seems that everyone wants the own way to dump MRT. GoBGP can't support hundreds of ways to dump MRT. So I don't have any plan to add a new way though.
from rustybgp.
Hello @fujita
Thanks for your last answer. I just wanted to get back to dumping the MRT topic. What I tried to say is that I like the way that the gobgp
is currently rotating dump files - I only pointed out that rustybgp is not behaving in the same way. Would it be possible to get consistent(or similar) behaviour as gobgp offers?
Thanks 🙏
Kamil
from rustybgp.
Related Issues (15)
- weird number of prefixes received and resources used when testing with gobgp mrt files HOT 1
- RustyBGP performance issues HOT 4
- how to find out that a peer has sent all the routes HOT 2
- getting a panic with latest code HOT 7
- Dependent create treebitmap has been deprecated HOT 3
- Stress testing via rtod
- Does rustybpg support multipathing/ECMP (e.g., rfc7911)? HOT 1
- Error while building HOT 2
- Route Server mode HOT 5
- Is the watcher functionality supported? HOT 2
- Consider submitting rustybgp to memorysafety.org HOT 5
- Why do the CI workflows have gobgp binaries? HOT 1
- BGP add path support HOT 7
- Panic on injecting routes - range start index 4 out of range for slice of length 0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustybgp.