Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,25 @@ The exporter supports TLS via a new web configuration file.

See the [exporter-toolkit web-configuration](https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md) for more details.

## IP socket options (TTL, hop limit, DSCP)

The exporter can clamp the IPv4 TTL / IPv6 Hop Limit and set the DSCP codepoint
on packets leaving its listening socket. Configurable via flag, environment
variable, or the `--web.config.file` YAML.

```console
# Defense-in-depth: TTL=2 means scrape responses cannot escape past the
# second router hop, even if firewalls or ACLs ever fail open.
./node_exporter --web.ipv4-ttl=2 --web.ipv6-hop-limit=2

# QoS marking: classify scrape traffic as CS2 (DSCP 16) so intermediate
# equipment queues it correctly.
./node_exporter --web.dscp=16
```

See [docs/IP_SOCKET_CONFIG.md](docs/IP_SOCKET_CONFIG.md) for the full design,
configuration surface, and platform support matrix.

[travis]: https://travis-ci.org/prometheus/node_exporter
[hub]: https://hub.docker.com/r/prom/node-exporter/
[circleci]: https://circleci.com/gh/prometheus/node_exporter
Expand Down
Loading