Evan Hunt
65e144e0de
[v9_9] isc_errno_toresult()
...
4445. [cleanup] isc_errno_toresult() can now be used to call the
formerly private function isc__errno2result().
[RT #43050 ]
(cherry picked from commit ddef16e1d9 )
2016-08-17 11:37:51 -07:00
Tinderbox User
c88775524d
update copyright notice / whitespace
2016-05-05 23:47:00 +00:00
Evan Hunt
a1f4c3c55c
[v9_9] nanosecond-accurate file modification times
...
4361. [cleanup] Where supported, file modification times returned
by isc_file_getmodtime() are now accurate to the
nanosecond. [RT #41968 ]
2016-05-05 12:22:55 -07:00
Tinderbox User
42b854e5dd
update copyright notice / whitespace
2016-03-23 23:46:03 +00:00
Evan Hunt
955c101ff5
[v9_9] disallow out-of-range descriptors in isc_socket_fdwatchcreate()
2016-03-22 18:12:07 -07:00
Tinderbox User
dc16fb4615
update copyright notice / whitespace
2016-03-04 23:46:07 +00:00
Mukund Sivaraman
65f562e5e4
Code cleanups ( #41656 )
...
(cherry picked from commit 9da98335c1 )
(cherry picked from commit b15dde2889 )
2016-03-04 13:00:43 +05:30
Tinderbox User
757b2400b8
update copyright notice / whitespace
2016-02-01 23:46:15 +00:00
Mukund Sivaraman
48915fab93
Use __built_expect() where available ( #41411 )
...
(cherry picked from commit d1dbf6b20f )
(cherry picked from commit 6e2e0f72b1 )
2016-02-01 09:13:28 +05:30
Tinderbox User
d9acbe311a
update copyright notice / whitespace
2015-12-11 23:47:08 +00:00
Evan Hunt
64fa79be37
[master] comments
...
(cherry picked from commit f21d2ee372 )
(cherry picked from commit f5f9dc0d83 )
2015-12-11 11:03:08 +05:30
Mukund Sivaraman
a28d8e8bf5
Improve performance of RBT ( #41165 )
...
(cherry picked from commit 5d79b60fc5 )
(cherry picked from commit 318158d66a )
2015-12-11 10:29:36 +05:30
Tinderbox User
28f860c226
update copyright notice / whitespace
2015-11-20 23:46:13 +00:00
Mark Andrews
31085192d6
4264. [bug] Check const of strchr/strrchr assignments match
...
argument's const status. [RT #41150 ]
(cherry picked from commit 5b1c7ef35b )
2015-11-20 18:41:10 +11:00
Tinderbox User
4acf5216d7
update copyright notice / whitespace
2015-11-09 23:46:11 +00:00
Evan Hunt
7d984067ee
[v9_9] fix python script versions
...
4257. [cleanup] Python scripts reported incorrect version. [RT #41080 ]
2015-11-08 21:41:04 -08:00
Evan Hunt
da7e65a6aa
[v9_9] isc_atomic_storeq()/stats improvements
...
4248. [func] Add an isc_atomic_storeq() function, use it in
stats counters to improve performance.
[RT #39972 ] [RT #39979 ]
2015-10-28 22:22:04 -07:00
Tinderbox User
514488e7cf
update copyright notice / whitespace
2015-10-15 23:46:07 +00:00
Mark Andrews
b2cb638754
4238. [bug] Don't send to servers on net zero (0.0.0.0/8).
...
[RT #40947 ]
(cherry picked from commit 6588a2b404 )
2015-10-16 08:07:58 +11:00
Tinderbox User
ddd0dd179c
update copyright notice / whitespace
2015-09-21 23:46:09 +00:00
Mark Andrews
1460b2afe3
4219. [bug] Set event->result to ISC_R_WOULDBLOCK on EWOULDBLOCK,
...
EGAIN when these soft error are not retried for
isc_socket_send*().
(cherry picked from commit a21c415687 )
2015-09-21 18:05:39 +10:00
Tinderbox User
d901205191
update copyright notice / whitespace
2015-08-18 23:46:14 +00:00
Evan Hunt
05d0d33cb8
[v9_9] timing safe memory comparisons
...
4183. [cleanup] Use timing-safe memory comparisons in cryptographic
code. Also, the timing-safe comparison functions have
been renamed to avoid possible confusion with
memcmp(). [RT #40148 ]
(cherry picked from commit 420a43c8d8 )
2015-08-17 18:31:11 -07:00
Tinderbox User
835eaef8e3
update copyright notice / whitespace
2015-07-09 23:46:11 +00:00
Evan Hunt
ea36796f82
[v9_9] DDoS mitigation features
...
3938. [func] Added quotas to be used in recursive resolvers
that are under high query load for names in zones
whose authoritative servers are nonresponsive or
are experiencing a denial of service attack.
- "fetches-per-server" limits the number of
simultaneous queries that can be sent to any
single authoritative server. The configured
value is a starting point; it is automatically
adjusted downward if the server is partially or
completely non-responsive. The algorithm used to
adjust the quota can be configured via the
"fetch-quota-params" option.
- "fetches-per-zone" limits the number of
simultaneous queries that can be sent for names
within a single domain. (Note: Unlike
"fetches-per-server", this value is not
self-tuning.)
- New stats counters have been added to count
queries spilled due to these quotas.
These options are not available by default;
use "configure --enable-fetchlimit" (or
--enable-developer) to include them in the build.
See the ARM for details of these options. [RT #37125 ]
2015-07-08 23:00:58 -07:00
Mark Andrews
50a4326d7b
#undef before #define
...
(cherry picked from commit 503f0b324a )
2015-05-24 06:05:26 +10:00
Mark Andrews
13c3d180d2
unconditionally include stdio.h
...
(cherry picked from commit 22909ca827 )
2015-05-22 10:09:02 +10:00
Tinderbox User
dabbf1436e
update copyright notice / whitespace
2015-05-21 23:46:24 +00:00
Evan Hunt
c65022d938
[v9_9] add %z format options to printf
...
4123. [port] Added %z (size_t) format options to the portable
internal printf/sprintf implementation. [RT #39586 ]
(cherry picked from commit cadf8d687b )
2015-05-21 14:56:40 -07:00
Mark Andrews
fdb83d87d6
4110. [bug] Address memory leaks / null pointer dereferences
...
on out of memory. [RT #39310 ]
(cherry picked from commit b292230ab8 )
2015-04-29 03:37:25 +10:00
Tinderbox User
15dce01ef4
update copyright notice / whitespace
2015-02-26 23:46:12 +00:00
Mukund Sivaraman
1040bbb55a
Fix a segfault when running nslookup ( #38548 )
...
(cherry picked from commit db93c0def5 )
(cherry picked from commit 9b56539c01 )
Conflicts:
lib/isc/app_api.c
lib/isc/win32/libisc.def.in
2015-02-26 14:33:19 +05:30
Evan Hunt
3cad633f0d
[v9_9] Add facility to run system test nameds under Valgrind ( #38546 )
2015-02-25 16:27:50 -08:00
Mark Andrews
6e140f9d04
4025. [port] bsdi: failed to build. [RT #38047 ]
...
(cherry picked from commit 00bb9b88cecf7e2c365c9f008c049da3802ac415)
2014-12-19 12:04:41 +11:00
Evan Hunt
e2ed17e190
[v9_9] remove inadvertently-retained content from quota.h
2014-11-20 12:55:39 -08:00
Evan Hunt
1d47cb124d
[v9_9] refactor max-recursion-queries
...
- the counters weren't set correctly when fetches timed out.
instead we now pass down a counter object.
(cherry picked from commit 05e448935c )
(cherry picked from commit 6c049c57d9 )
2014-11-19 18:38:52 -08:00
Evan Hunt
922588e83e
[v9_9] fix false positive compiler warning
...
a "pointer always evaluates to true" warning was blocking
compilation of the radix ATF test when using --enable-developer
with gcc 4.8.2.
2014-11-15 00:55:20 -08:00
Tinderbox User
141adfd898
update copyright notice
2014-09-29 23:46:13 +00:00
Mark Andrews
c41a438d4d
3955. [bug] Notify messages due to changes are no longer queued
...
behind startup notify messages. [RT #24454 ]
(cherry picked from commit 319659fc23 )
2014-09-29 09:35:15 +10:00
Tinderbox User
e009a733fa
update copyright notice
2014-08-02 23:46:02 +00:00
Mark Andrews
13ffd78910
3908. [bug] rndc now differentiates between a zone in multiple
...
views and a zone that doesn't exist at all. [RT #36691 ]
(cherry picked from commit c38341ec43 )
2014-08-02 15:09:03 +10:00
Tinderbox User
3f05845322
update copyright notice
2014-07-15 23:46:00 +00:00
Mark Andrews
d85255bdc3
3894. [bug] Buffers in isc_print_vsnprintf were not properly
...
initialized leading to potential overflows when
printing out quad values. [RT #36505 ]
(cherry picked from commit 71ec6d0940 )
2014-07-15 22:57:57 +10:00
Tinderbox User
8525155ecc
update copyright notice
2014-07-10 23:45:57 +00:00
Mark Andrews
514b23e6f3
update description to match code; doxygen fixes
2014-07-10 10:38:32 +10:00
Mark Andrews
363107b2b0
install bitstring.h and namespace.h
2014-06-23 13:44:19 +10:00
Mark Andrews
504bb97afd
update copyrights
2014-06-11 10:29:21 +10:00
Mark Andrews
b41598a203
3872. [bug] Address issues found by static analysis. [RT #36209 ]
...
(cherry picked from commit b16d99bac1 )
2014-06-10 09:23:12 +10:00
Tinderbox User
c7e4eb88a9
update copyright notice
2014-04-25 23:46:01 +00:00
Mark Andrews
f49e47739c
additional places:
...
3818. [bug] Stop lying to the optimizer that 'void *arg' is a
constant in isc_event_allocate.
(cherry picked from commit 39b5269577 )
2014-04-25 12:21:15 +10:00