Commit Graph
90 Commits
Author SHA1 Message Date
Evan Hunt c7e266b7e5 Add support for O(1) ACL processing, based on radix tree code originally
written by kevin brintnall. [RT #16288]
2007-09-12 01:09:08 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews 96ea716328 2134. [func] Additional statistics support. [RT #16666] 2007-02-13 02:49:08 +00:00
Mark Andrews 0b174d1243 update copyright notice 2007-02-06 00:01:23 +00:00
Mark Andrews 281bab0f36 2129. [func] Provide a pool of UDP sockets for queries to be
made over. See use-queryport-pool, queryport-pool-ports
                        and queryport-pool-updateinterval.  [RT #16415]
2007-02-02 02:18:06 +00:00
Mark Andrews cd7812e4b1 update copyright notice 2006-07-20 01:10:31 +00:00
Mark Andrews 8626c376a0 2047. [bug] Failed to initialise the interface flags to zero.
[RT #16245]
2006-07-19 00:08:20 +00:00
Mark Andrews 2674e1a455 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews fb827ed6df 9.4/HEAD sync 2005-07-18 06:03:01 +00:00
Rob Austein ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews 08097713a4 update copyright notice 2005-02-11 00:01:58 +00:00
Mark Andrews 3aca8e5bf3 1758. [func] Don't send notify messages to self. [RT #12933] 2005-02-10 05:53:43 +00:00
Tatuya JINMEI 神明達哉 ecef5a3d5f comment wording / style nits. 2004-08-10 04:55:39 +00:00
Mark Andrews cc32d38366 1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
available, and suppress wildcard binding if not.

1621.   [bug]           match-destinations did not work for IPv6 TCP queries.
                        [RT# 11156]
2004-04-29 01:37:14 +00:00
Mark Andrews dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Michael Graff 43ee20a821 merge rt4112 2002-11-12 23:38:12 +00:00
Mark Andrews 440edeebf9 emit explict interface message only if we are about to configure the
first interface.
2002-10-31 04:08:22 +00:00
Mark Andrews aa39170da8 1394. [func] It is now possible to check if a particular element is
in a acl.  Remove duplicate entries from the localnets
                        acl.

1393.   [port]          Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
                        is not available in the kernel to prevent accidently
                        listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Mark Andrews 6526fd032f 1391. [func] Add support for IPv6 scoped addresses in named. 2002-10-24 03:52:35 +00:00
Mark Andrews a9ae9d743c 1380. [func] 'rndc recursing' dump recursing queries to
'recursing-file = "named.recursing";'.
2002-09-10 04:45:54 +00:00
Mark Andrews 3bdf879a53 developer: jinmei
reviewer: marka
1371    [bug]           notify-source-v6, transfer-source-v6 and
                        query-source-v6 with explict addresses and using the
                        same ports as named was listening on could interfere
                        with nameds ability to answer queries sent to those
                        addresses.
2002-08-30 02:05:30 +00:00
Mark Andrews 301ef360a1 supported multiple listen-on-v6 correctly. 2002-08-17 03:00:49 +00:00
Mark Andrews 2434ccfde7 reviewed: marka
developer: jinmei
1360.   [func]          Listen-on-v6 now supports specific addresses.
2002-08-16 23:46:11 +00:00
Mark Andrews a1edcd1b8d 1203. [func] Use "dataready" accept filter if available. 2002-05-27 00:40:23 +00:00
Mark Andrews ef29912666 1147. [func] Set IPV6_IPV6ONLY on IPv6 sockets if supported by
the OS.  listen-on-v6 { any; }; should no longer
                        result in IPv4 queries be accepted.  Similarly
                        control { inet :: ... }; should no longer result
                        in IPv4 connections being accepted.  This can be
                        overridden at compile time by defining
                        ISC_ALLOW_MAPPED=1.
2001-11-29 13:14:33 +00:00
Andreas Gustafsson 3d38596530 1071. [bug] Sockets listening for TCP DNS connections
specified an excessive listen backlog. [RT #1937]
2001-10-25 00:12:07 +00:00
Mark Andrews 2f6d1483f6 1064. [bug] Do not shutdown active interfaces if we are unable
to scan the list of interfaces.  [RT #1921]
2001-10-22 03:31:24 +00:00
Andreas Gustafsson fa2fb620c7 1051. [bug] Do not ignore a network interface completely just
because it has a noncontiguous netmask.  Instead,
                        omit it from the localnets ACL and issue a warning.
                        [RT #1891]
2001-10-12 23:05:58 +00:00
Andreas Gustafsson f953788d75 1040. [bug] Multiple listen-on-v6 options with different ports
were not accepted. [RT #1875]
2001-10-11 00:02:34 +00:00
Andreas Gustafsson 2f734e0a7e sizeof style 2001-09-19 23:08:24 +00:00
Andreas Gustafsson cab0ee644d 985. [func] Consider network interfaces to be up iff they have
a nonzero IP address rather than based on the
                        IFF_UP flag. [RT #1160]
2001-09-10 23:03:09 +00:00
Andreas Gustafsson 30751145f8 don't warn about the server not istening on any interface if lwresdonly 2001-06-15 23:18:04 +00:00
David Lawrence 92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Brian Wellington 48755e1737 Don't log that there are no ipv6 interfaces if built with --disable-ipv6. 2001-02-27 04:20:44 +00:00
Brian Wellington 35f06ab0e6 Clients now listen on sockets instead of accepting queries from dispatchers.
When a socket is shared by clients and query-source, the client hands off
responses to the dispatcher.
2001-01-27 02:08:07 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson 8c18a5cfc2 oops, previous change did not compile 2000-12-15 01:07:52 +00:00
Andreas Gustafsson eacc01e117 not being able to open a socket on port 53 is not
an 'unexpected error'
2000-12-15 00:31:27 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Andreas Gustafsson e7af081383 removed unused task 2000-09-26 18:26:20 +00:00
Andreas Gustafsson d15f51c600 484. [bug] When the server was reloaded after removing addresses
from the named.conf "listen-on" statement, sockets
                        were still listening on the removed addresses due
                        to reference count loops. [RT #325]

Now there is one client manager object per interface instead of a single
global one; when an interface goes away, it simply destroys the associated
client manager, which will cause all its clients to be shut down in an
orderly fashion.
2000-09-22 00:13:08 +00:00
Brian Wellington fa9a407180 Last set of DESTROYLOCK changes 2000-08-26 01:42:34 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Andreas Gustafsson b0e67b3020 removed unnecessary call to isc_socket_cancel() 2000-07-19 20:34:14 +00:00
Andreas Gustafsson 8f874cca90 removed unnecessary locking in ns_interface_shutdown() that
caused the server to deadlock on shutdown on the Alphas.
2000-06-30 02:48:06 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington b00a764bc8 Only print 'no IPv6 interfaces found' and 'no IPv4 interfaces found'
addresses on startup, not each time interfaces are scanned.
2000-06-08 22:31:55 +00:00
Andreas Gustafsson f1f2f8bd47 Wired up the new 'port' option. Also, the interface manager now has
both a 'listen-on' and a 'listen-on-v6' ACL.  We are still waiting for
the 'listen-on-v6' config file option to set the latter explicitly,
but at least the default value now tracks the 'port' option and the
'-p' command line option.
2000-06-05 19:10:13 +00:00
David Lawrence 7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00