Ondřej Surý
4957255d13
Use the semantic patch to change the usage isc_mem_create() to new API
2019-09-12 09:26:09 +02: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
Ondřej Surý
23fff6c569
Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
2018-11-08 12:22:17 +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
Ondřej Surý
3a4f820d62
Replace all random functions with isc_random, isc_random_buf and isc_random_uniform API.
...
The three functions has been modeled after the arc4random family of
functions, and they will always return random bytes.
The isc_random family of functions internally use these CSPRNG (if available):
1. getrandom() libc call (might be available on Linux and Solaris)
2. SYS_getrandom syscall (might be available on Linux, detected at runtime)
3. arc4random(), arc4random_buf() and arc4random_uniform() (available on BSDs and Mac OS X)
4. crypto library function:
4a. RAND_bytes in case OpenSSL
4b. pkcs_C_GenerateRandom() in case PKCS#11 library
2018-05-16 09:54:35 +02: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
ef0e68bfc3
libdns refactoring: integrate zone->options and zone->options2 into one enum, removing unnecessary flags.
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
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
Francis Dupont
3759f10fc5
added print.h includes, updated copyrights
2015-05-23 14:21:51 +02:00
Mark Andrews
e676a59686
update copyrights
2014-02-20 10:53:11 +11:00
Evan Hunt
35f6a21f5f
[master] max-zone-ttl
...
3746. [func] New "max-zone-ttl" option enforces maximum
TTLs for zones. If loading a zone containing a
higher TTL, the load fails. DDNS updates with
higher TTLs are accepted but the TTL is truncated.
(Note: Currently supported for master zones only;
inline-signing slaves will be added.) [RT #38405 ]
2014-02-18 23:26:50 -08:00
Mark Andrews
26bb3b7a67
3559. [func] Check that both forms of Sender Policy Framework
...
records exist or do not exist. [RT #33355 ]
2013-04-30 13:49:41 +10:00
Evan Hunt
c9611b4573
[master] change "fast" to "map"
...
3475. [cleanup] Changed name of 'map' zone file format (previously
'fast'). [RT #32458 ]
2013-01-24 14:20:48 -08:00
Tinderbox User
5c6b95ba1b
update copyright notice
2013-01-10 23:46:00 +00:00
Evan Hunt
578e319607
[master] add -J option to checkzone/compilezone
...
3459. [func] Added -J option to named-checkzone/named-compilezone
to specify the path to the journal file. [RT #30958 ]
2013-01-09 16:56:46 -08:00
Evan Hunt
47c5b8af92
[master] silence coverity warnings
...
3401. [bug] Addressed Coverity warnings. [RT #31484 ]
2012-10-23 22:04:06 -07:00
Tinderbox User
3b398443f0
update copyright notice
2012-06-21 23:46:36 +00:00
ckb
7829fad409
merging fast format zone files
...
Conflicts:
.gitignore
bin/named/zoneconf.c
bin/tests/.gitignore
bin/tests/system/autosign/tests.sh
bin/tests/system/masterformat/clean.sh
bin/tests/system/masterformat/ns1/compile.sh
bin/tests/system/masterformat/tests.sh
configure
lib/dns/db.c
lib/dns/include/dns/db.h
lib/dns/include/dns/types.h
lib/dns/master.c
lib/dns/masterdump.c
lib/dns/rbt.c
lib/dns/rbtdb.c
lib/dns/sdb.c
lib/dns/sdlz.c
lib/dns/tests/.cvsignore
lib/dns/tests/Makefile.in
lib/dns/win32/libdns.def
lib/dns/xfrin.c
lib/dns/zone.c
lib/export/dns/Makefile.in
lib/isc/include/isc/file.h
lib/isc/unix/file.c
lib/isc/win32/file.c
lib/isccfg/namedconf.c
2012-06-20 14:13:12 -05:00
Evan Hunt
15218d6ed0
3259. [bug] named-compilezone: Suppress "dump zone to <file>"
...
message when writing to stdout. [RT #27109 ]
2011-12-22 17:29:22 +00:00
Evan Hunt
f30785f506
3252. [bug] When master zones using inline-signing were
...
updated while the server was offline, the source
zone could fall out of sync with the signed
copy. They can now resynchronize. [RT #26676 ]
2011-12-22 07:32:41 +00:00
Automatic Updater
339d2a4d4b
update copyright notice
2011-12-09 23:47:05 +00:00
Evan Hunt
b4d8192d21
3241. [func] Extended the header of raw-format master files to
...
include the serial number of the zone from which
they were generated, if different (as in the case
of inline-signing zones). This is to be used in
inline-signing zones, to track changes between the
unsigned and signed versions of the zone, which may
have different serial numbers.
(Note: raw zonefiles generated by this version of
BIND are no longer compatble with prior versions.
To generate a backward-compatible raw zonefile
using dnssec-signzone or named-compilezone, specify
output format "raw=0" instead of simply "raw".)
[RT #26587 ]
2011-12-08 16:07:22 +00:00
Automatic Updater
7306e8e4ee
update copyright notice
2010-09-07 23:46:59 +00:00
Mark Andrews
1b42401954
2952. [port] win32: named-checkzone and named-checkconf failed
...
to initialise winsock. [RT #21932 ]
2010-09-07 01:49:08 +00:00
Automatic Updater
4b6dc226f7
update copyright notice
2009-12-04 22:06:37 +00:00
Mark Andrews
3d17a3ba61
2801. [func] Detect and report records that are different according
...
to DNSSEC but are sematically equal according to plain
DNS. Apply plain DNS comparisons rather than DNSSEC
comparisons when processing UPDATE requests.
dnssec-signzone now removes such semantically duplicate
records prior to signing the RRset.
named-checkzone -r {ignore|warn|fail} (default warn)
named-compilezone -r {ignore|warn|fail} (default warn)
named.conf: check-dup-records {ignore|warn|fail};
2009-12-04 21:09:34 +00:00
Evan Hunt
2e2a294b05
remove unnecessary braces around {-o filename}
2009-11-10 21:30:42 +00:00
Evan Hunt
3839749200
2760. [cleanup] Corrected named-compilezone usage summary. [RT #20533 ]
2009-11-10 20:02:01 +00:00
Francis Dupont
debd489a44
noreturn RT #20257
2009-09-29 15:06:07 +00:00
Mark Andrews
fc7ecc628d
2603. [port] win32: handle .exe extension of named-checkzone and
...
named-comilezone argv[0] names under windows.
[RT #19767 ]
2009-05-29 02:14:31 +00:00
Automatic Updater
bf33eb0b52
update copyright notice
2009-02-16 23:48:04 +00:00
Mark Andrews
e502b133d6
2556. [cleanup] PCI compliance:
...
* new libisc log module file
* isc_dir_chroot() now also changes the working
directory to "/".
* additional INSISTs
* additional logging when files can't be removed.
2009-02-16 02:01:16 +00:00
Automatic Updater
be40453080
update copyright notice
2008-10-24 01:44:48 +00:00
Mark Andrews
7cc9019283
update usage
2008-10-24 00:56:32 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
0f8c9b5eed
2191. [func] named-checkzone now allows dumping to stdout (-).
...
named-checkconf now has -h for help.
named-checkzone now has -h for help.
Better handling of '-?' for usage summaries.
[RT #16707 ]
2007-05-21 02:47:25 +00:00
Automatic Updater
858ad8db23
update copyright notice
2007-03-29 23:47:04 +00:00
Mark Andrews
113e0b7819
2164. [bug] The code to determine how named-checkzone /
...
named-compilezone was called failed under windows.
[RT #16764 ]
2007-03-29 04:39:07 +00:00
Mark Andrews
9e2789fd70
2093. [bug] named-checkzone -s was broken.
...
format was missing : for s
2006-10-05 05:22:34 +00:00
Mark Andrews
2dafa707cc
2078. [bug] dnssec-checkzone output style "default" was badly
...
named. It is now called "relative". [RT #16326 ]
2077. [bug] 'dnssec-signzone -O raw' wasn't outputing the
complete signed zone. [RT #16326 ]
2006-08-30 22:57:16 +00:00
Mark Andrews
141132c272
update copyright notice
2006-01-07 00:23:35 +00:00
Mark Andrews
dc6da18ccb
1964. [func] Seperate out MX and SRV to CNAME checks. [RT #15723 ]
2006-01-05 23:45:34 +00:00
Mark Andrews
ed6ca94ad7
finetune isc_thread_key implementation [RT #15408 ]
2005-09-18 07:16:24 +00:00
Mark Andrews
74f261bd2b
1920. [bug] Update windows socket code. [RT #14965 ]
2005-09-01 02:25:06 +00:00
Mark Andrews
2c15fcdeac
seperate out sibling glue checks
2005-08-24 23:54:04 +00:00
Mark Andrews
36ca24a121
dns_log_init() and dns_log_setcontext() had been moved to setup_logging()
2005-08-22 00:58:18 +00:00