Mark Andrews
f43d714ada
#include <stdlib.h> as va_arg may call abort(): BSDI 3.1
2000-02-01 23:18:52 +00:00
Bob Halley
c4f192b4d8
add copyright
2000-02-01 23:12:16 +00:00
Bob Halley
58007c5fde
update
2000-02-01 23:12:03 +00:00
Brian Wellington
af9cc9f133
ignore glue when generating SIGs and NXTs
2000-02-01 21:12:11 +00:00
Bob Halley
5e4b7294d8
remove CAP_SYS_RESOURCE
2000-02-01 20:17:32 +00:00
Bob Halley
54e587cfac
lint
2000-02-01 20:16:44 +00:00
Brian Wellington
b8df3e551a
minor cleanups
2000-02-01 19:37:57 +00:00
David Lawrence
9506397424
use new omapi_protocol_listen sockaddr arg
2000-02-01 19:05:01 +00:00
David Lawrence
6e033f89d4
missing omapi_value_getregion before region was printed in ndc_signalhandler
2000-02-01 19:01:02 +00:00
Andreas Gustafsson
386fef57fa
don't write to freed memory
2000-02-01 17:27:23 +00:00
David Lawrence
bb744e24d6
listen only on addr 127.0.0.1
2000-02-01 15:18:28 +00:00
David Lawrence
d08f3e2bf7
define NS_OMAPI_PORT as 953
2000-02-01 15:17:52 +00:00
David Lawrence
df3974bf57
default port to NS_OMAPI_PORT
2000-02-01 15:17:25 +00:00
David Lawrence
19f15c36b9
omapi_protocol_listen/omapi_listener_listen use sockaddr instead of port
...
no more OMAPI_PROTOCOL_PORT; default port must be define per application.
2000-02-01 15:16:53 +00:00
David Lawrence
afe59244b4
omapi_protocol_listen now takes sockaddr arg instead of port.
...
omapi_protocol_connect now does not accept port of 0 for "default port"
2000-02-01 15:15:24 +00:00
David Lawrence
4b8831992e
omapi_listener_listen port argument now sockaddr; removed listener->address
2000-02-01 15:13:49 +00:00
Mark Andrews
c69eec29aa
lwres_getaddrsbyname called with v4 flag when v6 required.
2000-02-01 06:55:36 +00:00
Mark Andrews
f738cdef3d
#include <sys/time.h>
...
Use LWRES_DEFAULT_TIMEOUT instead of LWRES_R_TIMEOUT to set select timout.
2000-02-01 06:46:47 +00:00
Michael Graff
b91bbaf50c
implement timeouts
2000-02-01 02:59:40 +00:00
Michael Graff
db1259453c
wait at most 10 seconds for server to respond
2000-02-01 02:59:27 +00:00
Michael Graff
74889a341c
Make the use of isc_mem_t optional, but on by default. The only
...
reason it is used at all is to detect memory leaks in the client-side code.
2000-02-01 02:58:55 +00:00
Mark Andrews
7e4d75a5da
add copyright notices
2000-02-01 02:58:47 +00:00
Bob Halley
bfab626984
When answering a nonrecursive query, do not use the cache if we have a
...
referral from authoritative data.
2000-02-01 02:23:39 +00:00
Bob Halley
e974143273
do not ever mark forwarders as lame
2000-02-01 02:16:17 +00:00
Mark Andrews
c4cc75482f
Add missing malloc failure check
...
Correctly NULL second entry in he->h_addr_list on get*byaddr.
2000-02-01 01:58:26 +00:00
Mark Andrews
60e0b5df02
Add gxba_test
2000-02-01 01:39:23 +00:00
Andreas Gustafsson
fbb5a4f316
don't write to freed memory
2000-02-01 01:27:30 +00:00
Michael Graff
ae7d0a4375
add getnamebyaddr test, and use a memory context only to discover memory leaks.
2000-02-01 00:29:03 +00:00
Michael Graff
e31db4546a
make get-name-by-addr work fully.
2000-02-01 00:27:03 +00:00
Michael Graff
e721270c5d
return LWRES_R_ codes, and clean up a buglet or two dealing with allocating 0 bytes
2000-02-01 00:24:58 +00:00
Andreas Gustafsson
f316fb9a63
needless use of void pointers made debugging hard
2000-02-01 00:18:35 +00:00
Brian Wellington
b72b07e79b
rename variables to avoid linker errors on aa
2000-01-31 23:15:33 +00:00
Andreas Gustafsson
22eeba5ec6
use global max-transfer-time-out if per-zone option is not set
2000-01-31 23:13:22 +00:00
Andreas Gustafsson
d405c0722d
idle timeout code was missing isc_timer_touch()
2000-01-31 23:12:35 +00:00
Andreas Gustafsson
f8b42037da
obey the max-transfer-idle-in options
2000-01-31 22:55:04 +00:00
Andreas Gustafsson
af01e07509
u_int16_t -> isc_uint16_t
2000-01-31 22:41:44 +00:00
Andreas Gustafsson
515277c0e8
function was declared static but defined non-static
2000-01-31 22:06:09 +00:00
Andreas Gustafsson
ad8294ec37
eliminate HP-UX compiler warning
2000-01-31 21:59:50 +00:00
David Lawrence
94b166ffa5
quote newlines in multiline string
2000-01-31 21:59:15 +00:00
Andreas Gustafsson
af22dc3723
include <string.h>
2000-01-31 21:59:02 +00:00
David Lawrence
c5f33ba0f0
added isc_sockaddr_getport
2000-01-31 21:52:17 +00:00
David Lawrence
7ce7f319b5
set to omapi_object_types to NULL after freeing the types
2000-01-31 20:24:43 +00:00
David Lawrence
ad1a8079ba
only do omapi_listener_shutdown if ns_g_omapimgr != NULL
2000-01-31 19:59:39 +00:00
Bob Halley
f5facdfc29
The 'forwarders' and 'forward' options are now hooked up.
...
If the server had been bound to a particular query source and was then
reloaded, the reloading would fail due to "address in use" if the query
source had not been changed. The server now remembers if a custom dispatcher
is in use, and reuses it if it is compatible with the new configuration.
2000-01-31 19:59:11 +00:00
Bob Halley
1340f42b21
Add querysrc_address and querysrc_dispatch.
2000-01-31 19:56:52 +00:00
Andreas Gustafsson
bd1dfb7939
removed overzealous INSIST()
2000-01-31 19:53:44 +00:00
Andreas Gustafsson
bb56f556f5
use global max-transfer-time-in if per-zone option is not set
2000-01-31 19:53:14 +00:00
Michael Graff
d95e6b2631
add the byaddr bits I hacked on Friday
2000-01-31 19:04:58 +00:00
Andreas Gustafsson
ff966df508
quiet compiler warning about ambiguous 'else'
2000-01-31 18:52:43 +00:00
Andreas Gustafsson
8c2ff0cdc0
#include <isc/socket.h>
2000-01-31 18:46:41 +00:00