RPKI flags & exported routes #57
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello team!
We have been using Alice for several months now, but we have not been able to use some of the functionality.
The config looks like this:
Could this be due to the fact that we are using both large community and extended community at the same time on the same prefix?
Now, we can show only their total numbers, but we cannot upload to the neighbor's page, as it happens with accepted, filtered and not exported routes.
Is there any way to do this?
Thanks!
I have the same issue but I am using only extended communities for RPKI, as in:
I tried both options (extended or large), unfortunately the result is the same :(
Ok, think I found the problem. When I use the flag option in [routes_columns] like here:
On the routes page of a specific neighbor, routes that contain a large community are not displayed. As soon as I comment out the flag option, I see routes with a large community
However, it is not yet clear how this is interconnected ...
Where have you found
flags
column? If I try to add this column in[routes_columns]
then listing routes stops working.I saw the flag option in the DE-CIX configuration, tried it myself (Alice 4.2.0) and it worked, but only for the "best routes" (like here - http://lg.dataix.ru/routeservers/rs1-spb-v4/protocols/as3267_654/routes). Unfortunately, for large communities it doesn't work for me.
I've been wanting to take a look at that, where is it available? I don't recall seeing a link in here/documentation.
Some links are on the alice-lg wiki
For example: https://lg.de-cix.net/api/v1/config
Thanks. I didn't know the config can be queried like that! I also don't know where is the wiki - clicking "Wiki" in this GitHub repo does nothing here.
Only the parts required for rendering the frontend of course. :-)
Also, looks like I forgot to document the
flags
column.I just activated the wiki!
Hi Annika -)
What are your thinking about large communities and flag options that don't work together?
the config format looks correct.
Not rendering anything suggests that there is a bug in the JS frontend while rendering the
flags
column.Is there maybe a hint / error in the js dev console?
Yes, i really see error in JS console at the moment of the availability of routes with a large community :
Uncaught (in promise) TypeError: lookup is null
But if i disable flag option - all works good.
can you maybe provide the rest of the error?
Some stacktrace - etc...
I'm pretty sure I can narrow it down where to look but I did not yet encountered this error and need a bit more details to fix this.
Well, if it's not rendered the code path in question will not be executed. So no surprise here...
ah we are getting somewhere!
I note that the error seems different from https://github.com/alice-lg/alice-lg/issues/57#issuecomment-877169392 ... mine has the
asn
value in it.hmmm can I see your reject candidates config?
There are none. I did not understand what this is exactly, some kind of "communities under construction" thing? The whole
rejection_candidates
stanza is commented out.Ah that might explain things.
The reject candidates is intended to signal to the user that these prefixes will be rejected in the future when $condition is enforced.
Are you building from source?
This is a self-built docker image, built using https://github.com/bluikko/alice-lg/tree/github-action-docker
The communities we have are final, nothing more in the pipeline now. Should I add some placeholder candidate community then?
Edit: That's it, added 1 community to
rejection_candidates
and it works now. I can see RPKI status icons inflags
field.I guess the fastest fix is to just add some bogus communities.
I'll add a small path to the develop branch.
I'll prepare a new release over the weekend :-)
Well, as soon as the OpenBGPD support is confirmed OK.
Thx, my problem is solved too due to use fake community in
rejection
field -)Awesome xD
Correction: "best route" flag shows now. With the
[rpki]
settings listed in https://github.com/alice-lg/alice-lg/issues/57#issuecomment-872698053 the RPKI flags are not shown. The communities are detected right since they show in the "communities drop-down box" but flags do not work.The RPKI flag will appear only when using the large community, with the extended ones it also didn't work for me.
That is very disappointing because arouteserver doesn't provide a configurable RPKI verdict community. It provides configurable RPKI status community in a different way that is not compatible with the flags.
I see no reason why RPKI verdict could not be an extended community - or even a standard community. I hope it could be supported, I wonder why such a limitation in the first place.
Using anything other than large communities for this just never came up. 🤷♀️
I'm not sure if you meant it like this - but this is a very demanding attitude of you.
Feel free to implement it and send a PR <3
Please excuse me, it was not meant in that way at all.
It was meant to say exactly that - I really do wonder why such a limitation. I know nothing about the internals but configuring alice-lg I see there is already processing of the 3 different kind of communities and there is no error adding an extended community.
To an ignorant user it seems like a very arbitrary limitation due to the above and one that could possibly be very easily rectified. Of course it could also be a very difficult change.
I will then rather see if in arouteserver side the RPKI verdict could be made configurable.
Edit: To be honest I was not prepared for such a defensive reply at all. Perhaps the limitation should be documented to avoid future feather ruffling.
Good morning @bluikko - I had a very bad day yesterday and read it in really non charitable way - my apologies. :-(
No worries. I appreciate what you are doing for the project.
By the way - the extended communities that we are using come from RFC8097. So there is an actual RFC for RPKI communities - but based on a quick survey of Alice-LG users it seems the Euro-IX recommendations far exceed the RFC usage.
Edit: we might be abandoning the RFC as well and move to the Euro-IX scheme.