You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix pprof broad exposition
When pprof was enabled on FLP or the agent, it was exposed on ":(port)" which stands for all net interfaces.
FLP and agent configs are modified to accept the full listening address,
not just the port (breaking changes).
For FLP, the pprof config is exposed in FlowCollector. Force using
"localhost" (which stands for 127.0.0.1 in ipv4 but also works on ipv6).
We don't change the FlowCollector API, only the port is exposed.
For the agent, the pprof config is not explicitely exposed but can be
modified through env, so the user may configure whatever they want.
Raise 3 warnings through the webhook:
- when pprof is enbaled on FLP
- when pprof is enabled on the agent
- when the agent pprof uses broad interface exposition
Add more info to the pprof doc about security.
* bump flp/agent deps
* fix agent tests
v.warnings=append(v.warnings, "InstallDemoLoki option is enabled. This is useful for development and demo purposes but should not be used in production.")
0 commit comments