[OpenSIPS-Devel] SF.net SVN: opensips:[4712] trunk/tls/tls_server.c

Sara Lee sara.saralee at gmail.com
Thu Sep 4 06:53:11 CEST 2008


Hi Sirs,

I used Wireshark to capture the packets.
Please refer to the attached file -- "tcp-to-tls".
It seems like eyebeam sent the RST packet to opensips.
But if call is from tls to tcp, the connection can be built successfully.

Sara.
2008/9/4 Klaus Darilion <klaus.mailinglists at pernau.at>

> Bogdan-Andrei Iancu wrote:
>
>> Hi Sara,
>>
>> Well, the error description speaks for itself. It seams that opensips
>> opens a connection to eyebeam and for whatever reasons, eyebeam closes the
>> connection. Could you confirm this by looking at the trace - use tcpdump to
>> see who is closing the TCP connection.
>>
>
> Even better use "ssldump" which can decode some SSL messages (e.g. Alert
> messages, ...)
>
> klaus
>
>
>> Thanks and regards,
>> Bogdan
>>
>> Sara Lee wrote:
>>
>>> Hi, Bogdan
>>>
>>> Here is the result.
>>>
>>> Sep  3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: new branch at
>>> sip:2222 at 10.16.88.88:47811;rinstance=fc41501f86822386;transport=TLS
>>> Sep  3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]:
>>> ERROR:core:tls_connect: SSL_ERROR_SYSCALL err=Connection reset by peer(104)
>>> Sep  3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]:
>>> ERROR:core:tls_connect: something wrong in SSL: 5 (ret=-1) err=Connection
>>> reset by peer(104)
>>> Sep  3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]:
>>> ERROR:core:tcp_send: failed to send
>>> Sep  3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]:
>>> ERROR:tm:msg_send: tcp_send failed
>>> Sep  3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]:
>>> ERROR:tm:t_forward_nonack: sending request failed
>>> Sep  3 18:47:09 tld5sip /usr/local/sbin/opensips[8413]: ACC: call missed:
>>> timestamp=1220438829;method=INVITE;from_tag=4d01507d;to_tag=;call_id=OTY3NjBlZmIxM2YyMWZhOTQ3YmFhNTlhYzhkY2Q1NzI.;code=477;reason=Request
>>> Failure
>>>
>>> Regards,
>>> Sara
>>>
>>> 2008/9/3 Bogdan-Andrei Iancu <bogdan at voice-system.ro <mailto:
>>> bogdan at voice-system.ro>>
>>>
>>>    Revision: 4712
>>>
>>> http://opensips.svn.sourceforge.net/opensips/?rev=4712&view=rev
>>>    <http://opensips.svn.sourceforge.net/opensips/?rev=4712&view=rev>
>>>    Author:   bogdan_iancu
>>>    Date:     2008-09-03 06:52:40 +0000 (Wed, 03 Sep 2008)
>>>
>>>    Log Message:
>>>    -----------
>>>    -exteneded loging - for SSL_ERROR_SYSCALL print errno also.
>>>
>>>    Modified Paths:
>>>    --------------
>>>       trunk/tls/tls_server.c
>>>
>>>
>>>    This was sent by the SourceForge.net collaborative development
>>>    platform, the world's largest Open Source development site.
>>>
>>>    _______________________________________________
>>>    Devel mailing list
>>>    Devel at lists.opensips.org <mailto:Devel at lists.opensips.org>
>>>    http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>
>>>
>>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/devel/attachments/20080904/8f7b9dbb/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp-to-tls.cap
Type: application/octet-stream
Size: 9453 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/devel/attachments/20080904/8f7b9dbb/attachment-0001.obj 


More information about the Devel mailing list