<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
is kamailio sending crlf after the second crlf from the client?<br>
<br>
There is no notion of a packet in a stream connection, even a sip
packet can be send char by char and the server has to assemble it by
keep reading in a local buffer until all is retrieved.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 3/23/12 1:50 AM, Jijo wrote:
<blockquote
cite="mid:CAOYmDE_goVjy_cffHcOCF+DCksG=YKhNoo3kBtt8=GOf0+zCQw@mail.gmail.com"
type="cite">Hi
<div><br>
</div>
<div>Sorry for the late reply,</div>
<div><br>
</div>
<div>I observed this issue when testing with broken TLS UA, which
was sending CRLF in two packets instead of double CRLF in a
single packet.</div>
<div><br>
</div>
<div>It is very easy to recreate using openssl s_client command ,
where kamailio as server</div>
<div><br>
</div>
<div> openssl s_client -connect <a moz-do-not-send="true"
href="http://192.168.2.151:5061">192.168.2.151:5061</a>
-CAfile serverCA.pem -crlf</div>
<div><br>
</div>
<div><br>
</div>
<div>After the connection established by the client, Press enter
key two times from the key board, which will send CRLF in two
packet to server and You would see CRLF replied back by
Kamailio </div>
<div><br>
</div>
<div>Note:-crlf will send CR as CRLF in a single packet to server.
</div>
<div><br>
</div>
<div>Thanks</div>
<div>Jijo</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On Sat, Mar 10, 2012 at 6:27 AM,
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
looking at the code, it seems that CRLF is sent only after
CRLFCRLF. Can you get a pcap for your case?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="gmail_quote">
<div>
<div class="h5">On Tue, Feb 28, 2012 at 5:28 PM, Jijo <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:realjijo@gmail.com" target="_blank">realjijo@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div class="h5">Hi All.
<div><br>
</div>
<div>As per the tcp_crlf_ping description, kamailio
shall reply CRLF only when it receives "CRLF
CRLF". But In the 3.1.0 version, if kamailio
recieves "CRLF", it respond back CRLF. Is this an
expected behavior or an error?</div>
<div><br>
</div>
<div>Thanks</div>
<span><font color="#888888">
<div>Jijo</div>
</font></span><br>
</div>
</div>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<span class="HOEnZb"><font color="#888888"><br>
<br clear="all">
<br>
-- <br>
Daniel-Constantin Mierla<br>
<a moz-do-not-send="true"
href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.asipto.com/index.php/kamailio-advanced-training/">http://www.asipto.com/index.php/kamailio-advanced-training/</a></pre>
</body>
</html>