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 A08584BBB1 for ; Wed, 2 Jul 2025 16:57:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id C0F2D68D1C1; Wed, 2 Jul 2025 19:57:10 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id C176B68CC70 for ; Wed, 2 Jul 2025 19:57:04 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 38145281910B0; Wed, 02 Jul 2025 18:57:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1751475424; 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=oxJvJjHnWNHhIfa3GQ63SFe50rPoELmUBSzRkN6sSbA=; b=pPWRSMQvKdwpyycscws/fEHFN6F4J5gmqSMyXHa1jhFzk6+1O5ZidKGll67FoeYYJngI/i xJ87UG5w0Ixjm1NMIpxfRoInZav7NGyxjG3bUSyJkgBDEoZqeQypKg501IAMbhqmJr3rmR LnT5Yxj5EFdaOf2k/2x9x44v9q5nSZhmILq3+cACXL+VBXNAGz4QkSgaDicdR0Z9L4AVBP h/wZGUyHjvZfNBhs6ilN40swPwpPzjXkAZvC0uxVFERgQNLIvlZd9ty29B1eNaIKhKHfYt QJu/DybVqFSUyTb1AX+h7j85XOBqUv3g9hqnDg0QSO9yuA/VNqWlk+RqatktNw== From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Wed, 2 Jul 2025 18:56:28 +0200 Message-ID: <20250702165655.1325-1-timo@rothenpieler.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 00/18] 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: 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 (18): avformat/Makefile: don't hardcode openssl for whip muxer avformat/whip: use av_dict_set_int for int avformat/whip: don't leak options dict avformat/whip: remove redundant WHIP: prefix from all logging avformat/whip: fix format string for printing size_t avformat/tls: use non protocol specific error message avformat/tls: don't use http_proxy for udp sockets avformat/tls: move openssl specific init out of generic code avformat/udp: don't override 0 localport avformat/tls: fix udp init 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: remove unused fingerprint option avformat/tls: clean up new whip options avformat/tls: make passing an external socket universal avformat/tls_openssl: use existing context handle avformat/tls_schannel: add DTLS support configure | 6 +- libavformat/Makefile | 2 +- libavformat/network.h | 3 + libavformat/tls.c | 23 +- libavformat/tls.h | 20 +- libavformat/tls_openssl.c | 33 +- libavformat/tls_schannel.c | 853 ++++++++++++++++++++++++++++++++++--- libavformat/udp.c | 100 +++-- libavformat/whip.c | 167 ++++---- 9 files changed, 998 insertions(+), 209 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".