dlundquist / sniproxy

Proxies incoming HTTP and TLS connections based on the hostname contained in the initial request of the TCP session.
BSD 2-Clause "Simplified" License
2.56k stars 397 forks source link

detect domain when NONE in logs #355

Open twistedr11 opened 4 years ago

twistedr11 commented 4 years ago

i have several domains pointing ( 50 of them ) to a sni proxy server.

how can i detect which of them is present in this error ?

1.1.1.1:37578 -> 2.2.2.2:443 -> NONE [] 7/7 bytes tx 231/462 bytes rx 0.002 seconds

tried to log bad request and set priority to debug but i don't see to be able to get such info

twistedr11 commented 4 years ago

@dlundquist ??