Proxy follow-ups: unreachable address family, real client address, exchange test in CI #71
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "proxy-followups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three follow-ups found on the live system.
SaltDns.Proxy.Familiesanddocs/shaker.md: eafnosupport and eaddrnotavail are always local; a quick enetunreach is local; a quick ehostunreach counts only when two or more addresses of the family all give it; everything else is a failure. A node is probe-healthy when every checkable address is ok and at least one could be checked; the addresses of an unchecked family follow the node's state. Per group:unchecked_families(column, default empty), console line "IPv6 is not checked: Salt's own host has no IPv6 route", API field, gaugesalt_dns_proxy_family_unchecked{organisation,group,family}, info alertSaltDnsProxyFamilyUncheckedwith a promtool test. Nothing checkable for a group is the existing prober-cannot-judge case, for that group.::ffff:10.0.27.4; the trusted range10.0.0.0/16never matched it (IPv6 tuple against IPv4 range), so the forwarded header was ignored.ProxyIPnormalises IPv4-mapped addresses; enrolment and the WebSocket upgrade useRemoteIp.client_ip/1;record_connectionrefuses private/loopback addresses and clears such a stored suggestion.ci/fetch-shaker.sh(secretshaker_package_token) downloads the binary and checksums, verifies, and the test container mounts it at/shaker. No token: one line, test skipped. Download failure does not fail a pull request; checksum mismatch fails. The skip message says how to get the binary.Migration: one column with an empty-array default; existing rows stay valid.
Deploy effects: see the report in the session; the live group keeps both nodes in, IPv4 only, and nothing is published differently until IPv6 addresses are added.
Checks: format, compile --warnings-as-errors, credo --strict clean; coveralls 91.7%; database tests on a private stack (torn down).