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

feat: allow tor proxy to be bypassed for outbound tcp connections #3424

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Oct 6, 2021

Description

  • Adds tor_proxy_bypass_for_outbound_tcp setting that allows direct
    outbound connections to be made for TCP nodes, bypassing tor
  • Mobile will have this set for now until it can be configured by the apps

Motivation and Context

By default, the most private mode is set and all traffic is routed through tor. With this option set
outbound tcp traffic bypasses tor for outbound TCP peer addresses in exchange for better
bandwidth and latency.

How Has This Been Tested?

Some unit tests + manually

- Adds `tor_proxy_bypass_for_outbound_tcp` setting that allows direct
  outbound connections to be made for TCP nodes, bypassing tor
Copy link
Collaborator

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Need to probably make it clear in the mobile apps that they are doing that

@sdbondi
Copy link
Member Author

sdbondi commented Oct 6, 2021

Ah yeah sorry was a bit rushed with the description - happy to keep it like that or do you think it should be turned off?

@stringhandler
Copy link
Collaborator

I think it's fine, but we need to add a config that can be set in the mobile apps

@aviator-app aviator-app bot merged commit 6a5982e into tari-project:development Oct 6, 2021
@sdbondi sdbondi deleted the comms-outbound-bypass-tor branch November 24, 2021 09:52
@sdbondi sdbondi restored the comms-outbound-bypass-tor branch February 3, 2022 05:27
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