Michał Kępień
4df4a8e731
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.
2018-04-09 12:14:16 +02:00
Witold Kręcicki
702c022016
libdns refactoring: get rid of multiple versions of dns_xfrin_create, dst_key_generate, dst_lib_init and dst_context_create
2018-04-06 08:04:41 +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
e2a06db7f3
libdns refactoring: get rid of multiple versions of dns_master_loadfile, dns_master_loadfileinc, dns_master_dump, dns_master_dumpinc, dns_master_dumptostream, dns_master_stylecreate
2018-04-06 08:04:41 +02:00
Witold Kręcicki
d76ed0da1c
libdns refactoring: get rid of two versions of dns_byaddr_createptrname
2018-04-06 08:04:41 +02:00
Ondřej Surý
b097be17ef
Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version
2018-04-04 23:12:14 +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
Mark Andrews
0b66d4a1c7
reorder test to silence cppcheck
2018-02-16 10:20:39 +11:00
Mark Andrews
4955c45c94
use %u instead of %d
2018-02-16 10:20:38 +11:00
Mark Andrews
1af3e7d7d5
use %u instead of %d
2018-02-16 10:20:38 +11:00
Evan Hunt
61c843815e
[master] copyrights/whitespace
2017-11-30 14:51:50 -08:00
Michał Kępień
2c20fc0d13
[master] Fix LMDB support on OpenBSD; clean up and refactor LMDB-related code
...
4835. [cleanup] Clean up and refactor LMDB-related code. [RT #46718 ]
4834. [port] Fix LMDB support on OpenBSD. [RT #46718 ]
2017-11-30 14:34:04 +01:00
Evan Hunt
959d294067
[master] remove isc-hmac-fixup
...
4797. [func] Removed "isc-hmac-fixup", as the versions of BIND that
had the bug it worked around are long past end of
life. [RT #46411 ]
2017-10-27 09:56:11 -07:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Francis Dupont
9c829f4f96
Merged rt31459d (openssl random)
2017-09-16 13:53:29 +02:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Evan Hunt
cc24a8725f
[rt31459d] update the newer tools
2017-09-12 22:49:35 -07:00
Evan Hunt
e06d728f13
[master] removed outdated library reference
2017-09-09 11:49:04 -07:00
Francis Dupont
90f6140832
Finished merge of rt45019 (openssl hash default)
2017-09-09 10:30:16 +02:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Mark Andrews
164616cb9c
don't attempt to link -lcrypto multiple times
2017-09-08 16:15:37 +10:00
Evan Hunt
509ba96497
[rt45019] separate DNS_CRYPTO_LIBS from ISC_OPENSSL_LIBS and use both
2017-09-07 22:05:20 -07:00
Mark Andrews
b6b33d0f48
ISCLIBS should be after DNSLIBS
2017-09-08 12:52:48 +10:00
Evan Hunt
1fd1c0b027
[rt45019] fix some library ordering problems
2017-09-06 23:01:54 -07:00
Tinderbox User
a5d6b4c4c8
regen master
2017-08-30 01:12:14 +00:00
Michał Kępień
d6814700de
[master] Ensure consistent handling of -4/-6 command line options in all tools
...
4690. [bug] Command line options -4/-6 were handled inconsistently
between tools. [RT #45632 ]
2017-08-29 10:19:38 +02:00
Tinderbox User
f4eb664ce3
update copyright notice / whitespace
2017-08-09 23:47:50 +00:00
Evan Hunt
cdacec1dcb
[master] silence gcc 7 warnings
...
4673. [port] Silence GCC 7 warnings. [RT #45592 ]
2017-08-09 00:17:44 -07:00
Tinderbox User
0297ebcc89
update copyright notice / whitespace
2017-07-20 23:45:27 +00:00
Mark Andrews
124712666e
4653. [bug] Reorder includes to move @DST_OPENSSL_INC@ and
...
@ISC_OPENSSL_INC@ after shipped include directories.
[RT #45581 ]
2017-07-20 11:52:03 +10:00
Mark Andrews
5aa648e8f4
add const
2017-06-17 16:13:27 +10:00
Mark Andrews
94eff196e4
4637 broke old style command line with a salt of '-' [RT #45388 ]
2017-06-16 12:45:36 +10:00
Tinderbox User
d6b626e9a7
regen master
2017-06-14 01:08:21 +00:00
Tinderbox User
a00838da96
update copyright notice / whitespace
2017-06-13 23:45:34 +00:00
Evan Hunt
0471530aae
[master] nsec3hash -r
...
4637. [func] "nsec3hash -r" option ("rdata order") takes arguments
in the same order as they appear in NSEC3 or
NSEC3PARAM records, so that NSEC3 parameters can
be cut and pasted from an existing record. Thanks
to Tony Finch for the contribution. [RT #45183 ]
2017-06-13 00:39:10 -07:00
Tinderbox User
70698c6d17
regen master
2017-04-24 01:06:39 +00:00
Evan Hunt
6ce8a05f6c
[master] update copyrights that had been missed recently
2017-04-23 17:06:00 -07:00
Tinderbox User
f5fa655319
regen master
2017-04-23 01:06:11 +00:00
Evan Hunt
f5c39b072c
[master] hex output mode for dnstap-read
...
4594. [func] "dnstap-read -x" prints a hex dump of the wire
format of each logged DNS message. [RT #44816 ]
2017-04-20 20:22:19 -07:00
Mark Andrews
3742338a7b
4585. [port] win32: Set CompileAS value. [RT #42474 ]
2017-04-20 12:41:40 +10:00
Tinderbox User
02716f97c1
regen master
2017-03-02 01:05:06 +00:00
Tinderbox User
ed5bf0e581
update copyright notice / whitespace
2017-02-28 23:45:28 +00:00
Mark Andrews
02fa49a4d8
fix nsupdate reference
2017-03-01 08:33:09 +11:00
Tinderbox User
ff52f52a31
regen master
2017-01-25 01:04:56 +00:00
Tinderbox User
b5808abc69
update copyright notice / whitespace
2017-01-24 23:45:30 +00:00
Mark Andrews
25da687db7
4560. [bug] mdig: add -m option to enable memory debugging rather
...
than have in on all the time. [RT #44509 ]
4559. [bug] Openssl_link.c didn't compile if ISC_MEM_TRACKLINES
was turned off. [RT #44509 ]
2017-01-24 17:48:31 +11:00
Mark Andrews
b789eec98c
fix ProjectGuid
2016-12-29 19:47:07 +11:00
Tinderbox User
6ce6801f3f
regen master
2016-12-29 01:05:39 +00:00
Tinderbox User
4ef83f4333
update copyright notice / whitespace
2016-12-28 23:48:39 +00:00
wpk
e910d18007
4545. [func] Make dnstap-read output more functionally usable.
...
[RT #43642 ]
4544. [func] Add message/payload size to dnstap-read YAML output.
[RT #43622 ]
2016-12-28 11:57:28 +01:00
Tinderbox User
16fde7f0b3
regen master
2016-12-07 01:05:34 +00:00
Mark Andrews
1b8ce3b330
4527. [doc] Support DocBook XSL Stylesheets v1.79.1. [RT #43831 ]
2016-12-07 10:49:55 +11:00
Evan Hunt
6087f87afb
[master] make uninstall
...
4503. [cleanup] "make uninstall" now removes file installed by
BIND. (This currently excludes Python files
due to lack of support in setup.py.) [RT #42912 ]
2016-11-01 19:17:07 -07:00
Witold Krecicki
358dfaee18
4487. [test] Make system tests work on Windows. [RT #42931 ]
2016-10-19 17:18:42 +02:00
Tinderbox User
f925373f21
regen master
2016-10-06 01:05:06 +00:00
Witold Krecicki
551f1e02e6
4478. [func] Add +continue option to mdig, allow continue on socket errors. [RT #43281 ]
2016-10-05 13:50:03 +02:00
Tinderbox User
f1814f50c9
regen master
2016-09-29 01:05:10 +00:00
Evan Hunt
e9917a51d3
[master] minor cleanup/clarification in dnstap documentation
...
Patch submitted by Tony Finch (dot@dotat.at ).
2016-09-27 20:45:58 -07:00
Mark Andrews
63fe88e8d8
4456. [doc] Add DOCTYPE and lang attribute to <html> tags.
...
[RT #42587 ]
2016-08-26 15:14:04 +10:00
Mark Andrews
726cddb564
4454. [bug] 'rndc dnstap -reopen' had a race issue. [RT #43089 ]
2016-08-25 10:03:22 +10:00
Mark Andrews
8ee6f289d8
4450. [port] Provide more nuanced HSM support which better matches
...
the specific PKCS11 providers capabilities. [RT #42458 ]
2016-08-19 08:02:51 +10:00
Tinderbox User
49834f2f8d
regen master
2016-07-27 01:07:09 +00:00
Mark Andrews
0408ceba1f
add space in #error message
2016-07-26 11:28:47 +10:00
Mark Andrews
0ac94b80e8
remove comma
2016-07-26 11:17:37 +10:00
Tinderbox User
7ba3e5dc9e
regen master
2016-07-26 01:07:05 +00:00
Mark Andrews
3fdd1a3462
named-rrchecker is also in ${prefix}/bin
2016-07-26 07:12:13 +10:00
Mark Andrews
711aff9fa7
4425. [bug] arpaname and dnstap-read were not being installed
...
into ${prefix}/bin. Tidy up installation issues
with CHANGE 4421. [RT #42910 ]
2016-07-26 06:51:36 +10:00
Witold Krecicki
c854d9c7a8
Fix merge error in bin/tools/Makefile.in
2016-07-25 13:18:47 +02:00
Mark Andrews
9616761417
copyrights
2016-07-22 15:58:48 +10:00
Evan Hunt
7914f63011
[master] print.h
2016-07-21 11:25:19 -07:00
Evan Hunt
eca74c52c1
[master] store "addzone" zone config in a NZD database
...
4421. [func] When built with LMDB (Lightning Memory-mapped
Database), named will now use a database to store
the configuration for zones added by "rndc addzone"
instead of using a flat NZF file. This improves
performance of "rndc delzone" and "rndc modzone"
significantly. Existing NZF files will
automatically by converted to NZD databases.
To view the contents of an NZD or to roll back to
NZF format, use "named-nzd2nzf". To disable
this feature, use "configure --without-lmdb".
[RT #39837 ]
2016-07-21 11:13:37 -07:00
Tinderbox User
6807a2dc3c
regen master
2016-07-21 07:11:01 +00:00
Mukund Sivaraman
4116177ac4
Make fixes for GCC 6 ( #42721 )
2016-07-13 13:55:50 +05:30
Tinderbox User
33d0a7767d
regen master
2016-06-27 05:29:38 +00:00
Mark Andrews
0c27b3fe77
4401. [misc] Change LICENSE to MPL 2.0.
2016-06-27 14:56:38 +10:00
Tinderbox User
a0132868d1
update copyright notice / whitespace
2016-03-25 23:45:16 +00:00
Evan Hunt
4a5f5c4ce1
[master] install mdig to bin not sbin
2016-03-25 09:52:00 -07:00
Tinderbox User
e285c11870
regen master
2016-03-24 01:05:08 +00:00
Evan Hunt
05b7b63f17
[master] more ECS handling fixes
2016-03-23 09:59:42 -07:00
Evan Hunt
395e6865d5
[master] fix ECS with family==0
...
4341. [bug] Correct the handling of ECS options with
address family 0. [RT #41377 ]
2016-03-23 08:54:46 -07:00
Tinderbox User
6632721990
regen master
2016-02-12 01:04:18 +00:00
Tinderbox User
ee2e5fec65
regen master
2016-02-11 01:04:20 +00:00
Mukund Sivaraman
79a55d4f4d
Add option to tools to print RRs in unknown presentation format ( #41595 )
2016-02-09 15:39:02 +05:30
Tinderbox User
3947e3625a
update copyright notice / whitespace
2016-01-31 23:45:23 +00:00
Evan Hunt
1d36ed108a
[master] spelling
2016-01-31 09:54:13 -08:00
Evan Hunt
df9a49ee07
[master] dig/mdig could send misformatted ECS options
...
4307. [bug] "dig +subnet" and "mdig +subnet" could send
incorrectly-formatted Client Subnet options
if the prefix length was not divisble by 8.
Also fixed a memory leak in "mdig". [RT #45178 ]
2016-01-29 17:41:29 -08:00
Tinderbox User
6825f304c5
regen master
2016-01-29 01:04:18 +00:00
Tinderbox User
b7f3400f3b
update copyright notice / whitespace
2016-01-28 23:45:29 +00:00
Evan Hunt
8ede7a974b
[master] fix dig=+subnet zero-length prefix
...
4303. [bug] "dig +subnet" was unable to send a prefix length of
zero, as it was incorrectly changed to 32 for v4
prefixes or 128 for v6 prefixes. In addition to
fixing this, "dig +subnet=0" has been added as a
short form for 0.0.0.0/0. The same changes have
also been made in "mdig". [RT #41553 ]
2016-01-27 19:03:54 -08:00
Evan Hunt
30370d905e
[master] removed /Gy- from VS project files
...
4302. [port] win32: fixed a build error in VS 2015. [RT #41426 ]
2016-01-27 15:27:57 -08: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
Tinderbox User
dec590a3de
regen master
2015-11-18 01:04:11 +00:00
Jeremy C. Reed
414678df72
Merge branch 'master' of repo.isc.org:/proj/git/prod/bind9
2015-11-16 12:53:55 -05:00
Francis Dupont
dd784c18ef
Merged VS 2015 64 bit warnings ( #40373 )
2015-11-16 17:47:10 +01:00
Jeremy C. Reed
dde7a7d357
Merge branch 'master' of repo.isc.org:/proj/git/prod/bind9
2015-11-09 11:25:01 -05:00
Evan Hunt
e13d04fda9
[master] fix python script versions
...
4257. [cleanup] Python scripts reported incorrect version. [RT #41080 ]
2015-11-08 21:34:24 -08:00
Jeremy C. Reed
f02194c053
clean up refpurpose contents to be consistent
...
This is to be consistent with other manuals:
- no period punctuation at end
- no capitalization at beginning unless acronym or proper noun
- and no simple article (like "A") to start sentence.
While the docbook specification says refpurpose is a "one sentence",
its examples show it with the rules shown above.
Also compared with many manpages as this is common format for the
.Nd macro's one line description.
2015-11-05 13:01:07 -05:00
Tinderbox User
9d557856c2
regen master
2015-10-22 05:53:09 +00:00
Mark Andrews
79f0eedd65
cleanup trailing whitespace
2015-10-22 16:24:03 +11:00
Mark Andrews
30eec077db
cleanup trailing white space in SGML like files
2015-10-22 16:09:46 +11:00