Dear List,
Some new UA device we are testing is causing strange behaviour of SER.
When INVITE is forwarded by our SIP proxy (using SER 0.8.12 cvs + Radius
backend), it contains some garbage characters and IP packet lenght is
disrupted. Packet is cut on exact lenght of 1478 bytes (some MTU limit of
1500 bytes here???)
See little debug below (I can send full debug on priv address).
Notice the additional "."'s before INVITE and garbage in address line (U
xx -> zz:5060 414@0:1480):
I double checked SER log in debug mode, there are no differences between
this abnormal situation and normal INVITE proxying, with other UA devices.
Initial buffers are set to high values and nothing can go wrong..
Is this some bug in SER?
Note: adresses were changed to xxx,yyy and so on:
U xx -> yy:5060
SIP/2.0 100 trying -- your call is important to us..
Via: SIP/2.0/UDP yy:5060;branch=z9hG4bKDB20B3494FE0C715E1DA2AB3390D..
From: <sip:vvv@xx>;tag=6817B284750F6B75621571A17923..
To: <sip:www@xx>..
Call-ID: E5A4F1BBFB9D021B58C6B6440CB3@yy..
CSeq: 18 INVITE..
Server: Sip EXpress router (0.8.12-1rc6 (i386/freebsd))..
Content-Length: 0..
Warning: [...omited...]
#
U xx -> zz:5060 414@0:1480 <-- NOTICE garbage here
........INVITE sip:www@xxx SIP/2.0.. <-- NOTICE "dots" here
Record-Route: <sip:www@xxx;ftag=6817B284750F6B75621571A17923;lr=on>..
Via: SIP/2.0/UDP xxx;branch=z9hG4bK8bef.e7a84e21.0..
Via: SIP/2.0/UDP yyy:5060;branch=z9hG4bKDB20B3494FE0C715E1DA2AB3390D..
From: <sip:vvv@xxx>;tag=6817B284750F6B75621571A17923..
To: <sip:www@xxx>..
Call-ID: E5A4F1BBFB9D021B58C6B6440CB3@yyy..
CSeq: 18 INVITE..
Contact: <sip:vvv@yyy;uniq=BE4F86E6E5C314AE11701C942248>..
Authorization: [...omited...]
Max-Forwards: 69..
User-Agent: [...omited...]
Supported: 100rel, replaces..
Allow-Events: telephone-event..
Allow-Events: refer..
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, UPDATE, PRACK, INFO, SUBSCRIBE,
NOTIFY, REFER..
Content-Type: application/sdp..
Accept: application/sdp..
Accept-Encoding: identity..
Content-Length: 418..
..
v=0..
o=user 20040204 20040204 IN IP4 yyy..
s=call..
c=IN IP4 yyy..
t=1114074899 1114078499..
m=audio 7078 RTP/AVP 8 0 2 102 100 99 18 101 13..
a=rtpmap:8 PCMA/8000..
a=rtpmap:0 PCMU/8000..
a=rtpmap:2 G726-32/8000..
a=rtpmap:102 G726-32/8000..
a=rtpmap:100 G726-40/8000..
a=rtpmap:99 G726-24/8000..
a=rtpmap:18 G729/8000..
a=rtpmap:101 telephone-event/8000..
a=fmtp:101 0-11..
a=rtpmap:13 CN/8000..
a=rt <--- NOTICE packet is cut here at 1478 bytes
########################################
U zzz:5060 -> xxx:5060
SIP/2.0 100 Trying..
Via: SIP/2.0/UDP xxx;branch=z9hG4bK8bef.e7a84e21.0..
Via: SIP/2.0/UDP yy:5060;branch=z9hG4bKDB20B3494FE0C715E1DA2AB3390D..
From: <sip:vvv@xxx>;tag=6817B284750F6B75621571A17923..
To: <sip:www@xxx>;tag=as7a954f71..
Call-ID: E5A4F1BBFB9D021B58C6B6440CB3@yyy..
CSeq: 18 INVITE..
User-Agent: [...omited...]..
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER..Contact: <sip:www@zzz>..
Content-Length: 0..
..
Here is tcpdump of this situation (note the packet lenght error):
---------------------------------------------------------------------------
Packet 5
Timestamp: 01:00:07.969419 (0.068520)
Source Ethernet Address: 00:00:5E:00:01:01 (<unknown>)
Destination Ethernet Address: 00:E0:1E:DF:AE:82 (<unknown>)
Encapsulated Protocol: IP
IP Header
Version: 4
Header Length: 20 bytes
Service Type: 0x10
Datagram Length: 614 bytes
Identification: 0x45FE
Flags: MF=off, DF=off
Fragment Offset: 0
TTL: 64
Encapsulated Protocol: UDP
Header Checksum: 0xDF42
Source IP Address: xxx
Destination IP Address: yyy
UDP Header
Source Port: 5060 (<unknown>)
Destination Port: 5060 (<unknown>)
Datagram Length: 594 bytes (Header=8, Data=586)
Checksum: 0xB306
UDP Data
SIP/2.0 100 trying -- your call is important to us.
Via: SIP/2.0/UDP yyy:5060;branch=z9hG4bK003971715
B46D0300099FFA02356.
From: <sip:vvv@xxx>;tag=3085BFD5D9E8D8717CD
04F54A2A5.
To: <sip:www@xxx>.
Call-ID: 37C1AE7089D5A7FA8302B724D791@yyy.
CSeq: 13 INVITE.
Server: Sip EXpress router (0.8.12-1rc6 (i386/freebsd)).
Content-Length: 0.
Warning: [...omited...].
.
---------------------------------------------------------------------------
Packet 6
Timestamp: 01:00:07.969683 (0.000264)
Source Ethernet Address: 00:00:5E:00:01:01 (<unknown>)
Destination Ethernet Address: 00:0C:6E:A5:38:55 (<unknown>)
Encapsulated Protocol: IP
IP Header
Version: 4
Header Length: 20 bytes
Service Type: 0x10
Datagram Length: 1500 bytes
Identification: 0xCBCD
Flags: MF=on, DF=off
Fragment Offset: 0
TTL: 64
Encapsulated Protocol: UDP
Header Checksum: 0x3A55
Source IP Address: xxx
Destination IP Address: zzz
<*** Packet length corrupt ***>
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Packet 7
Timestamp: 01:00:07.971393 (0.001710)
Source Ethernet Address: 00:0C:6E:A5:38:55 (<unknown>)
Destination Ethernet Address: 00:00:5E:00:01:01 (<unknown>)
Encapsulated Protocol: IP
IP Header
Version: 4
Header Length: 20 bytes
Service Type: 0x10
Datagram Length: 538 bytes
Identification: 0x00DE
Flags: MF=off, DF=on
Fragment Offset: 0
TTL: 64
Encapsulated Protocol: UDP
Header Checksum: 0xE906
Source IP Address: zzz
Destination IP Address: xxx
UDP Header
Source Port: 5060 (<unknown>)
Destination Port: 5060 (<unknown>)
Datagram Length: 518 bytes (Header=8, Data=510)
Checksum: 0xF96E
UDP Data
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP xxx;branch=z9hG4bK487e.541ff4c2
.0.
Via: SIP/2.0/UDP yyy:5060;branch=z9hG4bK003971715
B46D0300099FFA02356.
From: <sip:vvv@xxx>;tag=3085BFD5D9E8D8717CD
04F54A2A5.
To: <sip:www@xxx>;tag=as2f2ca5dd.
Call-ID: 37C1AE7089D5A7FA8302B724D791@yyy
CSeq: 13 INVITE.
User-Agent: Perceval Voicemail Server Idun.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER.
Contact: <sip:www@zzz>.
Content-Length: 0.
.
Thanks for help...
Regards,
Arek Bekiersz
arek(a)perceval.net
------------------------------------------------------------------------
Perceval Technologies sa/nv Rue Tenbosch, 9 B-1000 Brussels
Tel: +32-2-6409194 (ext.213) Fax: +32-2-6403154
URL:
http://www.perceval.net/
E-mail for general informations: info(a)perceval.net
E-mail for technical informations: helpdesk(a)perceval.net
------------------------------------------------------------------------
This e-mail message contains legally PRIVILEGED and CONFIDENTIAL
information intended for the use of the addressee only. If you are not
the intended recipient of this message, please notify the undersigned
by telephone or e-mail reply and destroy this message and any
attachments.
Any views or opinions presented in this e-mail are solely those of
the author and do not necessarily represent those of Perceval. The
integrity and security of this message cannot be guaranteed and it may
be subject to data corruption, interception, unauthorised amendment,
viruses and unforesee