Skip to content
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

Strengthen parsePath and drop two temporary assumptions related to SCION issues #364

Closed
wants to merge 6 commits into from

Conversation

jcp19
Copy link
Contributor

@jcp19 jcp19 commented Jul 8, 2024

@jcp19 jcp19 requested a review from Dspil July 9, 2024 11:13
@jcp19 jcp19 marked this pull request as ready for review July 9, 2024 11:22
matzf pushed a commit to scionproto/scion that referenced this pull request Jul 11, 2024
This PR strengthens the checks performed by the `parsePath` method to
address the issues #4524 and
#4531. In particular, I added
two checks:
- We check that the `CurrHF` field of the parsed path is compatible with
the `CurrINF` field
- We check that non-peering segments have at least two hops

The proof that solution is correct is available in viperproject/VerifiedSCION#364
@jcp19 jcp19 closed this Jul 11, 2024
@jcp19 jcp19 deleted the joao-fix-parsepath branch July 11, 2024 14:29
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.

2 participants