[OpenSER-Users] ipv6 parsing error

Andreas Heise aheise at gmx.de
Wed Jul 9 19:28:58 CEST 2008


Hi Klaus,

please try again with "tcpdump port 5060 -s 1600 -v" with -v the message 
seems
to be only decoded if the ip packet is complete (-s 1600).

Tested with tcpdump version 3.9.5, libpcap version 0.9.5 on Debian.

Let me know if it's working...

regards,
Andreas

Klaus Darilion schrieb:
>
>
> Andreas Heise schrieb:
>>
>> or "tcpdump port 5060 -v" if ngrep is not installed....
>
> That does not work for me - tcpdump still does not show the SIP content.
>
> regards
> klaus
>
>>
>> regards,
>> Andreas
>>
>> Klaus Darilion schrieb:
>>> Hi!
>>>
>>> 1. a tcpdump without SIP message content is useless. Better use 
>>> "ngrep -W byline port 5060" to get the SIP trace
>>>
>>> 2. SIP requires the IPv6 address to be in square brackets:
>>> IPv6reference  =  "[" IPv6address "]"
>>>
>>> -> fix the client
>>>
>>> regards
>>> klaus
>>>
>>> Andhika Gannesha Gemilang schrieb:
>>>  
>>>> Hi,
>>>> Im trying to setup ipv6 for my openser. i add this line in my 
>>>> openser.cfg
>>>> *LIsten=udp:[2004:fa22:337:4::81]:5060
>>>> Listen=tcp:[2004:fa22:337:4::81]:5060
>>>>
>>>> *and then when im trying to register with my sip phone, i got these 
>>>> line:
>>>>
>>>> ERROR:core:parse_uri: bad char ':' in state 3 parsed: 
>>>> <sip:2004:fa22> (13) / <sip:2004:fa22:337:4::81> (23)
>>>> Jul  8 12:02:52 [2977] ERROR:core:parse_sip_msg_uri: bad uri 
>>>> <sip:2004:fa22:337:4::81>
>>>> Jul  8 12:02:52 [2977] WARNING:core:do_action: error in expression
>>>> Jul  8 12:02:52 [2981] ERROR:core:parse_uri: bad char ':' in state 
>>>> 3 parsed: <sip:2004:fa22> (13) / <sip:2004:fa22:337:4::81> (23)
>>>> Jul  8 12:02:52 [2981] ERROR:registrar:extract_aor: failed to parse 
>>>> Address of Record
>>>> Jul  8 12:02:52 [2981] ERROR:registrar:save: failed to extract 
>>>> Address Of Record
>>>>
>>>> and these from tcpdump:
>>>> 12:11:52.267529 IP6 2004:fa22:337:4::84.sip > 
>>>> 2004:fa22:337:4::81.sip: SIP, length: 488
>>>> 12:11:52.272578 IP6 2004:fa22:337:4::81 > ff02::1:ff00:84: ICMP6, 
>>>> neighbor solicitation, who has 2004:fa22:337:4::84, length 32
>>>> 12:11:52.273059 IP6 2004:fa22:337:4::84 > 2004:fa22:337:4::81: 
>>>> ICMP6, neighbor advertisement, tgt is 2004:fa22:337:4::84, length 32
>>>> 12:11:52.273068 IP6 2004:fa22:337:4::81.sip > 
>>>> 2004:fa22:337:4::84.sip: SIP, length: 500
>>>> 12:11:52.469341 IP6 2004:fa22:337:4::84.sip > 
>>>> 2004:fa22:337:4::81.sip: SIP, length: 671
>>>> 12:11:52.470127 IP6 2004:fa22:337:4::81.sip > 
>>>> 2004:fa22:337:4::84.sip: SIP, length: 445
>>>> 12:11:57.264948 IP6 fe80::213:20ff:feac:ce4f > 2004:fa22:337:4::81: 
>>>> ICMP6, neighbor solicitation, who has 2004:fa22:337:4::81, length 32
>>>>
>>>> also, i have disabled the ip6tables.
>>>>
>>>> any assistance would be so helpful to me
>>>>
>>>> thankyou,
>>>>
>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.openser.org
>>>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>>>     
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.openser.org
>>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>   
>>
>




More information about the Users mailing list