varnishcache / varnish-cache

Varnish Cache source code repository
https://www.varnish-cache.org
Other
3.7k stars 377 forks source link

Via backends: Sending invalid SNI headers #3963

Open delthas opened 1 year ago

delthas commented 1 year ago

The SNI spec states that the SNI header should contain exactly a hostname: neither IP addresses nor ports.

Currently, .authority defaults to .host_header, then .host.

I see two possible solutions here:

nigoroll commented 1 year ago

I would think we should remove the port from Host and fail for IP addresses.