From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Patrick McHardy <kaber@trash.net>,
"David S. Miller" <davem@davemloft.net>,
Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Netfilter Development Mailing list
<netfilter-devel@vger.kernel.org>,
netfilter@vger.kernel.org,
TIXADOU Jean-Yves <jean-yves.tixadou@c-s.fr>,
PERRONNY Olivier <olivier.perronny@c-s.fr>
Subject: SIP messages with no/invalid CSeq are dropped by nf_ct_sip, 400 Bad Request is expected instead
Date: Thu, 24 Sep 2015 10:54:12 +0200 [thread overview]
Message-ID: <5603BA34.60700@c-s.fr> (raw)
Hi,
I have an issue with the SIP conntrack:
In commit 30f33e6dee [NETFILTER]: nf_conntrack_sip: support method
specific request/response handling
Modified by b20ab9cc63 netfilter: nf_ct_helper: better logging for
dropped packets
SIP requests with no CSeq header are dropped by kernel before reaching
the user app.
According to RFC4475 "Session Initiation Protocol (SIP) Torture Test
Messages", requests with invalid CSeq should be responded with 400 Bad
Request, and that's what my app does, but it can only do it if it
receives the request.
How can we solve that ?
Christophe
next reply other threads:[~2015-09-24 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-24 8:54 Christophe Leroy [this message]
2015-09-24 11:19 ` SIP messages with no/invalid CSeq are dropped by nf_ct_sip, 400 Bad Request is expected instead Patrick McHardy
2015-09-24 11:49 ` Christophe Leroy
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=5603BA34.60700@c-s.fr \
--to=christophe.leroy@c-s.fr \
--cc=davem@davemloft.net \
--cc=jean-yves.tixadou@c-s.fr \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.org \
--cc=olivier.perronny@c-s.fr \
--cc=pablo@netfilter.org \
/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).