Commit graph

961 commits

Author SHA1 Message Date
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
Mark Andrews
71b15f9362 additional changes for:
3818.   [bug]           Stop lying to the optimizer that 'void *arg' is a
		        constant in isc_event_allocate.
2014-04-25 12:12:40 +10:00
Tinderbox User
1f841fabd2 update copyright notice 2014-04-24 23:46:02 +00:00
Mark Andrews
c10c7ddb6e 3819. [bug] NSEC3 hashes need to be able to be entered and
displayed without padding.  This is not a issue for
                        currently defined algorithms but may be for future
                        hash algorithms. [RT #27925]

(cherry picked from commit 36e5ac0033)
2014-04-24 19:12:08 +10:00
Mark Andrews
336c54e9ac 3818. [bug] Stop lying to the optimizer that 'void *arg' is a
constant in isc_event_allocate.

(cherry picked from commit e916c4f840)
2014-04-24 13:44:48 +10:00
Mark Andrews
7908a238dd 3802. [bug] Various header files were not being installed
(cherry picked from commit 866606b9c7)
2014-04-04 22:06:24 +11:00
Evan Hunt
b469c7b50c [v9_9] fix misuses of isc__buffer functions, update comment 2014-03-06 17:25:02 -08:00
Tinderbox User
b94f70ab8d update copyright notice 2014-01-15 23:45:46 +00:00
Evan Hunt
0067977a3c [v9_9] address compiler warnings 2014-01-15 09:39:48 -08:00
Evan Hunt
6f3e1f7dbe [v9_9] portable strptime/timegm
3709.	[port]		Use built-in versions of strptime() and timegm()
			on all platforms to avoid portability issues.
			[RT #35183]
2014-01-14 23:17:21 -08:00