QubitProducts / exporter_exporter

A reverse proxy designed for Prometheus exporters
Apache License 2.0
336 stars 55 forks source link

add ip address based auth #25

Closed cyril-s closed 4 years ago

cyril-s commented 4 years ago

Add simple whitelist IP address based authentication. List of allowed networks is passed using -allow.net flag. Useful if you have Linux router with lots of interfaces and lots of firewall rules to simply allow access only from prometheus.

tcolgate commented 4 years ago

I've generally avoided this in favour of TLS auth, but the implementation looks solid, and I'm less idealistic now that I got the TLS in where/when I cared about it :)

tcolgate commented 4 years ago

Thanks. It may be a while before I do a release and update the AUTHORS.