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

Find a way to clear ncdns cache state on new NYM_EPOCH #11

Open
JeremyRand opened this issue Oct 28, 2019 · 0 comments
Open

Find a way to clear ncdns cache state on new NYM_EPOCH #11

JeremyRand opened this issue Oct 28, 2019 · 0 comments

Comments

@JeremyRand
Copy link
Member

Currently, ncdns's cache doesn't delete old stream isolation ID's, which means the cache will grow without bound as Tor Browser creates more circuits. We should look into something along these lines:

  1. StemNS detects that NYM_EPOCH has changed (it does this anyway to clear the StemNS stream isolation cache).
  2. StemNS sends a NEWNYM command over Prop279 to ncprop279.
  3. ncprop279 instructs the ncdns backend to delete all cache entries.
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

No branches or pull requests

1 participant