AGWA / snid

Zero config TLS proxy server that uses SNI
https://www.agwa.name/blog/post/using_sni_proxying_and_ipv6_to_share_port_443
Other
129 stars 12 forks source link

Log the SNI when ignoring a connection #2

Open frebib opened 1 year ago

frebib commented 1 year ago

This aids with debugging odd error messages like:

2023/01/01 12:00:00 Ignoring connection from 192.168.1.123:34567 because dialing backend failed: dial tcp6 [2001:db8::abcd]:443: 2001:db8::abcd is not an allowed backend