Hello,
Yes it is sending CRLF after the second CRLF from client.
Another thing is, Kamailio would send CRLF even if the second CRLF come
after few seconds.
I believe we don't have any way to drop it ?
Thanks
Jijo
On Fri, Mar 23, 2012 at 5:34 AM, Daniel-Constantin Mierla <miconda(a)gmail.com
wrote:
> Hello,
>
> is kamailio sending crlf after the second crlf from the client?
>
> 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.
>
> Cheers,
> Daniel
>
>
> On 3/23/12 1:50 AM, Jijo wrote:
>
> 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(a)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(a)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(a)lists.sip-router.org
>>>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>>
>> --
>> Daniel-Constantin Mierla
>>
http://www.asipto.com
>>
>
>
> --
> Daniel-Constantin Mierla
> Kamailio Advanced Training, April 23-26, 2012, Berlin,
Germanyhttp://www.asipto.com/index.php/kamailio-advanced-training/
>
>