Ondřej Surý
50e109d659
isc_event_allocate() cannot fail, remove the fail handling blocks
...
isc_event_allocate() calls isc_mem_get() to allocate the event structure. As
isc_mem_get() cannot fail softly (e.g. it never returns NULL), the
isc_event_allocate() cannot return NULL, hence we remove the (ret == NULL)
handling blocks using the semantic patch from the previous commit.
2019-08-30 08:55:34 +02:00
Evan Hunt
5aa375f0d8
add "mdig +yaml" output format
2019-08-25 16:41:29 -07:00
Ondřej Surý
a6dcdc535c
Replace usage of isc_mem_put+isc_mem_detach with isc_mem_putanddetach
...
Using isc_mem_put(mctx, ...) + isc_mem_detach(mctx) required juggling with the
local variables when mctx was part of the freed object. The isc_mem_putanddetach
function can handle this case internally, but it wasn't used everywhere. This
commit apply the semantic patching plus bit of manual work to replace all such
occurrences with proper usage of isc_mem_putanddetach().
2019-07-31 10:26:40 +02:00
Ondřej Surý
ae83801e2b
Remove blocks checking whether isc_mem_get() failed using the coccinelle
2019-07-23 15:32:35 -04:00
Ondřej Surý
78d0cb0a7d
Use coccinelle to remove explicit '#include <config.h>' from the source files
2019-03-08 15:15:05 +01:00
Witold Kręcicki
929ea7c2c4
- Make isc_mutex_destroy return void
...
- Make isc_mutexblock_init/destroy return void
- Minor cleanups
2018-11-22 11:52:08 +00:00
Ondřej Surý
2f3eee5a4f
isc_mutex_init returns 'void'
2018-11-22 11:51:49 +00:00
Ondřej Surý
b2b43fd235
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
2018-11-08 12:21:53 +07:00
Ondřej Surý
994e656977
Replace custom isc_boolean_t with C standard bool type
2018-08-08 09:37:30 +02:00
Ondřej Surý
cb6a185c69
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
2018-08-08 09:37:28 +02:00
Evan Hunt
e324449349
remove the experimental authoritative ECS support from named
...
- mark the 'geoip-use-ecs' option obsolete; warn when it is used
in named.conf
- prohibit 'ecs' ACL tags in named.conf; note that this is a fatal error
since simply ignoring the tags could make ACLs behave unpredictably
- re-simplify the radix and iptable code
- clean up dns_acl_match(), dns_aclelement_match(), dns_acl_allowed()
and dns_geoip_match() so they no longer take ecs options
- remove the ECS-specific unit and system test cases
- remove references to ECS from the ARM
2018-05-25 08:21:25 -07:00
Ondřej Surý
55a10b7acd
Remove $Id markers, Principal Author and Reviewed tags from the full source tree
2018-05-11 13:17:46 +02:00
Witold Kręcicki
8c12e488f7
libdns refactoring: get rid of multiple versions of dns_request_createraw and dns_request_createvia
2018-04-06 08:04:41 +02:00
Witold Kręcicki
e20b702418
libdns refactoring: get rid of multiple versions of dns_dispatch_createtcp and dns_dispatch_addresponse, unify dns_dispatch_gettcp and dns_dispatch_gettcp2
2018-04-06 08:04:41 +02:00
Witold Kręcicki
3687648384
libdns refactoring: get rid of two versions of dns_acl_match and dns_aclelement_match
2018-04-06 08:04:40 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01:00
Tinderbox User
3d2a6c9949
update copyright notice / whitespace
2018-01-16 23:45:57 +00:00
Michał Kępień
73819362d8
[master] Simplify handling isc_socket_sendto2() return values when flags == 0
...
4865. [cleanup] Simplify handling isc_socket_sendto2() return values.
[RT #46986 ]
2018-01-16 08:33:30 +01:00
Mark Andrews
52e2aab392
4546. [func] Extend the use of const declarations. [RT #43379 ]
2016-12-30 15:45:08 +11:00
Mark Andrews
37a8db0ba4
4535. [bug] Address race condition in setting / testing of
...
DNS_REQUEST_F_SENDING. [RT #43889 ]
2016-12-14 10:31:26 +11:00
Mark Andrews
ecfa005085
4403. [bug] Rename variables and arguments that shadow: basename,
...
clone and gai_error.
2016-06-28 21:25:30 -04:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
af669cb4fd
4074. [cleanup] Cleaned up more warnings from gcc -Wshadow. [RT #38708 ]
2015-02-27 10:55:55 +11:00
Evan Hunt
ff62d4458a
[master] allow shared TCP sockets when connecting
...
4041. [func] TCP sockets can now be shared while connecting.
(This will be used to enable client-side support
of pipelined queries.) [RT #38231 ]
2015-01-20 17:22:31 -08:00
Tinderbox User
f0cbe180f0
update copyright notice / whitespace
2015-01-10 23:45:22 +00:00
Mark Andrews
f4dda9cf28
4033. [bug] Missing out of memory check in request.c:req_send.
...
[RT #38311 ]
2015-01-11 09:24:33 +11:00
Mark Andrews
ffeaac1d82
3961. [bug] Forwarding of SIG(0) signed UPDATE messages failed with
...
BADSIG. [RT #37216 ]
2014-10-01 07:24:16 +10:00
Mark Andrews
3560b7d66c
move declaration to start of block
2014-09-04 14:20:25 +10:00
Mark Andrews
74717eef53
3939. [func] Improve UPDATE forwarding performance by allowing TCP
...
connections to be shared. [RT #37039 ]
2014-09-04 10:37:45 +10:00
Evan Hunt
6a3fa181d1
[master] add "--with-tuning=large" option
...
3745. [func] "configure --with-tuning=large" adjusts various
compiled-in constants and default settings to
values suited to large servers with abundant
memory. [RT #29538 ]
2014-02-18 22:36:14 -08:00
Tinderbox User
0ff8ed750e
update copyright notice
2014-01-27 23:46:24 +00:00
Mark Andrews
b8cf73a3b3
3717. [port] hpux: Treat EOPNOTSUPP as a expected error code when
...
probing to see if it is possible to set dscp values
on a per packet basis. [RT #35252 ]
3716. [bug] The dns_request code was setting dcsp values when not
requested. [RT #35252 ]
2014-01-28 08:25:28 +11:00
Tinderbox User
1e9f7a42bc
update copyright notice
2013-03-22 23:46:17 +00:00
Evan Hunt
67adc03ef8
[master] add DSCP support
...
3535. [func] Add support for setting Differentiated Services Code
Point (DSCP) values in named. Most configuration
options which take a "port" option (e.g.,
listen-on, forwarders, also-notify, masters,
notify-source, etc) can now also take a "dscp"
option specifying a code point for use with
outgoing traffic, if supported by the underlying
OS. [RT #27596 ]
2013-03-22 14:05:33 -07:00
Tinderbox User
17131a9459
update copyright notice
2013-01-25 23:45:56 +00:00
Evan Hunt
ffff5d6792
[master] fix dns_request_createvia assert
...
3474. [bug] nsupdate could assert when the local and remote
address families didn't match. [RT #22897 ]
2013-01-23 15:39:05 -08:00
Mark Andrews
28a8f5b0de
set $Id$
2012-03-08 00:21:15 +11:00
Automatic Updater
da5a7b29e9
update copyright notice
2012-02-07 23:47:24 +00:00
Mark Andrews
936036e823
3281. [bug] SOA refresh queries could be treated as cancelled
...
despite succeeding over the loopback interface.
[RT #27782 ]
2012-02-07 19:50:20 +00:00
Automatic Updater
c1aef54e14
update copyright notice
2011-03-12 04:59:49 +00:00
Mark Andrews
0874abad14
3069. [cleanup] Silence warnings messages from clang static analysis.
...
[RT #20256 ]
2011-03-11 06:11:27 +00:00
Automatic Updater
4d42b714be
update copyright notice
2010-03-04 23:50:34 +00:00
Mark Andrews
2e20dea9fc
2854. [func] nsupdate will now preserve the entered case of domain
...
names in update requests it sends. [RT #20928 ]
2010-03-04 05:24:56 +00:00
Tatuya JINMEI 神明達哉
307d208450
2660. [func] Add a new set of DNS libraries for non-BIND9
...
applications. See README.libdns. [RT #19369 ]
2009-09-01 00:22:28 +00:00
Automatic Updater
d362465c77
update copyright notice
2009-01-17 23:47:43 +00:00
Francis Dupont
bdfaef63f5
spelling
2009-01-17 14:59:03 +00:00
Mark Andrews
9de0f9b0ae
2396. [bug] Don't set SO_REUSEADDR for randomized ports.
...
[RT #18336 ]
2008-07-22 03:43:04 +00:00
Automatic Updater
2cf81a3d8a
update copyright notice
2008-06-23 23:47:11 +00:00
Tatuya JINMEI 神明達哉
386d3a99c1
2375. [security] Fully randomize UDP query ports to improve
...
forgery resilience. [RT #17949 , #18098 ]
2008-06-23 19:41:20 +00:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00