Commit Graph

2607 Commits

Author SHA1 Message Date
Tinderbox User
835eaef8e3 update copyright notice / whitespace 2015-07-09 23:46:11 +00:00
Evan Hunt
400f206788 [v9_9] fix build error with ISC_MEM_TRACKLINES=0 2015-07-09 14:24:29 -07: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
Tinderbox User
c75c73b598 update copyright notice / whitespace 2015-07-01 23:46:06 +00:00
Mark Andrews
0a4dd766f6 4150. [bug] win32: listen-on-v6 { any; }; was not working. Apply
minimal fix.  [RT #39667]

(cherry picked from commit 753b27a7d3)
2015-07-01 11:52:17 +10:00
Tinderbox User
2a71b08491 update copyright notice / whitespace 2015-05-28 23:46:13 +00:00
Mark Andrews
263cbd6fa1 4130. [bug] The compatability shim for *printf() misprinted some
large numbers. [RT #39586]

(cherry picked from commit 38c19e5779)
2015-05-29 07:25:31 +10:00
Mark Andrews
64b34aee39 4128. [bug] Address issues raised by Coverity 7.6. [RT #39537]
(cherry picked from commit e53e202ef3)
2015-05-28 13:26:19 +10:00
Mark Andrews
a5df8b2945 use unsigned constants
(cherry picked from commit 5af7557757)
2015-05-24 12:54:40 +10:00
Tinderbox User
a644e40d6c update copyright notice / whitespace 2015-05-23 23:47:21 +00:00
Mark Andrews
50a4326d7b #undef before #define
(cherry picked from commit 503f0b324a)
2015-05-24 06:05:26 +10:00
Francis Dupont
5627414c1e added print.h includes 2015-05-23 15:40:05 +02: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
Mark Andrews
349dc6a6d3 exclude isc_print_printf and isc_print_fprintf 2015-05-22 08:23:14 +10: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
1a22cdc2b1 update copyright notice / whitespace 2015-04-24 23:46:17 +00:00
Mark Andrews
63cab783fa 4109. [port] linux: support reading the local port range from
net.ipv4.ip_local_port_range. [RT # 39379]
2015-04-25 08:28:17 +10:00
Tinderbox User
fc78ea1f10 update copyright notice / whitespace 2015-04-17 23:46:14 +00:00
Evan Hunt
7faa1a7221 [v9_9] misc x64 VS 2015 CTP fixes [#39308]
(cherry picked from commit ab973ec40c)
(cherry picked from commit 0fdcf394cb)
2015-04-17 15:32:41 -07:00
Mark Andrews
bcca7135a8 active is not a element 2015-04-17 14:30:51 +10:00
Mark Andrews
6433ff7b93 4104. [bug] Address uninitialized elements. [RT #39252]
(cherry picked from commit f1a261ba2d)
2015-04-17 14:09:00 +10:00
Tinderbox User
25b8dd84c9 update copyright notice / whitespace 2015-04-15 23:46:11 +00:00
Mark Andrews
0251c08693 4100. [bug] Inherited owernames on the line immediately following
a $INCLUDE were not working.  [RT #39268]

(cherry picked from commit c855e7170a)
2015-04-15 12:52:43 +10:00
Mukund Sivaraman
ea42d94d51 Some cleanups in isc mem code (#38896)
(cherry picked from commit fba894c98b)
(cherry picked from commit 8bf3c4972b)
2015-03-28 00:06:57 +05:30
Evan Hunt
c497f6ee4d [v9_9] fixed build errors with libressl
4088.	[port]		Fixed errors when building with libressl. [RT #38899]
2015-03-23 13:35:47 -05:00
Mukund Sivaraman
416c182380 Fix a possible race in updating stats counters (#38826)
and do some other isc mem cleanups.

(cherry picked from commit 24f2cc7d06)

Conflicts:
	CHANGES

(cherry picked from commit 26406f9997)

Conflicts:
	lib/isc/mem.c
2015-03-09 11:13:50 +05:30
Tinderbox User
f7b9f247b3 update copyright notice / whitespace 2015-03-02 23:46:08 +00:00
Mukund Sivaraman
02d78b09a0 Add support for Valgrind's helgrind tool (#38706)
Also fix one locking issue that helgrind found: Maintain stats->lock
while stats->reference is used.

(cherry picked from commit 10dd5f62f2)
2015-03-02 13:45:01 +05:30
Tinderbox User
16fdaa39cc update copyright notice / whitespace 2015-03-01 23:46:02 +00:00
Mark Andrews
f16ab01da5 4076. [bug] Named could crash on shutdown with outstanding
reload / reconfig events. [RT #38622]

(cherry picked from commit bb5df338d9)
2015-02-27 12:36:08 +11:00
Mark Andrews
96d8c8e0af add semicolon 2015-02-27 11:27:01 +11:00
Mark Andrews
237afce3d9 add isrunning 2015-02-27 11:21:08 +11:00
Mark Andrews
fc07bc787f 4074. [cleanup] Cleaned up more warnings from gcc -Wshadow. [RT #38708]
(cherry picked from commit af669cb4fd)

Conflicts:
	bin/named/client.c
	lib/dns/request.c
	lib/dns/view.c

(cherry picked from commit 374fce8495)

Conflicts:
	bin/named/statschannel.c
	lib/dns/rbtdb.c
	lib/dns/request.c
	lib/dns/resolver.c
	lib/isc/unix/file.c
2015-02-27 11:05:33 +11: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
Evan Hunt
83f9359dde [v9_9] report library version numbers on win32 2015-02-20 23:30:33 -08:00
Evan Hunt
baf4fd7a81 [v9_9] prep 9.9.7 2015-02-17 17:11:56 -08:00
Tinderbox User
73250aacb6 update copyright notice / whitespace 2015-02-12 23:46:08 +00:00
Mukund Sivaraman
fe865bb8ff Remove canary code from hash destroy function (#38602)
This triggers a Valgrind out-of-bounds read report. It was introduced by
commit 5d7849ad7f.

No CHANGES entry necessary as it doesn't have any user-visible or
behavioral change. It removes an out-of-bounds read issue that went
undetected when allocated through isc_mem as the memory was present.
The memory read was compared to itself, so it has no behavioral change.

(cherry picked from commit ffc393dd18)
2015-02-12 18:19:33 +05:30
Evan Hunt
52a4a34e83 [v9_9] missing external 2015-02-10 18:26:00 -08:00
Tinderbox User
ae051b2f18 update copyright notice / whitespace 2015-02-10 23:46:11 +00:00
Evan Hunt
f6e085baa6 [v9_9] prep 9.9.7rc2 2015-02-10 15:16:27 -08:00
Evan Hunt
efe260cc94 [v9_9] 5011 fixes
4056.	[bug]		Fixed several small bugs in automatic trust anchor
			management, including a memory leak and a possible
			loss of key state information. [RT #38458]
2015-02-10 13:12:55 -08:00
Mark Andrews
8318b90adf copy COPYRIGHT and OpenSSL Licence to Build\Release 2015-01-29 14:36:50 +11:00
Evan Hunt
9ea29ff2ab [v9_9] prep 9.9.7rc1 2015-01-22 10:35:27 -08:00
Evan Hunt
1974b7b42d [v9_9] fix 'total use' accounting
4046.   [bug]           Accounting of "total use" in memory context
                        statistics was not correct. [RT #38370]
2015-01-22 09:53:44 -08:00
Tinderbox User
ec2d41db1e update copyright notice / whitespace 2015-01-21 23:46:16 +00:00