From: Florian Westphal <fw@strlen.de>
To: <netdev@vger.kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>,
<netfilter-devel@vger.kernel.org>,
Florian Westphal <fw@strlen.de>
Subject: [PATCH net 0/4] netfilter: bugfixes for net
Date: Thu, 8 Sep 2022 11:57:53 +0200 [thread overview]
Message-ID: <20220908095757.1755-1-fw@strlen.de> (raw)
Hello,
The following set contains four netfilter patches for your *net* tree.
When there are multiple Contact headers in a SIP message its possible
the next headers won't be found because the SIP helper confuses relative
and absolute offsets in the message. From Igor Ryzhov.
Make the nft_concat_range self-test support socat, this makes the
selftest pass on my test VM, from myself.
nf_conntrack_irc helper can be tricked into opening a local port forward
that the client never requested by embedding a DCC message in a PING
request sent to the client. Fix from David Leadbeater.
Both have been broken since the kernel 2.6.x days.
The 'osf' match might indicate success while it could not find
anything, broken since 5.2 . Fix from Pablo Neira.
Please consider pulling these changes from
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
----------------------------------------------------------------
The following changes since commit 0f51fa2a3ca19783e7817a6be76661cd9136d057:
Merge branch 'dsa-felix-fixes' (2022-09-07 13:44:04 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git
for you to fetch changes up to 559c36c5a8d730c49ef805a72b213d3bba155cc8:
netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find() (2022-09-07 15:55:28 +0200)
----------------------------------------------------------------
David Leadbeater (1):
netfilter: nf_conntrack_irc: Tighten matching on DCC message
Florian Westphal (1):
selftests: nft_concat_range: add socat support
Igor Ryzhov (1):
netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
Pablo Neira Ayuso (1):
netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
net/netfilter/nf_conntrack_irc.c | 34 +++++++++--
net/netfilter/nf_conntrack_sip.c | 4 +-
net/netfilter/nfnetlink_osf.c | 4 +-
.../selftests/netfilter/nft_concat_range.sh | 65 ++++++++++++++++++----
4 files changed, 86 insertions(+), 21 deletions(-)
next reply other threads:[~2022-09-08 9:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 9:57 Florian Westphal [this message]
2022-09-08 9:57 ` [PATCH net 1/4] netfilter: nf_conntrack_sip: fix ct_sip_walk_headers Florian Westphal
2022-09-09 10:00 ` patchwork-bot+netdevbpf
2022-09-08 9:57 ` [PATCH net 2/4] selftests: nft_concat_range: add socat support Florian Westphal
2022-09-08 9:57 ` [PATCH net 3/4] netfilter: nf_conntrack_irc: Tighten matching on DCC message Florian Westphal
2022-09-08 9:57 ` [PATCH net 4/4] netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find() Florian Westphal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220908095757.1755-1-fw@strlen.de \
--to=fw@strlen.de \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).