Files
Pulse/internal/hostagent
rcourtman bc3d4a9ed3 Report each host's default gateway and DNS servers
Pulse knew every address a machine holds and nothing about where it
sends traffic bound for other networks or where it resolves names. No
router, gateway or resolver could appear anywhere, because nothing
collected one.

The host agent now reads both from the host's own files on every report:
IPv4 default routes from /proc/net/route, lowest metric first, and the
nameservers of /etc/resolv.conf. Behind a systemd-resolved stub it
reports the servers the stub forwards to. The server accepts only IP
addresses and an interface name, bounds both lists, and carries them on
the host model, the agent facet of the resource and the frontend type.

Gateways are Linux only and IPv4 only. A report without the block stays
unknown, which is never read as "no gateway".

Nothing reads the fields yet. The infrastructure map will use them to
name the gateway machines route through.
2026-11-18 13:29:26 +00:00
..
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00