-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error when a connection is attempted to a BGP speaker running BIRD2 #3
Comments
Hey, thanks for the bug report and kind words - clearly there's work to do on how to handle errors better :) From logs it seems the BIRD side has closed its TCP connection without sending anything - do you have any logs from BIRD that can confirm this and/or explain why it happened? If possible, could you record a .pcap file of the BGP conversation that ends with this result? |
Ah, and also please try the following bgpipe command-line instead:
that is, move the |
After some testing i got it working now. Dont know what the exact issue was but i initially tried to run bgpipe on the same VM that BIRD is running on just on a different locally attached IP and different port. Now i moved bgpipe to a different VM and it just started working without any issues. So i can only assume that it was some sort of an BIRD error. Sorry for ringing the alarm bells. False positive 😅 On a positive note: Everything seems to work now. I can see all the updates/routes comming in (MultiProtocol is also working just fine) ✨ Attached is a PCAP of the successful connection (stopped midway through to not blow up the PCAP size) |
Great, thank you! And I was able to reproduce this in the meantime. It is not at all an issue with BIRD. The scary bgpipe log dump is a problem how bgpipe reports errors and handles pipelines with no more data to process. I will make sure to better support & document pipeline config for users in the future. Thanks for your feedback! |
this will dump the pipeline, as configured via CLI, to stdout and quit for motivation see #3
Hey,
First of all:
Thanks for the cool project! Looks like a really neat way to do creative BGP scripting stuff in the future.
I wanted to test it with a lab router (running BIRD2 v2.0.12) but as soon as bgpipe received/exchanged the OPEN message a fatal error occurs and bgpipe crashes:
Command line arguments for bgpipe:
Relevant BIRD2 config would be:
Content of the log file is:
And the error output itself:
Let me know if you need further details.
I'll be happy to assist!
Best regards,
Dominik
The text was updated successfully, but these errors were encountered: