diff options
| author | tv <tv@krebsco.de> | 2026-11-21 18:17:26 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 22:53:22 +0100 |
| commit | 00b15b27c2f4510c262474c8ae54be588c575476 (patch) | |
| tree | f22d3f4f097e40934df7f0b9c58481a5a9992892 /modules/host/egress.lua | |
| parent | 595f6e3f69702aa50f17d37eb49d9050257307a0 (diff) | |
tests/vm-host.nix: the HTTPS proxy
The proxy was only ever tested by hand, in network namespaces, with its
configuration taken out of the module. Now the VM test covers it with
the module for real: an upstream (openssl s_server) serving allowed.test
& co. with a certificate from a test CA the host trusts, and
untrusted.test with a self-signed one, and a dnsmasq on the host's lo
as nginx's resolver. Checked: whole domains passed through (with the
upstream's certificate, subdomains too), path rules decrypted (with the
proxy's), other paths, `..`, `%2e%2e` and a Host other than the server
name refused, names without a rule and other guests' rules refused, an
upstream certificate that doesn't verify a 502, POST /check for
https://, the log lines, and rules changing without a reload.
Diffstat (limited to 'modules/host/egress.lua')
0 files changed, 0 insertions, 0 deletions
