-
Notifications
You must be signed in to change notification settings - Fork 44
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
per prefix as-path validation #24
Comments
can you write C? Lets build it! |
I'm not sure I'm up for the job, I have only very basic C skills. My intention was merely to bring the idea up here for discussions. However, I believe I may have already found a showstopper: how can we construct the specific as-path from IRR data in the first place? Suppose AS20/Bob is a small Tier2 providing transit for AS300 and AS301. So the as-set looks like:
Of course the as-paths are the following:
But really we know that by reading the description and applying good old human logic. I'm not sure how we would be able to determine those as-paths from actual code. I don't think we should invent our own heuristics ... like the transit as is always the first as in the as-set, that's just an assumption. So I'm not sure how we would be able to do this with IRR/RPSL data? |
Validating the origin-as at the other hand should of course be possible. |
As the original requestor, I had my eye on nested AS-Sets. |
I was trying to achieve the same and found this thread. That's right, there's no implicit hierarchy in the AS-SETs. You can't even properly track the AS-SETs to an ASN. |
I work in RIPE Land, and in my use-case we can track from the ASN what they announce. I work for a Tier2/Tier3 ISP, and we usually start by the customer ASN, and resolve it mostly manually. So it might not be obvious, but with a good run away protection in the algorithm you can determine the AS-SET used by any AS, which is the way I need it. There are some edge-cases like circular AS-SET inclusions, but I've never found them hard to solve. |
I would like to bring @m0yellow 's request over from snar/bgpq3#59 :
Per prefix as-path validation may be out of scope ... or not. Let's discuss. It would be nice to have, but it may not be worth the effort, especially for multiple platforms.
The text was updated successfully, but these errors were encountered: