[OpenSIPS-Users] bogus to header in rls subscribe

Adrian Georgescu ag at ag-projects.com
Mon May 31 20:34:13 CEST 2010


Looks like it is, the wireshark parser may give a clue:

>  The multipart dissector could not find the required boundary parameter.

Is also possible that being UDP, the large packet did not entirely traverse or was not correctly reassembled by the NAT-ed router.

Adrian

On May 31, 2010, at 8:24 PM, Juha Heinanen wrote:

> Anca Vamanu writes:
> 
>> Thank you for the report. I have just committed a fix for this. Please 
>> update.
> 
> anca,
> 
> thanks for the fix.  now to uri is ok.  the only remaining thing that
> bothers me is that wireshark is not able to decode the notify send out
> by opensips presence server (packet dump below).  the client that i used
> for the test is sip-simple and it didn't complain about the notify.
> 
> perhaps this is a bug in wireshark?
> 
> -- juha
> 
> -------------------------------------------------------------------------------
> 
> No.     Time            Source                Destination           Protocol Info
>     21 21:12:49.247670 127.0.0.1             192.98.102.10         SIP/XML  Request: NOTIFY sip:adlyxsef at 87.93.31.28:42636;alias=192.98.102.10:42636t1
> 
> Frame 21 (1903 bytes on wire, 1903 bytes captured)
> Linux cooked capture
> Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 192.98.102.10 (192.98.102.10)
> User Datagram Protocol, Src Port: qcp (5082), Dst Port: sip (5060)
> Session Initiation Protocol
>    Request-Line: NOTIFY sip:adlyxsef at 87.93.31.28:42636;alias=192.98.102.10:42636t1 SIP/2.0
>    Message Header
>        Via: SIP/2.0/UDP 127.0.0.1:5082;branch=z9hG4bKa4ed.dcf85d92.0
>        To: <sip:jh at test.fi>;tag=s2PFhtkyIWqxHojiCEQxroBG1PYTpz63
>        From: <sip:jh-buddies at test.fi>;tag=48de7c3cb9f0a00e953b10ae4e49e9de-09fe
>        CSeq: 2 NOTIFY
>        Call-ID: dTJF60S-AMH4.7WafkQ12Vo0LQaNf3A1
>        Route: <sip:192.98.102.10;lr;ftag=s2PFhtkyIWqxHojiCEQxroBG1PYTpz63>
>        Content-Length: 1104
>        User-Agent: OpenSIPS (1.6.2-notls (i386/linux))
>        Max-Forwards: 70
>        Event: presence
>        Contact: <sip:rls at 127.0.0.1:5082>
>        Subscription-State: active;expires=595
>        Require: eventlist
>        Content-Type: multipart/related;type="application/rlmi+xml";start= "<1275329569.sip:jh-buddies at test.fi.1189641421>";boundary="1fZ25o5K6UJOKcK25Mw2VZNJ"
>    Message Body
>        MIME Multipart Media Encapsulation, Type: multipart/related, Boundary: "1fZ25o5K6UJOKcK25Mw2VZNJ"
>            [Type: multipart/related]
>            First boundary: --1fZ25o5K6UJOKcK25Mw2VZNJ\r\n
>            Encapsulated multipart part:  (application/rlmi+xml)
>                Content-Transfer-Encoding: binary\r\n
>                Content-ID: <1275329569.sip:jh-buddies at test.fi.1189641421>\r\n
>                Content-Type: application/rlmi+xml;charset="UTF-8r"\r\n\r\n
>                eXtensible Markup Language
>                    <?xml
>                    <list>
>                        uri="sip:jh-buddies at test.fi"
>                        xmlns="urn:ietf:params:xml:ns:rlmi"
>                        version="2"
>                        fullState="false"
>                        <resource>
>                            uri="sip:test-buddies at test.fi"
>                            <instance/>
>                            </resource>
>                        </list>
>            Boundary: \r\n--1fZ25o5K6UJOKcK25Mw2VZNJ\r\n
>            Encapsulated multipart part:  (multipart/related)
>                Content-Transfer-Encoding: binary\r\n
>                Content-ID: <1275329569.sip:test-buddies at test.fi.596516649>\r\n
>                Content-Type: multipart/related;type="application/rlmi+xml";start= "<127532956\r\n\r\n
>                The multipart dissector could not find the required boundary parameter.
>                Data (411 bytes)
> 
> 0000  2d 2d 68 79 47 6f 48 44 42 58 77 31 79 4c 61 59   --hyGoHDBXw1yLaY
> 0010  6c 76 56 46 6a 6e 6f 4d 44 57 0d 0a 43 6f 6e 74   lvVFjnoMDW..Cont
> 0020  65 6e 74 2d 54 72 61 6e 73 66 65 72 2d 45 6e 63   ent-Transfer-Enc
> 0030  6f 64 69 6e 67 3a 20 62 69 6e 61 72 79 0d 0a 43   oding: binary..C
> 0040  6f 6e 74 65 6e 74 2d 49 44 3a 20 3c 31 32 37 35   ontent-ID: <1275
> 0050  33 32 39 35 36 34 2e 73 69 70 3a 74 65 73 74 2d   329564.sip:test-
> 0060  62 75 64 64 69 65 73 40 74 65 73 74 2e 66 69 2e   buddies at test.fi.
> 0070  37 39 33 39 32 37 32 31 31 3e 0d 0a 43 6f 6e 74   793927211>..Cont
> 0080  65 6e 74 2d 54 79 70 65 3a 20 61 70 70 6c 69 63   ent-Type: applic
> 0090  61 74 69 6f 6e 2f 72 6c 6d 69 2b 78 6d 6c 3b 63   ation/rlmi+xml;c
> 00a0  68 61 72 73 65 74 3d 22 55 54 46 2d 38 72 22 0d   harset="UTF-8r".
> 00b0  0a 0d 0a 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e   ...<?xml version
> 00c0  3d 22 31 2e 30 22 3f 3e 0a 3c 6c 69 73 74 20 75   ="1.0"?>.<list u
> 00d0  72 69 3d 22 73 69 70 3a 74 65 73 74 2d 62 75 64   ri="sip:test-bud
> 00e0  64 69 65 73 40 74 65 73 74 2e 66 69 22 20 78 6d   dies at test.fi" xm
> 00f0  6c 6e 73 3d 22 75 72 6e 3a 69 65 74 66 3a 70 61   lns="urn:ietf:pa
> 0100  72 61 6d 73 3a 78 6d 6c 3a 6e 73 3a 72 6c 6d 69   rams:xml:ns:rlmi
> 0110  22 20 76 65 72 73 69 6f 6e 3d 22 30 22 20 66 75   " version="0" fu
> 0120  6c 6c 53 74 61 74 65 3d 22 74 72 75 65 22 3e 3c   llState="true"><
> 0130  72 65 73 6f 75 72 63 65 20 75 72 69 3d 22 73 69   resource uri="si
> 0140  70 3a 66 6f 6f 40 74 65 73 74 2e 66 69 22 2f 3e   p:foo at test.fi"/>
> 0150  3c 72 65 73 6f 75 72 63 65 20 75 72 69 3d 22 73   <resource uri="s
> 0160  69 70 3a 62 61 72 40 74 65 73 74 2e 66 69 22 2f   ip:bar at test.fi"/
> 0170  3e 3c 2f 6c 69 73 74 3e 0a 0d 0a 2d 2d 68 79 47   ></list>...--hyG
> 0180  6f 48 44 42 58 77 31 79 4c 61 59 6c 76 56 46 6a   oHDBXw1yLaYlvVFj
> 0190  6e 6f 4d 44 57 2d 2d 0d 0a 0d 0a                  noMDW--....
>                    Data: 2D2D6879476F484442587731794C61596C7656466A6E6F4D...
>                    [Length: 411]
>            Last boundary: \r\n--1fZ25o5K6UJOKcK25Mw2VZNJ--\r\n
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 




More information about the Users mailing list