Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Core: router context + RI rewrite/refactor #627

Closed
anonimal opened this issue Apr 21, 2017 · 9 comments
Closed

Core: router context + RI rewrite/refactor #627

anonimal opened this issue Apr 21, 2017 · 9 comments

Comments

@anonimal
Copy link
Collaborator

WIP as noted in #617 #621 #623 #626. Ticketing for housekeeping.

WIP in pursuit of isolating #187 (and because RI impl was in bad shape / unmaintainable).


By submitting this issue, I confirm the following:

  • I have read and understood the contributor guide.
  • I have checked that the issue I am reporting can be replicated or that the feature I am suggesting is not present.
  • I have checked opened or recently closed pull requests for existing solutions/implementations to my issue/suggestion.

@anonimal
Copy link
Collaborator Author

Added router context because it's in just as bad shape.

@anonimal anonimal changed the title Core: context + RI rewrite/refactor Core: router context + RI rewrite/refactor Nov 18, 2017
@coneiric
Copy link
Contributor

Small cheat-sheet for RI sizes: router_info_size.md

Some of the maximums are the max allowed by the size byte(s), when the specification doesn't otherwise limit. Should we set a cap in those cases?

@anonimal
Copy link
Collaborator Author

Cap as in capability or cap as in top/hat limit?

@anonimal
Copy link
Collaborator Author

router_info_size.md

I think this would be great in the moneropedia (see monero-site) or perhaps something in kovri-docs or kovri-site?

coneiric added a commit to coneiric/kovri that referenced this issue Jun 27, 2018
Sign, and append the signature, during RouterInfo creation.

Referencing monero-project#627 + monero-project#917
coneiric added a commit to coneiric/kovri that referenced this issue Jun 27, 2018
Verify that a router has a valid signature.

Referencing monero-project#627 + monero-project#917
coneiric added a commit to coneiric/kovri that referenced this issue Jun 27, 2018
@coneiric
Copy link
Contributor

Cap as in capability or cap as in top/hat limit?

Cap as in limit to total RouterInfo size we'll accept. Otherwise, that ~17MB max total size looks like a potential DoS vector.

I think this would be great in the moneropedia (see monero-site) or perhaps something in kovri-docs or kovri-site?

Sure, I can make a PR to monero-site and kovri-docs. Is kovri-site still pulling from kovri-docs? If not, I can make a PR there as well.

@anonimal
Copy link
Collaborator Author

Is kovri-site still pulling from kovri-docs?

Yes, it should be. This is still open though monero-project/kovri-site#73.

@anonimal anonimal removed this from the 0.1.0-alpha milestone Jun 28, 2018
coneiric added a commit to coneiric/kovri that referenced this issue Jul 2, 2018
Sign, and append the signature, during RouterInfo creation.

Referencing monero-project#627 + monero-project#917
coneiric added a commit to coneiric/kovri that referenced this issue Jul 2, 2018
Verify that a router has a valid signature.

Referencing monero-project#627 + monero-project#917
coneiric added a commit to coneiric/kovri that referenced this issue Jul 2, 2018
coneiric added a commit to coneiric/kovri that referenced this issue Jul 2, 2018
Sign, and append the signature, during RouterInfo creation.

Referencing monero-project#627 + monero-project#917
coneiric added a commit to coneiric/kovri that referenced this issue Jul 2, 2018
Verify that a router has a valid signature.

Referencing monero-project#627 + monero-project#917
coneiric added a commit to coneiric/kovri that referenced this issue Jul 2, 2018
@anonimal
Copy link
Collaborator Author

anonimal commented Jul 3, 2018

coneiric#2

@anonimal
Copy link
Collaborator Author

anonimal commented Jul 3, 2018

coneiric#4

@anonimal
Copy link
Collaborator Author

anonimal commented Sep 7, 2018

NOTICE: THIS ISSUE HAS BEEN MOVED TO GitLab. Please continue the discussion there. See #1013 for details.

@anonimal anonimal closed this as completed Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants