-
Notifications
You must be signed in to change notification settings - Fork 574
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
Add IPAddrBlock and ASIdentifiers extensions (RFC 3779) #4443
base: master
Are you sure you want to change the base?
Conversation
@arckoor There are some CI failures which are relevant. Stylistically for calls to |
@arckoor Remaining CI issues look related to the visibility annotations (eg |
@randombit We're currently chipping away at the fuzzers, but the visibility is also an issue. Previously linux/clang was failing, which I resolved by moving the definition of |
@arckoor ok thanks. I’ll try to have a look over the weekend |
@randombit Have you had the chance to take a look yet, and can I still contribute something to make your life easier? |
@arckoor The main issue here is CI failing. In general this is a change that's appropriate to the library and the code from a quick look seems fine. But we certainly can't merge if it will break the build. Unfortunately I don't know the exact issue; I guess symbol visibility behaves differently on macOS/Windows vs Linux. My only suggestion would be to try adding |
Co-authored-by: butteronarchbtw <[email protected]>
@randombit The clang build should now succeed. After much debugging we realized the compiler was optimizing away the |
This PR implements two extensions required for working with secure routing. These extensions contain IP Addresses or AS numbers, as specified by RFC 3779.
Both encoding and decoding of AS numbers, single addresses, address prefixes and min-max ranges have been tested.