Research Open source Quic project on Ubuntu 16.04.4 LTS NGTCP2

Source: Internet
Author: User
Tags openssl quic git clone
Recently in the study of the Quic agreement, tried some Quic related open source projects, mainly C,c++,go and other languages written. Here is a record of my tossing ngtcp2 process.
The basic idea is to refer to the project's readme on GitHub. Because it is Ubuntu 16.04, a lot of dependencies are basically satisfied, such as the GCC version is 5.4.0. Quic relies on TLS 1.3 is installed under the source directory of OpenSSL, is not installed in the system library, this is more convenient to use.

git clone--depth 1 Https://
./config enable-tls1_3--prefix= $PWD/build
make-j$ (Nproc)


git clone

./configure pkg_config_path= $PWD/.. /openssl/build/lib/pkgconfig ldflags= "-wl,-rpath, $PWD/. /openssl/build/lib "

make-j$ (nproc) Check

Generate Certificates and keys
CD examples
OpenSSL genrsa-out Server.key 2048
OpenSSL req-new-x509-key server.key-out server.crt-days 3650

Open two terminals, turn on client and server, respectively
./client 4433-i

./server 4433 Server.key server.crt

All operating procedures are identical to those on the project README.

Reference Documents

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.