Commit Graph
28013 Commits
Author SHA1 Message Date
Witold Krecicki 4b8bdca210 Use multiple network event loop threads with separate data structures. 2018-11-13 19:02:36 +00:00
Witold Kręcicki 1f0cffd16f Do IO after event directly in the network thread, don't queue an event in a separate task. 2018-11-13 19:02:36 +00:00
Witold Kręcicki fd36cafe5a Remove fdwatch sockets, those are not used anywhere. 2018-11-13 19:02:35 +00:00
Witold Kręcicki 5b3798661a Fix a typo in lib/isc/unix/thread.c 2018-11-13 19:02:04 +00:00
Witold Krecicki deae248984 Add some DBC checks in dighost; fix race between clear_query and send_done in dighost 2018-11-13 19:02:04 +00:00
Witold Kręcicki 74fc261ee3 CHANGES note 2018-11-13 19:02:04 +00:00
Witold Kręcicki 6cc85c208f Use larger quantum for network tasks 2018-11-13 19:02:04 +00:00
Witold Kręcicki 3ebc29b82b Use a single wake_all_queues() function to wake all queues 2018-11-13 19:02:04 +00:00
Witold Kręcicki 757b9a5351 Switch from privileged to un-privileged mode under lock 2018-11-13 19:02:04 +00:00
Witold Kręcicki 586ab26d51 Document isc_task_sendto properly, make sure that cpu we're sending to is always sane 2018-11-13 19:02:04 +00:00
Witold Kręcicki 5418603967 Use proper memory ordering for tasks_running/tasks_ready 2018-11-13 19:02:04 +00:00
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