Commit Graph
29540 Commits
Author SHA1 Message Date
Michal Nowak 3ec897c97e Various README.md and README fixes
Fixing typos, typographical glitches. Added backticks around binaries,
modules, and libraries so it's more consistent. Added a paragraph with
ISC Security Policy.

(cherry picked from commit 4e2fdd7ee9)
2019-09-16 07:45:16 +02:00
Mark Andrews 974fc3c3f4 Merge branch 'marka-win32-fixup-v9_11-v9_14' into 'v9_14'
reinstate error handler

See merge request isc-projects/bind9!2341
2019-09-13 00:31:22 -04:00
Mark Andrews 31a905775c reinstate error handler
(cherry picked from commit 7fb0a0db53)
2019-09-13 14:29:54 +10:00
Mark Andrews 1aff269e6a Merge branch 'marka-win32-fixup-v9_11-v9_14' into 'v9_14'
win32 fixup v9_11

See merge request isc-projects/bind9!2340
2019-09-13 00:28:01 -04:00
Mark Andrews 946f08db99 declare alloc_failure
(cherry picked from commit 0d23bc5b55)
2019-09-13 14:26:36 +10:00
Mark Andrews fd395947ad declare result
(cherry picked from commit 9ee27573af)
2019-09-13 14:26:36 +10:00
Michał Kępień ab6db576e2 Merge branch 'michal/add-freebsd-to-ci-v9_14' into 'v9_14'
[v9_14] Add FreeBSD to CI

See merge request isc-projects/bind9!2334
2019-09-12 09:23:38 -04:00
Michał Kępień 097989cf59 Add FreeBSD to GitLab CI
Ensure BIND can be tested on FreeBSD in GitLab to more quickly catch
build and test errors on that operating system.  Make the relevant jobs
optional until the CI environment supporting them is deemed stable
enough for continuous use.

FreeBSD jobs are run using the Custom executor feature of GitLab Runner.
Unlike the Docker executor, the Custom executor does not support the
"image" option and thus some way of informing the runner about the OS
version to use for a given job is necessary.  Arguably the simplest way
of doing that without a lot of code duplication in .gitlab-ci.yml would
be to use a YAML template with a "variables" block specifying the
desired FreeBSD release to use, but including such a template in a job
definition would cause issues in case other variables also needed to be
set for that job (e.g. CFLAGS or EXTRA_CONFIGURE for build jobs).  Thus,
only one FreeBSD YAML template is defined instead and the Custom
executor scripts on FreeBSD runners extract the OS version to use from
the CI job name.  This allows .gitlab-ci.yml variables to be defined for
FreeBSD jobs in the same way as for Docker-based jobs.

(cherry picked from commit 51af91d007)
2019-09-12 15:00:38 +02:00
Michał Kępień 83ceebef81 Set --logfile for all kyua invocations
When kyua is called without the --logfile command line option, the log
file is created at a default location which is derived from the HOME
environment variable.  On FreeBSD GitLab CI runners, /home is a
read-only directory and thus kyua invocations not using the --logfile
option fail when HOME is set to something beneath /home.  Set --logfile
to /dev/null for all kyua invocations whose logs are irrelevant in order
to prevent kyua failures caused by HOME being non-writable.

(cherry picked from commit 1bffa602ba)
2019-09-12 15:00:34 +02:00
Michał Kępień 84fdc4034f Merge branch 'michal/misc-doc-fixes-v9_14' into 'v9_14'
[v9_14] Miscellaneous documentation fixes

See merge request isc-projects/bind9!2330
2019-09-12 08:01:33 -04:00
Michał Kępień bf4c9450ca README: do not mention /usr/include on macOS
For newer versions of Xcode, "xcode-select --install" no longer installs
system headers into /usr/include (instead, they are installed in the
Xcode directory tree), so do not mention that path in the macOS section
of README to prevent confusion.

