mirror of
https://github.com/hanzoai/docdb.git
synced 2026-10-30 18:39:39 +00:00
It reaches the same DocumentDB pool the authenticated MongoDB port does, authenticates nothing and encrypts nothing, so the port was the whole of the access control and it was open by default on every interface while --listen-addr sat on loopback with --auth on. --listen-zap-addr is now the only input: default "-", no ZAP_PORT, no ZAP_DISABLED, no Config.Enabled deciding a second time what setup.go had already decided. A host in the address is refused rather than dropped -- it used to read as bound and answer as open. Honoring a host needs a bind address in luxfi/zap's NodeConfig, and encrypting the transport needs its TLS field filled. Both are upstream work in that package and are not attempted here.