Note: This is not in mozilla-services because opm requires that you are an owner of the organization to upload the package (which makes sense).
You can integrate it into an nginx configuration or use the Dockerfile to create a standalone proxy that will check if the IP is in iprepd and has a reputation above the configured threshold.
As well, there is a built in cache of responses that has a configurable TTL (with a default of 30 seconds).
A follow-up item will be creating a compose.yml or similar that can be used to run a set of integration tests.
@sciurus Awesome, sounds good. I'm going to merge this, migrate it over to mozilla-services (got the uploading to opm figured out), then will create a bug around adding metrics support.
This follows what is described in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1497600
Note: This is not in
mozilla-services
because opm requires that you are an owner of the organization to upload the package (which makes sense).You can integrate it into an nginx configuration or use the
Dockerfile
to create a standalone proxy that will check if the IP is iniprepd
and has a reputation above the configured threshold.As well, there is a built in cache of responses that has a configurable TTL (with a default of 30 seconds).
A follow-up item will be creating a
compose.yml
or similar that can be used to run a set of integration tests.