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

GL/TLD: Geolocation Database #388

Open
clandest opened this issue Sep 22, 2019 · 1 comment
Open

GL/TLD: Geolocation Database #388

clandest opened this issue Sep 22, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Projects

Comments

@clandest
Copy link
Contributor

clandest commented Sep 22, 2019

Build an IP-address-to-country-code geolocation database into the Node. Use it during startup on the Node's public IP address to identify the Node's country. Print the country to the console as part of the startup message.

Note: this should probably not be an actor.

@clandest clandest added the story label Sep 22, 2019
@kauri-hero kauri-hero added this to the Terminal Intelligence milestone Sep 25, 2019
@kauri-hero kauri-hero transferred this issue from MASQ-Project/MASQ-Node-issues Feb 19, 2024
@czarte czarte moved this from Backlog to Development In Progress in MASQNode May 2, 2024
@czarte czarte moved this from Development In Progress to Review + QA in Progress in MASQNode May 2, 2024
@kauri-hero
Copy link
Contributor

Suggestion - there is a performance aspect to this card because the country information is stored in compressed format. (we don't want the source code and Node binary to be large)
Its now around 2.5 Mb

Once, Node boots up, there could be a hashmap in memory which allows searching of the IP blocks to be very performant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 👀 Review + QA in Progress
MASQNode
  
Review + QA in Progress
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants