Hi

Sorry for the late reply,

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.

It is very easy to recreate using openssl s_client command , where kamailio as server

 openssl s_client -connect 192.168.2.151:5061  -CAfile serverCA.pem  -crlf


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 

Note:-crlf will send CR as CRLF in a single packet to server.

Thanks
Jijo





On Sat, Mar 10, 2012 at 6:27 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,

looking at the code, it seems that CRLF is sent only after CRLFCRLF. Can you get a pcap for your case?

Cheers,
Daniel

On Tue, Feb 28, 2012 at 5:28 PM, Jijo <realjijo@gmail.com> wrote:
Hi All.

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?

Thanks
Jijo

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
Daniel-Constantin Mierla
  http://www.asipto.com