Mark Andrews and Evan Hunt
e409b8c698
free tmpzonename and restart_master
...
(cherry picked from commit 50714a9b35 )
2018-11-14 11:42:44 -08:00
Ondřej Surý
1084b40b44
Replace custom isc_boolean_t with C standard bool type
...
(cherry picked from commit 994e656977 )
(cherry picked from commit 884929400c )
2018-08-10 15:20:57 +02:00
Ondřej Surý
aaa76dc654
Replace custom isc_u?intNN_t types with C99 u?intNN_t types
...
(cherry picked from commit cb6a185c69 )
(cherry picked from commit d61e6a3111 )
2018-08-10 15:20:57 +02:00
Michał Kępień and Evan Hunt
ecea678dac
Use dns_fixedname_initname() where possible
...
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.
This patch was mostly prepared using Coccinelle and the following
semantic patch:
@@
expression fixedname, name;
@@
- dns_fixedname_init(&fixedname);
...
- name = dns_fixedname_name(&fixedname);
+ name = dns_fixedname_initname(&fixedname);
The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.
It is likely that more occurrences of this pattern can be refactored in
an identical way. This commit only takes care of the low-hanging fruit.
(cherry picked from commit 4df4a8e731 )
(cherry picked from commit 0041aeb751 )
2018-04-10 13:26:23 -07:00
Evan Hunt
8b205089b7
update file headers to remove copyright years
2018-03-14 16:40:20 -07:00
Tinderbox User
93ca8abdf8
update copyright notice / whitespace
2018-01-22 23:47:25 +00:00
Mukund Sivaraman
6fb3db01ac
Don't permit loading meta RR types such as TKEY from master files ( #47009 )
...
(cherry picked from commit 8a4ce20172 )
(cherry picked from commit c8eb726046 )
2018-01-22 14:36:18 +05:30
Mark Andrews
575e9d9e4b
4790. [bug] nsupdate could trigger a require when sending a
...
update to the second address of the server.
[RT #45731 ]
(cherry picked from commit 2bbca9594f )
2017-10-26 00:30:55 +11:00
Mark Andrews
8008de0b11
4725. [bug] Nsupdate: "recvsoa" was incorrectly reported for
...
failures in sending the update message. The correct
location to be reported is "update_completed".
[RT #46014 ]
(cherry picked from commit 0bcb8b0b7c )
2017-09-18 14:29:40 +10:00
Mark Andrews
5a93d3be4e
more str{n}{cat,cpy} corrections rt45981_stage2
...
(cherry picked from commit cb629cdeda )
2017-09-14 18:33:02 +10:00
Michał Kępień
e02fa56849
[v9_11] Prevent nsupdate from immediately exiting on invalid user input in interactive mode
...
4683. [bug] Prevent nsupdate from immediately exiting on invalid
user input in interactive mode. [RT #28194 ]
(cherry picked from commit 1aa583b5a5 )
2017-08-17 08:32:44 +02:00
Michał Kępień
d748d8a4af
[v9_11] Fix master address failover when GSS-API is used
...
4680. [bug] Fix failing over to another master server address when
nsupdate is used with GSS-API. [RT #45380 ]
(cherry picked from commit b55ec74eaa )
2017-08-14 15:00:49 +02:00
Mark Andrews
a60831febf
4651. [bug] Nsupdate could attempt to use a zeroed address on
...
server timeout. [RT #45417 ]
(cherry picked from commit dac36869f3 )
2017-07-19 15:36:55 +10:00
Tinderbox User
d63ae51ba3
update copyright notice / whitespace
2017-04-20 23:46:08 +00:00
Evan Hunt
bf053e878c
[v9_11] correct a mistake in nsupdate help
...
(cherry picked from commit bdbdc69a75 )
2017-04-20 16:17:36 -07:00
Evan Hunt
9115769563
[v9_11] nsupdate: send tkey queries to the right server
...
4588. [bug] nsupdate could send queries for TKEY to the wrong
server when using GSSAPI. Thanks to Tomas Hozza.
[RT #39893 ]
(cherry picked from commit 66b71679b7 )
2017-04-20 09:29:33 -07:00
Curtis Blackburn
294ef74e5a
4515. [port] FreeBSD: Find readline headers when they are in
...
edit/readline/ instead of readline/. [RT #43658 ]
2016-11-18 11:12:28 -08:00
Mark Andrews
2a1860ad83
4494. [bug] Look for <editline/readline.h>. [RT #43429 ]
...
(cherry picked from commit 6fbb2b51d8 )
2016-10-27 15:49:11 +11:00
Mark Andrews
c40906dfad
4450. [port] Provide more nuanced HSM support which better matches
...
the specific PKCS11 providers capabilities. [RT #42458 ]
(cherry picked from commit 8ee6f289d8 )
2016-08-19 08:05:47 +10:00
Mark Andrews
55d61515ec
4413. [bug] GSSAPI negotiation could fail if GSS_S_CONTINUE_NEEDED
...
was returned. [RT #42733 ]
(cherry picked from commit 63e58ad048 )
2016-07-14 15:08:15 +10:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Mark Andrews
5b1c7ef35b
4264. [bug] Check const of strchr/strrchr assignments match
...
argument's const status. [RT #41150 ]
2015-11-20 18:38:24 +11:00
Mark Andrews
ff55c577ba
4215. [bug] nsupdate: skip to next request on GSSTKEY create
...
failure. [RT #40685 ]
2015-09-18 09:52:27 +10:00
Mark Andrews
fe51e068f0
4208. [bug] Address null pointer dereferences on out of memory.
...
[RT #40764 ]
2015-09-17 08:51:25 +10:00
Evan Hunt
a32b6291aa
[master] address regression
...
4126. [bug] Addressed a regression introduced in change #4121 .
[RT #39611 ]
2015-05-26 19:11:08 -07:00
Mark Andrews
91d3c63ca7
add -P and -T to help
2015-05-27 10:56:49 +10:00
Mark Andrews
1b05d22789
4082. [bug] Incrementally sign large inline zone deltas.
...
[RT #37927 ]
2015-03-05 09:59:29 +11:00
Mark Andrews
29d52c001f
4081. [cleanup] Use dns_rdatalist_init consistently. [RT #38759 ]
2015-03-03 16:43:42 +11:00
Tinderbox User
c110d61b17
update copyright notice / whitespace
2015-01-20 23:45:26 +00:00
Evan Hunt
11463c0ac2
[master] clean up gcc -Wshadow warnings
...
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381 ]
2015-01-20 13:29:18 -08:00
Mark Andrews
8ee3233acd
adjust comment
2014-12-09 07:41:16 +11:00
Tinderbox User
dc5e29a7d2
update copyright notice / whitespace
2014-12-05 23:45:22 +00:00
Mark Andrews
03fd9cb81c
4020. [bug] Change 3736 broke nsupdate's SOA MNAME discovery
...
resulting in updates being sent to the wrong server.
[RT #37925 ]
2014-12-05 18:26:38 +11:00
Tinderbox User
3fd181c98f
update copyright notice
2014-10-01 23:45:24 +00:00
Mark Andrews
ed1c845c1d
3964. [func] nsupdate now performs check-names processing.
...
[RT #36266 ]
2014-10-02 09:35:43 +10:00
Mukund Sivaraman
4278293107
[10686] Add version printing option to various BIND utilites
...
Squashed commit of the following:
commit 95effe9b2582a7eb878ccb8cb9ef51dfc5bbfde7
Author: Evan Hunt <each@isc.org >
Date: Tue Jun 10 16:52:45 2014 -0700
[rt10686] move version() to dnssectool.c
commit df205b541d1572ea5306a5f671af8b54b9c5c770
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:38:31 2014 +0530
Rearrange order of cases
commit cfd30893f2540bf9d607e1fd37545ea7b441e0d0
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:38:08 2014 +0530
Add version printer to dnssec-verify
commit a625ea338c74ab5e21634033ef87f170ba37fdbe
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:32:19 2014 +0530
Add version printer to dnssec-signzone
commit d91e1c0f0697b3304ffa46fccc66af65591040d9
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:26:01 2014 +0530
Add version printer to dnssec-settime
commit 46fc8775da3e13725c31d13e090b406d69b8694f
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:25:48 2014 +0530
Fix docbook
commit 8123d2efbd84cdfcbc70403aa9bb27b96921bab2
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:20:17 2014 +0530
Add version printer to dnssec-revoke
commit d0916420317d3e8c69cf1b37d2209ea2d072b913
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:17:54 2014 +0530
Add version printer to dnssec-keygen
commit 93b0bd5ebc043298dc7d8f446ea543cb40eaecf8
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:14:11 2014 +0530
Add version printer to dnssec-keyfromlabel
commit 07001bcd9ae2d7b09dd9e243b0ab35307290d05d
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:13:39 2014 +0530
Update usage help output, docbook
commit 85cdd702f41c96fbc767fc689d1ed97fe1f3a926
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:07:18 2014 +0530
Add version printer to dnssec-importkey
commit 9274fc61e38205aad561edf445940b4e73d788dc
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 21:01:53 2014 +0530
Add version printer to dnssec-dsfromkey
commit bf4605ea2d7282e751fd73489627cc8a99f45a90
Author: Mukund Sivaraman <muks@isc.org >
Date: Tue Jun 10 20:49:22 2014 +0530
Add -V to nsupdate usage output
2014-06-16 12:10:38 +05:30
Evan Hunt
e29c2b3903
[master] fix misuses of isc__buffer functions, update comment
2014-03-06 17:26:21 -08:00
Evan Hunt
67d01dcacb
[master] add "version" options to host/nslookup/nsupdate
...
3773. [func] "host", "nslookup" and "nsupdate" now have
options and commands to print the version
number. [RT #26057 ]
2014-03-03 09:08:04 -08:00
Evan Hunt
842a3e6d0e
[master] try multiple addresses per server name in nsupdate
...
3736. [bug] nsupdate: When specifying a server by name,
fall back to alternate addresses if the first
address for that name is not reachable. [RT #25784 ]
2014-02-11 21:29:10 -08:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Mark Andrews
c3c8823fed
3681. [port] Update the Windows build system to support feature
...
selection and WIN64 builds. This is a work in
progress. [RT #34160 ]
2013-12-04 12:47:23 +11:00
Mark Andrews
49ae04f6ee
3677. [bug] 'nsupdate' leaked memory if 'realm' was used multiple
...
times. [RT #35073 ]
2013-11-28 06:45:30 +11:00
Mark Andrews
1a4725bef2
3657. [port] Some readline clones don't accept NULL pointers when
...
calling add_history. [RT #34842 ]
2013-09-26 08:25:09 +10:00
Mark Andrews
d3c8ba219f
3552. [bug] Wrong getopt option string for 'nsupdate -r'.
...
[RT# 33280]
2013-04-19 23:46:41 +10:00
Tinderbox User
573d78f3d5
update copyright notice
2013-02-21 23:45:56 +00:00
Evan Hunt
2425d8bb7c
[master] truncate logged rdata if too long
...
3490. [bug] When logging RDATA during update, truncate if it's
too long. [RT #32365 ]
cherry picked from:
commit 16ddb566e5a5b57bf925adef2b5543dddc1de49b
commit cd97e0c23b09f38aac49aabab66ee13c68b7a3f3
commit d087fa982649c081d58c5bb16e63da3428e2b89d
commit d0795bdffef57612dd7654ffd09c9f4216eee2c8
2013-02-20 13:54:52 -08:00
Mark Andrews
d1f43359e4
3379. [bug] nsupdate terminated unexpectedly in interactive mode
...
if built with readline support. [RT #29550 ]
2012-08-22 13:38:51 +10:00
Tinderbox User
5fa46bc916
update copyright notice
2012-03-10 23:45:53 +00:00
Mark Andrews
f5b7359c57
Allow nsupdate to report which types it knows the internal structure to.
2012-03-05 11:38:07 +11:00