ns1labs / doq-proxy Goto Github PK
View Code? Open in Web Editor NEWDNS-over-QUIC to UDP Proxy
License: Apache License 2.0
DNS-over-QUIC to UDP Proxy
License: Apache License 2.0
I ran into this issue after attempting to run sudo ./proxy following key generation. This issue was encountered on CentOS 7. The full error message was: msg="terminating after error" err="load certificate: x509: failed to parse ECDSA parameters as named curve. The two commands I ran to generate the key were as follows open ssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out key.pem
and openssl req -x509 -days 365 -subj "\CN-DNS-over-QUIC Test" -key key.pem -out cert.pem
. I was unable to use the option -addext as I would get an error stating that the option is non existent, I do not think it is related to the issue. I have found a fix for anyone who may encounter a similar error. Replace the first key generation command with open ssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -pkeyopt ec_param_enc:named_curve -out key.pem
and doq proxy should run correctly. If the creators see this they should mark the issue as closed, I wanted to post this to save anyone who may run into the error some googling time.
The wait group in cmd/proxy.handleClient never has its Wait method called.
Just testing with the current code:
% ./proxy
panic: qtls.ClientSessionState not compatible with tls.ClientSessionState
goroutine 1 [running]:
github.com/lucas-clemente/quic-go/internal/handshake.init.2()
/home/stephane/Programmation/Go/pkg/mod/github.com/lucas-clemente/[email protected]/internal/handshake/unsafe.go:26 +0x205
% go version
go version go1.15.5 linux/amd64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.