Hi Răzvan
Thank you, I have already set the TCP chunk size to 8 but it was still showing
"4 read attempts".
Protocol TCPloadmodule "proto_tcp.so"modparam("proto_tcp",
"tcp_send_timeout", 200)modparam("proto_tcp", "tcp_max_msg_chunks", 8)
but from your reply I thought that may there be an potion for TLS too :-p by
increasing chunk size for TLS.
Protocol TLSloadmodule "proto_tls.so"
modparam("proto_tls","verify_cert", "1")modparam("proto_tls","require_cert",
"1")modparam("proto_tls","tls_method",
"TLSv1")modparam("proto_tls","certificate",
"/path/to/certificate.pem")modparam("proto_tls","private_key",
"/path/to/private_key.key")modparam("proto_tls","ca_list",
"/path/to/ca_list.pem")modparam("proto_tls", "tls_max_msg_chunks",
8)modparam("proto_tls", "tls_handshake_timeout", 119)modparam("proto_tls",
"tls_send_timeout", 121)
It worked. :-) Cheers
Hamid R. HashmiSoftware Engineer - VoIPVopium A/S
To: users@lists.opensips.org
From: raz...@opensips.org
Date: Fri, 19 Feb 2016 10:23:28 +0200
Subject: Re: [OpenSIPS-Users] What cause TCP connection reset ?
This situation appears when a SIP message is sent in more than 4
"chunks" (this is tuneable). If the SIP message is too fragmented,
OpenSIPS closes the connection to prevent packets fragmentation
attacks.
Best regards,
Răzvan
On 02/19/2016 07:25 AM, Hamid Hashmi
wrote:
Why opensips send TCP
connection reset packet ?
I have been facing an error of
ERROR:proto_tls:tcp_handle_req:
Made 4 read attempts but message is not complete yet -
closing connection
while wireshark traces
shows that a TCP connection reset packet was sent back to
UAC by opensips server.
Hamid
R. Hashmi
Software Engineer - VoIP
Vopium
A/S
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users