|
|
900526 |
diff -up bind-9.9.4/bin/named/interfacemgr.c.rh1215687-limits bind-9.9.4/bin/named/interfacemgr.c
|
|
|
900526 |
--- bind-9.9.4/bin/named/interfacemgr.c.rh1215687-limits 2015-05-20 16:08:21.286007013 +0200
|
|
|
900526 |
+++ bind-9.9.4/bin/named/interfacemgr.c 2015-05-20 16:21:49.227001713 +0200
|
|
|
900526 |
@@ -275,7 +275,7 @@ ns_interface_listenudp(ns_interface_t *i
|
|
|
900526 |
result = dns_dispatch_getudp_dup(ifp->mgr->dispatchmgr,
|
|
|
900526 |
ns_g_socketmgr,
|
|
|
900526 |
ns_g_taskmgr, &ifp->addr,
|
|
|
900526 |
- 4096, 1000, 32768, 8219, 8237,
|
|
|
900526 |
+ 4096, 32768, 32768, 8219, 8237,
|
|
|
900526 |
attrs, attrmask,
|
|
|
900526 |
&ifp->udpdispatch[disp],
|
|
|
900526 |
disp == 0
|
|
|
900526 |
diff -up bind-9.9.4/bin/named/server.c.rh1215687-limits bind-9.9.4/bin/named/server.c
|
|
|
900526 |
--- bind-9.9.4/bin/named/server.c.rh1215687-limits 2015-05-20 16:08:21.272006979 +0200
|
|
|
900526 |
+++ bind-9.9.4/bin/named/server.c 2015-05-20 16:08:21.288007018 +0200
|
|
|
900526 |
@@ -992,7 +992,7 @@ get_view_querysource_dispatch(const cfg_
|
|
|
900526 |
}
|
|
|
900526 |
if (isc_sockaddr_getport(&sa) == 0) {
|
|
|
900526 |
attrs |= DNS_DISPATCHATTR_EXCLUSIVE;
|
|
|
900526 |
- maxdispatchbuffers = 4096;
|
|
|
900526 |
+ maxdispatchbuffers = 32768;
|
|
|
900526 |
} else {
|
|
|
900526 |
INSIST(obj != NULL);
|
|
|
900526 |
if (is_firstview) {
|
|
|
900526 |
@@ -1001,7 +1001,7 @@ get_view_querysource_dispatch(const cfg_
|
|
|
900526 |
"suppresses port randomization and can be "
|
|
|
900526 |
"insecure.");
|
|
|
900526 |
}
|
|
|
900526 |
- maxdispatchbuffers = 1000;
|
|
|
900526 |
+ maxdispatchbuffers = 32768;
|
|
|
900526 |
}
|
|
|
900526 |
|
|
|
900526 |
attrmask = 0;
|
|
|
900526 |
@@ -6491,7 +6491,7 @@ ns_add_reserved_dispatch(ns_server_t *se
|
|
|
900526 |
|
|
|
900526 |
result = dns_dispatch_getudp(ns_g_dispatchmgr, ns_g_socketmgr,
|
|
|
900526 |
ns_g_taskmgr, &dispatch->addr, 4096,
|
|
|
900526 |
- 1000, 32768, 16411, 16433,
|
|
|
900526 |
+ 32768, 32768, 16411, 16433,
|
|
|
900526 |
attrs, attrmask, &dispatch->dispatch);
|
|
|
900526 |
if (result != ISC_R_SUCCESS)
|
|
|
900526 |
goto cleanup;
|
|
|
900526 |
diff -up bind-9.9.4/lib/dns/dispatch.c.rh1215687-limits bind-9.9.4/lib/dns/dispatch.c
|
|
|
900526 |
diff -up bind-9.9.4/lib/dns/request.c.rh1215687-limits bind-9.9.4/lib/dns/request.c
|
|
|
900526 |
--- bind-9.9.4/lib/dns/request.c.rh1215687-limits 2013-09-05 07:09:08.000000000 +0200
|
|
|
900526 |
+++ bind-9.9.4/lib/dns/request.c 2015-05-20 16:08:21.286007013 +0200
|
|
|
900526 |
@@ -601,7 +601,7 @@ find_udp_dispatch(dns_requestmgr_t *requ
|
|
|
900526 |
requestmgr->socketmgr,
|
|
|
900526 |
requestmgr->taskmgr,
|
|
|
900526 |
srcaddr, 4096,
|
|
|
900526 |
- 1000, 32768, 16411, 16433,
|
|
|
900526 |
+ 32768, 32768, 16411, 16433,
|
|
|
900526 |
attrs, attrmask,
|
|
|
900526 |
dispatchp));
|
|
|
900526 |
}
|
|
|
900526 |
diff -up bind-9.9.4/lib/dns/resolver.c.rh1215687-limits bind-9.9.4/lib/dns/resolver.c
|
|
|
900526 |
--- bind-9.9.4/lib/dns/resolver.c.rh1215687-limits 2015-05-20 16:08:21.277006991 +0200
|
|
|
900526 |
+++ bind-9.9.4/lib/dns/resolver.c 2015-05-20 16:08:21.285007010 +0200
|
|
|
900526 |
@@ -1489,7 +1489,7 @@ fctx_query(fetchctx_t *fctx, dns_adbaddr
|
|
|
900526 |
result = dns_dispatch_getudp(res->dispatchmgr,
|
|
|
900526 |
res->socketmgr,
|
|
|
900526 |
res->taskmgr, &addr,
|
|
|
900526 |
- 4096, 1000, 32768, 16411,
|
|
|
900526 |
+ 4096, 20000, 32768, 16411,
|
|
|
900526 |
16433, attrs, attrmask,
|
|
|
900526 |
&query->dispatch);
|
|
|
900526 |
if (result != ISC_R_SUCCESS)
|