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

Old tunnel traffic due to high turnover in socket and stale DHT info #7629

Closed
synctext opened this issue Oct 10, 2023 · 1 comment
Closed
Assignees

Comments

@synctext
Copy link
Member

synctext commented Oct 10, 2023

Receiving incoming old DHT traffic.
A new peer gets a fresh tunnel slot. DHT has stale information. Other peers on the network try to connect to old peer, but they connect to you. You have joined other swarms.

There are graphs!!! these are sort of the background noise radiation https://en.wikipedia.org/wiki/Internet_background_noise, but now the DHT.

Security implication: even a 30 minute DHT cooldown is insufficient 💥 💣 💥
Bittorrent traffic is fine, that stops.

@egbertbouman
Copy link
Member

Unfortunately, there isn't much we can do about it. Currently, if you create a circuit and send a single packet through it (triggering socket creation at the exit node), you get lots of old traffic.

One way of mitigating this somewhat would be to allow the circuit creator to reuse the same port as was used earlier at a specific exit node. Right now peers jump from port to port every time a circuit gets re-created. This would have to be added to IPv8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants