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 geoquery tool to Director containers #2059

Merged
merged 3 commits into from
Feb 27, 2025

Conversation

jhiemstrawisc
Copy link
Member

This new tool lets you run geoquery -i {ip addr} inside Director containers. The output is a printout of what the Director is able to tell about the IP address, based on the MaxMind database, e.g.:

$ geoquery -i "128.104.153.58"
IP address 128.104.153.58 is resolvable.
City: Madison
Country: United States
Latitude: 43.0782
Longitude: -89.4075
Accuracy Radius: 10

This new tool lets you run `geoquery -i {ip addr}` inside Director containers.
The output is a printout of what the Director is able to tell about the IP
address, based on the MaxMind database, e.g.:
```
$ geoquery -i "128.104.153.58"
IP address 128.104.153.58 is resolvable.
City: Madison
Country: United States
Latitude: 43.0782
Longitude: -89.4075
Accuracy Radius: 10
```
@jhiemstrawisc jhiemstrawisc added enhancement New feature or request director Issue relating to the director component container labels Feb 27, 2025
@jhiemstrawisc jhiemstrawisc linked an issue Feb 27, 2025 that may be closed by this pull request
7 tasks
Copy link
Contributor

@brianhlin brianhlin left a comment

Choose a reason for hiding this comment

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

LGTM, 2 minor nits

@jhiemstrawisc jhiemstrawisc merged commit 02746de into PelicanPlatform:main Feb 27, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
container director Issue relating to the director component enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package local GeoIP DB query tool
2 participants