From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH/RFC] netfilter: nf_conntrack_sip: Handle quirky Cisco phones Date: Mon, 15 Nov 2010 10:51:50 +0100 Message-ID: <4CE102B6.9020707@trash.net> References: <28d666269c390965f1a4edca42f93c12@localhost> <1289725175.2743.65.camel@edumazet-laptop> <1289764664.2743.110.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Kevin Cernekee , "David S. Miller" , Alexey Kuznetsov , "Pekka Savola (ipv6)" , James Morris , Hideaki YOSHIFUJI , netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Eric Dumazet Return-path: Received: from stinky.trash.net ([213.144.137.162]:61105 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753516Ab0KOJvu (ORCPT ); Mon, 15 Nov 2010 04:51:50 -0500 In-Reply-To: <1289764664.2743.110.camel@edumazet-laptop> Sender: netdev-owner@vger.kernel.org List-ID: On 14.11.2010 20:57, Eric Dumazet wrote: > Le dimanche 14 novembre 2010 =E0 10:33 -0800, Kevin Cernekee a =E9cri= t : >> On Sun, Nov 14, 2010 at 12:59 AM, Eric Dumazet wrote: >>> I would like to get an exact SIP exchange to make sure their is not >>> another way to handle this without adding a "Cisco" string somewher= e... >>> >>> Please provide a pcap or tcpdump -A >> >> Existing nf_nat_sip: phone sends unauthenticated REGISTER requests >> over and over again, because it is not seeing the replies sent back = to >> port 50070: >> >> 10:05:53.496479 IP 192.168.2.28.50070 > 67.215.241.250.5060: SIP, le= ngth: 723 >> E`...[..@.r.....C...........REGISTER sip:losangeles.voip.ms SIP/2.0 >> Via: SIP/2.0/ >> >=20 > Hmm, partial tcpdump... you should use" tcpdump -s 1000 -A"=20 >=20 > We miss the >=20 > Via: SIP/2.0/UDP 192.168.2.28:5060;branch=3Dxxxxxxxx >=20 >=20 > Maybe a fix would be to use this "5060" port, instead of hardcoding i= t > like you did ? I agree, using the Via header to route the response makes more sense.