diff options
author | Jerome Borsboom <j.borsboom@erasmusmc.nl> | 2007-06-23 01:08:17 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-06-23 01:08:17 +0400 |
commit | d258131aaea8a3979f82c0313b9a583130b29981 (patch) | |
tree | 0bf797b49c3d3313615d9b0ba811c1b7f14b9bc9 /net | |
parent | 3f2c6d0f4f0dafdc99af0df71edba57e7815cb13 (diff) | |
download | linux-d258131aaea8a3979f82c0313b9a583130b29981.tar.xz |
[NETFILTER]: nf_conntrack_sip: add missing message types containing RTP info
Signed-off-by: Jerome Borsboom <j.borsboom@erasmusmc.nl>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/nf_conntrack_sip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_sip.c b/net/netfilter/nf_conntrack_sip.c index 7aaa8c91b293..1b5c6c1055f7 100644 --- a/net/netfilter/nf_conntrack_sip.c +++ b/net/netfilter/nf_conntrack_sip.c @@ -442,6 +442,9 @@ static int sip_help(struct sk_buff **pskb, /* RTP info only in some SDP pkts */ if (memcmp(dptr, "INVITE", sizeof("INVITE") - 1) != 0 && + memcmp(dptr, "UPDATE", sizeof("UPDATE") - 1) != 0 && + memcmp(dptr, "SIP/2.0 180", sizeof("SIP/2.0 180") - 1) != 0 && + memcmp(dptr, "SIP/2.0 183", sizeof("SIP/2.0 183") - 1) != 0 && memcmp(dptr, "SIP/2.0 200", sizeof("SIP/2.0 200") - 1) != 0) { goto out; } |