Commit Graph
28002 Commits
Author SHA1 Message Date
Witold Kręcicki 8ece19f681 Comment about taskmgr exclusive mode, fix a REQUIRE. 2018-11-13 19:02:04 +00:00
Witold Kręcicki de667d3c08 Allow slight over-quota in'checking lame server clients are dropped at the soft limit' test 2018-11-13 19:02:04 +00:00
Witold Kręcicki 8e45de0f6f Saner exclusive task handling in taskmgr 2018-11-13 19:02:04 +00:00
Witold Kręcicki dec92aeab6 Formatting 2018-11-13 19:02:04 +00:00
Witold Kręcicki 8ddc2b0225 Get rid of isc_taskmgr_setmode, we only use it to set privileged mode 2018-11-13 19:02:04 +00:00
Witold Kręcicki 7f423f0175 Make sure all priority tasks are done before entering normal execution 2018-11-13 19:02:04 +00:00
Witold Kręcicki dccbc4086e Post shutting down tasks always to manager 0 2018-11-13 19:02:04 +00:00
Witold Kręcicki d5a3200b3d Separate structure for each thread/queue; 2-phase-locking for exclusive tasks 2018-11-13 19:02:04 +00:00
Witold Kręcicki 70f46a537a Always restart dispatchers on empty readyq 2018-11-13 19:02:04 +00:00
Witold Kręcicki 5f269f9572 Taskmgr shutdown fixes 2018-11-13 19:02:04 +00:00
Witold Kręcicki 30708dff65 Multiple worker queues 2018-11-13 19:02:04 +00:00
Witold Krecicki ff3f537167 isc_thread_setaffinity() 2018-11-13 19:02:04 +00:00
Evan HuntandWitold Kręcicki 6b70909322 CHANGES, release note 2018-11-13 19:02:04 +00:00
Tony FinchandWitold Kręcicki 4bbd2bb511 Fixes for rndc nta user interface
Tell the user explicitly about their mistakes:

* Unknown options, e.g. -list instead of -dump
  or -delete instead of -remove.

* Unknown view names.

* Excess arguments.

Include the view name in `rndc nta -dump` output, for consistency with
the NTA add and remove actions.

When removing an NTA from all views, do not abort with an error if the
NTA was not found in one of the views.
2018-11-13 19:02:04 +00:00
Ondřej SurýandWitold Kręcicki e3c37cef51 Add CHANGES entry for GL #653 2018-11-13 19:02:04 +00:00
Ondřej SurýandWitold Kręcicki 9925d4e1ad Add release notes for IDN processing update 2018-11-13 19:02:04 +00:00
Ondřej SurýandWitold Kręcicki 94c6914e72 Update the IDN documentation for nslookup 2018-11-13 19:02:04 +00:00
Ondřej SurýandWitold Kręcicki ccc614d702 Change the dig documentation 2018-11-13 19:02:04 +00:00
Ondřej SurýandWitold Kręcicki 1eadb37cf3 Update the idna tests for the new non-tty defaults 2018-11-13 19:02:04 +00:00
Ondřej SurýandWitold Kręcicki 5d2639df6d Enable IDN processing (both idnin and idnout) only on tty, disable it when the stdout is not a tty 2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 154f411370 require python to be explicitly disabled 2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 7d94e47c26 add CHANGES note 2018-11-13 19:02:04 +00:00
Tony FinchandWitold Kręcicki ebe69ba220 Abolish ip6.int support in dig and mdig 2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 52174dc8bc add CHANGES note 2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 6a172b3621 test require-server-cookie with rate-limit 2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 9da63b9874 check requireservercookie even if rrl is configured 2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 7b30e010b7 two dns_name_dup calls were not checked 2018-11-13 19:02:04 +00:00
Witold Kręcicki d375baa081 dighost.c: after invalidating buffer we need to reinit it 2018-11-13 19:02:04 +00:00
Witold Kręcicki 5b699987eb Cleanup fctx->finds before sending 'final' query after qname minimization.
At the beginning of qname minimization we get fctx->finds filled with what's
in the cache at this point, in worst case root servers. After doing full
run querying for NSes at different levels we need to clean it and refill
it with proper values from cache.
2018-11-13 19:02:04 +00:00
Evan HuntandWitold Kręcicki 1802f71ed1 disable QNAME minimization in the dnstap test so packet counts will be correct 2018-11-13 19:02:04 +00:00
Witold Kręcicki 5343db271d Avoid a race in qmin test 2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 8e31665541 regen 2018-11-13 19:02:04 +00:00
Tony FinchandWitold Kręcicki d95e2af91c Correctly report backtrace support when configure finishes 2018-11-13 19:02:04 +00:00
Michał KępieńandWitold Kręcicki 2dc79549a4 Check serve-stale behavior with a cold cache
Ensure that serve-stale works as expected when returning stale answers
is enabled, the authoritative server does not respond, and there is no
cached answer available.
2018-11-13 19:02:04 +00:00
Michał KępieńandWitold Kręcicki 5c34e1006d Check TTL of stale answers
Make sure that stale answers returned when the serve-stale feature is
enabled have a TTL matching the value of the stale-answer-ttl setting.
2018-11-13 19:02:04 +00:00
Michał KępieńandWitold Kręcicki 4aae4ac05f [squash] Rework code preparing a HTTP response for sending in lib/isc/httpd.c 2018-11-13 19:02:04 +00:00
Witold Kręcicki 1911a71fd5 CHANGES entry 2018-11-13 19:02:04 +00:00
Witold Kręcicki 3d58be4c15 Remove vector socket functions from Unix socket code and library headers
Remove the following functions in order to simplify socket code:

  - isc_socket_recvv()
  - isc_socket_sendtov()
  - isc_socket_sendtov2()
  - isc_socket_sendv()
