Hi Richard,many thanks for the reply. Obviously, the recommended solutions would work if we were trying to protect the exporters from external threats (e.g. from an Internet zone). Unfortunately, current best practices mandate that even local networks (e.g. intranets) should also be treated as inherently hostile. As a result, the scraped nodes will potentially reside directly within a potentially hostile network zone and can't be necessarily partitioned off or protected via an external network appliance.
Note that these attack vectors are only pertinent to a pull (or agent) based monitoring solution as they will only impact anything that opens a listening TCP port.Typically, all services that listen on TCP ports and, hence, are externally accessible need to provide some protection against malicious attacks. This is why there are so many CVEs for components that operate in this mode (e.g. Tomcat, Apache HTTPD, etc).How well do the current Prometheus exporters hold up well against a full pen test using a product like Rapid7?
Cheers,Dominic.
On Friday, 5 May 2017 16:36:50 UTC+2, Richard Hartmann wrote:The first and most obvious line of defense would be to use common
tools like reverse proxies, iptables, and network ACLs as part of
protecting internal interfaces from external access; even if only to
not expose internal metrics to outsiders.
Pull does not imply, and should not include, allowing malicious
external access. And, for the record, neither should push.
Richard
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/d4e2df12-99c2-4f92-85e9-c30cc55bdbad%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-developers+unsub...@googlegroups.com.
To post to this group, send email to prometheus-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/CABbyFmo79O0DoYrY_VGK%2BrwvLRKBWqohUL%3D6Ne4e5MxQJbeqkg%40mail.gmail.com.