Comments (5)
This looks like a parsing issue in the birdwatcher.
from alice-lg.
I'll use your show protocols all
dump to debug this :)
from alice-lg.
Let me know if I can get you anything else!
from alice-lg.
I'm also seeing the same problem. I've since updated to the latest commit of alice-lg and birdwatcher. The output has changed slightly (removing the "Unknown x" part) but still present:
Similar to @dylancmds clicking through shows valid attributes so my instance is also parsing some data from Bird.
from alice-lg.
Same issue with Bird 1.6
EDIT: Solved, it was indeed a parsing issue. In particular, this line from parser.go
regex.routes.startDefinition = regexp.MustCompile(^([0-9a-f\.\:\/]+)\s+via\s+([0-9a-f\.\:]+)\s+on\s+([\w\.]+)\s+\[([\w\.:]+)\s+([0-9\-\:\s]+)(?:\s+from\s+([0-9a-f\.\:\/]+)){0,1}\]\s+(?:(\*)\s+){0,1}\((\d+)(?:\/\d+){0,1}\).*
)
This depends on the word "via" on the first line of the "show route all" output from bird. But if the route is not reachable the world via is not there (neither is the IP or interface) (it says unreachable instead), thus the line won't pass the regex.
Here's an example line that should pass the regex.
8.8.8.8/32 via 9.9.9.9 on eth0 [client1 2024-05-20 12:00:00 from 1.1.1.1] * (100/?) [i]
When you the route is unreachable, the line will look like this and won't pass regex.
8.8.8.8/32 unreachable [client1 2024-05-20 12:00:00 from 1.1.1.1] * (100/?) [i]
Solved it by making sure all routes are reachable.
from alice-lg.
Related Issues (20)
- Display timestamp/age of prefix/network learned in Network view HOT 1
- failed to unmarshal extended community: proto: not found
- Make items in route modal configurable
- Problem with Front Page search bar HOT 2
- Add option to search for origin ASN in path
- Show Peer BGP Capabilites
- Show BFD State
- Supplemental Data API Endpoint
- Another problem with front page search bar HOT 11
- Close route server group dropdown on keypress
- Neighbors incorrectly detected with bgplgd source type HOT 2
- Eliminate Config Dups (BGP Communities)
- Refactor Frontend HOT 6
- Add support for hiding some Neighbors
- Consider setting the default branch to `develop` HOT 4
- Variable expansion for reject candidates does not work
- Reject candidate and Blackholing icons overlap
- GoBGP Seems broken due to Protobuf changes
- IPv6 neighbor shows "0 routes received"
- Auto request and cache "/routes/protocol" requests
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 alice-lg.