X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pdns%2Fdnsdist-console.cc;h=6a1c7fc39c1a9c599ef0723060b902102b70cc10;hb=9396d955db8dea9957f8a6db49912b8c326ff9e2;hp=45052f08db4997a28e8a44a9006a86186a6473b1;hpb=20bedafae03502e4464c1c9453fe4728a9677466;p=thirdparty%2Fpdns.git diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index 45052f08db..6a1c7fc39c 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -332,6 +332,9 @@ const std::vector g_consoleKeywords{ { "setKey", true, "key", "set access key to that key" }, { "setLocal", true, "netmask, [true], [false], [TCP Fast Open queue size]", "reset list of addresses we listen on to this address. Second optional parameter sets TCP or not. Third optional parameter sets SO_REUSEPORT when available. Last parameter sets the TCP Fast Open queue size, enabling TCP Fast Open when available and the value is larger than 0." }, { "setMaxTCPClientThreads", true, "n", "set the maximum of TCP client threads, handling TCP connections" }, + { "setMaxTCPConnectionDuration", true, "n", "set the maximum duration of an incoming TCP connection, in seconds. 0 means unlimited" }, + { "setMaxTCPConnectionsPerClient", true, "n", "set the maximum number of TCP connections per client. 0 means unlimited" }, + { "setMaxTCPQueriesPerConnection", true, "n", "set the maximum number of queries in an incoming TCP connection. 0 means unlimited" }, { "setMaxTCPQueuedConnections", true, "n", "set the maximum number of TCP connections queued (waiting to be picked up by a client thread)" }, { "setMaxUDPOutstanding", true, "n", "set the maximum number of outstanding UDP queries to a given backend server. This can only be set at configuration time and defaults to 10240" }, { "setQueryCount", true, "bool", "set whether queries should be counted" },