Commit Graph
28021 Commits
Author SHA1 Message Date
Witold Kręcicki 97b9d76f52 Use the newly accepted FD in TCP code. 2018-11-13 19:02:36 +00:00
Witold Kręcicki ea54888e2e Use isc_refcount_t in socket reference counting. 2018-11-13 19:02:36 +00:00
Witold Krecicki ce6f33ed0b Multiple network event loop threads support for Solarises /dev/poll. 2018-11-13 19:02:36 +00:00
Witold Kręcicki 901794f009 Mangle fdlocks a bit.
Mutexes are slower if they're in the same cache line. Since
fd's come in herds, and usually our listen sockets will have nearby
fd numbers, we mangle fdlocks so that the locks are further away.
2018-11-13 19:02:36 +00:00
Witold Kręcicki e478ec16f9 Fix a race between socket closing and incoming event. 2018-11-13 19:02:36 +00:00
Witold Kręcicki d15ba6eaba Set network threads CPU affintity. 2018-11-13 19:02:36 +00:00
Witold Kręcicki cde60b3085 Add runtime detection of SO_REUSEPORT, use it instead of dup() if available. 2018-11-13 19:02:36 +00:00
Witold Kręcicki 4256a29ea9 Use the same number of UDP dispatchers as CPUs. 2018-11-13 19:02:36 +00:00
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