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

add setting to disable reflective IP address detection #2

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

Conversation

xiaokangwang
Copy link

@xiaokangwang xiaokangwang commented Oct 6, 2021

Some users may need to disable reflective IP address detection in some self-hosted scenarios.

  • The server is run inside a private network and the server has no access to the Internet.
  • The server is run within a hostile network environment. The operator does not wish adversaries to gain knowledge that a geph4-exit is more likely to exist on a device. (HTTP communication with checkip.amazonaws.com, HTTP User-Agent: ureq/1.5.5)
  • The operator does not wish Amazon to gain knowledge that a geph4-exit is more likely to exist on a network location.

This new setting keeps the default behaviour unchanged while allowing the user to define if geph4-exit should contact an external service to determine reflective IP address.

This is an individual contribution and does not represent affiliated organizations in any way.

Some users may need to disable reflective IP address detection in some self-hosted scenarios.

* The server is run inside a private network and the server has no access to the Internet.
* The server is run within a hostile network environment. The operator does not wish adversaries to gain knowledge that a geph4-exit is more likely to exist on a device. (HTTP communication with checkip.amazonaws.com, HTTP User-Agent: ureq/1.5.5)
* The operator does not wish Amazon to gain knowledge that a geph4-exit is more likely to exist on a network location.

This new setting keeps the default behaviour unchanged while allowing the user to define if geph4-exit should contact an external service to determine reflective IP address.
@xiaokangwang
Copy link
Author

The ASN database file is also downloaded automatically with no way to disable or prevent without patching the source. It does not serve an essential purpose unless the user is routing the traffic based on destination IP ASN, and even then, it could have been loaded from a file, instead of a network position.

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.

1 participant