Coder Social home page Coder Social logo

Comments (9)

jwieq avatar jwieq commented on August 15, 2024

We managed to make it work for now with this awful hack:

diff --git a/bird/parser.go b/bird/parser.go
index d64797e..fc93fba 100644
--- a/bird/parser.go
+++ b/bird/parser.go
@@ -570,6 +570,8 @@ func parseProtocol(lines string) Parsed {

            if isCorrectChannel(ipVersion) {
                    parseLine(line, handlers)
  •           } else {
    
  •                   parseLine(line, handlers)
              }
      }
    

Am not a go guy so I'm sure there's a better way.

The channel version check isn't happy with ipv4 and ipv6 in the same daemon, but it probably should be. In our purely ebgp deployment, it works perfectly fine once this is applied.

from birdwatcher.

annikahannig avatar annikahannig commented on August 15, 2024

I did not have a chance to test this so far. However your patch basically means remove the isCorrectChannel(...) entirely. (if true -> parseLine, if false -> parseLine :-) )

from birdwatcher.

jwieq avatar jwieq commented on August 15, 2024

Pull request submitted. :)

from birdwatcher.

jwieq avatar jwieq commented on August 15, 2024

Quick note here. We found that with our hacked version, that in birdwatcher we could not see filtered ipv6 prefixes still. So we made a further hack to allow filtered v6 prefixes to show up.

jwieq@f463fe7

from birdwatcher.

tweippert avatar tweippert commented on August 15, 2024

With this i see only filtered prefixes on search page. on the Routeserver Peer Page Filtered/accepted Routes are shown as expected. Haven't looked on the code actual

from birdwatcher.

bluikko avatar bluikko commented on August 15, 2024

Would this fix the problem with BIRD2 where IPv4 Alice lists additionally all IPv6 neighbors with 0 routes - and conversely the IPv6 Alice instance lists additionally all IPv4 neighbors with 0 routes?

from birdwatcher.

netstx avatar netstx commented on August 15, 2024

Would this fix the problem with BIRD2 where IPv4 Alice lists additionally all IPv6 neighbors with 0 routes - and conversely the IPv6 Alice instance lists additionally all IPv4 neighbors with 0 routes?

I am wondering about the same, have had a hard time fixing this, even after choosing "single_table" type and setting the tables to master4 and master6 accordingly (with 2 birdwatcher instances running).

Any help would be much appreciated.

from birdwatcher.

jwieq avatar jwieq commented on August 15, 2024

from birdwatcher.

axu-trex avatar axu-trex commented on August 15, 2024

Is this issue still half broken, or did someone just forget to close the issue?

from birdwatcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.