Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:20
    ykondratov edited #917
  • 10:16
    ykondratov opened #917
  • Sep 19 10:23
    mattoddy commented #916
  • Sep 18 10:26
    thomas-mangin commented #916
  • Sep 18 08:27
    mattoddy opened #916
  • Sep 14 11:24
    pettai closed #912
  • Sep 14 11:24
    pettai commented #912
  • Sep 12 10:42
    thomas-mangin commented #915
  • Sep 12 09:15
    omkartikare closed #915
  • Sep 12 09:15
    omkartikare edited #915
  • Sep 12 07:53
    omkartikare edited #915
  • Sep 12 07:52
    omkartikare opened #915
  • Sep 11 15:30
    mattoddy commented #913
  • Sep 09 11:27
    thomas-mangin commented #912
  • Sep 08 08:12
    thomas-mangin commented #912
  • Sep 05 11:22
    pettai commented #912
  • Sep 05 10:37
    thomas-mangin commented #912
  • Sep 05 10:31
    thomas-mangin commented #912
  • Sep 05 10:07
    pettai commented #912
  • Sep 05 10:06
    pettai commented #912
Ian bobbitt
@icb-
I know I'll have to write some code. The question is whether I can pass a "show routes received" command (or similar) and get back a dump back of what routes are currently active from a peer, or whether I need to keep track of that myself.
sanjmonkey
@sanjmonkey
@icb- I think you will need to keep track of this yourself, processing the update and withdraw messages
Ian bobbitt
@icb-
That's what I was afraid of. I was just hoping I could get away without it when I saw that exabgp.rib.RIB has both an incoming and outgoing exabgp.rib.store.Store, but the incoming doesn't appear to ever have anything in it.
Thomas Mangin
@thomas-mangin
Correct - we do not store incoming route ATM
You need to create an helper application and handle the routes there
Ian bobbitt
@icb-
Is that something that's planned, or that you would be interested in adding?
Thomas Mangin
@thomas-mangin
you can have a look at GIXLG which store them in a DB for you
Ian bobbitt
@icb-
#46 and #42 both look like they would benefit from it
Thomas Mangin
@thomas-mangin
I am “currently” (ie on/off) working on adding a correct CLI
when I am done I will look at these features
Ian bobbitt
@icb-
Awesome. Thank you.
Thomas Mangin
@thomas-mangin
But I already promised more draft support and need to that first ( but both projects may overlap)
Ian bobbitt
@icb-
Would you like me to open an issue requesting it, or will #42 work for that?
Thomas Mangin
@thomas-mangin
Fell free to +1 #42
Ian bobbitt
@icb-
Will do. Thanks again!
sanjmonkey
@sanjmonkey
@icb- GIXLG is a good starting point I would say, but you might soon find yourself wanting more (eg other AFI/SAFI support for example). In which case you should probably write something more specific to your needs. Depending on what you want to do with the data and size of the rib, you may just want to store this in memory and provide an API rather than dumping to a DB...
Ian bobbitt
@icb-
@sanjmonkey at this point, all I care about is whether I can see any route originated from a set of ASs, so it shouldn't be too bad.
Thomas Mangin
@thomas-mangin
Travis is failing as the git clone is not working, I have raised this issue with their support as I can perform the same clone locally
Thomas Mangin
@thomas-mangin
We have a couple of new software/systems developer roles now available to join our existing R&D team at Exa. This is a great chance to work with some amazing people and help us develop existing software used by some of the biggest companies in the world and of course work on new software, products and systems that will help shape the future of our company. If you are interested get in touch with me directly
That sound pompous … Made me smile to find this on my co director LinkedIn board :-)
sanjmonkey
@sanjmonkey
hi @thomas-mangin - any luck with the MD5 problem? Did you manage to see how those other implementations see it?
Thomas Mangin
@thomas-mangin
I have not been able to work on it this week
Perhaps this week-end
I am at loss tho and want to ask Andrej if he knows why
sanjmonkey
@sanjmonkey
ok no problem - thanks for letting me know :)
Thomas Mangin
@thomas-mangin
I wish I could be more useful but we are trying to migrate ERP and have hard deadlines on our content filtering software … So I am quite overloaded atm.
well, we are migrating but it takes the time it takes to get it 100% right and last minutes issues are always fun !
Thomas Mangin
@thomas-mangin
@sanjmonkey not forgotten about MD5 .. Just slow ….
sanjmonkey
@sanjmonkey
@thomas-mangin no problemo. I had a free hour this afternoon and started to look again. What is the significance of MD5SIG and 14? Is this OS specific implementation (linux/tcp.h I assume) I missed?
Thomas Mangin
@thomas-mangin
I was not available this afternoon - going to have a look
Thomas Mangin
@thomas-mangin
Yes, it is
sanjmonkey
@sanjmonkey
Im not afraid to admit it @thomas-mangin, I’m a bit stumped. At least I’ve learnt a bit about socket programming today if nothing else :) I’m not able to prove this, but I’m not convinced python socket correctly handles the access into the socket interface for TCP_MD5SIG. (side note; socket.socket.getsockopt(6,14) always returns '[Errno 92] Protocol not available' which is less than helpful.) I see EXA uses exactly the same function to set MD5 .setsockopt() for the correctly functioning outgoing packet (I agree with the packing too), so my doubt is with perhaps how this option is interpreted by socket.socket.listen()
Last time I looked they did how we did
I will have to look at their BSD support at some point to see if I can learn something
I can not see anything wrong with the code neither ...
sanjmonkey
@sanjmonkey
hi @thomas-mangin
re: MD5. a colleage of mine (Dave Overton) and I looked at it again this afternoon. He proved capacilities of linux MD5 listener with a quick c socket server / client setup. so that squashed some doubts in my mind, and we turned back to the python implementation
and we have a patch for exa
Thomas Mangin
@thomas-mangin
Hi @sanjmonkey - ohhh a patch :-) very very welcome :-)
sanjmonkey
@sanjmonkey
email ok?
Thomas Mangin
@thomas-mangin
@sanjmonkey
thomas-mangin/exabgp@a0b880e
Let me know if it does the trick - if so I will add an entry in CHANGELOG
sanjmonkey
@sanjmonkey
tested patch on a fresh clone of mainline 3.4.9 and its working for both active and passive ends. all good. cheers @thomas-mangin
Thomas Mangin
@thomas-mangin
@sanjmonkey Great :-)
sanjmonkey
@sanjmonkey
hi, me again :)
suppose you have multiple sessions you want to be passive for (listen on the same IP), I notice exa fails because if all local-addresses are the same IP, the lucky guy who goes first gets to bind (briefly) and the remainder bork