-
Hi @jptosso, I am looking to support Maxmind in the Coraza WASM project. I saw there is a Plugin for v2 but since the WASM is using the Coraza v3, that's not usable. I saw you added the code for Maxmind in Coraza v3 but later on removed it. I am wondering what's the plan for this feature to eventually make it available in the WASM project. I wanted to be aligned with your thought before making any changes by myself. Many thanks for the nice work! Jewe K |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey! We appreciate your interest. We are not vendor-locking the solution for maxmind or liteip so that it might stay as plugins. We have to update the plugin, but as we haven't released the stable plugin API it hasn't happened. Also there is no plugin api for directives yet. I'm going to add this discussion to next week's monthly meeting, feel free to join! #582 |
Beta Was this translation helpful? Give feedback.
-
My 2p: This is a very interesting feature and more so if the plan is to implement in proxy-wasm. A few reasons here:
One idea would be to deploy a maxmind server and wasm extensions to connect to it and resolve IPs, it would introduce latency but we could use the timeout as described in https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/proxywasm/hostcall.go#L107 and do a best effort to resolve it. Going beyond we could implement a very simple cache to solve repetitive calls an maintain the eviction through the In sum, I think this is interesting but maybe we want to discuss first these details before rushing the plugin API cc @anuraaga @M4tteoP |
Beta Was this translation helpful? Give feedback.
Hey! We appreciate your interest.
We are not vendor-locking the solution for maxmind or liteip so that it might stay as plugins.
We have to update the plugin, but as we haven't released the stable plugin API it hasn't happened. Also there is no plugin api for directives yet.
I'm going to add this discussion to next week's monthly meeting, feel free to join! #582