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

Support gRPC to query MaxMind database in GeoIP plugin #9686

Open
runderwo opened this issue Dec 3, 2024 · 2 comments
Open

Support gRPC to query MaxMind database in GeoIP plugin #9686

runderwo opened this issue Dec 3, 2024 · 2 comments

Comments

@runderwo
Copy link

runderwo commented Dec 3, 2024

Is your feature request related to a problem? Please describe.
The GeoIP plugin can only operate on a flat file and does not query a service.

Describe the solution you'd like
We would like to query a local cache of the MaxMind database that we expose via a gRPC interface. We would like the plugin to offer a way to fetch database entries from HTTP and gRPC endpoints so that we can point it to our internal caching service.

Describe alternatives you've considered

Additional context

@agup006
Copy link
Member

agup006 commented Dec 4, 2024

@cosmo0920 is this something we can achieve using WASM?

@cosmo0920
Copy link
Contributor

cosmo0920 commented Dec 4, 2024

Unfortunately, no. This is because WASM or WASI on wasm-micro-runtime does not implement socket interface completely. So, we're not able to implement network stack required programming model in filter_wasm mechanism, I'm afraid.

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

No branches or pull requests

3 participants