This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit e9a3ab3b6b21cabb3c3e3e70113a58c1720b5819 Author: Michael Niedermayer <[email protected]> AuthorDate: Thu Nov 19 14:57:23 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 14:57:23 2026 +0100 avfilter/f_zmq: warn when listening on all interfaces The default bind address is tcp://*:5555, while the documentation claimed localhost. --- doc/filters.texi | 3 ++- libavfilter/f_zmq.c | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 61c61ceb3e..f76d69e2f3 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -34814,7 +34814,8 @@ For more information about libzmq see: The @code{zmq} and @code{azmq} filters work as a libzmq server, which receives messages sent through a network interface defined by the @option{bind_address} (or the abbreviation "@option{b}") option. -Default value of this option is @file{tcp://localhost:5555}. You may +Default value of this option is @file{tcp://*:5555}, which listens on +all interfaces and is unsafe on an untrusted network. You may want to alter this value to your needs, but do not forget to escape any ':' signs (see @ref{filtergraph escaping}). diff --git a/libavfilter/f_zmq.c b/libavfilter/f_zmq.c index df195d7eb3..30f45e1b2f 100644 --- a/libavfilter/f_zmq.c +++ b/libavfilter/f_zmq.c @@ -68,6 +68,10 @@ static av_cold int init(AVFilterContext *ctx) return AVERROR_EXTERNAL; } + if (av_strstart(zmq->bind_address, "tcp://*:", NULL)) + av_log(ctx, AV_LOG_WARNING, + "Listening on all interfaces for unauthenticated commands\n"); + if (zmq_bind(zmq->responder, zmq->bind_address) == -1) { av_log(ctx, AV_LOG_ERROR, "Could not bind ZMQ socket to address '%s': %s\n", -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
