cant-proxy 0.0.21

The filtering CONNECT proxy behind Cantainer's network allow lists.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# cant-proxy

The filtering HTTP `CONNECT` proxy behind [Cantainer](https://github.com/cantainer/cantainer)'s
network allow lists (`capabilities.network = { allow = ["api.github.com"] }`).

It accepts `CONNECT host:port` only, checks the name against the allow list before any DNS
lookup, resolves once, refuses names that resolve to private, loopback, link-local or other
special-purpose addresses, connects to the checked address and splices bytes both ways. It
logs one line per decision and never the payload. The rules are in
[docs/NETWORK-ALLOWLIST.md](https://github.com/cantainer/cantainer/blob/main/docs/NETWORK-ALLOWLIST.md) ยง6.

Part of Cantainer; not meant to be used on its own. Licensed MIT OR Apache-2.0.