I want to test quic protocol with caddy.
1. What version of Caddy are you using (caddy -version
)?
0.10.10
2. What are you trying to do?
try do test quic protocol.
3. What is your entire Caddyfile?
https://www.example.com:8443 {
root /home/zhaobo/web/caddy
log /tmp/caddy.log
tls /home/zhaobo/ca/root/intermediate/certs/www.example.com.cert.ca-bundle /home/zhaobo/ca/root/intermediate/private/www.example.com.key.pem
}
4. How did you run Caddy (give the full command and describe the execution environment)?
./caddy -quic
5. Please paste any relevant HTTP request(s) here.
General:
Request URL:https://www.example.com:8443/
Request Method:GET
Status Code:304
Remote Address:169.254.0.3:8443
Referrer Policy:no-referrer-when-downgrade
Request header:
:authority:www.example.com:8443
:method:GET
:path:/
:scheme:https
accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
accept-encoding:gzip, deflate, br
accept-language:zh-CN,zh;q=0.9,en;q=0.8
cache-control:max-age=0
if-modified-since:Tue, 27 Feb 2018 11:06:34 GMT
if-none-match:“p4t2uyhb”
upgrade-insecure-requests:1
user-agent:Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
Reponse header:
alt-svc:quic=":8443"; ma=2592000; v=“38,37,36,35”
date:Tue, 27 Feb 2018 11:07:04 GMT
etag:“p4t2uyhb”
server:Caddy
status:304
6. What did you expect to see?
I use tcpdump at 169.254.0.3, but I only see the tcp packet not udp packet. I use self-signed certificate and Chrome show web site is secured(display a lock in green color).
I have enabled quic in chrome according to user guide.
7. What did you see instead (give full error messages and/or log)?
I want to know why quic protocol is not used?How can I config caddy or chrome, then quic will be used?
Remember, this community only works when those who get help also give help. Thanks for participating!