mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-28 13:08:06 +00:00
merge rt4112
This commit is contained in:
parent
6434457b0b
commit
43ee20a821
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: config.c,v 1.32 2002/09/10 04:45:52 marka Exp $ */
|
/* $Id: config.c,v 1.33 2002/11/12 23:38:10 explorer Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -80,6 +80,7 @@ options {\n\
|
|||||||
statistics-file \"named.stats\";\n\
|
statistics-file \"named.stats\";\n\
|
||||||
statistics-interval 60;\n\
|
statistics-interval 60;\n\
|
||||||
tcp-clients 100;\n\
|
tcp-clients 100;\n\
|
||||||
|
tcp-listen-queue 3;\n\
|
||||||
# tkey-dhkey <none>\n\
|
# tkey-dhkey <none>\n\
|
||||||
# tkey-gssapi-credential <none>\n\
|
# tkey-gssapi-credential <none>\n\
|
||||||
# tkey-domain <none>\n\
|
# tkey-domain <none>\n\
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: globals.h,v 1.59 2001/08/08 20:37:31 gson Exp $ */
|
/* $Id: globals.h,v 1.60 2002/11/12 23:38:11 explorer Exp $ */
|
||||||
|
|
||||||
#ifndef NAMED_GLOBALS_H
|
#ifndef NAMED_GLOBALS_H
|
||||||
#define NAMED_GLOBALS_H 1
|
#define NAMED_GLOBALS_H 1
|
||||||
@ -107,6 +107,8 @@ EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR
|
|||||||
"/run/lwresd.pid");
|
"/run/lwresd.pid");
|
||||||
EXTERN const char * ns_g_username INIT(NULL);
|
EXTERN const char * ns_g_username INIT(NULL);
|
||||||
|
|
||||||
|
EXTERN int ns_g_listen INIT(3);
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#undef INIT
|
#undef INIT
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: interfacemgr.c,v 1.74 2002/10/31 04:08:22 marka Exp $ */
|
/* $Id: interfacemgr.c,v 1.75 2002/11/12 23:38:10 explorer Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ ns_interface_accepttcp(ns_interface_t *ifp) {
|
|||||||
isc_result_totext(result));
|
isc_result_totext(result));
|
||||||
goto tcp_bind_failure;
|
goto tcp_bind_failure;
|
||||||
}
|
}
|
||||||
result = isc_socket_listen(ifp->tcpsocket, 3);
|
result = isc_socket_listen(ifp->tcpsocket, ns_g_listen);
|
||||||
if (result != ISC_R_SUCCESS) {
|
if (result != ISC_R_SUCCESS) {
|
||||||
isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR,
|
isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR,
|
||||||
"listening on TCP socket: %s",
|
"listening on TCP socket: %s",
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.389 2002/09/11 04:32:29 marka Exp $ */
|
/* $Id: server.c,v 1.390 2002/11/12 23:38:11 explorer Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -1787,6 +1787,16 @@ load_configuration(const char *filename, ns_server_t *server,
|
|||||||
else
|
else
|
||||||
CHECKM(ns_config_getport(config, &listen_port), "port");
|
CHECKM(ns_config_getport(config, &listen_port), "port");
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Find the listen queue depth.
|
||||||
|
*/
|
||||||
|
obj = NULL;
|
||||||
|
result = ns_config_get(maps, "tcp-listen-queue", &obj);
|
||||||
|
INSIST(result == ISC_R_SUCCESS);
|
||||||
|
ns_g_listen = cfg_obj_asuint32(obj);
|
||||||
|
if (ns_g_listen < 3)
|
||||||
|
ns_g_listen = 3;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configure the interface manager according to the "listen-on"
|
* Configure the interface manager according to the "listen-on"
|
||||||
* statement.
|
* statement.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
|
||||||
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
|
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
|
||||||
|
|
||||||
<!-- File: $Id: Bv9ARM-book.xml,v 1.208 2002/11/11 00:18:22 marka Exp $ -->
|
<!-- File: $Id: Bv9ARM-book.xml,v 1.209 2002/11/12 23:38:11 explorer Exp $ -->
|
||||||
|
|
||||||
<book>
|
<book>
|
||||||
<title>BIND 9 Administrator Reference Manual</title>
|
<title>BIND 9 Administrator Reference Manual</title>
|
||||||
@ -2884,6 +2884,7 @@ statement in the <filename>named.conf</filename> file:</para>
|
|||||||
<optional> recursive-clients <replaceable>number</replaceable>; </optional>
|
<optional> recursive-clients <replaceable>number</replaceable>; </optional>
|
||||||
<optional> serial-query-rate <replaceable>number</replaceable>; </optional>
|
<optional> serial-query-rate <replaceable>number</replaceable>; </optional>
|
||||||
<optional> serial-queries <replaceable>number</replaceable>; </optional>
|
<optional> serial-queries <replaceable>number</replaceable>; </optional>
|
||||||
|
<optional> tcp-listen-queue <replaceable>number</replaceable>; </optional>
|
||||||
<optional> transfer-format <replaceable>( one-answer | many-answers )</replaceable>; </optional>
|
<optional> transfer-format <replaceable>( one-answer | many-answers )</replaceable>; </optional>
|
||||||
<optional> transfers-in <replaceable>number</replaceable>; </optional>
|
<optional> transfers-in <replaceable>number</replaceable>; </optional>
|
||||||
<optional> transfers-out <replaceable>number</replaceable>; </optional>
|
<optional> transfers-out <replaceable>number</replaceable>; </optional>
|
||||||
@ -3852,6 +3853,15 @@ records are purged from the cache only when their TTLs expire.
|
|||||||
</para>
|
</para>
|
||||||
</listitem></varlistentry>
|
</listitem></varlistentry>
|
||||||
|
|
||||||
|
<varlistentry><term><command>tcp-listen-queue</command></term>
|
||||||
|
<listitem><para>The listen queue depth. The default and minimum is 3.
|
||||||
|
If the kernel supports the accept filter "dataready" this also controls how
|
||||||
|
many TCP connections that will be queued in kernel space waiting for
|
||||||
|
some data before being passed to accept. Values less than 3 will be
|
||||||
|
silently raised.
|
||||||
|
</para>
|
||||||
|
</listitem></varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
@ -9,7 +9,7 @@ rt3625 closed explorer
|
|||||||
rt3746 open marka
|
rt3746 open marka
|
||||||
rt3892 closed explorer
|
rt3892 closed explorer
|
||||||
rt4090 closed explorer
|
rt4090 closed explorer
|
||||||
rt4112 review explorer
|
rt4112 closed explorer
|
||||||
adb_race review explorer
|
adb_race review explorer
|
||||||
rt4319 review explorer
|
rt4319 review explorer
|
||||||
rt3907 review explorer
|
rt3907 review explorer
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: namedconf.c,v 1.9 2002/09/10 04:45:54 marka Exp $ */
|
/* $Id: namedconf.c,v 1.10 2002/11/12 23:38:12 explorer Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -502,6 +502,7 @@ options_clauses[] = {
|
|||||||
{ "statistics-file", &cfg_type_qstring, 0 },
|
{ "statistics-file", &cfg_type_qstring, 0 },
|
||||||
{ "statistics-interval", &cfg_type_uint32, CFG_CLAUSEFLAG_NYI },
|
{ "statistics-interval", &cfg_type_uint32, CFG_CLAUSEFLAG_NYI },
|
||||||
{ "tcp-clients", &cfg_type_uint32, 0 },
|
{ "tcp-clients", &cfg_type_uint32, 0 },
|
||||||
|
{ "tcp-listen-queue", &cfg_type_uint32, 0 },
|
||||||
{ "tkey-dhkey", &cfg_type_tkey_dhkey, 0 },
|
{ "tkey-dhkey", &cfg_type_tkey_dhkey, 0 },
|
||||||
{ "tkey-gssapi-credential", &cfg_type_qstring, 0 },
|
{ "tkey-gssapi-credential", &cfg_type_qstring, 0 },
|
||||||
{ "tkey-domain", &cfg_type_qstring, 0 },
|
{ "tkey-domain", &cfg_type_qstring, 0 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user