From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796037507; b=T6uS0g3KK/WtQiDr/Sk6GY2XRYDQBvxFbo9VUONVS8+iDNDMWOAaE3es51gbjjj5F7YQ vRGhsksuwvO1Zj7Snr6q7jEQu0kGH6s4DTAC/7tG4SMdPIlepbhj83eB2G0mkr3IVR6qU yOSof+78h/vp5l3bcaN6FVybXHYDiqkGZDhkgmZCWSK0Ibvl+NjtVWW8PZ0dAsCs8WdrT Htn/mG9r5bdcbUqgIphk2OqOLFz9MTNH6JNRDh2Y75/eo0DYtM7Q2DZeEY3K/QkqVW4Qk fxaTBjiWb7h4CtYLnGLWaiAWNFAPpcPME1C9vYrTGgHgDUfLY1JlszS3txdSDZxn2Ig== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796037507; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:Message-ID:Date:MIME-Version:User-Agent:Subject: To:Cc:References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=lK7gfjqwhuElvrG7/0botuXXbl34I+qMYs1h4mIYMEw=; b=JAnN8YNHFYVljt1dVFs5pYilpQ9rTfIuBBbYVH3x8rZyiC1O1/JTs+4T4IVzRT6qv+Wf cA0m0XT+j6m2tJ+Ldzi+6Xqbi7Gpf8jd5zE0z3tMmaLDKca8L8jkK//B731IV0sLPh19i ZYdzQCO2YHwZwQii/ujEx7ehomvezrQFwZwCdEbGeHsYlz9ddGog3ujnv+j5lkx9DtpDu ovUhEAtDzQauBewVLONrcnaBg9SIl/6xYGY4pUStsptmrI1CnjiyNXZNcchRj6lsc3LSB ffVkaU82jqqWQPrbSbzE6+DAoyjVPsV0P1qMuX7N5r+9OGdrXscd5QbX4CHp0JlqDrw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=AmQQsV5I; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=IgupXdx8; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F22E606A31C for ; Mon, 30 Nov 2026 11:18:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0F22E606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=AmQQsV5I; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=IgupXdx8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796037504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lK7gfjqwhuElvrG7/0botuXXbl34I+qMYs1h4mIYMEw=; b=AmQQsV5IrVgC5zbxVzHZfKES6j6hcgJPCd8qXdpSB6wUA/TkSkDSOALbCQ3hFcv9GmqVvl tyAPSBeGKeeoayqZXzpxBAR+dgK6z/01mcf7WPwcppvXSblID6IeVJwsVkA6d6f791Uds3 YMu3QqeZgC5frwQC3pxRjKt/P8C/twQ= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-655--QwSwBCYNciqTvxTLtcuBg-1; Mon, 30 Nov 2026 11:18:22 +0000 X-MC-Unique: -QwSwBCYNciqTvxTLtcuBg-1 X-Mimecast-MFC-AGG-ID: -QwSwBCYNciqTvxTLtcuBg_1796037502 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-4beee84c431so2020160f8f.0 for ; Mon, 30 Nov 2026 03:18:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1796037501; x=1796642301; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=lK7gfjqwhuElvrG7/0botuXXbl34I+qMYs1h4mIYMEw=; b=IgupXdx8DQiFq5rJqWDbKEWkFYa5/FeZ1bSMhbQbje+jJ4WpKyIWI+NKraI+mXRy8O FkZVhPtFfIGB64NuZyFS4HcDk3vcWjwva/kMSYdOPxMdix1+1Dlify2ry+w1RuOMgs2i KIqMFOZeKX3M6pGBKOJjAwo/UsD8cyJjCuS5cOVtLr0ThwuT3Tz+PQ2iUJzUpB7fnGEc gd5RSw1SR+stFQJHF61amQ7gaBFSeBz2dPtQEjAUwmAT5pJYcatBLMUzKJM9YTAv/Yj9 PjwpuC47hHPP9UukOqHaiOIbXKPpJyTFKu1ZAVP0NTh24RxrDjK+7JXk9jHEPM9XuS90 egaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796037501; x=1796642301; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=lK7gfjqwhuElvrG7/0botuXXbl34I+qMYs1h4mIYMEw=; b=Fup1VdqTCxCn2CqU0Xudo1V5dqzhQa+imKqaz8FrYYILck2MJZOq86TO8cISIBPXge MRyIXwoOGOifkG9hP349LRx5Kb+RbxPVJClki+Ne4hALJF0kEf9R6mQUHYVB8hxvt0tK 1p0+xlFdfTm1YwbGs4TtReluYzsqAc7o4RdByVqjJKqr2EPlbbfGBuPCUPvOrEGmw2Vq t43xF2aw3cmNkI+cjMFGO3xfmMbL/KPz04o/TMtLqyLG/Z2fbwAP4jv/HAByxXA2RoOa F0X8hZsyoUejtlBDZJidRSIg+T3824rkSF2ZrelaILoeFz+mPZjcrczrZC2bOp/LNrA9 o5xg== X-Forwarded-Encrypted: i=1; AL+hErFcZy17np/Y5U1ECeaWdGmZBPKx5BNi5MxQ+UEz49yed2y/x8T1RYWoO2me/woV3ny5AY/Yo+txk9B0@vger.kernel.org X-Gm-Message-State: APuU4Z8O0Uzmp/0It4ZhgPBHLM+T00Vw4BohFq0CHv+70/cWkxRtupyr 4vBia3cZX4wHBK3sjChk05OT1opWawpehKTQm3QfecHL8wtkGi5EHx2DHPP6GGeX1WQKS2sfRcg UCINEhtkJQuykjHjFbH5d6RwOtarQuame8nV6IEWmxohVHa8980K/xLl8+3kvdTo= X-Gm-Gg: AZFdTZc3rKV1nfE3/PGEK+APZR6DQnIROwOFyIX0gNLpNvuRUSwH9Iih6PmA4v2X+7j VkwJhhu+VIYqr6DwYB8x4BTQNRsdeh8YUrQp1n+gS8hw9LviiwRzT1PnUDhDGABB8zcw/J+/cl1 H5xebSqAo0/EqZpK28ycmMqoQxsomqw1qF2xMMeRzN+MZF6MOSqipnpd2Kd77y76wYUBC28o7AN YhvyJKB+nYtzBmoVXeHIS6qIHUNtKrOtz/pp9+VXLenZsdKx2TAcghZSwhHq0cp9kQJXRTncVYI p5jJMPa62R6VFUOHnnPBi45SKpxnVakEqIPJIjSK2oKNvestJLq9Y5Bpeun2o9SYPrOviu0jx3a 0U5bWV2bgTl5mRdGka4QASN/Ow1mtvPTrfclnOoMdvsRdAaxz0J8nlIKo5ZoK5Vjt5z/HwrG8P4 9EXqrfDKfs4nOd5MUyOVGojq0JBshm1WZdnd1TNwWAfizC X-Received: by 2002:a05:6000:2681:b0:4a7:dcc2:a36f with SMTP id ffacd0b85a97d-4aa5a2dc7bfmr87609236f8f.26.1796037501207; Mon, 30 Nov 2026 03:18:21 -0800 (PST) X-Received: by 2002:a05:6000:2681:b0:4a7:dcc2:a36f with SMTP id ffacd0b85a97d-4aa5a2dc7bfmr87609091f8f.26.1796037500369; Mon, 30 Nov 2026 03:18:20 -0800 (PST) Received: from [192.168.88.30] (ip231-128-192-82.pool-bba.aruba.it. [82.192.128.231]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b205443sm67569820f8f.39.2026.11.30.03.18.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Nov 2026 03:18:19 -0800 (PST) Message-ID: <8ce868aa-76d8-43e1-b89c-4e7e2e136cb3@redhat.com> Date: Mon, 30 Nov 2026 12:18:17 +0100 X-Mailing-List: linux-cifs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v19 00/15] net: introduce QUIC infrastructure and core subcomponents To: Xin Long , network dev , quic@lists.linux.dev Cc: davem@davemloft.net, kuba@kernel.org, Eric Dumazet , Simon Horman , Stefan Metzmacher , Moritz Buhl , Tyler Fanelli , Pengtao He , Thomas Dreibholz , Jamie Bainbridge , linux-cifs@vger.kernel.org, Paulo Alcantara , Namjae Jeon , Tom Talpey , kernel-tls-handshake@lists.linux.dev, Chuck Lever , Jeff Layton , Steve Dickson , Hannes Reinecke , Alexander Aring , David Howells , Matthieu Baerts , John Ericson , Cong Wang , "D . Wythe" , Jason Baron , illiliti , Sabrina Dubroca , Marcelo Ricardo Leitner , Daniel Stenberg , Andy Gospodarek , mef@scarletmail.rutgers.edu, paul@jakma.org, Kuniyuki Iwashima References: Content-Language: en-US From: Paolo Abeni In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/25/26 18:05, Xin Long wrote: > On Sun, Nov 22, 2026 at 7:29 PM Xin Long wrote: >> >> Introduction >> ============ >> >> The QUIC protocol, defined in RFC 9000, is a secure, multiplexed transport >> built on top of UDP. It enables low-latency connection establishment, >> stream-based communication with flow control, and supports connection >> migration across network paths, while ensuring confidentiality, integrity, >> and availability. >> >> This implementation introduces QUIC support in Linux Kernel, offering >> several key advantages: >> >> - In-Kernel QUIC Support for Subsystems: Enables kernel subsystems >> such as SMB and NFS to operate over QUIC with minimal changes. Once the >> handshake is complete via the net/handshake APIs, data exchange proceeds >> over standard in-kernel transport interfaces. >> >> - Standard Socket API Semantics: Implements core socket operations >> (listen(), accept(), connect(), sendmsg(), recvmsg(), close(), >> getsockopt(), setsockopt(), getsockname(), and getpeername()), >> allowing user space to interact with QUIC sockets in a familiar, >> POSIX-compliant way. >> >> - ALPN-Based Connection Dispatching: Supports in-kernel ALPN >> (Application-Layer Protocol Negotiation) routing, allowing demultiplexing >> of QUIC connections across different user-space processes based >> on the ALPN identifiers. >> >> - Performance Enhancements: Handles all control messages in-kernel >> to reduce syscall overhead, incorporates zero-copy mechanisms such as >> sendfile() to minimize data movement, and is also structured to support >> future crypto hardware offloads. >> >> This implementation offers fundamental support for the following RFCs: >> >> - RFC9000 - QUIC: A UDP-Based Multiplexed and Secure Transport >> - RFC9001 - Using TLS to Secure QUIC >> - RFC9002 - QUIC Loss Detection and Congestion Control >> - RFC9221 - An Unreliable Datagram Extension to QUIC >> - RFC9287 - Greasing the QUIC Bit >> - RFC9368 - Compatible Version Negotiation for QUIC >> - RFC9369 - QUIC Version 2 >> >> The socket APIs for QUIC follow the RFC draft [1]: >> >> - The Sockets API Extensions for In-kernel QUIC Implementations >> >> Implementation >> ============== >> >> The central design is to implement QUIC within the kernel while delegating >> the handshake to userspace. >> >> Only the processing and creation of raw TLS Handshake Messages are handled >> in userspace, facilitated by a TLS library like GnuTLS. These messages are >> exchanged between kernel and userspace via sendmsg() and recvmsg(), with >> cryptographic details conveyed through control messages (cmsg). >> >> The entire QUIC protocol, aside from the TLS Handshake Messages processing >> and creation, is managed in the kernel. Rather than using an Upper Layer >> Protocol (ULP) layer, this implementation establishes a socket of type >> IPPROTO_QUIC (similar to IPPROTO_MPTCP), operating over UDP tunnels. >> >> For kernel consumers, they can initiate a handshake request from the kernel >> to userspace using the existing net/handshake netlink. The userspace >> component, such as tlshd service [2], then manages the processing >> of the QUIC handshake request. >> >> - Handshake Architecture: >> >> ┌──────┐ ┌──────┐ >> │ APP1 │ │ APP2 │ ... >> └──────┘ └──────┘ >> ┌──────────────────────────────────────────┐ >> │ {quic_client/server_handshake()} │<─────────────┐ >> └──────────────────────────────────────────┘ ┌─────────────┐ >> {send/recvmsg()} {set/getsockopt()} │ tlshd │ >> [CMSG handshake_info] [SOCKOPT_CRYPTO_SECRET] └─────────────┘ >> [SOCKOPT_TRANSPORT_PARAM_EXT] │ ^ >> │ ^ │ ^ │ │ >> Userspace │ │ │ │ │ │ >> ──────────────│─│──────────────────│─│──────────────────│───│─────── >> Kernel │ │ │ │ │ │ >> v │ v │ v │ >> ┌──────────────────┬───────────────────────┐ ┌─────────────┐ >> │ protocol, timer, │ socket (IPPROTO_QUIC) │<──┐ │ handshake │ >> │ ├───────────────────────┤ │ │netlink APIs │ >> │ common, family, │ outqueue | inqueue │ │ └─────────────┘ >> │ ├───────────────────────┤ │ │ │ >> │ stream, connid, │ frame │ │ ┌─────┐ ┌─────┐ >> │ ├───────────────────────┤ │ │ │ │ │ >> │ path, pnspace, │ packet │ │───│ SMB │ │ NFS │... >> │ ├───────────────────────┤ │ │ │ │ │ >> │ cong, crypto │ UDP tunnels │ │ └─────┘ └─────┘ >> └──────────────────┴───────────────────────┘ └──────┴───────┘ >> >> - User Data Architecture: >> >> ┌──────┐ ┌──────┐ >> │ APP1 │ │ APP2 │ ... >> └──────┘ └──────┘ >> {send/recvmsg()} {set/getsockopt()} {recvmsg()} >> [CMSG stream_info] [SOCKOPT_KEY_UPDATE] [EVENT conn update] >> [SOCKOPT_CONNECTION_MIGRATION] [EVENT stream update] >> [SOCKOPT_STREAM_OPEN/RESET/STOP] >> │ ^ │ ^ ^ >> Userspace │ │ │ │ │ >> ──────────────│─│───────────────│─│─────────────────────│─────────── >> Kernel │ │ │ │ │ >> v │ v │ ┌──────────────────┘ >> ┌──────────────────┬───────────────────────┐ >> │ protocol, timer, │ socket (IPPROTO_QUIC) │<──┐{kernel_send/recvmsg()} >> │ ├───────────────────────┤ │{kernel_set/getsockopt()} >> │ common, family, │ outqueue | inqueue │ │{kernel_recvmsg()} >> │ ├───────────────────────┤ │ >> │ stream, connid, │ frame │ │ ┌─────┐ ┌─────┐ >> │ ├───────────────────────┤ │ │ │ │ │ >> │ path, pnspace, │ packet │ │───│ SMB │ │ NFS │... >> │ ├───────────────────────┤ │ │ │ │ │ >> │ cong, crypto │ UDP tunnels │ │ └─────┘ └─────┘ >> └──────────────────┴───────────────────────┘ └──────┴───────┘ >> >> Interface >> ========= >> >> This implementation supports a mapping of QUIC into sockets APIs. Similar >> to TCP and SCTP, a typical Server and Client use the following system call >> sequence to communicate: >> >> Client Server >> ────────────────────────────────────────────────────────────────────── >> sockfd = socket(IPPROTO_QUIC) listenfd = socket(IPPROTO_QUIC) >> bind(sockfd) bind(listenfd) >> listen(listenfd) >> connect(sockfd) >> quic_client_handshake(sockfd) >> sockfd = accept(listenfd) >> quic_server_handshake(sockfd, cert) >> >> sendmsg(sockfd) recvmsg(sockfd) >> close(sockfd) close(sockfd) >> close(listenfd) >> >> Please note that quic_client_handshake() and quic_server_handshake() >> functions are currently sourced from libquic [3]. These functions are >> responsible for receiving and processing the raw TLS handshake messages >> until the completion of the handshake process. >> >> For utilization by kernel consumers, it is essential to have tlshd >> service [2] installed and running in userspace. This service receives >> and manages kernel handshake requests for kernel sockets. In the kernel, >> the APIs closely resemble those used in userspace: >> >> Client Server >> ──────────────────────────────────────────────────────────────────────── >> __sock_create(IPPROTO_QUIC, &sock) __sock_create(IPPROTO_QUIC, &sock) >> kernel_bind(sock) kernel_bind(sock) >> kernel_listen(sock) >> kernel_connect(sock) >> tls_client_hello_x509(args:{sock}) >> kernel_accept(sock, &newsock) >> tls_server_hello_x509(args:{newsock}) >> >> kernel_sendmsg(sock) kernel_recvmsg(newsock) >> sock_release(sock) sock_release(newsock) >> sock_release(sock) >> >> Please be aware that tls_client_hello_x509() and tls_server_hello_x509() >> are APIs from net/handshake/. They are used to dispatch the handshake >> request to the userspace tlshd service and subsequently block until the >> handshake process is completed. >> >> Use Cases >> ========= >> >> - Samba >> >> Stefan Metzmacher has integrated Linux QUIC into Samba for both client >> and server roles [4]. >> >> - tlshd >> >> The tlshd daemon [2] facilitates Linux QUIC handshake requests from >> kernel sockets. This is essential for enabling protocols like SMB >> and NFS over QUIC. >> >> - curl >> >> Linux QUIC is being integrated into curl [5] for HTTP/3. Example usage: >> >> # curl --http3-only https://nghttp2.org:4433/ >> # curl --http3-only https://www.google.com/ >> # curl --http3-only https://facebook.com/ >> # curl --http3-only https://outlook.office.com/ >> # curl --http3-only https://cloudflare-quic.com/ >> >> - httpd-portable >> >> Moritz Buhl has deployed an HTTP/3 server over Linux QUIC [6] that is >> accessible via Firefox and curl: >> >> https://d.moritzbuhl.de/pub >> >> - NetPerfMeter >> >> The latest NetPerfMeter release supports Linux QUIC and can be used to >> run performance evaluations [10]. >> >> Test Coverage >> ============= >> >> The Coverage (gcov) of Functional and Interop Tests: >> >> https://d.moritzbuhl.de/lcov >> >> - Functional Tests >> >> The libquic self-tests (make check) pass on all major architectures: >> x86_64, i386, s390x, aarch64, ppc64le. >> >> - Interop tests >> >> Interoperability was validated using the QUIC Interop Runner [7] against >> all major userland QUIC stacks. Results are available at: >> >> https://d.moritzbuhl.de/ >> >> - Fuzzing via Syzkaller >> >> Syzkaller has been running kernel fuzzing with QUIC for weeks using >> tests/syzkaller/ in libquic [3]. >> >> - Performance Testing >> >> Performance was benchmarked using iperf [8] over a 100G NIC using >> various MTUs and packet sizes: >> >> - QUIC vs. kTLS: >> >> UNIT size:1024 size:4096 size:16384 size:65536 >> Gbits/sec QUIC | kTLS QUIC | kTLS QUIC | kTLS QUIC | kTLS >> ──────────────────────────────────────────────────────────────────── >> mtu:1500 2.27 | 3.26 3.02 | 6.97 3.36 | 9.74 3.48 | 10.8 >> ──────────────────────────────────────────────────────────────────── >> mtu:9000 3.66 | 3.72 5.87 | 8.92 7.03 | 11.2 8.04 | 11.4 >> >> - QUIC(disable_1rtt_encryption) vs. TCP: >> >> UNIT size:1024 size:4096 size:16384 size:65536 >> Gbits/sec QUIC | TCP QUIC | TCP QUIC | TCP QUIC | TCP >> ──────────────────────────────────────────────────────────────────── >> mtu:1500 3.09 | 4.59 4.46 | 14.2 5.07 | 21.3 5.18 | 23.9 >> ──────────────────────────────────────────────────────────────────── >> mtu:9000 4.60 | 4.65 8.41 | 14.0 11.3 | 28.9 13.5 | 39.2 >> >> >> The performance gap between QUIC and kTLS may be attributed to: >> >> - The absence of Generic Segmentation Offload (GSO) for QUIC. >> - An additional data copy on the transmission (TX) path. >> - Extra encryption required for header protection in QUIC. >> - A longer header length for the stream data in QUIC. >> >> Patches >> ======= >> >> Note: This implementation is organized into five parts and submitted across >> two patchsets for review. This patchset includes Parts 1–2, while Parts 3–5 >> will be submitted in a subsequent patchset. For complete series, see [9]. >> >> 1. Infrastructure (2): >> >> net: define IPPROTO_QUIC and SOL_QUIC constants >> net: build socket infrastructure for QUIC protocol >> >> 2. Subcomponents (13): >> >> quic: provide common utilities and data structures >> quic: provide family ops for address and protocol >> quic: provide quic.h header files for kernel and userspace >> quic: add stream management >> quic: add connection id management >> quic: add path management >> quic: add congestion control >> quic: add packet number space >> quic: add crypto key derivation and installation >> quic: add crypto packet encryption and decryption >> quic: add timer management >> quic: add packet builder base >> quic: add packet parser base >> >> 3. Data Processing (8): >> >> quic: add frame encoder and decoder base >> quic: implement outqueue transmission and flow control >> quic: implement outqueue sack and retransmission >> quic: implement inqueue receiving and flow control >> quic: implement frame creation functions >> quic: implement frame processing functions >> quic: implement packet creation functions >> quic: implement packet processing functions >> >> 4. Socket APIs (6): >> >> quic: support bind/listen/connect/accept/close() >> quic: support sendmsg() and recvmsg() >> quic: support socket options related to interaction after handshake >> quic: support socket options related to settings prior to handshake >> quic: support socket options related to setup during handshake >> quic: support socket ioctls and socket dump via procfs >> >> 5. Documentation and Selftests (3): >> >> Documentation: describe QUIC protocol interface in quic.rst >> quic: create sample test using handshake APIs for kernel consumers >> selftests: net: add tests for QUIC protocol >> >> Notice: The QUIC module is currently labeled as "EXPERIMENTAL". >> >> All contributors are recognized in the respective patches with the tag of >> 'Signed-off-by:'. Special thanks to Moritz Buhl and Stefan Metzmacher whose >> practical use cases and insightful feedback have been instrumental in >> shaping the design and advancing the development. >> >> References >> ========== >> >> [1] https://datatracker.ietf.org/doc/html/draft-lxin-quic-socket-apis >> [2] https://github.com/oracle/ktls-utils >> [3] https://github.com/lxin/quic >> [4] https://gitlab.com/samba-team/samba/-/merge_requests/4019 >> [5] https://github.com/moritzbuhl/curl/tree/linux_curl >> [6] https://github.com/moritzbuhl/httpd-portable >> [7] https://github.com/quic-interop/quic-interop-runner >> [8] https://github.com/lxin/iperf >> [9] https://github.com/lxin/net-next/commits/quic/ >> [10] https://www.nntb.no/~dreibh/netperfmeter/ >> >> Changes in v2-v19: See individual patch changelogs for details. >> >> Xin Long (15): >> net: define IPPROTO_QUIC and SOL_QUIC constants >> net: build socket infrastructure for QUIC protocol >> quic: provide common utilities and data structures >> quic: provide family ops for address and protocol >> quic: provide quic.h header files for kernel and userspace >> quic: add stream management >> quic: add connection id management >> quic: add path management >> quic: add congestion control >> quic: add packet number space >> quic: add crypto key derivation and installation >> quic: add crypto packet encryption and decryption >> quic: add timer management >> quic: add packet builder base >> quic: add packet parser base >> >> Documentation/networking/ip-sysctl.rst | 39 + >> MAINTAINERS | 9 + >> include/linux/quic.h | 38 + >> include/linux/socket.h | 1 + >> include/trace/events/sock.h | 3 +- >> include/uapi/linux/in.h | 2 + >> include/uapi/linux/quic.h | 242 +++ >> net/Kconfig | 1 + >> net/Makefile | 1 + >> net/quic/Kconfig | 37 + >> net/quic/Makefile | 9 + >> net/quic/common.c | 567 +++++++ >> net/quic/common.h | 220 +++ >> net/quic/cong.c | 292 ++++ >> net/quic/cong.h | 144 ++ >> net/quic/connid.c | 313 ++++ >> net/quic/connid.h | 191 +++ >> net/quic/crypto.c | 1324 +++++++++++++++++ >> net/quic/crypto.h | 104 ++ >> net/quic/family.c | 441 ++++++ >> net/quic/family.h | 48 + >> net/quic/packet.c | 1093 ++++++++++++++ >> net/quic/packet.h | 109 ++ >> net/quic/path.c | 608 ++++++++ >> net/quic/path.h | 192 +++ >> net/quic/pnspace.c | 273 ++++ >> net/quic/pnspace.h | 201 +++ >> net/quic/protocol.c | 405 +++++ >> net/quic/protocol.h | 57 + >> net/quic/socket.c | 693 +++++++++ >> net/quic/socket.h | 243 +++ >> net/quic/stream.c | 426 ++++++ >> net/quic/stream.h | 133 ++ >> net/quic/timer.c | 154 ++ >> net/quic/timer.h | 45 + >> tools/include/uapi/linux/in.h | 2 + >> .../perf/trace/beauty/include/linux/socket.h | 1 + >> usr/include/Makefile | 1 + >> 38 files changed, 8661 insertions(+), 1 deletion(-) >> create mode 100644 include/linux/quic.h >> create mode 100644 include/uapi/linux/quic.h >> create mode 100644 net/quic/Kconfig >> create mode 100644 net/quic/Makefile >> create mode 100644 net/quic/common.c >> create mode 100644 net/quic/common.h >> create mode 100644 net/quic/cong.c >> create mode 100644 net/quic/cong.h >> create mode 100644 net/quic/connid.c >> create mode 100644 net/quic/connid.h >> create mode 100644 net/quic/crypto.c >> create mode 100644 net/quic/crypto.h >> create mode 100644 net/quic/family.c >> create mode 100644 net/quic/family.h >> create mode 100644 net/quic/packet.c >> create mode 100644 net/quic/packet.h >> create mode 100644 net/quic/path.c >> create mode 100644 net/quic/path.h >> create mode 100644 net/quic/pnspace.c >> create mode 100644 net/quic/pnspace.h >> create mode 100644 net/quic/protocol.c >> create mode 100644 net/quic/protocol.h >> create mode 100644 net/quic/socket.c >> create mode 100644 net/quic/socket.h >> create mode 100644 net/quic/stream.c >> create mode 100644 net/quic/stream.h >> create mode 100644 net/quic/timer.c >> create mode 100644 net/quic/timer.h >> >> -- >> 2.47.1 >> > I've reviewed the Clashiko report: > > https://netdev-ai.bots.linux.dev/sashiko/#/patchset/cover.1795393690.git.lucien.xin%40gmail.com > > and commented on all findings across the patches. > > There's only 1 Medium finding (04/15) is legit. Given its very low > practical risk, I can address it in a subsequent patchset when adding > a similar case. I agree that is better handled as a follow-up. I think even the shared random init should be addressed, but I think that even that should be a follow-up. My understanding is that always performing the rand init at accept time should address sashiko concerns. /P