<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:10pt">Version: OpenSip 1.4.2 <br>
OS: CentOS release 5 (Final) x64<br><br>Under decent load, we're seeing more than a few parsing exceptions
where it appears as though some of the memory is getting overrun <br>
<br>
Examples are <br>
<br>
Feb 28 08:03:17 sip101 /usr/local/sbin/opensips[11614]:
ERROR:core:parse_via: invalid port number
<5060branch=z9hG4bK49a93615-0234-0065adf8-8162901a-4330cddf><br><br>Since the ; has been replaced with another character, the parsing tries
to cast the string to an unsigned short, and hence the error. <br>
<br>
The via appears to come in correctly, but something is corrupting it <br>
<br>
Via: SIP/2.0/UDP XX.XXX.XX.XXX:5060;branch=z9hG4bK49a93615-0234-0065adf8-8162901a-4330cddf <br>
<br>
More problematically, we're seeing the same corruption take place in our responses to our media server, which is causing the sip parser on our media server to crash. <br>
<br>
Any thoughts or ideas would be appreciated? Would upgrading to 1.4.3 or 1.4.4 resolve the issue? <br>
<br>
Thanks in advance.<!-- google_ad_section_end -->
                        <br>Joel<br><br>p.s. more errors are attached.<br><br>Feb 28 12:03:24 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:parse_cseq: no method found <br>Feb 28 12:03:24 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:parse_cseq: bad cseq <br>Feb 28 12:03:24 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:get_hdr_field: bad cseq <br>Feb 28 12:03:24 sip101 /usr/local/sbin/opensips[11607]: ERROR:tm:t_check: reply cannot be parsed <br>Feb 28 12:03:32 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:parse_first_line: bad reply(status) first line <br>Feb 28 12:03:32 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:parse_first_line: at line 0 char 12: <br>Feb 28 12:03:32 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:parse_first_line: parsed so far: SIP/2.0 18 <br>Feb 28 12:03:32 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:parse_msg: message=<SIP/2.0 18 Ringing<br> Via: SIP/2.0/UDP
x.xx.xx.xx;branch=z9hG4bK6a2e.6b4ecbb6.0<br> Via: SIP/2.0/UDP xx.xxx.xx.xxx:5060;branch=z9hG4bK49a96e61-03c7-0004b28b-ae4f84cb-15db62d0<br> From: <sip:+18008100590@xx.xxx.xx.xxx:5060>;tag=telstage-49b-49a96e61<br> To: sip:+19858922086@x.xx.xx.xx;tag=gK0ad68245<br> Call-ID: 49a96e61-03c7-0004b28a-ae4f84cb-15db62d0@x.x.x.x<br> CSeq: 25605 INVITE<br> Record-Route: <sip:x.xx.xx.xx:5060;lr;ftag=telstage-49b-49a96e61><br> Contact: <sip:+19858922086@x.x.x.x:5060><br> Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE<br> Content-Length: 0<br> <br> > <br>Feb 28 12:03:32 sip101 /usr/local/sbin/opensips[11607]: ERROR:core:receive_msg: parse_msg failed <br>Feb 28 12:04:00 sip101 /usr/local/sbin/opensips[11610]: ERROR:core:parse_via: bad char <<br>Feb 28 12:04:00 sip101 /usr/local/sbin/opensips[11610]: ERROR:core:parse_via: <SIP/2.0/UDP> <br>Feb 28 12:04:00 sip101
/usr/local/sbin/opensips[11610]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP> <br>Feb 28 12:04:00 sip101 /usr/local/sbin/opensips[11610]: ERROR:core:get_hdr_field: bad via <br>Feb 28 12:04:00 sip101 /usr/local/sbin/opensips[11610]: ERROR:core:parse_msg: message=<SIP/2.0 183 Session Progress<br> Via: SIP/2.0/UDP> <br>Feb 28 12:04:00 sip101 /usr/local/sbin/opensips[11610]: ERROR:core:receive_msg: parse_msg failed <br>Feb 28 12:05:20 sip101 /usr/local/sbin/opensips[11608]: ERROR:core:parse_via: bad char <> on state 106 <br>Feb 28 12:05:20 sip101 /usr/local/sbin/opensips[11608]: ERROR:core:parse_via: <SIP/20/UDP xx.xxx.xx.xx:5060;branch=z9hG4bK49a96ecc-0106-006c4545-54be772d-6cb0b91f<br> From: <sip:8886087627@xx.xxx.xx.xxx:5060>;tag=telstage-710-49a96ecc<br> To: sip:+18473231938@x.xx.xx.xx;tag=gK068761a3<br> Call-ID: 49a96ecc-0106-006c4544-54be772d-6cb0b91f@xx.xxx.xx.xxx<br> CSeq: 16141
INVITE<br> Record-Route: <sip:xxx:5060;lr;ftag=telstage-710-49a96ecc><br> Contact: <sip:+18473231938@xx:5060><br> Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE<br> Content-Length: 0<br> <br> > <br>Feb 28 12:05:20 sip101 /usr/local/sbin/opensips[11608]: ERROR:core:parse_via: parsed so far:<SIP/2> <br>Feb 28 12:05:20 sip101 /usr/local/sbin/opensips[11608]: ERROR:core:get_hdr_field: bad via <br>Feb 28 12:05:20 sip101 /usr/local/sbin/opensips[11608]: ERROR:tm:t_check: reply cannot be parsed <br>Feb 28 12:05:20 sip101 /usr/local/sbin/opensips[11608]: ERROR:core:parse_via: bad char <> on state 106 <br>Feb 28 12:05:20 sip101 /usr/local/sbin/opensips[11608]: ERROR:core:parse_via: <SIP/20/UDP xx:5060;branch=z9hG4bK49a96ecc-0106-006c4545-54be772d-6cb0b91f<br> From: <sip:8886087627@xx:5060>;tag=telstage-710-49a96ecc<br> To: sip:+18473231938@xx;tag=gK068761a3<br> Call-ID:
49a96ecc-0106-006c4544-54be772d-6cb0b91f@xx<br> CSeq: 16141 INVITE<br> Record-Route: <sip:xx:5060;lr;ftag=telstage-710-49a96ecc><br> Contact: <sip:+18473231938@xx:5060><br> Allow: INVITE,ACK,CANCEL,BYE,PRACK,UPDATE<br> Content-Length: 0<br> <br> > <br><br><div><br></div></div></body></html>