Skip to content

Conversation

@benjojo
Copy link
Collaborator

@benjojo benjojo commented Feb 22, 2023

commit e98648f (HEAD -> draft-ietf-sidrops-8210bis-10, origin/draft-ietf-sidrops-8210bis-10)
Author: Ben Cartwright-Cox [email protected]
Date: Wed Feb 22 17:36:06 2023 +0000

Implement draft-ietf-sidrops-8210bis-10 ROA PDU Race Minimization

It will now sort entries before they go out, Sorted by:

Largest CIDR > Largest Max Length > IP address

commit 187410d
Author: Ben Cartwright-Cox [email protected]
Date: Wed Feb 22 17:18:46 2023 +0000

Implment ASPA as defined in draft-ietf-sidrops-8210bis-10

Tag: https://github.com/bgp/stayrtr/issues/79

commit 3b73956
Author: Ben Cartwright-Cox [email protected]
Date: Wed Feb 22 15:17:26 2023 +0000

Add PDU encode/decode support for ASPA

@benjojo benjojo requested a review from job February 22, 2023 17:38
@benjojo
Copy link
Collaborator Author

benjojo commented Feb 22, 2023

@job Looking for a sanity check on this sorting logic.

I've attached a pcap that shows the ordering that it now does:

stayrtr-pull88.pcapng.zip

Serial = flag.Int("serial.value", 0, "Serial number")
Session = flag.Int("session.id", 0, "Session ID")

FlagVersion = flag.Int("rtr.version", 1, "What RTR version you want to use, Version 2 is draft-ietf-sidrops-8210bis-10")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably want to set 2 as the default, after all the client dictates what the actual protocol version is going to be

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I don't do this, then I cannot rtrdump Cloudflare's RTR server, it just instantly hangs up.

I suspect there are more RTR servers like this

Copy link
Member

@job job Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the server immediately hangs up, print a warning suggesting the operator to try a different RTR version.

rtrdump in StayRTR primarily exists to conform the functioning of StayRTR.

Some random RTR servers in the wild being incompatible without proper error messages can't be helped.

Having rtrdump by default be downgraded to earlier protocols because of buggy third-party implementations stifles innovation.

@job
Copy link
Member

job commented Feb 22, 2023

looks good to me

@benjojo
Copy link
Collaborator Author

benjojo commented Feb 22, 2023 via email

@job
Copy link
Member

job commented Feb 22, 2023

It's been adopted, and approved by IESG for publication; draft-ietf-sidrops-8210bis is in the RFC Editor queue (see https://www.rfc-editor.org/current_queue.php and search for 8210)... so apart from spelling errors, its not going to change

@job
Copy link
Member

job commented Feb 22, 2023

perhaps makes sense to also have a -disable.aspa CLI option?

This reverts commit f40e9cc.

Cannot do this, Cloudflare's RTR server cannot deal with this
Just in case!
This currently happens with rtr.rpki.cloudflare.com:8282
@benjojo benjojo merged commit d5dc99a into master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants