pkg/v-m: vmagent: Remove IP address restrictions
dustin/metricspi/pipeline/head This commit looks good
Details
dustin/metricspi/pipeline/head This commit looks good
Details
Setting `IPAddressAllow` and `IPAddressDeny` instructs systemd to construct BPF firewall rules to restrict traffic. Since `vmagent` is responsible for scraping metrics from hosts on the network, it does not make any sense to restrict it to localhost-only communication.pull/2/head
parent
c1a6f3bb8e
commit
7fddc6fef5
|
@ -19,8 +19,6 @@ ReadWritePaths=/var/lib/victoria-metrics
|
||||||
CapabilityBoundingSet=
|
CapabilityBoundingSet=
|
||||||
DeviceAllow=
|
DeviceAllow=
|
||||||
DevicePolicy=closed
|
DevicePolicy=closed
|
||||||
IPAddressAllow=localhost
|
|
||||||
IPAddressDeny=any
|
|
||||||
LockPersonality=yes
|
LockPersonality=yes
|
||||||
MemoryDenyWriteExecute=yes
|
MemoryDenyWriteExecute=yes
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
|
|
Loading…
Reference in New Issue