From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 04AAC4E091 for ; Sun, 6 Jul 2025 18:37:48 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 73F0D6911F3; Sun, 6 Jul 2025 21:37:01 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id A5F6D6911CF for ; Sun, 6 Jul 2025 21:36:48 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id D2AE928191070; Sun, 06 Jul 2025 20:36:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1751827003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KjDqkhlQT4jPPMJMc5iQeUX1JyYrl7Q/DK80V7rLzTI=; b=nRW1DJDI6XqsQ9bV/5dmU93IAg83BAnr8sbwB67WOqLZOupA4uZg0S2dMyaDHxNxkMAenT 6S0A8aVKvfNfmoqZQJpKaq+giLwVwx6E9X8repzSeVVLHx96y7ekKmhBrvS4wdvQdIwe0G inyWqifrcC8lH5nP1G7pjbu6UpyRJ3rA+Ub56e3tIMK/a+WSrHYLz8wfTDpqN/VT9vnouW Wp8DgMIFYL278+0Fsvo/0XwocsW4oNFqxo5riI0GFYT8splVpz0iPcMl/ZIZp/5/Z/MIre t4KtWTAvzxI72XaBN3Ln68ByACIUx0AemlyqRZM9MymclqBhhPrFDwn9xycZHg== From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Sun, 6 Jul 2025 20:36:21 +0200 Message-ID: <20250706183634.38579-1-timo@rothenpieler.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 0/8] WHIP + TLS + UDP fixes and SChannel DTLS support X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Timo Rothenpieler Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Second version of the series, with a bunch of the more trivial already merged it reduced in size a bit. Remaining patches have been revised after comments, and some further fixes have been added. Original Cover-Letter was: This was originally just me attempting to add DTLS support to SChannel, so it can be used with the WHIP protocol. But on the way there, a lot of random fixes and enhancements accumulated, resulting in this series. The main new features are DTLS support for SChannel, which also happens to enable support for listen-mode, which was previous unsupported for normal TLS as well. To enable that, udp.c had to be enhanced to allow reporting the address a packet was received from. In the process of that I realized that udp.c was clearly not made with bidirectional communication in mind, so that had to be fixed as well ( The fifo buffer was used by both read and write without any checks, meaning the two would interfere with each other). The rest are misc fixes for issues in WHIP and the associated new tls code I found. Timo Rothenpieler (8): avformat/tls: move whip specific init out of generic tls code avformat/udp: make recv addr of each packet available avformat/udp: separate rx and tx fifo avformat/udp: add function to set remote address directly avformat/tls: make passing an external socket universal avformat/tls_schannel: add DTLS support avformat/tls_schannel: add option to load server certificate from store avformat/tls_schannel: fix non-blocking write breaking TLS sessions configure | 6 +- libavformat/network.h | 3 + libavformat/tls.c | 9 - libavformat/tls.h | 11 +- libavformat/tls_openssl.c | 26 +- libavformat/tls_schannel.c | 1025 ++++++++++++++++++++++++++++++++---- libavformat/udp.c | 98 +++- libavformat/whip.c | 9 +- 8 files changed, 1044 insertions(+), 143 deletions(-) -- 2.49.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".