ITADN

Fatal error when client tries to connect with invalid hostname

#6ClosedKernelDeimos 创建于 2024-09-19
K
KernelDeimoscommented
~Admittedly I'm not 100% sure about this yet~ (see edit), but it looks like the server crashes when a client uses an invalid hostname. This was with TLS enabled [2] on the `multiplexed` branch. ``` [2024-09-19T22:30:53Z INFO epoxy_server] listening on "<REDACTED>:4000" with socket type TlsTcp and socket transport WebSocket Error: received fatal alert: CertificateUnknown ``` **[+]** Confirmed by putting an invalid hostname in my `/etc/hosts` and visiting `/stats` under that hostname [2] "TLS Enabled" means my config has `socket = "tlstcp"` and `tls_keypair` is set, rather than a more conventional configuration with nginx.
关闭于 2024-09-19 2 条评论