namecoin / ncdns

:globe_with_meridians: Namecoin to DNS bridge daemon
https://www.namecoin.org/
GNU General Public License v3.0
137 stars 41 forks source link

Backend LRU cache doesn't support stream isolation #112

Closed JeremyRand closed 5 years ago

JeremyRand commented 5 years ago

All queries to a Backend use the same LRU cache, which will leak state between queries. This is harmful for use cases such as Tor, where stream-isolated connections should not share any state. We should fix this by implementing stream-isolated LRU caches.