Offline proxy semantics audit

One NO_PROXY. Five clients. Different answers.

One environment, five client implementations. This report shows exactly where their DIRECT, PROXY, and ERROR decisions diverge.

Targets6
Agreements0
Disagreements6
Client errors0

Findings

Decision matrix

Target 1

svc.cluster.local:443

https://svc.cluster.local/health

DISAGREE
Proxy route decisions for https://svc.cluster.local/health
ClientRouteEvidenceWhy
curl curl DIRECT no_proxymatched ".svc.cluster.local" curl matched no_proxy rule ".svc.cluster.local".
GNU Wget wget PROXY https_proxyhttp://lower.proxy.example:8080/ wget selected https_proxy; no exclusion rule matched.
CPython urllib.request python DIRECT no_proxymatched ".svc.cluster.local" python matched no_proxy rule ".svc.cluster.local".
Go net/http go PROXY HTTPS_PROXYhttp://upper.proxy.example:8080/ go selected HTTPS_PROXY; no exclusion rule matched.
Ruby URI::Generic ruby DIRECT no_proxymatched "10.0.0.0/8" ruby matched no_proxy rule "10.0.0.0/8".
Target 2

orders.svc.cluster.local:80

http://orders.svc.cluster.local/ready

DISAGREE
Proxy route decisions for http://orders.svc.cluster.local/ready
ClientRouteEvidenceWhy
curl curl DIRECT no_proxymatched ".svc.cluster.local" curl matched no_proxy rule ".svc.cluster.local".
GNU Wget wget DIRECT no_proxymatched ".svc.cluster.local" wget matched no_proxy rule ".svc.cluster.local".
CPython urllib.request python DIRECT no_proxymatched ".svc.cluster.local" python matched no_proxy rule ".svc.cluster.local".
Go net/http go PROXY HTTP_PROXYhttp://upper.proxy.example:8080/ go selected HTTP_PROXY; no exclusion rule matched.
Ruby URI::Generic ruby DIRECT no_proxymatched ".svc.cluster.local" ruby matched no_proxy rule ".svc.cluster.local".
Target 3

billing.corp.example:80

http://billing.corp.example/status

DISAGREE
Proxy route decisions for http://billing.corp.example/status
ClientRouteEvidenceWhy
curl curl PROXY http_proxyhttp://lower.proxy.example:8080/ curl selected http_proxy; no exclusion rule matched.
GNU Wget wget PROXY http_proxyhttp://lower.proxy.example:8080/ wget selected http_proxy; no exclusion rule matched.
CPython urllib.request python PROXY http_proxyhttp://lower.proxy.example:8080/ python selected http_proxy; no exclusion rule matched.
Go net/http go DIRECT NO_PROXYmatched "*.corp.example" go matched NO_PROXY rule "*.corp.example".
Ruby URI::Generic ruby PROXY http_proxyhttp://lower.proxy.example:8080/ ruby selected http_proxy; no exclusion rule matched.
Target 4

10.42.7.18:80

http://10.42.7.18/metrics

DISAGREE
Proxy route decisions for http://10.42.7.18/metrics
ClientRouteEvidenceWhy
curl curl DIRECT no_proxymatched "10.0.0.0/8" curl matched no_proxy rule "10.0.0.0/8".
GNU Wget wget PROXY http_proxyhttp://lower.proxy.example:8080/ wget selected http_proxy; no exclusion rule matched.
CPython urllib.request python PROXY http_proxyhttp://lower.proxy.example:8080/ python selected http_proxy; no exclusion rule matched.
Go net/http go PROXY HTTP_PROXYhttp://upper.proxy.example:8080/ go selected HTTP_PROXY; no exclusion rule matched.
Ruby URI::Generic ruby DIRECT no_proxymatched "10.0.0.0/8" ruby matched no_proxy rule "10.0.0.0/8".
Target 5

127.0.0.1:9000

http://127.0.0.1:9000/debug

DISAGREE
Proxy route decisions for http://127.0.0.1:9000/debug
ClientRouteEvidenceWhy
curl curl PROXY http_proxyhttp://lower.proxy.example:8080/ curl selected http_proxy; no exclusion rule matched.
GNU Wget wget PROXY http_proxyhttp://lower.proxy.example:8080/ wget selected http_proxy; no exclusion rule matched.
CPython urllib.request python PROXY http_proxyhttp://lower.proxy.example:8080/ python selected http_proxy; no exclusion rule matched.
Go net/http go DIRECT Go bypasses localhost and literal loopback addresses. Go bypasses localhost and literal loopback addresses.
Ruby URI::Generic ruby DIRECT Ruby bypasses its first resolved loopback address. Ruby bypasses its first resolved loopback address.
Target 6

public.example:80

http://public.example/download

DISAGREE
Proxy route decisions for http://public.example/download
ClientRouteEvidenceWhy
curl curl PROXY http_proxyhttp://lower.proxy.example:8080/ curl selected http_proxy; no exclusion rule matched.
GNU Wget wget PROXY http_proxyhttp://lower.proxy.example:8080/ wget selected http_proxy; no exclusion rule matched.
CPython urllib.request python PROXY http_proxyhttp://lower.proxy.example:8080/ python selected http_proxy; no exclusion rule matched.
Go net/http go PROXY HTTP_PROXYhttp://upper.proxy.example:8080/ go selected HTTP_PROXY; no exclusion rule matched.
Ruby URI::Generic ruby PROXY http_proxyhttp://lower.proxy.example:8080/ ruby selected http_proxy; no exclusion rule matched.

Behavior sources