Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
580
Issues
580
List
Boards
Labels
Service Desk
Milestones
Merge Requests
113
Merge Requests
113
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
43ee20a8
Commit
43ee20a8
authored
Nov 12, 2002
by
Michael Graff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge rt4112
parent
6434457b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
8 deletions
+32
-8
bin/named/config.c
bin/named/config.c
+2
-1
bin/named/include/named/globals.h
bin/named/include/named/globals.h
+3
-1
bin/named/interfacemgr.c
bin/named/interfacemgr.c
+2
-2
bin/named/server.c
bin/named/server.c
+11
-1
doc/arm/Bv9ARM-book.xml
doc/arm/Bv9ARM-book.xml
+11
-1
doc/private/branches
doc/private/branches
+1
-1
lib/isccfg/namedconf.c
lib/isccfg/namedconf.c
+2
-1
No files found.
bin/named/config.c
View file @
43ee20a8
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.3
2 2002/09/10 04:45:52 marka
Exp $ */
/* $Id: config.c,v 1.3
3 2002/11/12 23:38:10 explorer
Exp $ */
#include <config.h>
...
...
@@ -80,6 +80,7 @@ options {\n\
statistics-file
\"
named.stats
\"
;
\n
\
statistics-interval 60;
\n
\
tcp-clients 100;
\n
\
tcp-listen-queue 3;
\n
\
# tkey-dhkey <none>
\n
\
# tkey-gssapi-credential <none>
\n
\
# tkey-domain <none>
\n
\
...
...
bin/named/include/named/globals.h
View file @
43ee20a8
...
...
@@ -15,7 +15,7 @@
* 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
#define NAMED_GLOBALS_H 1
...
...
@@ -107,6 +107,8 @@ EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR
"/run/lwresd.pid"
);
EXTERN
const
char
*
ns_g_username
INIT
(
NULL
);
EXTERN
int
ns_g_listen
INIT
(
3
);
#undef EXTERN
#undef INIT
...
...
bin/named/interfacemgr.c
View file @
43ee20a8
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.7
4 2002/10/31 04:08:22 marka
Exp $ */
/* $Id: interfacemgr.c,v 1.7
5 2002/11/12 23:38:10 explorer
Exp $ */
#include <config.h>
...
...
@@ -304,7 +304,7 @@ ns_interface_accepttcp(ns_interface_t *ifp) {
isc_result_totext
(
result
));
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
)
{
isc_log_write
(
IFMGR_COMMON_LOGARGS
,
ISC_LOG_ERROR
,
"listening on TCP socket: %s"
,
...
...
bin/named/server.c
View file @
43ee20a8
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.3
89 2002/09/11 04:32:29 marka
Exp $ */
/* $Id: server.c,v 1.3
90 2002/11/12 23:38:11 explorer
Exp $ */
#include <config.h>
...
...
@@ -1787,6 +1787,16 @@ load_configuration(const char *filename, ns_server_t *server,
else
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"
* statement.
...
...
doc/arm/Bv9ARM-book.xml
View file @
43ee20a8
...
...
@@ -2,7 +2,7 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd">
<!-- File: $Id: Bv9ARM-book.xml,v 1.20
8 2002/11/11 00:18:22 marka
Exp $ -->
<!-- File: $Id: Bv9ARM-book.xml,v 1.20
9 2002/11/12 23:38:11 explorer
Exp $ -->
<book>
<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>
serial-query-rate
<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>
transfers-in
<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>
</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>
</sect3>
...
...
doc/private/branches
View file @
43ee20a8
...
...
@@ -9,7 +9,7 @@ rt3625 closed explorer
rt3746 open marka
rt3892 closed explorer
rt4090 closed explorer
rt4112
review
explorer
rt4112
closed
explorer
adb_race review explorer
rt4319 review explorer
rt3907 review explorer
...
...
lib/isccfg/namedconf.c
View file @
43ee20a8
...
...
@@ -15,7 +15,7 @@
* 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>
...
...
@@ -502,6 +502,7 @@ options_clauses[] = {
{
"statistics-file"
,
&
cfg_type_qstring
,
0
},
{
"statistics-interval"
,
&
cfg_type_uint32
,
CFG_CLAUSEFLAG_NYI
},
{
"tcp-clients"
,
&
cfg_type_uint32
,
0
},
{
"tcp-listen-queue"
,
&
cfg_type_uint32
,
0
},
{
"tkey-dhkey"
,
&
cfg_type_tkey_dhkey
,
0
},
{
"tkey-gssapi-credential"
,
&
cfg_type_qstring
,
0
},
{
"tkey-domain"
,
&
cfg_type_qstring
,
0
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment