[SR-Users] CRLF Error with tcp_crlf_ping

Jijo realjijo at gmail.com
Fri Mar 23 01:50:16 CET 2012


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 at 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 at 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 at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
> Daniel-Constantin Mierla
>   http://www.asipto.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120322/4c73071a/attachment.htm>


More information about the sr-users mailing list