Hello,
On 3/23/12 3:15 PM, Jijo wrote:
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 ?
not really, in a stream protocol, such delays can appear due to
congestions in some routers -- the apps just have to keep reading until
a format error, packet is complete or connection is closed. Few seconds
could be very common in between parts of large sip messages.
Are these sequential CRLFs causing problems?
Cheers,
Daniel
Thanks
Jijo
On Fri, Mar 23, 2012 at 5:34 AM, Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@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
<http://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 <mailto: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(a)gmail.com
<mailto: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(a)lists.sip-router.org
<mailto:sr-users@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, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/