2018-11-13 19:02:04 +00:00
Witold Kręcicki a4ec819b3f Remove vector socket functions from Windows socket code
Remove the following functions in order to simplify socket code:

  - isc_socket_recvv()
  - isc_socket_sendtov()
  - isc_socket_sendtov2()
  - isc_socket_sendv()
2018-11-13 19:02:04 +00:00
Witold Kręcicki 2f1f4f49b7 Do not use vector socket functions in diagnostic tools
Refactor diagnostic tools code to no longer use:

  - isc_socket_recvv()
  - isc_socket_sendtov2()
  - isc_socket_sendv()

as these functions will be removed shortly.
2018-11-13 19:02:04 +00:00
Witold Kręcicki 0fa04a2f0a Do not use vector socket functions in HTTP server code
Refactor code in lib/isc/httpd.c to no longer use isc_socket_sendv() as
this function will be removed shortly.
2018-11-13 19:02:04 +00:00
Mark AndrewsandWitold Kręcicki 7db8344162 use new packet for response; rename variable to request and response 2018-11-13 19:02:04 +00:00
Witold Kręcicki 6cf6ef336b Fix style in catz test 2018-11-13 19:02:04 +00:00
Witold Kręcicki 8b023a3d0e catz test: wait for dom8.example to be transferred before checking its availability 2018-11-13 19:02:04 +00:00
Evan HuntandWitold Kręcicki 52d63eeafc remove config.h references 2018-11-13 19:02:04 +00:00
Evan Hunt a0de6707c0 silence warning from missing print.h 2018-10-30 08:06:34 -07:00
Ondřej Surý 29e7501bef Merge branch '84-destroy-task-first-when-destroying-rpzs' into 'master'
Destroy updater task first when destroying rpzs.

Closes #84

See merge request isc-projects/bind9!944
2018-10-30 09:02:02 -04:00
Witold KręcickiandOndřej Surý 19c4fe93c4 CHANGES entry 2018-10-30 14:01:24 +01:00
Ondřej Surý c1d111cd2e Destroy task first when destroying catzs.
When freeing catzs structures we need to kill the updater task first.
    Otherwise we might race with the updater and there might be a crash
    on shutdown.
2018-10-30 14:01:01 +01:00
Witold KręcickiandOndřej Surý 541872bf3b Destroy task first when destroying rpzs.
When freeing rpzs structures we need to kill the updater task first.
Otherwise we might race with the updater and there might be a crash
on shutdown.
2018-10-30 14:01:01 +01:00