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

EXPERIMENTAL: Reduce Tor Circuits Created Client Side from 3 Hops to 2 Hops #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

reece394
Copy link
Contributor

@reece394 reece394 commented Apr 2, 2024

DANGER: This commit compromises the security of Tor by completely eliminating the Middle Tor Nodes. It is not recommended to use this without a VPN or another form of anonymisation.

This commit modifies the source code of Tor to reduce the nodes used when creating the circuits from 3 to 2. Unfortunately attempting to reduce this to 1 did not work as most Tor nodes completely reject traffic using Single Node traffic.

Notably when applying the patch the download speed is more stable in comparison to using 3 nodes but please feel free to test this and give feedback before merging.

Note .onion sites typically use a total of 6 hops - 3 client and 3 server. With this commit it reduces it to 5 hops due to 2 client and 3 server.

@sn0b4ll
Copy link
Owner

sn0b4ll commented Apr 29, 2024

Hey @reece394, many thanks for the PR and your ongoing development on the project.

I will look into it, but I think a config switch (e.g. env-var in docker-compose) for this option would be good since the typical user using this tool without reading the doc would assume Tor is still protecting their privacy.

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