<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Hamid,<br>
<br>
By the fact that I'm able to see the SIP INVITE in the trace you
provide, tell me that there is no TLS actually used :).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 01/17/2019 12:48 PM, Hamid Hashmi
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:TY2PR03MB4286FF6A934D1475F59C613CE0830@TY2PR03MB4286.apcprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
I am trying to load test TLS listener through sipp. REGISTER
Request is working on TLS but INVITE is not working. I changed
the transport to TCP and receive following logs</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 16px; margin-top: 0px; background-color: rgb(246, 248, 250); border-radius: 3px; line-height: 1.45; overflow: auto; padding: 16px; color: rgb(36, 41, 46)"><code style="box-sizing: border-box; background: transparent; border-radius: 3px; margin: 0px; display: inline">version: opensips 2.4.3 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: c49ae1d53
main.c compiled on 14:23:04 Dec 5 2018 with gcc 4.8.5
</code></pre>
<pre style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 11.9px; margin-bottom: 0px !important; margin-top: 0px; background-color: rgb(246, 248, 250); border-radius: 3px; line-height: 1.45; overflow: auto; padding: 16px; color: rgb(36, 41, 46)"><code style="box-sizing: border-box; background: transparent; border-radius: 3px; margin: 0px; display: inline">Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_read_req: Accepted connection from 192.168.3.60:36157 on interface 192.168.3.60:2381!
Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_read_req: Using the global ( per process ) buff
Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_handle_req: We didn't manage to read a full request
Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_read_req: tcp_read_req end
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcp_receive_timeout: 0x7fe984baf740 expired - (18, 18) lt=129
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:io_watch_del: [TCP_worker] io_watch_del op on index -1 7 (0x8c2da0, 7, -1, 0x10,0x1) fd_no=5 called
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcpconn_release: releasing con 0x7fe984baf740, state -2, fd=-1, id=1475809186
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcpconn_release: extra_data (nil)
Jan 17 13:10:27 siplb_19 192.168.3.19[29342]: DBG:core:handle_tcp_worker: response= 7fe984baf740, -2 from tcp worker 29333 (0)
Jan 17 13:10:27 siplb_19 192.168.3.19[29342]: DBG:core:tcpconn_destroy: destroying connection 0x7fe98</code></pre>
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
PCAP file is also attached. </div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<span style="font-family: Calibri, Helvetica, sans-serif;
background-color: rgb(255, 255, 255); display: inline
!important">SIPP Caller 192.168.3.60 ------- > </span>SIP
Server 192.168.3.19</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
TLS connection working fine with the softphone. This only occurs
when I send TLS/TCP request through SIPp script. </div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(38, 114, 236);">
<br>
</div>
<div id="signature">
<p class="ecxMsoNormal">Regards</p>
<p class="ecxMsoNormal"><a name="_MailAutoSig" target="_blank"
moz-do-not-send="true"><b><span style="font-size:8.0pt;
font-family:"Verdana","sans-serif";
font-variant:small-caps; color:navy">Hamid R. Hashmi</span></b></a></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>