(cherry picked from commit 5af0b1d1d3)
2019-09-12 13:58:01 +02:00
Mark Andrews 973eac118d Merge branch 'marka-split-notes-v9_14' into 'v9_14'
split notes.xml into sections v9_14

See merge request isc-projects/bind9!2327
2019-09-12 06:06:42 -04:00
Mark Andrews 9f612e0850 split notes.xml into sections 2019-09-12 20:05:05 +10:00
Mark Andrews eeb281641b Merge branch '1043-cppcheck-detected-code-issues-v9_14' into 'v9_14'
Resolve "cppcheck-detected code issues"

See merge request isc-projects/bind9!2332
2019-09-12 06:01:25 -04:00
Mark Andrews 57824120e4 address or suppress cppcheck warnings
(cherry picked from commit b59fe46e76)
2019-09-12 19:27:28 +10:00
Tinderbox User 39057cceec Merge branch 'prep-release' into v9_14 v9.14.6 2019-09-09 14:51:54 +00:00
Tinderbox User 87bcd335d6 prep for 9.14.6 2019-09-09 14:09:52 +00:00
Tinderbox User 2a2d8d00aa prep for 9.14.6 2019-09-09 13:34:28 +00:00
Mark Andrews 57a21490bf Merge branch 'marka-fix-insist-v9_14' into 'v9_14'
Address "Value stored to 'dscpcount' is never read"

See merge request isc-projects/bind9!2319
2019-09-06 03:06:00 -04:00
Mark Andrews 34f4295d1f also insist that keycount == dscpcount
(cherry picked from commit dbdd19853e)
2019-09-06 16:44:05 +10:00
Mark Andrews 729882ce41 Merge branch '1212-edns-udp-size-docs-not-updated-for-flag-day-changes-v9_14' into 'v9_14'
Resolve "edns-udp-size docs not updated for Flag Day changes"

See merge request isc-projects/bind9!2316
2019-09-05 21:13:27 -04:00
Mark Andrews 91b0e48b2a remove discussion about falling back to plain DNS on timeout
(cherry picked from commit aca78add3a)
2019-09-06 10:51:54 +10:00
Mark Andrews c628c9a9ad Merge branch '1210-address-potential-null-pointer-dereference-in-rpz-c-v9_14' into 'v9_14'
Resolve "Address potential NULL pointer dereference in rpz.c"

See merge request isc-projects/bind9!2309
2019-09-04 17:51:45 -04:00
Mark Andrews cc5978a961 add CHANGES
(cherry picked from commit 924f9b9e1d)
2019-09-05 07:29:35 +10:00
Mark Andrews 7b26e2d819 use rpzs->updater as rpz->rpzs is NULL
(cherry picked from commit 3e82a2ea9a)
2019-09-05 07:29:05 +10:00
Mark Andrews 6f729bf3e3 Merge branch '1207-bind-potential-for-null-pointer-de-references-plus-memory-leaks-cwe-476-in-file-dlz_mysqldyn_mod-c-v9_14' into 'v9_14'
Resolve "BIND | Potential for NULL pointer de-references plus memory leaks (CWE-476) in file 'dlz_mysqldyn_mod.c'"

See merge request isc-projects/bind9!2301
2019-09-04 00:52:15 -04:00
Mark Andrews ee1636d0c8 add CHANGES
(cherry picked from commit 8b65ac9128)
2019-09-04 14:37:57 +10:00
Mark Andrews 1eafd26fa4 address NULL pointer dereferences
(cherry picked from commit 2de94dd4c4)
2019-09-04 14:37:56 +10:00
Mark Andrews 573f88e5ba Merge branch '837-win32-legacy-system-test-failure-v9_14' into 'v9_14'
Resolve "win32 legacy system test failure"

