浏览代码

etc/kamailio.cfg: added tcp_accept_iplimit config sample

Arnis Voitkans 1 年之前
父节点
当前提交
30a0fe2ea4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      etc/kamailio.cfg

+ 3 - 0
etc/kamailio.cfg

@@ -211,6 +211,9 @@ tcp_connection_lifetime=3605
 /* upper limit for TCP connections (it includes the TLS connections) */
 tcp_max_connections=2048
 
+/* upper limit for TCP connections for one ip address - default 1024 */
+#tcp_accept_iplimit=1024
+
 #!ifdef WITH_JSONRPC
 tcp_accept_no_cl=yes
 #!endif