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