See merge request isc-projects/bind9!2297
2019-09-03 21:18:57 -04:00
Mark Andrews 33c751c967 add CHANGES
(cherry picked from commit f0fd713f17)
2019-09-04 10:50:23 +10:00
Mark Andrews 0c75cb9a1e silence dos2unix messages
(cherry picked from commit 2390d16955)
2019-09-04 10:50:00 +10:00
Mark Andrews d72f73af48 implement maxudp under windows
(cherry picked from commit 2f558854b7)
2019-09-04 10:50:00 +10:00
Ondřej Surý 581baceff9 Merge branch '1196-misaligned-address-in-siphash-c-v9_14' into 'v9_14'
Resolve "Misaligned address in siphash.c"

See merge request isc-projects/bind9!2291
2019-09-03 05:00:42 -04:00
Ondřej Surý 77a68cbd4c Fix alignment issues in the native implementation of isc_siphash24()
The native implementation's conversion from the uint8_t buffers to uint64_t now
follows the reference implementation that doesn't require aligned buffers.
2019-09-02 13:21:40 +02:00
Evan Hunt 8057e21421 Merge branch '1146-rpz-expiry-v9_14' into 'v9_14'
remove policies from RPZ summary database when policy zones expire

See merge request isc-projects/bind9!2290
2019-08-30 16:28:33 -04:00
Evan Hunt 25bbe76f4f CHANGES, release note
(cherry picked from commit 38523ac4a8)
2019-08-30 13:08:48 -07:00
Evan Hunt 2a58b03336 when a response-policy zone expires, unload its polices from RPZ summary
(cherry picked from commit 7ba6d592ec)
2019-08-30 13:08:48 -07:00
Evan Hunt b92b5ef35d Merge branch '1146-rpz-search-v9_14' into 'v9_14'
use an rbtnodechain for wildcard matching in RPZ summary db

See merge request isc-projects/bind9!2286
2019-08-30 14:46:51 -04:00
Evan Hunt 2078d8fcca CHANGES
(cherry picked from commit 22349d919c)
2019-08-29 20:08:16 -07:00
Evan Hunt 326ec91c8b use an rbtnodechain to walk up labels
when looking for a possible wildcard match in the RPZ summary database,
use an rbtnodechain to walk up label by label, rather than using the
node's parent pointer.

(cherry picked from commit 6e9be9a952)
2019-08-29 20:08:16 -07:00
Mark Andrews 2701f9eab0 Merge branch '1189-don-t-escape-commas-when-reporting-named-s-command-line-v9_14' into 'v9_14'
Resolve "Don't escape commas when reporting named's command line."

See merge request isc-projects/bind9!2283
2019-08-29 21:19:24 -04:00
Mark Andrews 7ef47e8979 add CHANGES
(cherry picked from commit ecba23bc24)
2019-08-30 10:42:51 +10:00
Mark Andrews ed92040d7a don't escape commas when saving named's command line
(cherry picked from commit 70dd93bf8a)
2019-08-30 10:42:48 +10:00
Ondřej Surý 9691ad733b Merge branch 'ondrej/use-needs-kw-in-gitlab-ci-v9_14' into 'v9_14'
Ondrej/use needs kw in gitlab ci v9 14

See merge request isc-projects/bind9!2281
2019-08-29 09:57:24 -04:00
Ondřej Surý d17168b102 Remove the tkey_test.c from the BIND 9.14 branch, it's no-op here anyway. 2019-08-29 15:37:03 +02:00
Ondřej Surý 1c084c35f0 Fix uninitialized variable warning in restore_nsec3param() 2019-08-29 15:14:24 +02:00
Ondřej Surý 53058ce4b3 Synchronize the .gitlab-ci.yml with master 2019-08-29 15:07:49 +02:00
Ondřej Surý 173ecd41a2 Swap unit and system stages
(cherry picked from commit 3f2de6d39c)
2019-08-29 15:04:06 +02:00
Ondřej Surý 6464b2e962 Further improve the CI by starting the build and docs right after autoreconf
(cherry picked from commit fc834aa4bc)
2019-08-29 15:03:49 +02:00
Ondřej Surý 76e8f7783d Split the system and unit tests into separate stages
(cherry picked from commit 008b73fb41)
2019-08-29 15:02:41 +02:00