2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

2944 Commits

Author SHA1 Message Date
Brian Wellington
651a38a706 If a query is for type ANY, match the first view that otherwise matches. 2000-01-24 21:29:12 +00:00
Michael Graff
11de9fbd8d split into seperate files. 2000-01-24 21:00:04 +00:00
Mark Andrews
f85f9cb03d getnetbyaddr(in_addr_t, ...) 2000-01-24 20:46:58 +00:00
Brian Wellington
7d86ce8dfc More TKEY updates and fixes... 2000-01-24 20:19:53 +00:00
Andreas Gustafsson
f2edc636b0 use sendto() instead of send() because the latter is
broken on OSF1
2000-01-24 20:19:13 +00:00
Brian Wellington
8eb9b0688e - dns_tkeyctx_fromconfig() should always return a valid context if it returns
ISC_R_SUCCESS
- fix memory leak if isc_mem_get fails
2000-01-24 19:57:33 +00:00
Andreas Gustafsson
f93d33e24f separated BIND specific configuration code from rest
of TSIG/TKEY code; renamed TSIG/TKEY context create and destroy functions for
consistency with rest of library
2000-01-24 19:14:26 +00:00
Andreas Gustafsson
c9939598c6 dn_zt_apply() returned ISC_R_NOTFOUND when the zone table was
empty; it now returns ISC_R_SUCCESS
2000-01-24 19:11:21 +00:00
Andreas Gustafsson
173eac24e6 pointer arithmetic on void pointers is illegal 2000-01-24 18:56:56 +00:00
Andreas Gustafsson
cd54e6e148 use ISC_LWRES_ENDNETENTINT 2000-01-24 18:54:41 +00:00
Andreas Gustafsson
389cb82bb5 removed unnecessary #include <isc/lex.h> 2000-01-24 18:14:30 +00:00
Andreas Gustafsson
1aa3837945 dns_rdatatype_totext() needs #include <dns/rdatatype.h> 2000-01-24 18:13:06 +00:00
Andreas Gustafsson
b21d8bac45 typo in ISC_LWRES_ENDNETENTINT substitution 2000-01-24 18:02:36 +00:00
David Lawrence
d0ba01058f set message->h instead of message->handle with the handle from the wire 2000-01-24 15:22:46 +00:00
David Lawrence
e069f340d9 no more need to look up the object's handle to ensure validity of the
handle reference in omapi_object_dereference
2000-01-24 15:20:18 +00:00
David Lawrence
647189e3b5 (w/help from Ted) Use the message's h member rather than handle member
to do handle_lookup()s.  also return it for getvalue("handle").
2000-01-24 15:19:22 +00:00
Mark Andrews
afb4ad8f98 support for getnetbyaddr(in_addr_t, ...) 2000-01-24 12:22:19 +00:00
Mark Andrews
f1890a6c56 int endhostent support 2000-01-24 12:10:49 +00:00
Mark Andrews
23693a3897 add int endnetent test 2000-01-24 12:06:01 +00:00
Mark Andrews
cdc6537495 gethostbyaddr test update 2000-01-24 11:55:10 +00:00
Mark Andrews
a272a55631 gethostbyadd changes 2000-01-24 11:52:30 +00:00
Mark Andrews
d0783e645b check for previous definitions of INADDRSZ and IN6ADDRSZ 2000-01-24 06:52:50 +00:00
Mark Andrews
ca741105cb netdb.h -> lwres/netdb.h 2000-01-24 06:50:18 +00:00
Mark Andrews
6f2a61172f remove & before array 2000-01-24 06:41:12 +00:00
Mark Andrews
6182613ef5 call endhostent correctly
h_errno is not declared in netbsd pthreads implementation.
2000-01-24 06:35:42 +00:00
David Lawrence
1658fd6760 build omapi_test 2000-01-24 05:38:39 +00:00
David Lawrence
5e715e9d07 build omapi subdir 2000-01-24 05:38:21 +00:00
David Lawrence
6d1dc00fbe minor brace cleanup 2000-01-24 05:37:41 +00:00
David Lawrence
8dba294d9d make omapi_message_unregister public 2000-01-24 05:37:19 +00:00
David Lawrence
016440cdc6 no longer define ISC_MEM_DEBUG by default 2000-01-24 05:36:37 +00:00
David Lawrence
8956a08701 mem_put the size of an omapi_value_t struct, not the size of a pointer to it. 2000-01-24 05:35:18 +00:00
David Lawrence
8443d38dce object dereferencing finally works!!! 2000-01-24 05:33:59 +00:00
David Lawrence
f07a9b2854 make omapi_message_unregister public
clarify the REQUIRE for omapi_message_unregister.

allow omapi_message_send to be called with a protocol manager object
in addition to a protocol object.

always remove the reference added to the object referred to in an UPDATE
operation, not just on error.  it is a temporary variable and the extra
reference kept the object from being freed.

insist the message being destroyed in message_destroy is unregistered,
which follows logically from how message_destroy would be called anyway.
2000-01-24 05:33:04 +00:00
David Lawrence
5fd97de0fa unregister and dereference the message to free it after it has been sent.
use omapi_protocol_disconnect instead of omapi_connection_disconnect to
simplify things a little.

free the client connection manager.

initialize master_data's refcnt to 1 so the server does not try to free it.
2000-01-24 05:27:49 +00:00
David Lawrence
8fc824d047 include <config.h>, since the definition of HAVE_NETINET6_IN6_H
is needed in this file.
2000-01-24 05:25:09 +00:00
David Lawrence
22ad324c4a deref the external reference to the protocol object when a new connection
is started on the server so both the connection object and protocol object
are freed when the session ends.
2000-01-24 05:14:24 +00:00
David Lawrence
a3035a9c9c break the link between the protocol object and its inner object when
the client is ending its session with the server, so that the connection
object and protocol object can be freed.
2000-01-24 05:05:43 +00:00
Mark Andrews
200bf90364 Use lwres/netdb.h 2000-01-24 03:35:01 +00:00
Mark Andrews
8bddb73c66 Add support for differing gethostbyaddr(), sethostent() and endhostent(). 2000-01-24 01:16:43 +00:00
Mark Andrews
40f2417843 Add test for int sethostent() and int endhostent(). 2000-01-24 00:59:31 +00:00
Mark Andrews
700f144288 Add test for gethostbyadd(void *, ...) 2000-01-24 00:28:53 +00:00
David Lawrence
b8bd339084 updated list of omapi files 2000-01-22 20:55:24 +00:00
Brian Wellington
b6666e61dc More TSIG/TKEY minor fixes (including a few more plugged memory leaks) 2000-01-22 04:45:17 +00:00
Bob Halley
29fe07c7a4 Move to DNS namespace. Add ISC_LANG stuff. 2000-01-22 02:36:15 +00:00
Bob Halley
8510686e0c fix typo 2000-01-22 02:35:10 +00:00
Bob Halley
b199c609b1 Only set SO_REUSEADDR for TCP sockets. 2000-01-22 02:29:49 +00:00
Bob Halley
5d2d3e24ce Put the root servers into alphabetical order. 2000-01-22 02:28:04 +00:00
Andreas Gustafsson
c6102b0b77 fix bug in previous change 2000-01-22 02:15:36 +00:00
Andreas Gustafsson
cab7fe2cca use dns_rootns_create() from libdns 2000-01-22 02:11:30 +00:00
Andreas Gustafsson
efa4ebbff3 use dns_rootns_create() from libdns 2000-01-22 02:03:19 +00:00