Andreas Gustafsson
33f87146a8
needs #include <isc/print.h>
2001-09-05 17:03:42 +00:00
Andreas Gustafsson
e282509475
80 columns
2001-09-05 16:55:05 +00:00
Mark Andrews
e6e233e73f
remove extranous debugging
2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade
Call dns_master_dumpinc() for "regular" dumps.
2001-09-05 14:13:29 +00:00
Mark Andrews
ed03e26c44
Add dns_dumpctx_db() and dns_dumpctx_version().
2001-09-05 10:28:55 +00:00
Mark Andrews
7f006841fc
Assertion failure when ISC_MEM_DEBUGRECORD set.
2001-09-05 06:26:07 +00:00
Mark Andrews
1d32e01f17
testing wrong variable
2001-09-05 06:04:58 +00:00
Danny Mayer
e78a28ffb5
isc_time_formattimestamp() created static const for bad time string
2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1
isc_file_getmodtime() does not need write access to file
2001-09-05 04:17:13 +00:00
Andreas Gustafsson
7ee450d5f6
pullup:
...
972. [bug] The file modification time code in zone.c was using the
wrong epoch. [RT #1667 ]
(This pullup includes not only the changes to zone.c, but all the
recent epoch-related fixes)
2001-09-05 00:38:13 +00:00
Andreas Gustafsson
641e33bdd4
pullup:
...
978. [bug] dns_db_attachversion() had an invalid REQUIRE()
condition.
2001-09-04 23:09:33 +00:00
Andreas Gustafsson
faedfb6dce
pullup:
...
Previous update was missing the release version of telling how to build the
resource file [RT #1668 ]
2001-09-04 22:54:59 +00:00
Andreas Gustafsson
89227c76be
pullup:
...
977. [bug] Improve "not at top of zone" error message.
2001-09-04 22:51:41 +00:00
Andreas Gustafsson
e5094285ce
pullup:
...
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-04 19:36:33 +00:00
Andreas Gustafsson
2c141ce0fb
pullup:
...
975. [bug] "max-cache-size default;" as a view option
caused an assertion failure.
974. [bug] "max-cahe-size unlimited;" as a global option
was not accepted.
2001-09-04 19:15:36 +00:00
Mark Andrews
c6b5faa001
remove extraneous UNUSED().
2001-09-04 14:27:42 +00:00
Mark Andrews
9aba20edee
979. [func] Incremental master file dumping. dns_master_dumpinc(),
...
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
e8d86192fc
978. [bug] dns_db_attachversion() had an invalid REQUIRE()
...
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer
aa7638fce5
Fix some signed/unsigned mismatches when comparing offsets
2001-09-04 04:14:31 +00:00
Danny Mayer
6f2e507e7e
Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files
2001-09-04 03:22:23 +00:00
Danny Mayer
7c7b389ae0
Added isc_file_truncate routine
2001-09-04 03:10:33 +00:00
Danny Mayer
dcc35bf6a4
Previous update was missing the release version of telling how to build the resource file [RT #1668 ]
2001-09-04 03:05:55 +00:00
Mark Andrews
bae5d9fcb4
977. [bug] Improve "not at top of zone" error message.
2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96
zone_settimer() nolonger needs to calculate the interval between two times.
...
[RT #1691 ]
2001-09-03 01:21:19 +00:00
Danny Mayer
a22a4084dd
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-01 05:22:04 +00:00
Andreas Gustafsson
847ed3fccf
new configuration data type cfg_type_sizenodefault,
...
which can be a size or the string 'unlimited' but not the string
'default'. This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f
allow setting a default max-journal-size in the options or view
2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe
call the new option for setting the maximum journal
...
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Andreas Gustafsson
355cc22e32
The epoch is once again zero in Win32;
...
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson
43f117d5f0
typo in comment
2001-09-01 00:46:04 +00:00
Andreas Gustafsson
b3034d815c
isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after
2001-09-01 00:18:43 +00:00
Andreas Gustafsson
bdec94477c
isc_file_getmodtime() should call GetFileTime(), not file_stats(),
...
so that the time returned is a native win32 FILETIME
2001-09-01 00:05:38 +00:00
Andreas Gustafsson
528baec07b
removed C++ comments; comment and indentation style
2001-08-31 23:57:05 +00:00
Andreas Gustafsson
ff8cd3afa7
implemented isc_time_formattimestamp() for Win32.
...
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Andreas Gustafsson
6184f9fc1e
REQUIRE(len > 0)
2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86
added isc_time_formattimestamp() (Unix only so far);
...
call it from log.c [RT #1687 ]
2001-08-31 21:51:27 +00:00
Andreas Gustafsson
0674850fcb
in dns_zone_notifyreceive(), the variable 'now' was
...
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648
in zone_settimer(), it seems cleaner to check whether
...
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Andreas Gustafsson
9113f8b75c
pullup: string formats
2001-08-31 18:01:22 +00:00
Mark Andrews
4b87939256
strerror() -> isc__strerror() [RT #1689 ]
2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107
string formats
2001-08-31 04:47:59 +00:00
Mark Andrews
ac9d955cdd
pullup:
...
The request object would fail to send its completion event when
the control event was delivered if a response was received between
sending and delivery of the completion event [RT #1676 ]
Fix locking hierarchy violation [RT #1672 ]
2001-08-31 02:07:11 +00:00
Mark Andrews
cfa3ab7f89
Timers now use isc_time_t rather than isc_stdtime_t.
...
zone->expiretime now has a consistant epoch [RT #1686 ]
2001-08-31 02:01:56 +00:00
Andreas Gustafsson
39125379e5
made mkstemp() static
2001-08-30 21:16:41 +00:00
Andreas Gustafsson
faa96aba6d
removed empty line
2001-08-30 20:55:37 +00:00
Andreas Gustafsson
c2df80e759
lower case
2001-08-30 20:40:27 +00:00
Andreas Gustafsson
6aa1a89bf1
pullup:
...
RT #1675 resolv.conf was specified to be in an invalid directory.
Location was changed to be in the same etc directory as all of the other
configuration files
2001-08-30 20:29:53 +00:00
Andreas Gustafsson
9ec3c7b42d
mem.c did not compile when ISC_MEM_TRACKLINES was not defined
2001-08-30 20:23:44 +00:00
Mark Andrews
6668eca26b
972. [bug] The file modification time code in zone.c was using the
...
wrong epoch. [RT #1667 ]
2001-08-30 06:48:43 +00:00
Mark Andrews
06a960c681
971. [func] 'try-edns' can be use to disable edns on all queries.
2001-08-30 05:52:18 +00:00
Mark Andrews
90989375ca
Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set.
2001-08-30 05:40:04 +00:00
Mark Andrews
bd3091eb7d
compact journals on succesful dumps to the zone file.
2001-08-30 05:24:44 +00:00
Mark Andrews
cc0a5f7142
journal-size can now be set from named.conf
2001-08-30 05:23:00 +00:00
Mark Andrews
fa59c08f71
abort transfer if SOA response is not authoritative.
2001-08-30 05:12:39 +00:00
Mark Andrews
2c64908ae0
DNS_R_NOTAUTHORITATIVE
2001-08-30 05:10:55 +00:00
Mark Andrews
53e3724e23
dns_journal_compact()
2001-08-30 05:04:18 +00:00
Mark Andrews
59251c9e9c
isc_file_truncate()
2001-08-30 04:55:36 +00:00
Mark Andrews
91579a2424
add isc_strerror to build
2001-08-30 04:49:36 +00:00
cvs2git
92e662f530
This commit was manufactured by cvs2git to create branch 'v9_3'.
2001-08-30 04:33:22 +00:00
cvs2git
02da396800
This commit was manufactured by cvs2git to create branch 'v9_2'.
2001-08-30 04:33:21 +00:00
Mark Andrews
c654449ccf
isc__strerror
2001-08-30 04:33:20 +00:00
Danny Mayer
b602bf9e8b
RT #1667 . File modification dates were wrong due to the isc_time_set routine not adding back the epoch to give the absolute Windows time and isc_file_settime not correctly making the right calls to modify the file date
2001-08-30 04:31:31 +00:00
Danny Mayer
e2a35f7524
RT #1675 resolv.conf was specified to be in an invalid directory. Location was changed to be in the same etc directory as all of the other configuration files
2001-08-30 04:28:24 +00:00
Andreas Gustafsson
8068ceb2a9
The request object would fail to send its completion event
...
when the control event was delivered if a response was received between sending and delivery
of the completion event [RT #1676 ]
2001-08-29 23:52:28 +00:00
Andreas Gustafsson
9cb39bbe40
fix locking hierarchy violation [RT #1672 ]
2001-08-29 21:15:56 +00:00
Mark Andrews
7231717254
Ensure that the files contents have been synced to disk prior to renaming.
2001-08-29 05:52:49 +00:00
Danny Mayer
06b47b13db
Bug #1671 isc_time_now was erroneously calling strtime()
2001-08-29 05:13:42 +00:00
Danny Mayer
9559bf89b1
Bug #1668 resource file was missing in link
2001-08-29 05:08:58 +00:00
Mark Andrews
28fc90e6c8
#857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
...
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
9c067741f1
don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666 ]
2001-08-27 21:47:00 +00:00
Andreas Gustafsson
fba21fcab9
regenerated
2001-08-27 18:53:29 +00:00
Andreas Gustafsson
b495fd2992
each AC_MSG_CHECKING should be balanced with an
...
AC_MSG_RESULT
2001-08-27 18:52:59 +00:00
Andreas Gustafsson
c7eb99970e
consistently use single quotes around varying text
...
in log messages
2001-08-27 17:21:56 +00:00
Andreas Gustafsson
135c1c53b8
don't INSIST() that calling dns_db_find() on the root hints
...
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443
965. [bug] Using non root hints caused a rbtdb node reference
...
leak. [RT #1581 , RT #1618 ]
2001-08-27 06:10:17 +00:00
Mark Andrews
440906ce59
INSIST that the rdataset is unassociated.
2001-08-27 03:58:44 +00:00
Mark Andrews
73ac1894ea
964. [func] Warn if non root hints data is found in hints file.
2001-08-27 03:36:00 +00:00
Mark Andrews
330b421487
963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645 ]
2001-08-20 23:56:25 +00:00
Mark Andrews
9b30c8e8f0
regen
2001-08-20 07:47:05 +00:00
Mark Andrews
e22dca2a9a
962. [bug] libbind: bad "#undef", don't attempt to install
...
non-existant nlist.h. [RT #1640 ]
2001-08-20 07:44:53 +00:00
Mark Andrews
d7728fcf85
add nlist.h
2001-08-20 07:29:47 +00:00
Mark Andrews
2c0b26955e
961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
...
was not defined. [RT #1482 ]
2001-08-16 07:27:48 +00:00
Mark Andrews
2449f41e75
960. [port] liblwres failed to build on systems with support for
...
getrrsetbyname() in the OS. [RT #1592 ]
2001-08-16 06:39:33 +00:00
Mark Andrews
6f7660093e
959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584 ]
2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e
silence format warning: remove unused arg.
2001-08-12 00:12:14 +00:00
Mark Andrews
a28db387fc
full copyrights
2001-08-09 06:15:34 +00:00
Mark Andrews
2861ab6188
regen
2001-08-09 06:09:30 +00:00
Mark Andrews
8e6813696a
support running configure in a directory other than the source directory
2001-08-09 05:59:58 +00:00
Danny Mayer
51ac5c28de
Changed win32 code to remove references to named.key
2001-08-09 02:55:41 +00:00
Andreas Gustafsson
76c8294c81
format string bugs and improved format string checking [RT #1578 ]
2001-08-08 22:54:55 +00:00
Andreas Gustafsson
b21320abb5
brace style
2001-08-08 20:52:34 +00:00
Danny Mayer
66352c0a05
Added support for key for win32
2001-08-06 05:34:26 +00:00
Mark Andrews
907ec2c618
952. [bug] The server required manual intervention to serve the
...
affected zones if it died between creating a journal
and committing the first change to it.
2001-08-06 02:10:59 +00:00
Andreas Gustafsson
66ff5b7d78
cut-and-paste-o
2001-08-03 23:19:01 +00:00
Andreas Gustafsson
7dac8d231c
the server would catch an assertion failure if the key statement in rndc.key
...
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2
rndc.key support
2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d
mark rrset-order as unimplemented [RT #1561 ]
2001-08-02 23:36:23 +00:00
Danny Mayer
a59a1d313a
Updated .mak files to remove dependancies
2001-08-02 07:05:43 +00:00
Andreas Gustafsson
23a020bc13
950. [bug] Explicit TTLs did not properly override
...
due to a bug in change 834. [RT #1558 ]
2001-08-01 17:58:45 +00:00
Andreas Gustafsson
ab54086529
print detailed description of grammar of socket addresses instead
...
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
Mark Andrews
43e2ec89d8
redundate #include
2001-07-31 03:45:04 +00:00
Andreas Gustafsson
9f5a862a90
lwres.h should be installed, and net.h should not
2001-07-31 01:32:45 +00:00
Mark Andrews
c38b92000c
947. [bug] dns_rdata_soa_t had a badly name element "mname" which
...
was really the RNAME field from RFC1035. To avoid
confusion and silent errors that would occur it ther
"origin" and "mname" elements were given their correct
names "mname" and "rname" respectively, the "mname"
element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Danny Mayer
b59115de5f
Updated config information
2001-07-28 02:50:39 +00:00
Andreas Gustafsson
321fd0ceb4
in named-checkconf, pass in the complete path of named.conf
...
as NAMED_CONFFILE instead of constructing it by compile-time concatenation of NS_SYSCONFDIR
and /named.conf, to facilitate win32 support
2001-07-27 17:45:29 +00:00
Danny Mayer
0794ffffee
Added paths info
2001-07-27 05:17:39 +00:00
Danny Mayer
075a7534a8
Added path information - retry
2001-07-27 05:16:55 +00:00
Danny Mayer
61e561c2ca
Added path information
2001-07-27 05:15:27 +00:00
Andreas Gustafsson
90e289c59f
A6 has an RFC now
2001-07-26 21:34:02 +00:00
Andreas Gustafsson
657a6a6f3c
some unimplemented options were not marked as such in the grammar summary output
2001-07-26 21:27:51 +00:00
Brian Wellington
26a5f97dd8
Don't refer to keys as "TSIG keys", since they might be used for rndc only,
...
and this could be confusing.
2001-07-26 20:54:35 +00:00
Brian Wellington
ee3ab6063d
945. [func] Add the new view-specific options
...
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson
e5b18854e3
define RNDC_AUTOCONFFILE on win32 so that the code again
...
compiles on win32 and behaves like it did before.
2001-07-26 20:40:01 +00:00
Andreas Gustafsson
38f0e0520c
tabified
2001-07-26 20:31:48 +00:00
Andreas Gustafsson
dcfaeabc63
renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
...
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0
Changes to support win32
2001-07-26 03:15:16 +00:00
Brian Wellington
d81622b537
944. [func] Check for expired signatures on load.
2001-07-24 18:49:06 +00:00
Danny Mayer
b61c97cebd
Changed initialize to include void. This keeps the VC++ compiler from complaining about the isc_once_do code arguments
2001-07-24 05:23:38 +00:00
Andreas Gustafsson
831bbce008
commented trust levels
2001-07-23 17:55:37 +00:00
Andreas Gustafsson
2fa436a15c
80 columns
2001-07-23 16:58:18 +00:00
Mark Andrews
90228beed3
regen
2001-07-23 07:03:10 +00:00
Mark Andrews
af898946e4
osf 4.0 support
2001-07-23 07:02:48 +00:00
Mark Andrews
3ef9b0c10f
regen
2001-07-23 05:22:22 +00:00
Mark Andrews
a1a421899e
BSDI 4.2 support [RT #1529 ]
2001-07-23 05:21:56 +00:00
Danny Mayer
dfca19a1aa
Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations
2001-07-23 05:00:44 +00:00
Danny Mayer
1bf250400e
Make file for bindevt
2001-07-23 03:04:32 +00:00
Danny Mayer
2b9debd520
syslog for win32
2001-07-23 03:03:22 +00:00
Danny Mayer
10266aa76f
Conditionalize declaration of LIBLWRES_EXTERNAL_DATA
2001-07-23 03:01:56 +00:00
Mark Andrews
06596f0ec7
wrog prototype for getnetbyaddr_r under glibc
2001-07-23 00:48:51 +00:00
Andreas Gustafsson
33654a83db
const correctness [RT #1011 ]
2001-07-23 00:23:30 +00:00
Mark Andrews
75b3a86c57
regen
2001-07-23 00:05:04 +00:00
Mark Andrews
ab35bf14bd
osf getnetent_r changes
2001-07-23 00:04:28 +00:00
Danny Mayer
72dc0b0824
Added make file
2001-07-22 06:30:18 +00:00
Danny Mayer
1186577d90
Updated scripts and added make file
2001-07-22 06:28:49 +00:00
Danny Mayer
e056d87076
Updated scripts
2001-07-22 06:26:47 +00:00
Danny Mayer
138fc7eeba
Created makefile
2001-07-22 06:25:34 +00:00
Danny Mayer
22a0a2c432
Fixed variable declarations
2001-07-22 06:22:28 +00:00
Danny Mayer
71542eaf04
Added make file and updated scripts
2001-07-22 06:21:05 +00:00
Mark Andrews
4bec81d388
regen
2001-07-20 11:06:19 +00:00
Mark Andrews
2da0b7dfbd
942. [port] libbind: GETNETBYADDR_ADDR_T was not correctly
...
defined on some platforms.
2001-07-20 11:06:05 +00:00
Andreas Gustafsson
7faa8f35e5
coding style
2001-07-19 17:13:54 +00:00
Andreas Gustafsson
001d1ceec6
coding style
2001-07-19 16:59:32 +00:00
Brian Wellington
1cb6e8cbe4
941. [bug] The configuration checker crashed if a slave
...
zone didn't contain a masters statement. [RT #1514 ]
2001-07-19 16:29:14 +00:00
Danny Mayer
3316814025
Added support for win32
2001-07-19 06:11:31 +00:00
Mark Andrews
2033e30585
940. [bug] Double zone locking failure on error path. [RT #1510 ]
2001-07-19 05:08:03 +00:00
Mark Andrews
3489d64bde
"or equals" rather than "not equals"
2001-07-19 04:57:46 +00:00
Danny Mayer
7181165333
Add support for win32
2001-07-19 02:50:12 +00:00
Andreas Gustafsson
7ecaf69507
need <lwres/platform.h>
2001-07-18 20:14:52 +00:00
Andreas Gustafsson
3abbed44db
coding style
2001-07-18 18:29:59 +00:00
Mark Andrews
aac5a28f1f
LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h
2001-07-18 08:15:23 +00:00
Mark Andrews
964a14ad23
regen
2001-07-18 05:50:18 +00:00
Mark Andrews
f24920422d
we don't need to know about rlim_t
2001-07-18 05:49:13 +00:00
Mark Andrews
9c1a4265ad
regen
2001-07-18 05:42:07 +00:00
Mark Andrews
51bb20b0d7
report the results of "checking for socket length type..."
2001-07-18 05:40:52 +00:00
Mark Andrews
29493eee3d
paths.h
2001-07-18 05:13:27 +00:00
Danny Mayer
5236050c0f
Add support for win32
2001-07-18 02:37:15 +00:00
Andreas Gustafsson
d2a7d7e26c
all failures opening /dev/random were reported as
...
'I/O error'. This was highly confusing.
2001-07-18 01:31:13 +00:00
Brian Wellington
8b8812c41d
regen
2001-07-17 22:29:27 +00:00
Brian Wellington
5aaf43590f
lib/bind doesn't actually use linux/capability.h or sys/prctl.h
2001-07-17 22:29:16 +00:00
Andreas Gustafsson
07dcadc6e2
update_copyrights
2001-07-17 20:29:36 +00:00
Andreas Gustafsson
4954945531
coding style
2001-07-17 19:17:02 +00:00
Mark Andrews
15903c9f3a
memory allocation failure would cause INSIST(ctx->stats[i].gets == 0) failure.
...
use consistant arguement name for MEMRECORD
2001-07-17 10:02:46 +00:00
Danny Mayer
fd0ec4bfad
Initial win32 Release
2001-07-17 06:13:59 +00:00
Danny Mayer
c84e68d720
Initial win32 Release
2001-07-17 06:10:24 +00:00
Mark Andrews
0176adc7c5
937. [bug] A race when shutting down a zone could trigger a
...
INSIST() failure. [RT #1034 ]
2001-07-17 02:49:44 +00:00
Andreas Gustafsson
ba35e9924e
added isc_file_ischdiridempotent()
2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c
added unix implementation of isc_file_absolutepath()
2001-07-16 17:26:44 +00:00
Andreas Gustafsson
dee69dd3aa
renamed isc_file_getabsolutepath() to isc_file_absolutepath()
...
to be more consistent with established naming conventions
2001-07-16 17:22:17 +00:00
Andreas Gustafsson
5827c8e0a6
80 columns
2001-07-16 17:15:08 +00:00
Andreas Gustafsson
83018d6cf9
removed spurious empty line inserted in previous commit
2001-07-16 17:14:38 +00:00
Mark Andrews
ac1f768061
regen
2001-07-16 14:43:49 +00:00
Mark Andrews
47dfc702de
glibc getserv*_r()
2001-07-16 14:43:40 +00:00
Brian Wellington
cabaeca9ae
missing assertion checks
2001-07-16 09:48:05 +00:00
Mark Andrews
e88c4a4917
regen
2001-07-16 08:38:06 +00:00
Mark Andrews
101e6adfe0
glibc getproto*_r()
2001-07-16 08:37:45 +00:00
Mark Andrews
fd61f111a8
regen
2001-07-16 08:05:43 +00:00
Mark Andrews
16b5ecc6f3
glibc getnet*_r()
2001-07-16 08:05:20 +00:00
Danny Mayer
1336066b63
Added support for Win32
2001-07-16 05:48:16 +00:00
Mark Andrews
acee1ae35c
glibc prototypes
2001-07-16 05:23:28 +00:00
Mark Andrews
7c7c717788
HOST_R_SETANSWER
2001-07-16 05:17:13 +00:00
Mark Andrews
8c8d889d10
glibc prototypes for gethost*_r().
2001-07-16 05:16:33 +00:00
Danny Mayer
f621719829
Added support for Win32
2001-07-16 05:10:30 +00:00
Mark Andrews
5deaff6621
regen
2001-07-16 05:02:58 +00:00
Mark Andrews
3024819c2e
int -> size_t
2001-07-16 05:01:27 +00:00
Mark Andrews
692d2a9c7e
regen
2001-07-16 04:55:31 +00:00
Mark Andrews
4ccd54f3af
in
2001-07-16 04:54:23 +00:00
Mark Andrews
42f476472a
regen
2001-07-16 04:24:38 +00:00
Mark Andrews
6cf48dea49
glibc's gethost*_r() is different to anyone elses.
2001-07-16 04:23:00 +00:00
Andreas Gustafsson
9115330256
coding style
2001-07-16 04:09:45 +00:00
Danny Mayer
3bd4083e48
Updates to support win32
2001-07-16 03:52:14 +00:00
Mark Andrews
f73c8fffee
pullup from BIND 8:
...
1242. [bug] inet_pton() failed to reject octal input.
2001-07-16 03:31:45 +00:00
Mark Andrews
bddfe77128
936. [func] Warn when non dotted decimal quad's are used.
...
[RT #1084 ]
935. [bug] inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews
bd12be6e88
spelling
2001-07-15 23:29:48 +00:00
Andreas Gustafsson
aa0dc8d920
934. [port] Deal with systems where accept() spuriously returns
...
ECONNRESET.
2001-07-15 22:50:24 +00:00
Mark Andrews
9ec26a1862
regen
2001-07-15 22:23:13 +00:00
Mark Andrews
159b83ff18
unixware [RT #1496 ]
2001-07-15 22:20:43 +00:00
Mark Andrews
5c2551db52
regen
2001-07-14 23:16:50 +00:00
Mark Andrews
47d48791fc
933. [bug] configure failed doing libbind on platforms not
...
supported by BIND 8. [RT #1496 ]
2001-07-14 23:14:09 +00:00
Brian Wellington
b9be76ed89
lwres.h wasn't installed [RT #1494 ]
2001-07-14 18:41:33 +00:00
Andreas Gustafsson
86a733bc74
use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
...
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Mark Andrews
0792e396ea
regen
2001-07-13 02:46:21 +00:00
Mark Andrews
5e68d98eff
add libtool support to libbind [RT #1491 ]
2001-07-13 02:38:28 +00:00
Danny Mayer
c4958494a9
Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup
2001-07-12 05:58:28 +00:00
Mark Andrews
c70896e026
namespace collision [RT #1399 ]
2001-07-12 03:51:14 +00:00
Mark Andrews
39ebcd5955
#927
...
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Andreas Gustafsson
dc9b928cf6
net.h has moved
2001-07-11 21:42:25 +00:00
Brian Wellington
b6d7e96688
LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK
2001-07-11 19:12:53 +00:00
Brian Wellington
529017a705
The testing framework didn't handle T_UNTESTED at all. It also sucks.
2001-07-11 18:51:22 +00:00
David Lawrence
37aa910318
ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk
2001-07-11 05:32:55 +00:00
Mark Andrews
e9596e1fb3
927. [bug] Don't hold the zone lock for the entire dump to disk.
...
[RT #1423 ]
2001-07-11 05:20:26 +00:00
Danny Mayer
ad38e19578
Fix isabsolute for absolute path names
2001-07-11 04:32:15 +00:00
Bob Halley
c54210716e
avoid deadlock with the ADB when shutting down [RT #1324 ]
2001-07-11 01:19:56 +00:00
Brian Wellington
9a43e47721
ordering
2001-07-10 23:38:44 +00:00
Brian Wellington
3fcf6b956f
925. [cleanup] Remove openssl from the distribution; require that
...
--with-openssl be specified if DNSSEC is needed.
2001-07-10 21:40:10 +00:00
Brian Wellington
6614bac268
oops, don't return an isc_boolean_t as an isc_result_t.
2001-07-10 21:27:59 +00:00
Andreas Gustafsson
1858039a0e
spacing
2001-07-10 21:13:07 +00:00
Andreas Gustafsson
3d4d93c35b
misplaced cast could cause EDNS extended RCODE bits to be lost [RT #1483 ]
2001-07-10 20:09:24 +00:00
Andreas Gustafsson
55a96dbea0
need sys/time.h on some platforms
2001-07-10 19:54:01 +00:00
Brian Wellington
5939aa7265
wording
2001-07-10 19:08:28 +00:00
Brian Wellington
3b31ce9da9
functions can now return DST_R_NOCRYPTO
2001-07-10 19:05:53 +00:00
Andreas Gustafsson
34729dbcb3
split lwres/net.h into separate Unix and Win32 version to facilitate
...
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Andreas Gustafsson
5d97773191
rewrote isc_file_isabsolute()
2001-07-10 17:31:05 +00:00
Danny Mayer
14597c218d
Fix memory leak [RT 1478]
2001-07-10 06:27:44 +00:00
Danny Mayer
bb48ac4f81
array bounds error in isc_file_isabsolute and REQUIRE != NULL fixes [RT 1470]
2001-07-10 06:24:15 +00:00
Brian Wellington
28e2058c5f
macro style
2001-07-10 05:12:43 +00:00
Brian Wellington
9622173ccb
only create a memory pool if OPENSSL is defined.
2001-07-10 05:00:42 +00:00
Brian Wellington
4f0187f10c
DST_R_NOCRYPTO
2001-07-10 04:34:36 +00:00
Brian Wellington
bb5de15290
REQUIRE that parameters are not NULL in many functions [RT #1470 ]
2001-07-10 04:23:01 +00:00
Brian Wellington
024550401d
#if defined(OPENSSL) ==> #ifdef OPENSSL
...
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Andreas Gustafsson
a8f94d29b3
compile the version number into the isccfg and isccc libraries,
...
like we do with all other libraries
2001-07-09 22:25:29 +00:00
Andreas Gustafsson
38fed7505d
do multiple inclusion protection in all header files, and using the established ISC style
2001-07-09 21:34:44 +00:00
Andreas Gustafsson
ec4f2e859f
80 columns
2001-07-09 21:27:45 +00:00
Andreas Gustafsson
e76d4c91bf
coding style
2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1
924. [port] Extend pre-RFC2133 support. [RT #987 ]
2001-07-09 08:07:41 +00:00
Mark Andrews
de18d9daa6
regen
2001-07-09 07:35:03 +00:00
Mark Andrews
752b0c0fa7
install as ${prefix}/bind/*. [RT #1472 ]
2001-07-09 07:33:11 +00:00
Danny Mayer
36d26b9d26
add export for isc_ntfile_printf
2001-07-08 07:22:42 +00:00
Danny Mayer
11045ab3d1
code style cleanup
2001-07-08 05:16:13 +00:00
Danny Mayer
68c2ccc953
code style cleanup
2001-07-08 05:09:35 +00:00
Brian Wellington
0a2d5c9905
924. [port] Apply #910 to lib/lwres. [RT #987 ]
2001-07-07 00:03:26 +00:00
Andreas Gustafsson
f2ee3341c7
spacing
2001-07-06 22:53:48 +00:00
Andreas Gustafsson
886db6ade3
make install failed in lib/bind/include due to lack of a mkinstalldirs script
...
in lib/bind
2001-07-06 22:23:42 +00:00
Andreas Gustafsson
305795c093
finish app.h move
2001-07-06 22:12:21 +00:00
Andreas Gustafsson
1e71bc82b8
coding style
2001-07-06 21:57:22 +00:00
Andreas Gustafsson
718d6eadd4
spacing
2001-07-06 21:47:15 +00:00
Andreas Gustafsson
96ed624253
923. [bug] Multiline TSIG secrets (and other multiline strings)
...
were not accepted in named.conf. [RT #1469 ]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
ad493ef9dd
spacing
2001-07-06 20:15:08 +00:00
Andreas Gustafsson
675a191f43
moved <isc/app.h> to OS-independent include directory
2001-07-06 19:50:05 +00:00
Andreas Gustafsson
8e3366bd7c
simplified
2001-07-06 19:40:33 +00:00
Andreas Gustafsson
19b34f979c
removed initializations of nonexistent variables at Danny's request
2001-07-06 17:35:04 +00:00
Mark Andrews
221a206115
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are also broken in glibc 2.1
2001-07-06 07:25:51 +00:00
Mark Andrews
f5af89cdee
IN6_ARE_ADDR_EQUAL and IN6_IS_ADDR_UNSPECIFIED are broken in glibc 2.1
2001-07-06 06:13:19 +00:00
Danny Mayer
2c50ab702f
stat routines
2001-07-06 06:00:17 +00:00
Danny Mayer
7fb411cfd1
plaform specific header
2001-07-06 05:59:09 +00:00
Danny Mayer
b02635aa75
offset header
2001-07-06 05:58:00 +00:00
Danny Mayer
1ee7ce8fbd
win32-specific runtime path header
2001-07-06 05:57:19 +00:00
Danny Mayer
b22d62aa69
ntfile FILE replacement headers
2001-07-06 05:56:25 +00:00
Danny Mayer
bcf5804255
win32 keyboard routines
2001-07-06 05:51:45 +00:00
Danny Mayer
a0f854291f
IPv6 on Win32 header
2001-07-06 05:50:42 +00:00
Danny Mayer
12d08bf91e
win32-specific integer definitions
2001-07-06 05:49:22 +00:00
Danny Mayer
c15033634e
Initial win32 release
2001-07-06 05:48:27 +00:00
Danny Mayer
83a373fc81
BIND Event information header
2001-07-06 05:46:37 +00:00
Danny Mayer
f950ce9932
BIND registry header information
2001-07-06 05:45:21 +00:00
Danny Mayer
c5e84ff0e4
app headers
2001-07-06 05:44:32 +00:00
Danny Mayer
f210fb51ef
Version information for libisc module
2001-07-06 05:43:17 +00:00
Danny Mayer
d4cfec8537
I/O header definitions
2001-07-06 05:42:24 +00:00
Danny Mayer
39a1539c7a
Header file for win32 emulation of syslog use the event log
2001-07-06 05:40:41 +00:00
Danny Mayer
f3f064ba86
win32 emulation of syslog use the event log
2001-07-06 05:39:57 +00:00
Danny Mayer
9ecea05b89
stdio routines
2001-07-06 05:38:47 +00:00
Danny Mayer
fd61d0cab1
Initial release of socket code
2001-07-06 05:37:46 +00:00
Danny Mayer
ca5c761cde
Resources Available
2001-07-06 05:37:10 +00:00
Danny Mayer
1c456bcdb4
O/S specific code
2001-07-06 05:36:13 +00:00
Danny Mayer
72c0894efa
functions to determine locations of configuration files at runttime
2001-07-06 05:35:09 +00:00
Danny Mayer
e397736476
win32 overrides of FILE function to centralize I/O stream and avoid problems with iob array
2001-07-06 05:34:06 +00:00
Danny Mayer
48b785fe6b
win32 version of netdb.h headers
2001-07-06 05:32:44 +00:00
Danny Mayer
602f0b8e48
net routines
2001-07-06 05:30:51 +00:00
Danny Mayer
e1bdeeadb3
libisc workspace file
2001-07-06 05:29:58 +00:00
Danny Mayer
fc72de271b
libisc project file
2001-07-06 05:29:24 +00:00
Danny Mayer
1d7574a6de
Export link File
2001-07-06 05:28:32 +00:00
Danny Mayer
0b38e0a117
Keyboard Routines
2001-07-06 05:27:37 +00:00
Danny Mayer
e2d579a021
ipv6 variables initialization
2001-07-06 05:26:58 +00:00
Danny Mayer
3d8c1213d9
Interface Iteration routines
2001-07-06 05:25:20 +00:00
Danny Mayer
fc4bae7e83
header file for error routines
2001-07-06 05:24:22 +00:00
Danny Mayer
9fe3c2060d
error routines
2001-07-06 05:23:58 +00:00
Danny Mayer
a38e51e5ef
Fixed duplicate routines
2001-07-06 05:22:46 +00:00
Danny Mayer
6f5d6e3f8c
isc_app_* routines
2001-07-06 05:21:44 +00:00
Danny Mayer
1e36937976
Entry point routine for libisc
2001-07-06 05:20:33 +00:00
Danny Mayer
e35c1bb3ec
Initial win32 Release
2001-07-06 05:08:39 +00:00
Danny Mayer
2773eae702
Fix variable declarations and remove initializations
2001-07-06 02:57:40 +00:00
Danny Mayer
4da4fef481
Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses
2001-07-06 02:56:47 +00:00
Brian Wellington
ed95ebaa42
remove references to vms_idhacks.h, since VMS doesn't seem to need it.
...
[RT #1432 ]
2001-07-05 19:06:07 +00:00
Brian Wellington
b6d5ee2fb2
ignore lib/bind/timestamp and lib/bind/port/*/include/Makefile
2001-07-05 18:50:39 +00:00
Mark Andrews
c8366d92f7
add port_before.h/port_after.h
2001-07-05 06:18:43 +00:00
Mark Andrews
3b8c76cb25
regen
2001-07-05 06:13:15 +00:00
Mark Andrews
9565793aed
pullup BIND 8.
...
1239. [bug] call res_ndestroy() in net_data_destroy().
2001-07-04 08:10:23 +00:00
Mark Andrews
e598df739d
Add getnetgrent_r.c prototype
2001-07-04 05:32:42 +00:00
Mark Andrews
93373a8c3c
silence broken IN6ADDR_{ANY,LOOPBACK}_INIT macros
2001-07-04 05:18:12 +00:00
Mark Andrews
60d17e54ea
singed/unsigned
2001-07-04 04:51:05 +00:00
Mark Andrews
567fb9c5e7
silence __sputaux
2001-07-04 03:48:43 +00:00
Brian Wellington
64b92523f9
check for getc_unlocked()
2001-07-04 00:34:44 +00:00
Andreas Gustafsson
37c961df41
extra space in error message string
2001-07-03 17:12:19 +00:00
Mark Andrews
2ef189c6d7
missed one
2001-07-03 13:44:53 +00:00
Mark Andrews
7cbf7d6613
nsprom() was unused.
2001-07-03 08:11:51 +00:00
Mark Andrews
5a20525ef3
unreachable statement
2001-07-03 07:53:36 +00:00
Mark Andrews
b8c618c852
remove unreachable code.
...
move&correct error statement.
2001-07-03 07:43:02 +00:00
Mark Andrews
7fff9e8cea
unused variable
2001-07-03 06:55:04 +00:00
Mark Andrews
2b959a1fad
regen
2001-07-03 06:52:15 +00:00
Mark Andrews
7050586959
silence aix (+others) compiler warnings re accept, getsockname, getpeername,
...
recvfrom etc.
2001-07-03 06:49:55 +00:00
Mark Andrews
265c5051d7
cp was being assign from the wrong pointer
2001-07-03 06:47:32 +00:00
Mark Andrews
b0a599b02e
regen
2001-07-03 03:56:47 +00:00
Mark Andrews
a1703aa367
ISC_SOCKADDR_LEN_T
2001-07-03 03:55:42 +00:00
Andreas Gustafsson
00380255bd
regenerated
2001-07-02 21:29:16 +00:00
Andreas Gustafsson
47ad4fad77
922. [func] Added two new lwres_getrrsetbyname() result codes,
...
ERR_NONAME and ERR_NODATA.
2001-07-02 21:28:56 +00:00
Brian Wellington
5733d25b06
921. [bug] lwres returned an incorrect error code if it received
...
a truncated message.
920. [func] Increase the lwres receive buffer size to 16K.
[RT #1451 ]
2001-07-02 20:46:31 +00:00
Andreas Gustafsson
5f62432db2
removed extraneous empty line
2001-07-02 20:44:30 +00:00
Andreas Gustafsson
2b8e5a5254
errors were logged as warnings and vice versa
2001-07-02 17:48:27 +00:00
Andreas Gustafsson
207c7c1ea3
added ISC_FORMAT_PRINTF checks
2001-07-02 17:05:46 +00:00
Mark Andrews
1f90214bb4
pullup from BIND 8:
...
1236. [bug] ignore white space after address of nameserver.
2001-07-02 02:33:45 +00:00
Mark Andrews
8eca454f9f
regen
2001-07-02 02:03:54 +00:00
Mark Andrews
9e80f632c8
pullup BIND 8:
...
Solaris 2.4 (and earlier) USE_FIONBIO_IOCTL support.
2001-07-02 02:02:27 +00:00
Mark Andrews
d4e535315d
pullup from BIND 8:
...
1237. [bug] buffer overrun, access mode read.
2001-07-02 00:44:50 +00:00
Danny Mayer
cddd0ddf07
rdclass and rdtype size misdeclaration
2001-06-30 04:13:50 +00:00
Andreas Gustafsson
97e1692460
New function cfg_print_grammar(), which generates a human-readable
...
summary of the grammar for a given configuration type from its syntax
tables. Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Mark Andrews
545be70a4d
regen
2001-06-29 15:26:15 +00:00
Mark Andrews
b0b4e03da5
"make install" should now work.
2001-06-29 15:25:25 +00:00
Andreas Gustafsson
7d8c3693d0
914. [bug] Gobal 'server' statements were rejected when
...
using views, even though they were accepted
in 9.1. [RT #1368 ]
2001-06-28 21:58:54 +00:00
Andreas Gustafsson
389677e152
removed empty line
2001-06-28 21:34:54 +00:00
Andreas Gustafsson
dcc7ea9717
spacing
2001-06-28 21:34:39 +00:00
Andreas Gustafsson
60dcbecf04
Instead of choosing between memcpy and memmove at run time, call
...
memmove unconditionally since any reasonable implementation of
memmove will perform such a choice internally, and also doing it
in the caller duplicates the effort.
2001-06-28 21:34:11 +00:00
Andreas Gustafsson
b1a7fea53c
brace style
2001-06-28 21:21:39 +00:00
Brian Wellington
ff8335f908
regen
2001-06-28 17:45:05 +00:00
Brian Wellington
ea562e4401
Properly set _GNU_SOURCE on linux
2001-06-28 17:44:53 +00:00
Brian Wellington
cab94c1516
'make distclean' should remove files created by configure.
2001-06-28 17:35:49 +00:00
Mark Andrews
dee489d6c1
incremental_cleaning_action() is now re-called as a result of normal event
...
processing, not as the result of timer action.
2001-06-28 13:51:40 +00:00
Danny Mayer
f47c41b5fe
htons expects an unsigned short for the argument
2001-06-28 06:02:18 +00:00
Mark Andrews
1e34f21f4c
regen
2001-06-28 04:29:07 +00:00
Mark Andrews
93810b1ace
add aix
2001-06-28 04:27:56 +00:00
Mark Andrews
73620f726a
regen
2001-06-28 02:58:27 +00:00
Mark Andrews
c3a5709c2b
autoconf swallowed the [ ] in case statement
2001-06-28 02:57:23 +00:00
Mark Andrews
c18d42b96b
use MEM_RECORD rather than debugging > 1
2001-06-28 01:57:34 +00:00
Mark Andrews
594a685c8d
Add ISC_MEM_DEBUGGING to set default compile time flags.
...
Remember ISC_MEM_DEBUGRECORD state when isc_mem_create() is called as
it is dangerous to change this afterwards.
2001-06-28 01:51:20 +00:00
Mark Andrews
950d71eee3
allow maximum inuse memory to be tracked.
2001-06-27 23:29:29 +00:00
David Lawrence
6817b32d2c
Revert "incremental cleaning should actually clean" because it already did.
...
dns_dbiterator_setcleanmode(cleaner->iterator, ISC_TRUE) causes
dns_dbiterator_current() to do node expiry.
2001-06-27 20:18:03 +00:00
Mark Andrews
ba94ff2e56
incremental cleaning should actually clean.
...
end_cleaning wants busy not idle
2001-06-27 14:48:21 +00:00
Mark Andrews
c86b6051b6
hp cleanup
2001-06-27 12:29:41 +00:00
Danny Mayer
53bc020d74
modified to use isc_file_rename instead of rename
2001-06-27 04:37:11 +00:00
Danny Mayer
11c7a43642
type needed to be defined as dns_rdatatype_t instead of int in rdataset_totext()
2001-06-27 04:30:37 +00:00
Brian Wellington
f215881bb0
removed unnecessary const [RT #1440 ]
2001-06-27 04:21:18 +00:00
Mark Andrews
b6f0efbf3e
aix namespace collision ERR -> EV_ERRR
2001-06-27 03:55:48 +00:00
Mark Andrews
98b2d12313
rejen
2001-06-25 13:27:29 +00:00
Mark Andrews
51cb4eba54
aix & hp
2001-06-25 13:22:33 +00:00
Mark Andrews
2bc98b7d91
910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT.
2001-06-25 03:56:58 +00:00
Mark Andrews
9432c5ee8b
pullup:
...
64 bit alignment is only required on 64 bit machines
2001-06-25 00:30:46 +00:00
Mark Andrews
768d8c0ceb
_SOCKADDR_LEN
2001-06-23 04:02:24 +00:00
Mark Andrews
14c32141f7
regen
2001-06-23 03:45:35 +00:00
Mark Andrews
008616624a
extra commas
2001-06-23 03:44:11 +00:00
Mark Andrews
0cbda00d11
regen
2001-06-23 02:17:13 +00:00
Mark Andrews
bf92294d2a
osf sethostent_r
2001-06-23 02:16:13 +00:00
Mark Andrews
a4786a3117
uint#_t
2001-06-23 02:11:08 +00:00
Mark Andrews
5f229adf3a
regen
2001-06-23 02:03:26 +00:00
Mark Andrews
8264cdf2f1
add port/decunix
2001-06-23 02:02:01 +00:00
Mark Andrews
3d112f226f
regen
2001-06-23 01:50:27 +00:00
Mark Andrews
cd7564646e
OSF 5.0 setpwent_r() support
2001-06-23 01:49:21 +00:00
David Lawrence
9bfa90768a
907. [func] The ability to get entropy from either the
...
random device, a user-provided file or from
the keyboard was migrated from the DNSSEC tools
to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
Mark Andrews
de8e172e44
regen
2001-06-22 05:11:52 +00:00
Mark Andrews
7ae2ccb5d1
linux netbsd
2001-06-22 05:11:05 +00:00
David Lawrence
2d67c24744
906. [port] Separated the system independent portion of
...
lib/isc/unix/entropy.c into lib/isc/entropy.c
and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Mark Andrews
2ef3e44fc8
regen
2001-06-21 09:04:21 +00:00
Mark Andrews
45a0264e76
alternate getnetgrent_r signature
2001-06-21 09:03:16 +00:00
Mark Andrews
e481f1dd57
distclean -> config.cache
2001-06-21 08:53:15 +00:00
Mark Andrews
c288005389
add IN6ADDR_LOOPBACK_INIT
2001-06-21 08:51:21 +00:00
Mark Andrews
e2935ef152
clean/distclean to remove libbind.a
2001-06-21 08:50:34 +00:00
Mark Andrews
527302c4fe
BIND 8.3.0-T1A sync
2001-06-21 08:26:27 +00:00
Mark Andrews
74f16d58a3
regen
2001-06-21 08:04:16 +00:00
Mark Andrews
800764304d
spelling of HAVE_SOCKADDR_STORAGE
2001-06-21 08:03:21 +00:00
Mark Andrews
85bdc128fc
Relax REQUIRES() in *fromstruct() and unconditionally call
...
mem_maybedup() in *tostruct().
TXT is one or more (not zero or more) strings.
2001-06-21 04:00:47 +00:00
Andreas Gustafsson
77efdc854b
spacing; typo
2001-06-21 01:30:22 +00:00
Andreas Gustafsson
08a44b06ef
the length of the NULL record RDATA can be zero;
...
do not assert the contrary
2001-06-20 17:43:31 +00:00
Andreas Gustafsson
ac299c4f5c
Removed statements to the effect that certain functions
...
perform assertion checks. Such statements are inappropriate as they
document the implementation rather than the public interface. The
functions are not required to perform assertion checks, but the caller
is required to pass arguments that conform to the API requirements.
2001-06-18 22:56:35 +00:00
Andreas Gustafsson
d748172fd7
added one end tag too many
2001-06-18 22:11:59 +00:00
Andreas Gustafsson
86b0285d7e
missing end tags; other cleanup
2001-06-18 22:07:02 +00:00
Andreas Gustafsson
474a81662f
missing end tags; other cleanup
2001-06-18 17:56:54 +00:00
Andreas Gustafsson
19872fdfb7
convert more socket errors to specific ISC error codes, notably ECONNRESET
2001-06-15 22:07:51 +00:00
Brian Wellington
2196128fc2
When doing best-effort parsing (in dig, for example) on a message with multiple
...
questions where an unrecoverable error is seen after 2 or more questions have
been parsed, memory would be leaked from msg->namepool, and would trigger an
ENSURE() in dns_message_destroy().
2001-06-15 05:24:24 +00:00
Brian Wellington
0a9a3d8c6d
904. [bug] The server would leak memory if attempting to use
...
an expired TSIG key. [RT #1406 ]
2001-06-15 02:24:02 +00:00
Andreas Gustafsson
d1ecee17a5
remove the other blank line before .TH, too
2001-06-14 19:10:14 +00:00
Andreas Gustafsson
23ac0d8259
comments for dns_message_parse() referred to
...
nonexistent arguments
2001-06-14 18:38:48 +00:00
Mark Andrews
9a6573e16b
sys/select.h not sys/socket.h
2001-06-12 01:35:42 +00:00
Andreas Gustafsson
509ef0c871
Keep track of the number of times the system malloc() has
...
failed, to help determine whether a server crash resulted
from a bug in the handling of an out-of-memory condition
or not.
2001-06-11 20:27:16 +00:00
Andreas Gustafsson
8de7014e56
removed CVS Id from machine-generated man page files -- it is no longer needed
...
now that they are ignored by update_copyrights
2001-06-11 19:02:45 +00:00
Andreas Gustafsson
c44072c299
uninitialized pointer could potentially (but not likely)
...
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)
2001-06-11 04:26:41 +00:00
David Lawrence
eda73d8aad
redo 1.64 "potential null pointer dereference" more consistent with the style
...
of the function and file (i.e., not returning from the middle of a function)
2001-06-10 17:06:45 +00:00
David Lawrence
95e8c0f8f5
removed blank line before .TH
2001-06-10 13:58:29 +00:00
David Lawrence
2b403f22d4
Removed an obsolete XXXMLG comment, with the assent of Michael Graff.
2001-06-08 23:53:41 +00:00
David Lawrence
04260c5c48
895. [func] New function, isc_dir_current(), akin to POSIX's
...
getcwd().
2001-06-08 23:50:32 +00:00
Brian Wellington
ba9e9a88c8
The last change didn't compile due to faulty cut&paste.
2001-06-08 22:48:28 +00:00
David Lawrence
504f7802d4
893. [func] Removed isc_file_test() and added isc_file_exists()
...
for the basic functionality that was being added
with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
3b6bcedffe
891. [bug] Return an error when a SIG(0) signed response to
...
an unsigned query is seen. This should actually
do the verification, but it's not currently
possible. [RT #1391 ]
2001-06-08 19:37:29 +00:00
Andreas Gustafsson
841179549b
889. [port] Eliminated blank lines before .TH in nroff man
...
pages since they cause problems with some versions
of nroff. [RT #1390 ]
2001-06-08 19:33:02 +00:00
Brian Wellington
01535cfb3a
removed erroneous UNUSED macro
2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548
Don't die when trying to delete a nonexistent key [RT #1392 ]
2001-06-08 18:29:31 +00:00
Mark Andrews
4585aeb2cc
866. [func] Close debug only file channels when debug is set to
...
zero. [RT #1246 ]
2001-06-08 02:57:13 +00:00
Andreas Gustafsson
56877490bc
865. [bug] The new configuration parser did not allow
...
the optional debug level in a "severity debug"
clause of a logging channel to be omitted.
This is now allowed and treated as "severity
debug 1;" like it did in BIND 8.2.4, not as
"severity debug 0;" like it did in BIND 9.1.
[RT #1367 ]
2001-06-08 01:03:00 +00:00
Andreas Gustafsson
11c8a04f9b
grammar
2001-06-07 20:11:30 +00:00
Andreas Gustafsson
d358eea93e
megabytes is abbreviated MB, not mb
2001-06-07 18:31:54 +00:00
Mark Andrews
c69d61c69b
realloc -> malloc
2001-06-07 02:14:52 +00:00
Andreas Gustafsson
8b9fa5b005
redid RT #1353 fix in 1.53 so that it does not free
...
file names while they are still referenced from the parse tree
2001-06-07 01:58:49 +00:00
Brian Wellington
90c845947a
#include <time.h>
2001-06-07 00:45:35 +00:00
Mark Andrews
6cefb60af5
pullup from BIND 8
...
862. [bug] Use after realloc(), non portable pointer arithmetic in
grmerge().
2001-06-07 00:22:35 +00:00
Brian Wellington
224e84bc0e
misc. stuff related to [RT #1293 ]
2001-06-07 00:21:53 +00:00
Brian Wellington
571688b02f
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-06 22:03:58 +00:00
Brian Wellington
338d559b3e
remove extraneous blank line
2001-06-06 21:02:43 +00:00
Mark Andrews
cd8c92da37
pullup from BIND8:
...
DE_CONST bind(arg 2)
2001-06-06 01:56:32 +00:00
Mark Andrews
99a8d30559
860. [func] Drop cross class glue in zone transfers.
2001-06-05 23:43:15 +00:00
David Lawrence
f991461dc1
The most notable change is that incremental_cleaning_action() will now
...
wait at least six seconds between each pass of the tree. This keeps
the CPU from being bogged down in a persistent overlimit condition, and
because it uses timers also lets the cache cleaner know right away when
the server is being shut down, so it can stop trying to clean.
Also fixed an unlocked access to cache->live_tasks in dns_cache_detach().
Also fixed a problem with repeated calls to dns_cache_setcachesize() setting
the database as not overmem, even though it might have still been in
the process of cleaning from a previous limit. Just set the new
isc_mem_setwater() limits instead and let the mem.c call water() if cleaning
needs to be either started or stopped because of the new limits.
Minor code cleanups.
2001-06-05 22:27:51 +00:00
David Lawrence
65640f401a
Removed the requirement for isc_mem_setwater() that when the callback function
...
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0. Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration). This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water.
2001-06-05 22:14:20 +00:00
Mark Andrews
92296c744e
complete the rollback
2001-06-05 09:23:14 +00:00
Mark Andrews
8af4b7042d
rollback individual RR.
2001-06-05 09:17:21 +00:00
Mark Andrews
03f91269f5
856. [func] Allow partial rdatasets to be returned in answer and
...
authority sections to help non-TCP capable clients
recover from truncation. [RT #1301 ]
2001-06-05 09:02:16 +00:00
Brian Wellington
7e93abafe6
spelling & style
2001-06-05 06:34:45 +00:00
Brian Wellington
33e49e8fdc
#include <isc/magic.h>
2001-06-05 06:34:11 +00:00
Mark Andrews
afb0a628ef
855. [bug] Stop spurious "using RFC 1035 TTL semantics" warnings.
2001-06-05 05:12:47 +00:00
Brian Wellington
17dba29ba5
854. [bug] The config parser didn't properly handle config
...
options that were specified in units of time other
than seconds. [RT #1372 ]
2001-06-04 21:51:27 +00:00
Brian Wellington
fe61fbe14e
ignore Makefiles and autoconf stuff
2001-06-04 21:48:52 +00:00
David Lawrence
163e27991b
Revert part of the ISC_MAGIC/ISC_MAGIC_VALID change. Because
...
common.impmagic is not the first four bytes of the struct,
ISC_MAGIC_VALID() cannot be used.
2001-06-04 20:57:25 +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
deb588e256
typo that caused an assertion failure [RT #1368 ]
2001-06-03 23:53:50 +00:00
Brian Wellington
c39911afea
functions returning void should not return the result of other functions
...
returning void. [RT #1372 ]
2001-06-03 19:03:37 +00:00
Mark Andrews
3042b3e271
851. [bug] Handle responses from servers which do not know
...
about IXFR.
2001-06-01 15:22:56 +00:00
Mark Andrews
989f808405
851. [cleanup] support-ixfr is obsolete, use request-ixfr.
2001-06-01 15:17:19 +00:00
Bob Halley
eba5c23154
undo 1.54, which was an accidental commit
2001-06-01 03:07:54 +00:00
Bob Halley
875542855a
update to 9.3.0, now that the 9.2 release branch has been created
2001-06-01 03:05:07 +00:00
Brian Wellington
d0b6ece407
ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS
2001-06-01 01:11:28 +00:00
Brian Wellington
59d5cc31e5
#include <dns/types.h>
2001-06-01 01:09:10 +00:00
Brian Wellington
53aba5065d
man pages were not properly installed in separate-object-dir builds
2001-06-01 00:45:04 +00:00
David Lawrence
7fe56f41ec
slight optimization for dns_rbt_findnode() when bitstrings are involved:
...
skip the hashing attempts entirely when not at the root of a level
2001-05-31 22:32:46 +00:00
David Lawrence
68f4a1696f
In dns_rbt_findnode() when using hashing, check for a bitstring after
...
each failure to find the hash_name, not just when the name has multiple labels.
2001-05-31 21:52:22 +00:00
David Lawrence
11c4f6b687
Reversed the sense of my earlier change to hmacmd5 key generation that
...
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
David Lawrence
b79e66b06d
While searching in dns_rbt_findnode(), cope with the possibility that
...
a bitstring label might be founding things from any label of a
multilabel search_name.
2001-05-31 11:03:33 +00:00
David Lawrence
64c7a503c2
ensure that INADDR_LOOPBACK is defined
2001-05-31 10:54:51 +00:00
David Lawrence
ed8daea264
enforce a minimum cache size of 2mb
2001-05-31 10:53:42 +00:00
David Lawrence
50b7860fff
new function isc_file_test() as framework for determining various attributes
...
of a pathname
2001-05-31 10:53:14 +00:00
David Lawrence
719f0c0028
A trivial change (added a blank line) so I could add the comment I
...
*wanted* to add on the last check-in.
The second argument to hmacmd5_generate is no longer unused, it is a flag
to say whether good entropy is needed or not. This change was approved
by Brian. The control channel key generator needed it to be able to do
its job all on-the-fly.
2001-05-31 10:49:28 +00:00
David Lawrence
d744418e64
hmac_link.c
2001-05-31 10:47:17 +00:00
David Lawrence
25efbc557e
set the permissions on a symmetric keyfile before anything is written to it,
...
rather than after it is closed
2001-05-31 10:45:32 +00:00
David Lawrence
fe2d25382f
don't define INADDR_LOOPBACK; isc/net.h should be ensuring it exists
2001-05-31 10:43:37 +00:00
David Lawrence
4f36774273
include <dns/soa.h> for dns_soa_serial() prototype
2001-05-31 10:38:01 +00:00
Mark Andrews
9dbbd48523
new
2001-05-31 06:13:27 +00:00
Mark Andrews
45d75e9b26
copyrights
2001-05-31 05:54:07 +00:00
Brian Wellington
6d28d54e6f
be more tolerant of blank lines
2001-05-31 00:38:07 +00:00
Brian Wellington
1969ab5360
copyright updates
2001-05-30 20:31:08 +00:00
Brian Wellington
a78196366c
move variable initialization
2001-05-29 23:07:28 +00:00
Brian Wellington
cbb781f277
uninitialized variable
2001-05-29 22:54:07 +00:00
Brian Wellington
8358be5851
uninitialized variable
2001-05-29 22:44:12 +00:00
Brian Wellington
dd0fdd4426
the array of error messages was incomplete.
2001-05-29 22:40:10 +00:00
Brian Wellington
9547c4a3f8
potential null pointer dereference
2001-05-29 22:35:54 +00:00
Brian Wellington
e2fd12f3a0
841. [bug] When sdb modules were not declared threadsafe, their
...
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Mark Andrews
b96a1d9fa3
sync multiple changes from BIND 8.
2001-05-28 08:38:32 +00:00
Mark Andrews
7ca2d9c6ed
pullup from BIND 8:
...
1175. [bug] statp->nsort could fail to be re-initialised if
resolv.conf goes away.
2001-05-28 06:36:15 +00:00
Mark Andrews
94039cf2c3
pullup from BIND 8:
...
1172. [bug] allow res_{n}update to take a single unlinked element.
2001-05-28 06:25:42 +00:00
Brian Wellington
cf74d05a50
840. [bug] The config file parser could print the wrong file
...
name if an error was detected after an included file
was parsed. [RT #1353 ]
2001-05-28 06:05:24 +00:00
Mark Andrews
3b3a726ae4
pullup from BIND 8:
...
1215. [bug] long UNIX domain control socket names were not being
printed in full.
2001-05-25 05:21:25 +00:00
Mark Andrews
ba10e25d1c
pullup from BIND 8.
...
1214. [bug] getrgnam()/getgrgid() leaked memory.
2001-05-25 03:32:40 +00:00
Mark Andrews
3dd53ffbd7
remove unnecessary call to res_nsearch() from reverse lookup path.
2001-05-22 22:53:24 +00:00
Mark Andrews
cae062ee07
#include <arpa/nameser.h> for ns_tsig_key
2001-05-22 22:51:31 +00:00
Andreas Gustafsson
508d17362c
834. [func] Accept (but warn about) master files beginning with
...
an SOA record without an explicit TTL field and
lacking a $TTL directive, by using the SOA MINTTL
as a default TTL. This is for backwards compatibility
with old versions of BIND 8, which accepted such
files without warning although they are illegal
according to RFC1035.
2001-05-22 01:44:37 +00:00
Andreas Gustafsson
e7a4f58d55
833. [cleanup] Moved dns_soa_*() from <dns/journal.h> to
...
<dns/soa.h>, and extended them to support
all the integer-valued fields of the SOA RR.
2001-05-21 23:56:34 +00:00
Andreas Gustafsson
ec4df1f908
consistently use lower case in error messages
2001-05-21 22:49:24 +00:00
Brian Wellington
0716b32560
remove unnecessary const
2001-05-21 22:10:23 +00:00
Mark Andrews
1cfecfd34f
Bitstring labels are independent of DNAMEs.
...
Provide a runtime mechanism to set the IPv6 suffixes for reverse lookups.
Provide a runtime mechanism to disable each of the IPv6 reverse lookup
methods.
Provide a mechanism to free memory allocated by res_{n}init().
2001-05-21 14:31:32 +00:00
Mark Andrews
097dc0a693
add sys/types.h for FreeBSD 2.1
2001-05-18 03:02:45 +00:00
Andreas Gustafsson
1242c132a8
removed comment that was no longer correct
2001-05-17 18:14:36 +00:00
Mark Andrews
d972d65d69
add initial support for unix based platforms.
2001-05-17 06:26:01 +00:00
Andreas Gustafsson
d76b6ae2ad
isc_print_vsnprintf() could throw an assertion failure when
...
given a %lld format, causing a deadlock when logging the assertion if invoked
from the logging system. Since the %qd format does not have the bug, this only
affects platforms where the native quad format is %lld and that lack a native
vsnprintf(). The only known such platform is SunOS 5.5.1. [RT #1312 ]
2001-05-16 00:52:55 +00:00
Andreas Gustafsson
21a0926b4f
the epoch of time() is sytem dependent - use isc_stdtime_get()
...
instead [RT #1300 ]
2001-05-15 22:05:35 +00:00
Bob Halley
4e9d4ceadf
Take two of new semantics for ANY queries at zone cut points. Now doing
...
an ANY query at a zone cut point will return a delegation, except if
DNS_DBFIND_GLUEOK is set, in which case DNS_R_ZONECUT will be returned as
before. Someday it would probably be a good idea to get rid of DNS_R_ZONECUT
entirely and just return DNS_R_GLUE in that case, but I was afraid to do
that now since it might break things. These changes pass all system tests.
2001-05-15 05:35:27 +00:00
Andreas Gustafsson
0d205b805a
backed out changes to handling of DNS_DBFIND_VALIDATEGLUE
...
option in previous commit - they broke DNS_DBFIND_GLUEOK lookups,
causing several of the system tests to fail
2001-05-15 03:52:31 +00:00
Andreas Gustafsson
740ae0808f
when returning a socket error, use isc__errno2result() instead
...
of always returning ISC_R_UNEXPECTED
2001-05-14 23:58:33 +00:00
Andreas Gustafsson
135b1206c9
don't retry UDP receives after they return an error -
...
an error return from the socket library means the library has already
decided that the error is not retryable and likely to throw
us into an infinite loop if retried
2001-05-14 23:10:19 +00:00
Andreas Gustafsson
054777a694
eliminated redundant assignments to disp->shutting_down;
...
if shutting down due to error, set disp->shutdown_why to the appropriate result
code, not to ISC_R_EOF
2001-05-14 22:07:40 +00:00
Brian Wellington
50097b38c0
830. [func] Implement 'rndc status'.
2001-05-14 20:44:16 +00:00
Bob Halley
751aa24c98
only return DNS_R_ZONECUT from secure zones
2001-05-14 19:25:59 +00:00
Brian Wellington
ecf4962155
more of 'rndc status'
2001-05-14 19:06:47 +00:00
Andreas Gustafsson
fd5847ef09
828. [bug] The errno value from recvfrom() could be overwritten
...
by logging code. [RT #1293 ]
2001-05-14 18:20:03 +00:00
Mark Andrews
2510f0bd84
axi changes
2001-05-14 07:59:46 +00:00
Mark Andrews
a9aeae8dc0
more #824 fine tuning.
...
ictx->drop is inherited when a include file is pushed.
NOTE: it is *not* restored when the include file is subsequently popped as
the current owner is restored to the state it was before the file
was pushed.
we missed setting source & line after one successful pushfile().
2001-05-14 06:22:40 +00:00
Mark Andrews
378f5abd5f
fine tune #824
2001-05-11 02:35:37 +00:00
Brian Wellington
177ede307a
minor internal reorganization (yes, this will all become clear at some point)
2001-05-10 19:07:18 +00:00
Andreas Gustafsson
a9ef485446
If IXFR fails, fall back to AXFR
2001-05-10 17:51:49 +00:00
Andreas Gustafsson
344a21e7c7
the return value of ixfr_apply() was not checked
2001-05-10 16:27:14 +00:00
Andreas Gustafsson
17ed6b7945
when subtracting a nonempty rdataset from a nonexistent rdataset
...
and the DNS_DBSUB_EXACT flag, dns_db_subtractrdataset() should return
DNS_R_NOTEXACT, not DNS_R_UNCHANGED.
2001-05-10 16:26:07 +00:00
Mark Andrews
6ddea57cb4
ais
2001-05-10 07:33:31 +00:00
Mark Andrews
9259ea7e4b
aix
2001-05-10 07:29:54 +00:00
Brian Wellington
a62b21afd3
DST_TYPE_PUBLIC|DST_TYPE_PRIVATE
2001-05-10 06:05:54 +00:00
Mark Andrews
4dad906c2f
port aix
2001-05-10 05:38:33 +00:00
Mark Andrews
84844522a2
AIX
2001-05-10 05:10:30 +00:00
Mark Andrews
ac7fa9937e
sync
2001-05-10 05:10:11 +00:00
Mark Andrews
ba4e2f658e
Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN
2001-05-10 05:09:06 +00:00
Brian Wellington
4bd95a4965
fix a cut-and-paste-o and a warning
2001-05-10 04:50:28 +00:00
Mark Andrews
2ddb88d5d4
cync: aix
2001-05-10 04:29:17 +00:00
Mark Andrews
fa358dd30f
aix
2001-05-10 04:28:22 +00:00
Mark Andrews
00c6d2626b
Add aix
2001-05-10 04:23:15 +00:00
Brian Wellington
8e4da48fa7
consolidated duplicated code for filename mangling, removed sanity checks that
...
weren't.
2001-05-09 23:04:50 +00:00
Brian Wellington
35582313f7
add dns_zt_zonecount(), which counts the number of zones in a zonetable.
2001-05-09 21:34:19 +00:00
Mark Andrews
f3dd74f1cd
ignore in no longer needed in commit.
2001-05-09 07:18:38 +00:00
Bob Halley
42dfa2455d
bump version to avoid horrible confusion
2001-05-09 06:12:52 +00:00
Mark Andrews
69d44b2f5a
825. [bug] zone.c:ns_query() detached from the wrong zone
...
reference. [RT #1263 ]
2001-05-09 05:20:28 +00:00
Mark Andrews
f08f3c6cae
824. [bug] Correct line numbers reported by dns_master_load().
...
[RT #1263 ].
2001-05-09 03:41:47 +00:00
Andreas Gustafsson
120cf12320
folded lines >80 chars; added comments; removed some unused code
2001-05-09 03:17:02 +00:00
Andreas Gustafsson
c3ebcedbe5
Add isc_file_progname(), with trivial POSIX implementation, and
...
call it from main(). A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Mark Andrews
dbd6145418
sync
2001-05-08 07:07:11 +00:00
Mark Andrews
dd9b814ace
strerror
2001-05-08 07:06:01 +00:00
Mark Andrews
1c81477123
oops2
2001-05-08 06:30:08 +00:00
Mark Andrews
8f7edcb227
more IPv6 macros
2001-05-08 06:25:30 +00:00
Mark Andrews
fcfb81e3c4
oops
2001-05-08 05:18:26 +00:00
Mark Andrews
ff8bc68af4
add various IPv6 macros
2001-05-08 05:15:13 +00:00
Mark Andrews
74186b65a3
add stdio.h
2001-05-08 04:38:28 +00:00
Mark Andrews
cf186bf745
add netbsd
2001-05-08 04:02:54 +00:00
Andreas Gustafsson
9dafd058e3
implemented 'rndc reconfig'
2001-05-07 23:34:24 +00:00
Mark Andrews
25ea25c811
undo part of bind8-823-v6-20010204a.diff
2001-05-07 06:07:44 +00:00
Danny Mayer
94ebc518d0
buffer request needs cast for win32
2001-05-06 02:24:08 +00:00
Danny Mayer
db1bfc3151
htons needs cast for win32
2001-05-06 02:23:06 +00:00
Brian Wellington
d144ea1d1c
isc_file_basename should return a (const char *)
2001-05-05 02:47:21 +00:00
David Lawrence
e40cd7f5c9
preserve a reference to the node lock across a call to no_references() in
...
detachnode
2001-05-05 02:42:38 +00:00
Andreas Gustafsson
bdb60248c3
oops, removed the wrong declaration
2001-05-04 23:57:22 +00:00
Andreas Gustafsson
a08f7f4a6c
frombuffer() was declared 'static' but defined
...
without 'static'
2001-05-04 17:57:33 +00:00
Andreas Gustafsson
2788f21727
don't install the now-nonexistent <dns/namedconf.h>
2001-05-04 17:08:43 +00:00
Brian Wellington
f2194a8ba9
implement isc_file_basename()
2001-05-03 18:59:30 +00:00
Brian Wellington
55ff3f6e65
remove prototypes for nonexistant functions [RT #1240 ]
2001-05-03 18:40:33 +00:00
Brian Wellington
3f8a9e5196
remove unused byte swapping macros and the associated non-portable includes
...
[RT #1239 ]
2001-05-03 18:38:17 +00:00
Brian Wellington
de32cbd34e
remove a cut-and-paste-o
2001-05-02 19:25:19 +00:00
Brian Wellington
d2aebe24c4
Allocate the initial buffer for rdata based on the length of the string, to
...
avoid reallocations and annoying messages.
2001-05-02 18:58:56 +00:00
Andreas Gustafsson
af46049567
removed <dns/namedconf.h>, which pertained to the old
...
configuration parser
2001-05-02 17:39:51 +00:00
Bob Halley
1a286a6613
In certain cases, the resolver's attempts to restart an address lookup
...
at the root could cause the fetch to deadlock (with itself) instead of
restarting. [RT #1225 ]
2001-05-02 17:29:17 +00:00
Brian Wellington
3840dba289
Comment a particularly subtle bit of code.
2001-05-02 00:03:12 +00:00
Brian Wellington
05183bbc4f
Signing with a large key didn't work since the static output buffer was too
...
small; use a dynamic buffer instead. Also, comment a section
2001-05-02 00:02:28 +00:00
Andreas Gustafsson
570234616c
when following A6 chains, glue was inadvertantly ignored
2001-05-01 23:17:48 +00:00
Andreas Gustafsson
784d78b831
commented
2001-04-30 18:27:10 +00:00
Andreas Gustafsson
1dbec28030
removed declarations of nonexistent functions
2001-04-30 18:09:31 +00:00
Tatuya JINMEI 神明達哉
931f35a927
removed one more 'ifdef INET6'.
2001-04-30 18:08:54 +00:00
Tatuya JINMEI 神明達哉
291e6be74f
some cleanups and clarifications;
...
- removed 'ifdef INET6' (libbind's getaddrinfo should always be buildable
with the INET6 part.)
- use EAI_NONAME instead of EAI_NODATA (this is an API issue. I'll raise
it at the group working on the API).
- use h_errno instead of __h_errno.
- clarification on using interface names as link IDs of IPv6 link-local
addresses. (not all OSes support this.)
2001-04-30 17:46:58 +00:00
Tatuya JINMEI 神明達哉
520717e82b
supported the IPv6 scoped addresses format.
2001-04-30 17:35:17 +00:00
Tatuya JINMEI 神明達哉
4df5fde1a7
- code clenaups (removed redundant macros/blank lines, comment clarifications
...
etc.)
- use EAI_xxx error code according to draft-ietf-ipngwg-rfc2553bis-03.
(we may still have to reconsider EAI_NODATA - this is an API issue)
2001-04-30 17:34:02 +00:00
Andreas Gustafsson
1ed0723a1f
a pointer argument used to return an "int" value into an "int"
...
variable is better defined as "int *" than "unsigned int *"
2001-04-28 01:08:07 +00:00
Andreas Gustafsson
9762fd29cc
DNAME now has an RFC
2001-04-27 21:02:01 +00:00
Mark Andrews
ecaedd50f4
817. [func] Adjust timeouts for dialup zone queries.
2001-04-27 02:34:18 +00:00
Andreas Gustafsson
5e194abb5b
814. [bug] Socket objects left over from accept() failures
...
were incorrectly destroyed, causing corruption
of socket manager data structures.
813. [bug] File descriptors exceeding FD_SETSIZE were handled
badly. [RT #1192 ]
2001-04-26 23:45:55 +00:00
Andreas Gustafsson
e482a1c91e
cache dumps now include trust levels and ncache entries
2001-04-26 21:17:56 +00:00
David Lawrence
2b5f436aeb
Make greatest_version() return an isc_result_t, which it should have
...
been doing all along since there was the possibility isc_dir_open() would
fail and overloading the return value of "0" was bad practice.
If isc_dir_open() fails in greatest_version(), make sure the path separator
is restored to the destination pathname if it was NULified before returning
the error.
The underlying problem of isc_log_open() not having the bad result of
isc_dir_open() reported anywhere will be slightly mediate by a change
to bin/named/logconf.c to test the directory. lib/isc/log.c can't really
handle it because it has no idea to where such an error should be reported,
and it only shows up during isc_log_open() as part of the isc_log_write()
family of calls, which are all void.
2001-04-25 23:59:44 +00:00
Andreas Gustafsson
cb77fe457a
"sending notifies (%u)" -> "sending notifies (serial %u)"
2001-04-24 23:03:04 +00:00
Andreas Gustafsson
0dc1e14537
alphabetized includes
2001-04-24 18:40:07 +00:00
Andreas Gustafsson
92ba2e22ae
removed extraneous quotes
2001-04-24 18:13:47 +00:00
Andreas Gustafsson
8eea877894
untabified so that program listings line up properly
...
in the nroff output
2001-04-24 18:11:27 +00:00
Andreas Gustafsson
09df6c7006
removed unnecessary includes
2001-04-24 17:57:46 +00:00
Bob Halley
38d21a360a
only reacquire the lock in no_references() if we actually gave it up
2001-04-24 17:03:54 +00:00
Andreas Gustafsson
6f118c4893
removed redundant 'i++;'
2001-04-24 00:56:17 +00:00
Mark Andrews
dab8e1d00c
enable IPv6 resolver support
2001-04-23 02:59:53 +00:00
Mark Andrews
f93659e9a2
IPv6 fixes
2001-04-23 02:59:17 +00:00
Mark Andrews
1e6276aaf8
WANT_IRS_NISGR_OBJ -> WANT_IRS_NISGR_OBJS
2001-04-23 02:57:20 +00:00
David Lawrence
ed1c40264e
sigh. do not set the lock from node->locknum until being sure node is not null
2001-04-20 21:22:09 +00:00
David Lawrence
a0e1f68e14
Now that no_references() reacquires the node lock after deleting the node,
...
all of its callers need to maintain a reference to the lock that doesn't
involve looking at node->locknum after no_references() was called.
2001-04-20 14:35:04 +00:00
Andreas Gustafsson
15254d5865
note that parsers are not reusable
2001-04-19 23:28:17 +00:00
Andreas Gustafsson
cedd0ab1e8
811. [bug] Parantheses were not quoted in zone dumps. [RT #1194 ]
2001-04-19 18:39:42 +00:00
Brian Wellington
59c85e1636
Return ISC_R_NOSPACE if the buffer isn't large enough to hold the DNS header.
2001-04-19 18:28:35 +00:00
Mark Andrews
f6c845a79b
build libbind from .o's
2001-04-18 11:08:28 +00:00
David Lawrence
f6f8d61a77
reacquire the node lock the caller held before returning from no_references()
2001-04-18 08:06:11 +00:00
Andreas Gustafsson
ebea68ec9c
regenerated man pages with pdated docbook2man-spec.pl;
...
now the function prototypes are formatted correctly
2001-04-17 18:01:53 +00:00
Brian Wellington
8c3989000a
810. [bug] The signer name in SIG records was not properly
...
downcased when signing/verifying records. [RT #1186 ]
2001-04-17 17:20:27 +00:00
David Lawrence
1bd5b8aac6
use ISC_MAGIC to define magic number
2001-04-17 14:36:45 +00:00
David Lawrence
79ed194592
sigh. always test recompile things even after a minor change. after deciding
...
to _not_ much with the lock tracing/printing facility for the last change,
i forgot to also add the new result variable back into the stack
declarations, where i had correctly put it the first time.
2001-04-17 13:42:32 +00:00
David Lawrence
8e60ba90e0
unlock the mutex when non-blocking locking is attempted and the lock is busy.
2001-04-17 04:07:38 +00:00
Brian Wellington
ec57fd24fc
The isccc headers weren't installed at all. Oops.
2001-04-16 22:50:18 +00:00
Brian Wellington
98e8f87a6d
actually list all of the headers.
2001-04-16 22:44:43 +00:00
Brian Wellington
4e56b9615f
remove the (now) redundant setting of the magic number.
2001-04-16 21:14:27 +00:00
Brian Wellington
ac6afcd0ca
809. [bug] Configuring a non-local address as a transfer-source
...
could cause an assertion failure during load.
2001-04-16 18:50:32 +00:00
David Lawrence
900d7d9c9b
forgot to actually change the macro call that needed the deconst argument
2001-04-14 00:20:07 +00:00
David Lawrence
ddb8f23a09
a different approach to shutting up compilers about an empty file, one that
...
does not cause all the compilers to complain about a variable being
defined but not used.
2001-04-13 02:26:32 +00:00
David Lawrence
0109515495
use ISC_TF() to set an isc_boolean_t
2001-04-12 22:58:34 +00:00
David Lawrence
ae6860081f
a different fix for the lwres_net_aton problem in lwres_create_addr, that
...
addresses any alignment issues that might have existed with casting
an unsigned char pointer to a struct pointer.
2001-04-12 22:45:12 +00:00
David Lawrence
79b19f175c
added a single static variable declaration to prevent compilers from
...
complainig about an effectively empty input file.
2001-04-12 22:26:41 +00:00
David Lawrence
de6fe5ebe2
cleared up a const issue with IN6_IS_ADDR_V4MAPPED on some platforms
2001-04-12 21:23:21 +00:00
David Lawrence
ceda09e07a
removed stale #define DEBUG that my own comment said I was supposed to remove.
2001-04-12 21:18:14 +00:00
David Lawrence
6f053cd485
use ISC_TF() to set an isc_boolean_t
2001-04-12 21:04:14 +00:00
David Lawrence
4ab0eb3be8
mgr was set but not used in dns_dispatch_detach(); removed it
2001-04-12 21:03:37 +00:00
David Lawrence
947295d886
warning cleanup for HPUX-10.20: trivial unsigned vs sign char pointer issues.
2001-04-12 20:39:04 +00:00
David Lawrence
7944c8c5f7
case unsigned char addrbuf pointer to struct in_addr * when used as second
...
argument to lwres_net_aton, to quiet compiler warning
2001-04-12 20:23:48 +00:00
David Lawrence
3507ae5d59
#include <time.h> for the utimes() prototype
2001-04-12 19:46:39 +00:00
Mark Andrews
d29ec04e37
checkpoint
2001-04-12 02:32:32 +00:00
Mark Andrews
2f2513df09
checkpoint
2001-04-12 02:14:22 +00:00
Mark Andrews
2fbcc2b863
<sting.h>
...
bad return from void function
2001-04-12 01:57:35 +00:00
David Lawrence
cace8ff3bd
use ISC_MAGIC to define the magic number
2001-04-12 00:37:55 +00:00
David Lawrence
383b800c62
Fixed up iteration problems related to name cleaning. In a nutshell,
...
the node at the end of a chain always needed to have its reference
count incremented, not only when the iterator was paused. [RT #1007 ]
2001-04-11 22:17:38 +00:00
David Lawrence
f3083bc781
In incremental_cleaning_action(), detach the node returned by
...
dns_dbiterator_current(). [RT #1007 ]
2001-04-11 22:15:00 +00:00
Brian Wellington
c20ffa38de
808. [func] Add 'rndc flush' to flush the server's cache.
2001-04-11 20:37:50 +00:00
Mark Andrews
e91eeda769
stdio on hpux work around
2001-04-11 08:13:11 +00:00
Mark Andrews
42ca0077ae
checkpoint
2001-04-11 04:00:21 +00:00
Mark Andrews
c57c8dd9d3
checkpoint
2001-04-11 03:49:05 +00:00
Mark Andrews
ea5aa5c36c
checkpoint
2001-04-11 03:39:01 +00:00
Mark Andrews
53e274dc39
-ld4r
2001-04-11 03:19:55 +00:00
Mark Andrews
328b31fb20
gethostbyname_r
2001-04-11 02:38:24 +00:00
Mark Andrews
8fead63972
checkpoint
2001-04-11 02:30:08 +00:00
Mark Andrews
5ae17a93cd
endhostent_r
2001-04-11 02:16:22 +00:00
Mark Andrews
2779002c16
checkpoint
2001-04-11 01:30:12 +00:00
Mark Andrews
6993f1431a
remove -Werror
2001-04-11 01:24:49 +00:00
Mark Andrews
3047ad312b
remove gcc specific -Werror
2001-04-11 01:23:48 +00:00
Mark Andrews
2b7a77a68e
807. [bug] xfrin was not ignoring the transfer-source port.
2001-04-10 23:54:03 +00:00
Brian Wellington
d4ef65050f
copyright updates
...
(note - this doesn't touch lib/bind at all. Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Andreas Gustafsson
7900390a52
Previous change turned invalid peer address returns from accept()
...
into hard errors - they should be soft errors
2001-04-10 21:48:27 +00:00
Andreas Gustafsson
a84cfaa3f2
The bug fix in socket.c 1.189 was less than ideal: if a socket
...
got wedged in a state where accept() always returns EBADF, the server would loop calling
internal_accept() repeatedly. Implemented an alternative fix where a hard
error in accept() causes an event with a nonzero result code to be sent, and
the new socket object to be freed
2001-04-10 21:38:33 +00:00
Brian Wellington
8865eeaf14
Don't log a generic "sending notifies" message if there are no servers to
...
be notified.
2001-04-10 19:19:49 +00:00
Mark Andrews
86529bb697
806. [bug] DNS_R_SEENINCLUDE was failing to propogate back up
...
the calling stack to the zone maintence level.
2001-04-10 03:05:55 +00:00
Andreas Gustafsson
abd51a9a96
removed unused label
2001-04-10 00:18:27 +00:00
Mark Andrews
e22fa3a686
hpux
2001-04-09 09:17:16 +00:00
Mark Andrews
dcab756185
Solaris 2.8 header files are broken for getnetbyaddr(). Both cases
...
of the #ifdef/#else/#endif are the same.
2001-04-09 06:06:20 +00:00
Mark Andrews
b9614c7d79
checkpoint
2001-04-09 05:02:53 +00:00
Mark Andrews
01de82c03a
checkpoint
2001-04-09 04:57:28 +00:00
Mark Andrews
6339db444a
getpwent_r
2001-04-09 04:43:16 +00:00
Mark Andrews
194a73cc32
db.h
2001-04-09 03:21:22 +00:00
Mark Andrews
897cef1269
cut&paste error
2001-04-06 07:02:34 +00:00
Mark Andrews
8957799312
checkpoint
2001-04-06 07:00:58 +00:00
Mark Andrews
0aea8f69cd
checkpoint
2001-04-06 06:22:00 +00:00
Mark Andrews
6c89ab9e56
checkpoint
2001-04-06 06:02:24 +00:00
Mark Andrews
0c05c12213
checkpoint
2001-04-06 05:58:57 +00:00
Mark Andrews
3c3d1d0e7e
checkpoint
2001-04-06 05:49:52 +00:00
Mark Andrews
225fe2c82c
checkpoint
2001-04-06 05:35:41 +00:00
Mark Andrews
da3c3119fe
add passwd suport
2001-04-05 07:01:11 +00:00
Mark Andrews
199da345a1
regen
2001-04-05 06:31:21 +00:00
Mark Andrews
8c71da6b2e
solaris/posix
2001-04-05 06:31:02 +00:00
Mark Andrews
6942af8143
posix/solaris ~!@#$
2001-04-05 06:19:32 +00:00
Brian Wellington
f8b3c62794
804. [bug] Attempting to obtain entropy could fail in some
...
situations. This would be most common on systems
with user-space threads. [RT #1131 ]
2001-04-04 20:57:35 +00:00
Mark Andrews
baa8aebc5b
regen
2001-04-04 07:09:44 +00:00
Mark Andrews
3a66cfbc4c
hack_POSIX_PTHREAD_SEMANTICS
2001-04-04 07:08:55 +00:00
Mark Andrews
ab628cb652
regen
2001-04-04 06:19:28 +00:00
Mark Andrews
9680305c8b
checkpoint
2001-04-04 06:18:40 +00:00
Mark Andrews
ce664dbd95
POSIX_GETGRGID_R
2001-04-04 06:00:57 +00:00
Mark Andrews
2c81d53b9f
regen
2001-04-04 05:57:12 +00:00
Mark Andrews
49d4440533
checkpoint
2001-04-04 05:56:10 +00:00
Mark Andrews
216a4baa50
regenerate
2001-04-04 05:45:14 +00:00
Mark Andrews
5f2308318f
checkpoint
2001-04-04 05:44:15 +00:00
Mark Andrews
441991722c
checkpoint
2001-04-04 05:32:27 +00:00
Brian Wellington
daad43e5a4
802. [bug] DNSSEC key tags were computed incorrectly in almost
...
all cases. [RT #1146 ]
2001-04-04 02:02:58 +00:00
Andreas Gustafsson
2901eed986
cfg_type_rndcconf was declared twice
2001-04-04 01:41:06 +00:00
Mark Andrews
65f67161a3
regenerate
2001-04-03 22:59:32 +00:00
Mark Andrews
605263f9e9
checkpoint
2001-04-03 22:41:38 +00:00
Mark Andrews
33f7d8bf2f
checkpoint
2001-04-03 13:46:25 +00:00
Mark Andrews
a685e49c98
checkpoint
...
cvs: ----------------------------------------------------------------------
2001-04-03 08:03:47 +00:00
Mark Andrews
c14f058cc2
checkpoint
2001-04-03 07:56:04 +00:00
Mark Andrews
7f2f148059
checkpoint
2001-04-03 07:47:22 +00:00
Mark Andrews
323b5028ef
checkpoint
2001-04-03 07:43:10 +00:00
Mark Andrews
4218e29472
checkpoint
2001-04-03 07:33:07 +00:00
Mark Andrews
8a3e0f66c1
checkpoint
2001-04-03 07:21:35 +00:00
Mark Andrews
3b371eaa5d
ALIGN
2001-04-03 07:11:35 +00:00
Mark Andrews
da3db8e2a1
getnetbyaddr_r
2001-04-03 06:52:23 +00:00
Mark Andrews
8ab9428e6b
checkpoint
2001-04-03 06:42:33 +00:00
Mark Andrews
2dafe8a9f3
missig semi-colon
2001-04-03 06:01:36 +00:00
Mark Andrews
b0d36cc22b
checkpoint
2001-04-03 05:53:02 +00:00
Mark Andrews
bd326fdc6e
checkpoint
2001-04-03 02:53:40 +00:00
Mark Andrews
4d8800e571
checkpoint
2001-04-03 02:30:58 +00:00
Mark Andrews
27998b5bbd
initial
2001-04-03 02:17:12 +00:00
Brian Wellington
cc0c9a92d6
remove unused base64 <--> binary conversion functions
2001-04-03 00:48:09 +00:00
Brian Wellington
9a28507cde
regenerate
2001-04-03 00:29:18 +00:00
Brian Wellington
9bd186cd9a
Remove dnssafe, cylink, and the broken dst random generator.
2001-04-03 00:28:16 +00:00
Brian Wellington
7b1ab9e210
don't do 0.0.0.0 -> 127.0.0.1 conversion for netmasks.
2001-04-02 23:05:14 +00:00
Brian Wellington
765eb27068
call inet_aton, not inet_pton when parsing resolv.conf
2001-04-02 22:33:31 +00:00
Mark Andrews
9de63e99af
char array index
2001-04-02 09:42:20 +00:00
Mark Andrews
94803c4a46
MIN and MAX
2001-04-02 08:06:18 +00:00
Mark Andrews
d091280d77
MAXHOSTNAMELEN
2001-04-02 07:56:05 +00:00
Mark Andrews
12a7ea1c51
make structures private
2001-04-02 07:53:19 +00:00
Mark Andrews
68a1ce3cee
private structures
2001-04-02 07:52:33 +00:00
Mark Andrews
5d989a8b8b
checkpoint
2001-04-02 07:23:56 +00:00
Mark Andrews
87c7112365
sync
2001-04-02 07:05:00 +00:00
Mark Andrews
ba980b2c1e
checkpoint
2001-04-02 07:03:56 +00:00
Mark Andrews
25ddc215c4
new
2001-04-02 06:42:17 +00:00
Mark Andrews
8122657ebf
sync
2001-04-02 06:39:06 +00:00
Mark Andrews
28454712ae
checkpoint
2001-04-02 06:38:19 +00:00
Mark Andrews
10e9ae3676
checkpoint
2001-04-02 06:29:21 +00:00
Mark Andrews
8e59dace1f
sync
2001-04-02 05:57:53 +00:00
Mark Andrews
8d7927f73a
checkpoint
2001-04-02 05:57:11 +00:00
Mark Andrews
2eb2d69130
sync checkpoint
2001-04-02 01:25:32 +00:00
Mark Andrews
ca05034308
checkpoint
2001-04-02 01:24:32 +00:00
Andreas Gustafsson
dcd3db4310
install man page aliases by linking
2001-03-31 00:34:16 +00:00
Andreas Gustafsson
ddccd5811f
man page docbook conversion
2001-03-31 00:08:23 +00:00
Bob Halley
907620b5e0
The ADB didn't find AAAA glue in a zone unless A6 glue was also present.
2001-03-30 17:27:29 +00:00
Brian Wellington
414d289686
oops, cut-and-paste-o
2001-03-30 00:34:52 +00:00
Brian Wellington
e0bab4386b
Treat a zone as secure only if it has a zone key and a signed NXT at the apex.
2001-03-30 00:33:39 +00:00
Brian Wellington
5684e37a3a
#ifdef HAVE_SA_LEN
2001-03-29 23:19:51 +00:00
Mark Andrews
6475a59ca4
make/* need to be created _before_ the Makefiles are created.
2001-03-29 07:01:32 +00:00
Mark Andrews
d380990548
Initial pull over from BIND 8
2001-03-29 06:31:59 +00:00
Andreas Gustafsson
4b01d45a49
first cut at mandoc -> docbook conversion
2001-03-29 02:43:28 +00:00
Brian Wellington
672056d560
797. [func] Issue a warning if the 'directory' option contains
...
a relative path. [RT #269 ]
2001-03-29 02:33:48 +00:00
Andreas Gustafsson
9ffbbce6a6
first cut at mandoc -> docbook conversion
2001-03-29 02:23:11 +00:00
Brian Wellington
ec56b96c79
log sending of notifies at info level, and include the serial number. Also
...
clean up some weird code. [RT #1088 ]
2001-03-28 23:36:53 +00:00
Brian Wellington
c996e500f1
remove the errno handling code, which was only used by readsymtab/writesymtab
2001-03-28 23:11:41 +00:00
Brian Wellington
0368474a75
remove isccc_cc_readsymtab/isccc_cc_writesymtab
2001-03-28 23:10:39 +00:00
David Lawrence
2a86ee1f54
simplify the test about whether to roll; one expression was redundant
2001-03-28 05:48:16 +00:00
David Lawrence
9027e1bcf1
796. [func] When a size limit is associated with a log file,
...
only roll it when the size is reached, not every
time the log file is opened. [RT #1096 ]
2001-03-28 04:16:32 +00:00
Brian Wellington
caa55a6557
When printing KEY records with COMMENT and MULTILINE, the line would often
...
be too long.
2001-03-28 02:57:26 +00:00
Brian Wellington
668f8d91db
795. [func] Add the +multiline option to dig.
...
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Andreas Gustafsson
bed7a35293
dns_master_questiontotext() needs a style argument after all
2001-03-28 00:58:15 +00:00
Andreas Gustafsson
bfe313722d
dns_masterfile_style_debug -> dns_master_style_debug
2001-03-28 00:54:40 +00:00
Andreas Gustafsson
531eafa302
use dns_master_rdatasettotext() &co; removed unused flag
...
DNS_MESSAGETEXTFLAG_OMITDOT
2001-03-28 00:50:05 +00:00
Andreas Gustafsson
421551db8a
new functions dns_master_rdatasettotext() and dns_master_questiontotext(),
...
replacing dns_rdataset_totext()
2001-03-28 00:22:16 +00:00
Brian Wellington
d7ba3622ff
794. [func] Implement the "port" and "default-port" statements
...
in rndc.conf.
2001-03-28 00:16:09 +00:00
Brian Wellington
45e22378fc
dns_name_tofilenametext() now downcases the name, which means the callers
...
don't need to.
2001-03-27 23:43:15 +00:00
Brian Wellington
7d7215baf8
Add dns_name_tofilenametext(), and use it in the dnssec tools.
2001-03-27 22:57:48 +00:00
Brian Wellington
cb3e854e18
oops, use the nominum copyright for lib/isccc. Also fix the update_copyrights
...
script to do @YEARS@ expansion on 2 lines.
2001-03-27 20:08:15 +00:00
Andreas Gustafsson
9d2d409333
removed unused function isccc_ccmsg_keepbuffer();
...
fixed incorrect header multi-inclusion protection macros;
changed comment referring to 'DNS message' to say 'command channel message'
2001-03-27 18:34:56 +00:00
Brian Wellington
2999a3a988
remove erroneously added copyright
2001-03-27 02:25:34 +00:00
Brian Wellington
022d19c138
copyright updates
2001-03-27 02:06:13 +00:00
Brian Wellington
badf66abe0
Remove OMAPI.
2001-03-27 00:53:58 +00:00
Brian Wellington
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +00:00
Andreas Gustafsson
b52a5b0630
790. [bug] Wildcards created using dynamic update or IXFR
...
could fail to match. [RT #1111 ]
2001-03-27 00:06:34 +00:00
Brian Wellington
6eccf5bd07
788. [feature] Add the "match-mapped-addresses" options, which
...
causes IPv6 v4mapped addresses to be treated as
IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Brian Wellington
0a10d7722e
remove comment referring to dead code.
2001-03-26 21:11:33 +00:00
Andreas Gustafsson
9efa0d2ae3
do not capitalize error message strings
2001-03-24 02:18:42 +00:00
Brian Wellington
b8a85202af
786. [bug] When signing/verifying data, names were not properly
...
downcased.
2001-03-23 03:51:04 +00:00
Andreas Gustafsson
c52683ae45
'serial-query-rate 1;' caused an assertion failure
2001-03-23 00:33:28 +00:00
Brian Wellington
734ae1f7c6
isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx.
2001-03-22 00:07:07 +00:00
Brian Wellington
27422dd5db
typo [RT #1094 ]
2001-03-21 20:45:55 +00:00
Andreas Gustafsson
1824b43f62
parse_mapbody() could return ISC_R_SUCCESS when it failed, triggering
...
an assertion
2001-03-21 19:01:36 +00:00
Andreas Gustafsson
b879ed05f4
785. [bug] A race condition in the resolver could cause
...
an assertion failure. [RT #673 , #872 , #1048 ]
2001-03-20 22:13:00 +00:00
Brian Wellington
48565891e8
784. [bug] nsupdate and other programs would not quit properly
...
if some signals were blocked by the caller. [RT #1081 ]
2001-03-20 21:45:20 +00:00
Brian Wellington
dde4382b7f
fix comment
2001-03-19 22:44:52 +00:00
Brian Wellington
54d64c7994
782. [feature] Implement the serial-query-rate option.
2001-03-19 22:34:14 +00:00
Brian Wellington
c302b021cc
the sdb returned the wrong answer when querying for dnames below other dnames
...
and ANY queries at delegation points.
2001-03-17 02:52:29 +00:00
Brian Wellington
ae114ded82
Fix a bunch of unused variable warnings that only occurred with assertions
...
turned off.
2001-03-16 22:53:20 +00:00
Brian Wellington
0d19c777ae
Use a counter instead of a flag to indicate if the resolver is in the
...
process of connecting. There's a possibility that a connect might not
have sent a completion event when another one starts, and this could cause
bad things to happen since the query would only know about one connect.
2001-03-16 21:50:59 +00:00
Brian Wellington
fc0d37fa3a
init the name in dns_message_gettempname(). This means it'll be done twice
...
in many cases, but it means dns_message_puttempname() can safely be called
on the name in all cases.
2001-03-15 03:00:50 +00:00
Brian Wellington
2048bb8c0c
dns_message_parse() cannot return DNS_R_MOREDATA.
2001-03-15 02:00:15 +00:00
Bob Halley
d911284333
add support for minimal-responses
2001-03-14 21:53:29 +00:00
Bob Halley
9ac88d91b4
Simplify some code in protocol_setvalue(), eliminating the "sigsize"
...
variable which was causing a compiler warning.
2001-03-14 17:59:25 +00:00
Brian Wellington
2f02f32f04
exit(1), not exit(-1)
2001-03-14 06:31:17 +00:00
Andreas Gustafsson
52c17deb58
some variables which should have been static weren't
2001-03-14 00:30:06 +00:00
Mark Andrews
b01cd0d5c7
Use dns_dispatch_getlocaladdress() to retrieve the local address to bind too.
2001-03-13 05:49:58 +00:00
Mark Andrews
a674e7ecec
add dns_dispatch_getlocaladdress().
2001-03-13 05:48:41 +00:00
Andreas Gustafsson
b31c8af1d9
name libisccfg logging functions consistently with
...
other libisccfg functions [RT #1020 ]
2001-03-13 03:04:09 +00:00
Brian Wellington
d03fd76636
add a cast [RT #1013 ]
2001-03-12 22:39:36 +00:00
Brian Wellington
461260ac15
add casts [RT #1017 ]
2001-03-12 22:27:15 +00:00
Mark Andrews
a65826596f
Add const to declaration of start_directory();
2001-03-12 01:05:52 +00:00
Andreas Gustafsson
dd57718608
#include <isc/print.h>
2001-03-09 23:38:00 +00:00
Brian Wellington
e608c9829f
- Detect selective forwarding errors in the configuration checker.
...
- Clean up selective forwarding configuration.
- Fixed a few minor unrelated bugs in the configuration checker.
2001-03-09 19:07:30 +00:00
Bob Halley
c6237585d8
Fix some typos in the non-threaded version of isc_rwlock_trylock() that
...
were preventing compilation.
2001-03-08 19:52:13 +00:00
David Lawrence
f3432e1b48
moved INADDR_LOOPBACK definition to lwres/net.h, because it was causing
...
redefinition warnings on multiple platforms
2001-03-08 16:09:41 +00:00
David Lawrence
2283923028
a last minute edit added one too many conditions for putting a node on the
...
deletions list
2001-03-08 03:31:29 +00:00
David Lawrence
85e80b5b69
Remove name/node from the rbtdb in no_references().
...
Iterator uses 'cleaning' flag to expire nodes.
2001-03-08 01:35:27 +00:00
David Lawrence
03609d0b8f
Use a cleaning iterator (dns_dbiterator_setcleanmode()).
...
Reworked some overmem thread handling.
2001-03-08 01:22:48 +00:00
David Lawrence
31d3e8d2fe
new function, dns_dbiterator_setcleanmode(), which enables cleaning
...
in the rbtdb
2001-03-08 01:16:06 +00:00
David Lawrence
a09c545af1
join_nodes is removed; node joining is no longer done at any time, because
...
it corrupts active chains and can change the data at a node which
someone might be using. (In the latter case, though the full name from
the root was still intact, and the ->data member was not altered, other
values like the partial name ndata and offsets could change.)
New functions dns_rbt_fullnamefromnode() and dns_rbt_formatnodename(),
for getting a dns_name_t and filling a char buffer, respectively, with
the complete name of a node from the root.
rbtnode.is_root was being treated as isc_boolean_t even though it was bitfield
of width 1. This worked fine, but wasn't consistent with ISC style, and
would have puked if someone decided to change isc_true from 1 (unlikely
as that is). Yeah, anal, I know.
2001-03-08 01:08:39 +00:00
Brian Wellington
8b9b498009
Check for duplicate zone and key statements. Note that duplicate server
...
and view statements are not detected, because they're harder.
2001-03-08 00:55:50 +00:00
David Lawrence
a82fd2c01b
added non-blocking locking, isc_rwlock_trylock()
2001-03-08 00:55:15 +00:00
Andreas Gustafsson
d55642259e
use a simpler, faster hash function
2001-03-07 23:52:16 +00:00
Brian Wellington
0783aab720
allow-update-forwarding is not allowed in stub zones.
2001-03-07 23:36:26 +00:00
Andreas Gustafsson
123a3dddc9
772. [bug] Owner names could be incorrectly omitted from cache
...
dumps in the presence of negative caching entries.
[RT #991 ]
2001-03-07 22:30:21 +00:00
Brian Wellington
5ea0d11ca4
771. [cleanup] TSIG errors related to unsynchronized clocks
...
are logged better.
2001-03-07 20:53:32 +00:00
Andreas Gustafsson
fc04bb9d98
lame server on ... -> lame server resolving ... [RT #641 ]
2001-03-07 18:03:07 +00:00
Brian Wellington
d25dd5b056
770. [func] Add the "edns yes_or_no" statement to the server
...
clause. [RT #524 ]
2001-03-06 23:54:37 +00:00
Brian Wellington
3fccea030d
#include <lwres/net.h>
2001-03-06 23:12:15 +00:00
Brian Wellington
ac3f9fa1ec
remove unnecessary #includes
2001-03-06 23:02:04 +00:00
Mark Andrews
9ac7076eba
769. [func] Improved error reporting when parsing rdata. [RT #740 ]
...
Two new error codes. Also push back the last token, if it makes
sense to do so, so that it gets printed in the error message using
RETTOK macro, rather than straight return or RETERR.
2001-03-06 22:11:18 +00:00
Brian Wellington
93e66a44a0
remove #ifdef REENTRANT
2001-03-06 21:46:03 +00:00
Andreas Gustafsson
2c476880d6
parse_sockaddrsub() assumed current token was string
...
token withouth checking that it actually was; reformatted for
80 columns
2001-03-06 19:13:01 +00:00
Brian Wellington
72b7d215f7
The directory option didn't have the CFG_CLAUSEFLAG_CALLBACK bit set, so the
...
callback wasn't executed. [RT #978 ]
2001-03-06 18:17:52 +00:00
Mark Andrews
5aa9a23af5
MANYERRORS would cause the next line to be skipped if dns_rdata_fromtext failed.
2001-03-06 13:32:42 +00:00
Brian Wellington
2eb3dafdcf
Add the socket flag ISC_R_NORETRY, which makes the socket code treat
...
a soft error as a hard error on send (that is, not retry it). It also
modifies the code calling sendmsg() to retry on EINTR.
2001-03-06 01:23:03 +00:00
Brian Wellington
56ea2e19a2
add a cast [RT #974 ]
2001-03-05 23:14:03 +00:00
Brian Wellington
438b80a31b
Remove the old configuration parser
2001-03-05 22:49:33 +00:00
Brian Wellington
5e2f472561
add casts [RT #974 ]
2001-03-05 22:39:57 +00:00
Brian Wellington
e43b9a2005
move compression context create/delete into the caller of the message
...
rendering functions. This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Brian Wellington
be066f0629
Put 4 offsets in a msgblock, not 8. offsets are big enough that this helps.
...
Also remove an unused variable.
2001-03-05 20:12:49 +00:00
Brian Wellington
5f8b996a81
Reduce the number of objects preallocated in the message, which reduces
...
the per-recursive-client memory.
2001-03-05 20:06:10 +00:00
Danny Mayer
943322a123
Remove LIBISC_EXTERNAL_DATA usage
2001-03-05 18:47:00 +00:00
Danny Mayer
8096fe1df5
put function declaration on new line
2001-03-05 18:20:24 +00:00
David Lawrence
c56c28c3f2
grammatical typo in comment
2001-03-05 12:34:02 +00:00
Brian Wellington
6893a1ee93
fix more bugs
2001-03-04 21:18:30 +00:00
Brian Wellington
b3eac7c50c
#include <config.h>
2001-03-04 18:38:13 +00:00
Brian Wellington
e1fc1c580b
consolidate duplicated code
2001-03-03 23:09:23 +00:00
Brian Wellington
dd741aefc3
check that 'max-cache-size' is not 'default'
2001-03-03 23:05:23 +00:00
Andreas Gustafsson
3ee9853eb4
return sizes as 64-bit integers, not strings
2001-03-03 02:18:13 +00:00
Andreas Gustafsson
0d453b0ef2
'versions' and 'size' are not log channel clauses
2001-03-03 01:08:02 +00:00
Andreas Gustafsson
d39e9cdfd0
logging statement file clause syntax was still wrong
2001-03-03 00:52:39 +00:00
Andreas Gustafsson
fac0a17b66
fix syntax of the logging statement file clause
2001-03-02 20:00:17 +00:00
Brian Wellington
303243b9d4
Add isc/unix/syslog.c with a function to convert strings to syslog facilities.
2001-03-02 19:25:19 +00:00
Brian Wellington
bdc79a7164
The constants CFG_CLAUSEFLAG_NEWDEFAULT and CFG_CLAUSEFLAG_NYI should have
...
different values.
2001-03-02 07:03:55 +00:00
Brian Wellington
0ca1225ee6
more bugs
2001-03-02 03:09:27 +00:00
Brian Wellington
18b492aed1
bugs
2001-03-02 01:30:32 +00:00
Andreas Gustafsson
58fd5050ce
check enumerated values
2001-03-02 01:10:51 +00:00
Brian Wellington
94030c4654
remove 'static'
2001-03-02 00:49:31 +00:00
Brian Wellington
12f4f02695
Add code to syntactically check a named.conf file.
2001-03-01 23:46:49 +00:00
Brian Wellington
3e72dc6534
DNS_CFG_H -> ISCCFG_CFG_H
2001-03-01 23:03:43 +00:00
Brian Wellington
a8dd4ccadb
missing space
2001-03-01 22:40:09 +00:00
Brian Wellington
ae00b82d93
spelling
2001-03-01 17:46:59 +00:00
Andreas Gustafsson
37928634f4
don't print extra spaces at omitted optional fields
2001-03-01 03:22:12 +00:00
Andreas Gustafsson
36b810d77a
the 'keys' clause of the 'controls' statement is optional
2001-03-01 03:10:08 +00:00
Brian Wellington
15c5b240a6
dns_peer_setkeybycharp didn't initialize a fixedname.
2001-03-01 02:28:34 +00:00
Andreas Gustafsson
478f0ca6b3
revert previous change - it breaks default resolution
2001-03-01 00:08:58 +00:00
Andreas Gustafsson
38c6d5d57b
check for attempts to retrieve nonexistent map clauses
2001-03-01 00:01:23 +00:00
Brian Wellington
999c7e9e33
There can be multiple "lwres" statements.
2001-02-28 23:56:08 +00:00
Brian Wellington
a0b4d6cf8a
comment style
2001-02-28 21:19:53 +00:00
Brian Wellington
0dea013c25
add an ISC_FORMAT_PRINTF qualifier to cfg_obj_log().
2001-02-28 20:54:03 +00:00
Andreas Gustafsson
d1cc210d20
RT #927 fix from Bob:
...
759. [bug] The resolver didn't turn off "avoid fetches" mode
when restarting, possibly causing resolution
to fail when it should not. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
758. [bug] The "avoid fetches" code did not treat negative
cache entries correctly, causing fetches that would
be useful to be avoided. This bug only affected
platforms which support both IPv4 and IPv6. [RT #927 ]
2001-02-28 20:51:22 +00:00
Andreas Gustafsson
088a25086a
warn about attempts to configure control channels of the
...
unimplemented 'unix' type
2001-02-28 20:40:48 +00:00
Brian Wellington
d752e5c19e
removed pointless code (an if statement checking something that had been
...
INSISTed on the previous line).
2001-02-28 20:20:18 +00:00
Andreas Gustafsson
f565623991
parsing the 'controls' statement is now table driven; each
...
'controls' statement is a map with the clauses 'inet' and 'unix'
2001-02-28 19:54:10 +00:00
Brian Wellington
113dee27af
dns_zt_load() was not checking the validity of the zonetable.
2001-02-27 02:54:11 +00:00
Andreas Gustafsson
28a3d52904
define ISC_PLATFORM_QUADFORMAT in platform.h so that it can more easily
...
be overridden on Win32. This means ISC_PLATFORM_LONGLONGEQUALLONG is no longer
needed. [RT #896 ]
2001-02-27 02:22:17 +00:00
Brian Wellington
948113671b
cfg_list_first() now returns NULL if the list is NULL.
2001-02-27 01:49:46 +00:00
Andreas Gustafsson
d011c10d8a
the name of a 'server' map is now a network address, not a string;
...
avoid infinite loop when parsing a bad ACL element
2001-02-27 01:31:56 +00:00
Brian Wellington
590f840d34
implement the prototyped but nonexistant function dns_peer_setkeybycharp().
2001-02-27 01:13:18 +00:00
Andreas Gustafsson
0b6849487f
cfg_type_keyref needs to be public
2001-02-26 22:55:55 +00:00
Andreas Gustafsson
9fa6e90569
new function cfg_obj_istype(); the sole tuple field of negated acls is now
...
called 'value', not 'acl'; rationalized representation of key references and
debug levels
2001-02-26 22:37:34 +00:00
Andreas Gustafsson
0136b4ef55
new functions cfg_obj_isnetprefix(), cfg_obj_asnetprefix()
2001-02-26 19:15:12 +00:00
Andreas Gustafsson
681780f044
represent negated acls as one-element tuples rather than a special
...
primitive type
2001-02-26 18:58:36 +00:00
Brian Wellington
f5ccecd9c3
#include <config.h>
2001-02-26 02:49:19 +00:00
Mark Andrews
a93cf7e83b
756. [bug] dns_zone_load() could "return" success when no master
...
file was configured.
755. [bug] Fix format bugs in zone.c (non-exploitable).
2001-02-26 01:45:57 +00:00
Andreas Gustafsson
c05eeed3c9
754. [bug] Certain failure returns from sendto() could
...
cause the server to retry the transmission
indefinitely. [RT #902 ]
2001-02-24 23:51:09 +00:00
Mark Andrews
70ec7dd741
fix tv_usec in isc_time_nowplusinterval() also.
2001-02-24 10:22:20 +00:00
Mark Andrews
0fd53e151b
unse not sec
2001-02-24 02:53:38 +00:00
Brian Wellington
6fd0827482
Remove notify forwarding.
2001-02-24 00:59:00 +00:00
Mark Andrews
df0f58959e
752. [func] Correct bad tv_usec elements returned by gettimeofday().
2001-02-23 23:12:28 +00:00
Mark Andrews
903e9d41ef
751. [func] Log successful zone loads / transfers.
2001-02-23 22:32:07 +00:00
Bob Halley
c274e542ad
The fixes to return the SIG of a DNAME RR missed one place where
...
search.zonecut was set, and consequently we were accessing
search.zonecut_sigrdataset without initializing it.
2001-02-23 05:33:36 +00:00
David Lawrence
f6d45c9539
missing va_start() in cfg_obj_log()
2001-02-23 04:52:29 +00:00
Bob Halley
f4b5a0f434
When a query matched a DNAME in a secure zone, the server did not return the
...
signature of the DNAME. [RT #915 ]
A query should not match a DNAME whose trust level is pending. [RT #916 ]
2001-02-23 02:14:14 +00:00
Brian Wellington
542a74fcc4
comment update
2001-02-23 01:52:18 +00:00
Brian Wellington
c5c779df9a
add a comment
2001-02-23 01:45:29 +00:00
Brian Wellington
5ca7310c8a
msg->tsigkey was not checked for NULL before deferencing [RT #913 ]
2001-02-23 01:38:07 +00:00
Andreas Gustafsson
106ff3bc09
more typos
2001-02-23 01:00:58 +00:00
Brian Wellington
d5573eb8a9
typos
2001-02-23 00:24:34 +00:00
Andreas Gustafsson
4428702688
the values of the notify and dialup options may now be of either boolean or
...
string types; added cfg_obj_is*() functions for determining the type of a configuration object;
reordered some functions in parser.c
2001-02-23 00:15:55 +00:00
Brian Wellington
fba7c63ea4
add cfg_obj_assockaddr
2001-02-22 23:59:28 +00:00
Andreas Gustafsson
a9be709e8e
cfg_obj_log now takes a log context instead of a parser
2001-02-22 20:41:43 +00:00
Andreas Gustafsson
042285a6a6
localization-wise, an assertion error message saying
...
(literally) "INSIST(isc_msgcat_get(isc_msgcat, ISC_MSGSET_PRINT, ISC_MSG_USELD,
"use %ld instead of %D") == NULL) failed" is not really any more user-friendly
than one saying just "INSIST("use %ld instead of %D" == NULL) failed
2001-02-22 19:12:57 +00:00
Andreas Gustafsson
9165c95fc2
use isc_int64_t, not long long
2001-02-22 18:03:11 +00:00
Andreas Gustafsson
4115f9d34b
revert 'protect long long with ISC_PLATFORM_HAVELONGLONG' change
2001-02-22 18:01:48 +00:00
Andreas Gustafsson
25c3ab1a5f
cache-file option name was misspelled
2001-02-22 17:30:09 +00:00
Brian Wellington
325b200123
support the cache-file option
2001-02-22 05:45:28 +00:00
Andreas Gustafsson
5c7f675804
new function cfg_tuple_get()
2001-02-22 04:17:37 +00:00
Andreas Gustafsson
80a1cac849
give names to tuple fields
2001-02-22 03:13:08 +00:00
Brian Wellington
b5e6ee7f74
typo
2001-02-22 02:44:08 +00:00
Andreas Gustafsson
e24349aa27
added isccfg log modules and categories
2001-02-22 02:39:24 +00:00
Brian Wellington
f0751a815e
add cfg_obj_asboolean()
2001-02-22 01:40:53 +00:00
Andreas Gustafsson
c396dc6551
added cfg_obj_log()
2001-02-22 00:36:26 +00:00
Andreas Gustafsson
1b0fca7957
added cfg_parser_setcallback(); minor cleanup
2001-02-22 00:23:31 +00:00
Brian Wellington
9a41936e3d
current_root was uninitialized at the start of dns_rbt_findnode(). This
...
has no real effect, but it's still good to fix it.
2001-02-21 23:21:28 +00:00
Brian Wellington
26e5029fd5
Added a cast. [RT #899 ]
2001-02-21 19:57:38 +00:00
Brian Wellington
6be1dc9d2a
Document the 'covers' parameter to dns_message_findname and
...
dns_message_findtype.
2001-02-21 18:32:27 +00:00
Mark Andrews
0490a61acd
protect long long with ISC_PLATFORM_HAVELONGLONG
2001-02-21 06:13:33 +00:00
Mark Andrews
754cca729d
add long long test
2001-02-21 06:09:56 +00:00
Brian Wellington
36608f2052
When returning from validation, make sure to handle chaiing correctly.
2001-02-21 05:16:44 +00:00
Mark Andrews
fbafe841ef
fixed pushing and poping of included files. [RT#904]
2001-02-21 03:53:11 +00:00
Brian Wellington
c5945fe694
Fix a potential bitstring bug.
2001-02-21 02:27:56 +00:00
Brian Wellington
4e8eba14a0
reinstate an INSIST() referenced in [RT #421 ]
2001-02-21 02:01:15 +00:00
Brian Wellington
a012d6dbfb
746. [bug] The sdb didn't clone rdatasets properly, causing
...
a crash when the server followed delegations. [RT #905 ]
2001-02-20 23:20:44 +00:00
Andreas Gustafsson
b7d448de55
no need to specifically ask people to mail bind9-bugs about mempool leaks
2001-02-20 22:03:36 +00:00
Brian Wellington
f70336b8c9
Cleanups to TSIG/SIG(0) parsing. This should have no noticable effect except
...
rejecting a few more malformed packets (those with the TSIG/SIG(0) not the
last record) and making best-effort parsing handle multiple TSIG/SIG(0)/OPT in
a message.
2001-02-19 20:14:23 +00:00
Mark Andrews
43de493006
745. [func] Report the owner name on when adding a rdataset
...
to the internal database fails while loading.
2001-02-19 13:24:04 +00:00
Bob Halley
1e50dad10d
When returning DNS_R_CNAME or DNS_R_DNAME as the result of an ANY or SIG
...
query, the resolver failed to setup the return event's rdatasets, causing an
assertion failure in the query code. [RT #881 ]
The fix includes the addition of the DNS_NAMEATTR_CHAINING attribute,
and the removal of the DNS_NAMEATTR_CNAME and DNS_NAMEATTR_DNAME attributes,
because they were not used anywhere in the current source.
2001-02-19 08:54:54 +00:00
Brian Wellington
3bd43bb300
ENSURE that a message's memory pools don't have any allocated data at the
...
end of msgreset(). This should trigger the mpctx->allocated != 0 assertion
when the leak occurs, not at server shutdown.
2001-02-18 23:46:26 +00:00
Brian Wellington
3f07549972
comment fix
2001-02-18 21:19:43 +00:00
Brian Wellington
62adc5ed76
Call free_namelist() rather than freeing the list manually.
2001-02-17 02:22:43 +00:00
Andreas Gustafsson
19eee89387
if dns_message_gettempname() failed, we would try to call
...
dns_message_putemprdataset() on an uninitialized pointer
2001-02-17 02:16:14 +00:00
Andreas Gustafsson
52719005ab
removed empty line
2001-02-17 01:23:43 +00:00
Brian Wellington
9154e66053
remove compiler warning
2001-02-17 00:53:59 +00:00
Andreas Gustafsson
dec0721d45
eliminate compiler warning; need <isc/print.h>
2001-02-17 00:46:58 +00:00
Andreas Gustafsson
4e72c83c94
removed unused variable
2001-02-17 00:23:49 +00:00
Andreas Gustafsson
4a4c888759
eliminate compiler warnings (hopefully)
2001-02-17 00:22:40 +00:00
Andreas Gustafsson
b8d0eef0fc
new function cfg_parse_buffer()
2001-02-17 00:15:22 +00:00
Brian Wellington
683301a954
fix a potential (but highly unlikely) memory leak.
2001-02-16 21:29:45 +00:00
David Lawrence
d5e7142f9d
#include <stddef.h> to ensure definition of NULL
2001-02-16 04:14:16 +00:00
Andreas Gustafsson
be7c0682f7
rrset-order wants braces around its list
2001-02-16 02:57:40 +00:00
Andreas Gustafsson
d0749d582e
fix query source parsing
2001-02-16 02:43:30 +00:00
Brian Wellington
9697d96db3
max-names no longer exists
2001-02-16 02:34:33 +00:00
Brian Wellington
c7c9f4a989
Use ISC_R_NOTIMPLEMENTED to indicate an unsupported algorithm, not
...
DST_R_UNSUPPORTEDALG.
2001-02-16 00:54:28 +00:00
Brian Wellington
c47ca47629
Remove the old rndc config parser.
2001-02-16 00:47:45 +00:00
Brian Wellington
cdee5991b8
Don't include <dst/result.h>
2001-02-16 00:21:09 +00:00
Brian Wellington
06b678ec4a
Add const in a few places.
2001-02-15 23:22:27 +00:00
Brian Wellington
94178e98f8
isc_base64_decodestring should take a const char *, not a char *
2001-02-15 23:21:47 +00:00
Brian Wellington
7bd7a2a798
cleaned up some code that Andreas thought was ugly.
2001-02-15 20:10:04 +00:00
Brian Wellington
bb136669b6
Use the isc hmac-md5 routines instead of dst.
2001-02-15 19:44:46 +00:00
Brian Wellington
d60c005a70
<dns/acl.h> is not needed, but <dns/name.h> is.
2001-02-15 19:13:48 +00:00
Andreas Gustafsson
5e1c2afd10
incorrect indentation
2001-02-15 19:09:55 +00:00
Andreas Gustafsson
bd4b8fe050
provide functions to access map names and lists
2001-02-15 18:53:03 +00:00
Brian Wellington
2d67fbd786
80 character lines
2001-02-15 07:58:48 +00:00
Andreas Gustafsson
4e7a39d617
added syntax tables for the rndc.conf file format
2001-02-15 05:14:16 +00:00
Andreas Gustafsson
2b23de3783
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:21:17 +00:00
Andreas Gustafsson
be7f273043
merge in new yacc-free configuration parser from the newconfig branch
2001-02-15 04:14:15 +00:00
Brian Wellington
507102c95a
In dns_compress_invalidate(), cctx->table cannot be NULL, since it's part of
...
the cctx structure.
2001-02-15 01:14:16 +00:00
Andreas Gustafsson
449f4411c9
NO NEED TO SHOUT
2001-02-14 23:05:14 +00:00
Brian Wellington
2cb74c5bc5
741. [port] Support openssl-engine. [RT #709 ]
2001-02-14 20:57:15 +00:00
Brian Wellington
3d60fe9baf
740. [port] Handle openssl library mismatches slightly better.
2001-02-14 20:26:48 +00:00
Mark Andrews
0c6971b8ea
Split the load context in two, one part that is visible across all files
...
the other part that is include file specific.
2001-02-14 13:14:50 +00:00
Andreas Gustafsson
65a66336a6
redid configuration locking using isc_task_beginexclusive()
...
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Andreas Gustafsson
1dd8ee4fd5
fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
...
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington
8766351a67
general cleanup
2001-02-14 00:43:10 +00:00
Andreas Gustafsson
d156c10aee
removed extra empty line
2001-02-14 00:29:16 +00:00
Andreas Gustafsson
8f17525ebc
in some situations, a request could be cancelled twice
2001-02-13 21:06:25 +00:00
Brian Wellington
47d78f67cb
Give more information when isc_mempool_destroy() dies with an assertion
...
failure, in the hope that we'll be able to fix the bug one day.
2001-02-13 20:29:27 +00:00
Brian Wellington
b2c46df291
A receive could be erroneously cancelled because of missing braces around a
...
block.
2001-02-13 20:21:52 +00:00
Brian Wellington
f24c135e09
738. [bug] If a non-threadsafe sdb driver supported AXFR and
...
received an AXFR request, it would deadlock or die
with an assertion failure.
(also some other cleanups)
2001-02-13 20:11:15 +00:00
Mark Andrews
382c4ce5a3
737. [port] stdtime failed to compile on certain platforms.
2001-02-13 13:24:09 +00:00
Mark Andrews
ba6e506ed2
#if not #ifdef ISC_MEM_TRACKLINES
2001-02-13 13:20:37 +00:00
Mark Andrews
b499a7c511
Print out the active memory prior to INSIST/REQUIRE failures.
2001-02-13 06:21:32 +00:00
Andreas Gustafsson
02940eaf0f
736. [func] New functions isc_task_{begin,end}exclusive().
2001-02-13 04:11:44 +00:00
Brian Wellington
100d0d2ec6
Use a refcount instead of an explicit mutex and integer.
2001-02-13 03:57:06 +00:00
Andreas Gustafsson
8126e45e8c
do dns_request_t cancel processing through a control event to
...
ensure that dns_dispatch_removeresponse() is called from the correct task
[RT #844 ]
2001-02-13 02:49:07 +00:00
Brian Wellington
4ce1248f09
fixed uninitialized variable
2001-02-13 01:29:33 +00:00
Brian Wellington
9f708f9014
isc_mem_stats() should print memory statistics even when there are no
...
allocated blocks at the time it's called.
2001-02-13 01:07:54 +00:00
Brian Wellington
55f3daa4ea
When parsing a message, add an offsets table to each name. Also allow callers
...
rendering a message to get temporary offsets tables to attach to names added
to the message.
2001-02-13 01:02:59 +00:00
Brian Wellington
31efcf6478
Build the offsets table in dns_name_fromwire() while parsing the name, not
...
by calling set_offsets.
2001-02-13 00:07:25 +00:00
Andreas Gustafsson
ea16b37d71
install refcount.h
2001-02-12 23:11:05 +00:00
Brian Wellington
1f7f8d5c07
Add isc_socket_sendto2() and isc_socket_recv2(). These versions take
...
a partially constructed event and flags. The flags can include
ISC_SOCKFLAG_IMMEDIATE, which means that if the operation completes, the
event is filled in and not sent.
2001-02-12 21:43:17 +00:00
Brian Wellington
a13ca8a125
Add ISC_R_INPROGRESS (operation in progress)
2001-02-12 20:03:16 +00:00
Brian Wellington
29daf5bc77
The suffix returned by dns_compress_findglobal() is never used, so remove it.
2001-02-12 18:07:52 +00:00
Brian Wellington
0c264c9094
The prefix and suffix names used in name compression don't need offset tables,
...
since they're never used. Not having offset tables makes filling in their
contents more efficient.
2001-02-12 05:22:34 +00:00
Brian Wellington
cdc50af0bf
In the towire_* and additionaldata_* routines, add an offsets table to names
...
passed into dns_name_toregion(). This is effectively free, and reduces the
number of calls to set_offsets() and dns_name_clone() in name compression.
2001-02-12 03:05:05 +00:00
Mark Andrews
9b6398efdf
re-do #734
2001-02-12 03:03:40 +00:00
Andreas Gustafsson
6cefb74b2b
dns_dispatch_removeresponse() failed to document the
...
requirement that it is only called from the task where the
response entry being removed delivers its events (Michael
agrees that this is indeed a requirement)
2001-02-11 19:11:52 +00:00
Mark Andrews
4dc2987f47
used the wrong xfr in #734
2001-02-11 02:23:12 +00:00
Brian Wellington
7c3996209b
fix a "statement is unreachable" warning
2001-02-11 00:52:31 +00:00
Brian Wellington
7222f9f321
The optimization to avoid compares after hashtable matches didn't work when
...
the matched node contained multiple labels.
2001-02-10 22:46:24 +00:00
Brian Wellington
82ecc44b96
another micro-optimization.
2001-02-10 02:55:05 +00:00
Brian Wellington
319d2971f1
When the client informs the dispatcher of a received response, have the
...
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Brian Wellington
64e7f8541d
optimization - if the compression table for a message is empty, don't
...
hash and look up each label.
2001-02-10 01:18:19 +00:00
Andreas Gustafsson
1d625775ee
note that max_size and target_size apply only when
...
ISC_MEM_USE_INTERNAL_MALLOC is set
2001-02-09 19:19:17 +00:00
Andreas Gustafsson
50179a15d1
UNUSED()
2001-02-09 19:08:11 +00:00
Andreas Gustafsson
dd0ef1a9d3
removed the unused and undocumented functions
...
isc_mem_preallocate(), isc_mem_valid(), isc_mem_setsplit(), and
isc_mem_restore()
2001-02-09 19:05:23 +00:00
Andreas Gustafsson
c674a8d5e7
documented the isc_mem_* interface
2001-02-09 18:51:20 +00:00
Brian Wellington
1c1f5e1911
The root node was added to the hashtable twice, which could lead to an
...
infinite loop. [RT #840 ]
2001-02-09 18:48:57 +00:00
Andreas Gustafsson
780db05762
use the UNUSED() macro
2001-02-09 18:27:18 +00:00
Mark Andrews
e911387be8
redo:
...
728. [bug] Fix comment processing on master file directives.
[RT# 757]
2001-02-09 14:34:52 +00:00
Mark Andrews
80aba3d49a
734. [bug] An attempt to re-lock the zone lock could occur if
...
the zone was shutdown during a zone tranfer. [RT #830 ]
2001-02-09 06:04:55 +00:00
Brian Wellington
2d6a6174f1
micro-optimizations
2001-02-09 02:13:07 +00:00
Brian Wellington
65bc8f2af8
When assigning a bucket lock to an rbt node, use the hash of the full name,
...
rather than the hash of the partial name stored in the node. This more
evenly distributes nodes across locks.
This change only takes effect when DNS_RBT_USEHASH is defined, and also changes
the rbt so that the hashtable is created when the first node is created in the
tree, not after 64 nodes are added.
2001-02-09 01:26:51 +00:00
Andreas Gustafsson
3f53ec3bd7
added missing copyright message; ISC_REFERENCE_H -> ISC_REFCOUNT_H
2001-02-09 00:26:20 +00:00
Andreas Gustafsson
97f26b88f6
removed more needless attaching and detaching of the blackhole ACL
2001-02-09 00:23:16 +00:00
Andreas Gustafsson
b7f7a77d56
#include <isc/mutex.h>
2001-02-09 00:20:01 +00:00
Andreas Gustafsson
a349fd680c
removed all code for maintaining a 'goodness' value in the adb,
...
since it was never used and Michael thinks 'it should probably be removed'.
2001-02-09 00:13:55 +00:00
Andreas Gustafsson
aa23a35d81
733. [bug] Reference counts of dns_acl_t objects need to be
...
locked but were not. [RT #801 ]
2001-02-08 23:30:32 +00:00
Bob Halley
22457624d3
deal with 0 TTL glue
2001-02-08 19:14:58 +00:00
Andreas Gustafsson
8ed67113ec
there is no need for each dispatch to have a separate reference to
...
the blackhole list; they can use the blackhole list of the dispatch
manager directly. This eliminates some unsafe unlocked accesses to
the reference count of the blackhole list dns_acl_t object
2001-02-08 18:25:09 +00:00
Mark Andrews
f765672e93
731. [bug] certian zone errors could cause named-checkzone to
...
fail ungracefully. [RT #819 ]
2001-02-08 01:52:33 +00:00
Brian Wellington
91425b5e72
730. [bug] lwres_getaddrinfo() returns the correct result when
...
it fails to contact a server. [RT #768 ]
2001-02-08 00:31:21 +00:00
Brian Wellington
1938554ccc
consolidate duplicated code
2001-02-08 00:04:11 +00:00
Mark Andrews
df0bcff664
extend change #727 to check returned address length for zero.
2001-02-07 23:40:28 +00:00
Brian Wellington
744304361c
actually call isc_thread_setconcurrency()
2001-02-07 21:16:12 +00:00
Andreas Gustafsson
1964de81da
UNUSED() macro added in 1.79 was in the wrong place
2001-02-07 20:05:15 +00:00
Andreas Gustafsson
91f74728a7
UNUSED()
2001-02-07 20:03:23 +00:00
Mark Andrews
e880677f63
728. [bug] Fix comment processing on master file directives.
...
[RT# 757]
2001-02-07 13:24:19 +00:00
Brian Wellington
e618d503ba
Remove (now unused) code for handling queries.
2001-02-07 05:11:58 +00:00
Brian Wellington
98c80a3456
do_next_response() was unlinking an event from the wrong list
2001-02-07 03:01:19 +00:00
Brian Wellington
abc0c36dc3
The ISC__BUFFER_INIT macro had a typo.
2001-02-07 01:36:12 +00:00
Andreas Gustafsson
9a3ee1570d
"hard" errors in accept() were handled really badly. They were logged
...
twice, and the socket object for the new socket was never destroyed,
causing the server to hang on exit (if multithreaded) or dump core on exit
(if singlethreaded). Now the only difference between "hard" and "soft" errors
is that the latter are not logged.
2001-02-06 23:43:01 +00:00
Andreas Gustafsson
8dab78b566
as a workaround for various OS bugs, do not INSIST() that
...
accept() returns a valid peer address; instead just log an ugly error message
and continue if the peer address is left unchanged or insane by accept()
[RT #809 ]
2001-02-06 23:04:02 +00:00
Brian Wellington
f96ad6baf5
Only check to make sure that the full number of bytes were sent if the
...
send operation succeeded. I'm still not convinced that send_done() works
correctly, but making other changes that look correct causes assertion failures.
2001-02-06 22:54:27 +00:00
Brian Wellington
2305225a1c
The interface name field was only partially initialized.
2001-02-06 01:20:46 +00:00
Brian Wellington
770d3b36da
ctx->checkfree was only being initialized if USE_INTERNAL_MALLOC was on.
2001-02-05 23:48:25 +00:00
Brian Wellington
0ef3f4fb41
When memsetting the entropy pool to 0, the count should be the size in bytes,
...
not words.
2001-02-05 23:00:18 +00:00
Brian Wellington
7aac083523
The flags field of the request structures were not initialized (thanks, purify)
2001-02-05 20:48:42 +00:00
Brian Wellington
c716477d2e
don't free the structure twice (thanks, Andreas)
2001-02-05 20:29:56 +00:00
Brian Wellington
15bc0af6a1
chain_name() built the fully qualified name in a very inefficient way.
...
Reversing the order of the concatenations makes it significantly faster.
2001-02-05 20:07:20 +00:00
Brian Wellington
5e8ff069e2
clean up the code to determine if dns_rdata_freestruct() needs to be called
2001-02-05 19:50:42 +00:00
Brian Wellington
b7cd261f2f
dns_name_concatenate(foo, NULL, bar, NULL) -> dns_name_copy(foo, bar, NULL)
2001-02-05 19:47:05 +00:00
Brian Wellington
f91dc72b42
725. [bug] Installing man pages could fail.
2001-02-04 15:52:44 +00:00
Andreas Gustafsson
6b2f58f5c1
removed inappropriate 'Any bitstring labels are in canonical form' comments
2001-02-02 22:08:27 +00:00
Andreas Gustafsson
7e361074bc
724. [func] New libisc functions isc_netaddr_any(),
...
isc_netaddr_any6().
2001-02-02 02:48:47 +00:00
Bob Halley
d6b3d06db7
Referrals whose NS RRs had a 0 TTL caused the resolver to return
...
DNS_R_SERVFAIL. [RT #783 ]
2001-02-02 00:10:26 +00:00
Mark Andrews
8e68489885
722. [func] Allow n/named/server.cincrememtal loads to be canceled.
...
721. [cleanup] Load manager and dns_master_loadfilequota() are no
more.
2001-02-01 21:29:41 +00:00
Andreas Gustafsson
6983bb151a
#else -> #else NOMINUM_PUBLIC
2001-02-01 21:27:10 +00:00
Andreas Gustafsson
fc16063c23
removed dns_qid_t::mctx since it was never used
2001-01-31 22:16:37 +00:00
Brian Wellington
d378ec4758
The return value of lwres_net_pton was checked for != 0 in a few places,
...
not == 1.
2001-01-31 22:06:33 +00:00
Andreas Gustafsson
2571d4a73d
make sanitation work when building into a separate build directory
...
directly from a CVS tree [RT #765 ]; also removed code for removing "#line" directives and the
comment saying that the code for removing #line directives should be removed. :-)
2001-01-31 21:34:38 +00:00
Andreas Gustafsson
c17c59662f
720. [bug] Server could enter infinite loop in
...
dispatch.c:do_cancel(). [RT #743 ]
2001-01-31 17:21:11 +00:00
Mark Andrews
ec4f7c6d0f
719. [bug] Rapid reloads could trigger an assertion failure.
...
[RT #743 ]
2001-01-31 05:22:55 +00:00
Andreas Gustafsson
8d5ec7195a
new dns_master_load() option DNS_MASTER_NOINCLUDE
2001-01-30 23:12:27 +00:00
Andreas Gustafsson
651421a5db
removed the "additional-data" option, since it was never
...
fully implemented and because it causes "internal" to be a reserved word in
named.conf, causing problems for those using "internal" as an ACL name.
Since additional-data was never documented, the user-visible aspect of the
change is:
718. [cleanup] "internal" is no longer a reserved word in named.conf.
[RT #753 , #731 ]
2001-01-30 22:02:31 +00:00
Bob Halley
7427490a67
Certain TKEY processing failure modes could
...
reference an uninitialized variable, causing the
server to crash. [RT #750 ]
2001-01-30 19:18:19 +00:00
Mark Andrews
aac319b506
716. [bug] The first line of a $INCLUDE master file was lost if
...
a origin was specified. [RT #744 ]
Adjust comment.
2001-01-30 13:23:32 +00:00
Andreas Gustafsson
dfa0badebe
715. [bug] Resolving some A6 chains could cause an assertion
...
failure in adb.c. [RT #738 ]
2001-01-30 05:56:58 +00:00
Brian Wellington
63ca494e7e
Added the isc_refcount_t type, which is a generic locked reference counter,
...
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock. In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Mark Andrews
fd50497bbe
isc_dir_chroot()
2001-01-29 03:17:45 +00:00
Brian Wellington
6f9786fdcf
Consolidate duplicated code in isc_socket_sendto[v] and isc_socket_recv[v].
2001-01-27 06:41:36 +00:00
Brian Wellington
b3936096b8
fix get_key_struct() definition
2001-01-27 04:33:18 +00:00
Andreas Gustafsson
9e992ecf37
further cleanup of ADB dumps
2001-01-27 02:44:35 +00:00
Brian Wellington
3a66efb0cb
remove the completely unused timer->mctx field.
2001-01-27 02:44:07 +00:00
Brian Wellington
94baac869a
712. [bug] Sending a large signed update message caused an
...
assertion failure. [RT #718 ]
- Resetting a message should clear the TSIG/SIG(0) sections
- Rerendering a message if the first try returned USETCP should not call
dns_message_settsigkey() again.
2001-01-27 02:28:33 +00:00
Andreas Gustafsson
fd73b3a68d
fixed incorrect error message
2001-01-27 02:12:13 +00:00
Andreas Gustafsson
a618f8d5b7
suppress compiler warnings
2001-01-27 02:11:35 +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
562f162981
remove unused labels
2001-01-27 01:16:09 +00:00
Brian Wellington
dd66e6306b
Remove isc_socket/[send|recv]mark, which were never used.
2001-01-26 23:17:26 +00:00
Brian Wellington
7b5172166d
Waking up once a second to clean one bucket is excessive. Change the
...
default values (and dependencies) so that the clenup routine is called once
ever 30 seconds and cleans 8-9 buckets.
2001-01-26 03:20:58 +00:00
Damien Neil
dfb0717d75
- Receive and send operations on UDP sockets no longer need to acquire
...
the socket lock. (Assuming the operation succeeds immediately, and doesn't
need to be queued.)
- Communications with the watcher thread tweaked to reduce the need for
locking.
2001-01-25 22:25:10 +00:00
Brian Wellington
9f7b524522
The forwarders statements in zones & views didn't work.
2001-01-25 21:10:18 +00:00
Brian Wellington
330705066b
Wrap inet_ntop() and use that in the _totext() functions. The wrapper calls
...
inet_ntop() and copies the output (but not the trailing null) into the buffer.
2001-01-25 20:14:42 +00:00
Andreas Gustafsson
b586eb4408
revert half of 711. - there was no off by one error in the v6 case,
...
only in the v4 case
2001-01-25 20:10:02 +00:00
Brian Wellington
1ac2c28488
711. [bug] The libisc and liblwres implementations of
...
inet_ntop contained an off by one error.
2001-01-25 19:39:48 +00:00
Andreas Gustafsson
bc85580ff8
mask message id to 16 bits explicitly
2001-01-25 13:52:32 +00:00
Andreas Gustafsson
3530e10080
commented and removed dead code
2001-01-25 13:47:59 +00:00
Brian Wellington
a12d9cfa59
710. [func] The forwarders statement now takes an optional port.
...
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Mark Andrews
1a2b3fbeb1
don't attempt to refresh while loading.
2001-01-25 02:30:21 +00:00
Damien Neil
3c31899857
Fix warning in the overrun detection code.
2001-01-25 01:38:01 +00:00
Damien Neil
823eed5ea9
Made the internal malloc() optional, selected by the
...
ISC_MEM_USE_INTERNAL_MALLOC preprocessor constant.
2001-01-25 01:18:00 +00:00
Brian Wellington
c6c1846361
oops, missed a function declaration
2001-01-25 00:44:29 +00:00
Brian Wellington
038a3e6bfe
use dns_messageid_t instead of isc_uint32_t in a few places. [RT #703 ]
2001-01-25 00:42:31 +00:00
Brian Wellington
f6478f5e44
formatting & macro updates
2001-01-24 21:12:48 +00:00
Mark Andrews
3bed75bb2d
silence compiler
2001-01-24 07:12:56 +00:00
Bob Halley
40fdf87153
Deal with TTL 0 ANY and SIG queries.
2001-01-24 02:40:19 +00:00
Brian Wellington
46c3b3f6e1
isc_uint16_t -> dns_keytag_t in many places; dns_keytable_findkeynode
...
was casting incorrectly. [RT #664 ]
2001-01-24 02:23:02 +00:00
Brian Wellington
0f537d1c63
+ 708. [bug] When building with --with-openssl, the openssl headers
...
+ included should not be used. [RT #702 ]
+
2001-01-24 01:34:14 +00:00
Andreas Gustafsson
c271488682
706. [bug] Zones with an explicit "allow-update { none; };"
...
were considered dynamic and therefore not reloaded
on SIGNUP or "rndc reload".
2001-01-24 00:00:21 +00:00
Brian Wellington
1e3bc7eaeb
only use data from accept() if accept succeeds.
2001-01-23 21:07:12 +00:00
Andreas Gustafsson
b346ae570d
style
2001-01-23 20:45:31 +00:00
Brian Wellington
e90441d922
INSIST that accept() returns a socket of the correct protocol family. Also
...
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00
Brian Wellington
dac1e1dd18
remove more duplicated code
2001-01-23 19:50:10 +00:00
James Brister
6ca537b8a3
New include statement for ndc.conf
...
include "/tmp/foo";
only allowed at file level (not at any random whitespace location).
2001-01-23 13:15:12 +00:00
Mark Andrews
9a6632fb42
removed unnecessary assignment
2001-01-23 07:45:39 +00:00
Mark Andrews
7c2dce3c4d
common code elimination
2001-01-23 07:36:06 +00:00
Mark Andrews
ab0380976c
add isc/platform.h
2001-01-23 06:00:11 +00:00
Mark Andrews
4ae98f5100
Use approptiate typoe based on configure results.
2001-01-23 05:13:25 +00:00
Mark Andrews
66ad1d85cb
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 04:47:56 +00:00
Mark Andrews
07d6480b68
704. [port] RLIMIT_NOFILE in to available on all platforms.
...
[RT #695 ]
2001-01-23 03:14:28 +00:00
Mark Andrews
363cb30a83
703. [port] sys/select.h is needed on older platforms. [RT #695 ]
2001-01-23 03:07:18 +00:00
Brian Wellington
47f65caf30
The msgcat text contained an extra %s.
2001-01-23 02:27:19 +00:00
Brian Wellington
5d18f1205a
remove the call to dns_name_getlabel(), since the dns_name_toregion() macro
...
is faster.
2001-01-23 02:19:48 +00:00
Brian Wellington
668eb43f1f
spacing
2001-01-23 02:00:56 +00:00
Andreas Gustafsson
49d61b46a7
inconsistent spacing in duplicated code
2001-01-23 01:59:03 +00:00
Brian Wellington
fd091cb3cd
freerrset() wasn't.
2001-01-23 01:51:21 +00:00
Brian Wellington
d29da750d2
statistics counting was slowing down the server. Make client.c:count_query()
...
inline and remove dns_stats_ncounters(), which just returned the public
constant DNS_STATS_NCOUNTERS.
2001-01-23 01:50:29 +00:00
Brian Wellington
ea6709ec8a
702. [func] If the address 0.0.0.0 is seen in resolv.conf,
...
use 127.0.0.1 instead. [RT #693 ]
2001-01-23 00:41:55 +00:00
Andreas Gustafsson
57ecc983c0
removed unused edns_level member from ADB entry
2001-01-22 22:53:13 +00:00
Andreas Gustafsson
d5874af5a5
removed avoid_bitstring feature from the ADB
2001-01-22 22:51:23 +00:00
Brian Wellington
70b4889c85
A minor optimation to the rbt hash code that should reduce the number
...
of calls to dns_name_fullcompare().
2001-01-22 20:41:43 +00:00
Brian Wellington
9d967288c3
zero length keys from the config file were not being logged as too short to be
...
secure.
2001-01-22 20:27:04 +00:00
Andreas Gustafsson
5042f374bc
a valid buffer has the current pointer before or at the
...
used pointer by definition; there is no need to require that explicitly
2001-01-22 18:21:45 +00:00
Andreas Gustafsson
3a5cbb3c22
Fixed 39 cases where either named or rndc would crash when
...
given empty string values in rndc.conf or on the command line
2001-01-22 03:59:21 +00:00
Mark Andrews
ce1269825c
700. [bug] $GENERATE range check was wrong. [RT #688 ]
2001-01-22 03:34:25 +00:00
Brian Wellington
9427d22299
make dns_name_fromtext fail when passed an empty string, not assert.
2001-01-22 03:30:27 +00:00
Andreas Gustafsson
e8af4e1524
699. [bug] The lexer mishandled empty quoted strings. [RT #694 ]
2001-01-22 02:46:34 +00:00
Brian Wellington
bf6d4f9cad
Install the lwres man pages.
2001-01-19 22:46:27 +00:00
Brian Wellington
6e8b041d9c
blackholed addresses were mishandled in the resolver.
2001-01-19 22:22:17 +00:00
Mark Andrews
89f4a7085c
694. [bug] $GENERATE did not produce the last entry. [RT#683]
2001-01-19 20:45:33 +00:00
Andreas Gustafsson
eed89be339
incremented library version number for 9.2
2001-01-19 01:55:11 +00:00
Andreas Gustafsson
d36250a1b2
include zone.c function names in debug log messages only;
...
export dns_zone_log() for use by related modules
2001-01-18 23:29:31 +00:00
Brian Wellington
2a006fffe4
our NAPTR implementation does conform to RFC 2915.
2001-01-18 22:05:41 +00:00
Andreas Gustafsson
7ed2d93fa4
691. [bug] Configuring per-view forwarders caused an assertion
...
failure. [RT #675 ]
2001-01-18 19:01:39 +00:00
Mark Andrews
ca9c0ba235
690. [func] $GENERATE now supports DNAME. [RT #654 ]
2001-01-18 08:53:34 +00:00
Brian Wellington
6ec4990544
copyright update
2001-01-18 02:00:59 +00:00
Brian Wellington
21e82177fb
make message->rcode a dns_rcode_t
2001-01-18 00:26:36 +00:00
Bob Halley
5c7d67e3e6
include <stdlib.h> to get prototype for exit()
2001-01-17 19:48:45 +00:00
Andreas Gustafsson
8bb77cd31b
fix RT #660 differently
2001-01-17 17:44:49 +00:00
Brian Wellington
0aed1e6e6b
add a cast to silence the annoying MS compiler. [RT #662 ]
2001-01-17 03:02:01 +00:00
Brian Wellington
39bb14491f
Negating an unsigned int is a bad idea. Make it an int instead. [RT #660 ]
2001-01-17 02:58:28 +00:00
Brian Wellington
cb2ad98ea4
make prefixlen an isc_uint8_t [RT #658 ]
2001-01-17 02:54:17 +00:00
Mark Andrews
fb0663dbdd
687. [bug] Only say we have IPv6, with sufficent functionality,
...
if it has actually been tested. [RT #586 ]
2001-01-17 02:11:20 +00:00
Brian Wellington
18d110413c
Move dns_dnssec_iszonekey to dns_zonekey_iszonekey, to make the rbtdb not
...
require all of dst to be linked in.
2001-01-17 01:22:20 +00:00
Brian Wellington
5d0cca62ee
Renamed keyid.c to key.c, and moved in a bunch of other functions that don't
...
depend on crypto.
2001-01-17 01:08:08 +00:00
Brian Wellington
64dcb08113
If the app is blocked and a shutdown signal arrives, just exit().
2001-01-17 00:48:54 +00:00
Brian Wellington
d7483d67f7
Move dst_region_computeid into a new file dst/keyid.c, so that all of the
...
dnssec code doesn't need to be linked in by using rdata routines.
2001-01-17 00:33:37 +00:00
Andreas Gustafsson
6c90ca893c
quote substituted parts of log messages with single quotes,
...
not double quotes
2001-01-17 00:16:20 +00:00
Brian Wellington
564c1b8f42
remove the use of abs(), which could have led to false positives because of
...
64 to 32 bit truncation.
2001-01-16 22:47:56 +00:00
Andreas Gustafsson
1da54a3de9
removed redundant error check [RT #669 ]
2001-01-16 21:18:10 +00:00
Mark Andrews
4e864e0101
84. [bug] memory leak with view forwarders. [RT #656 ]
2001-01-16 13:39:42 +00:00
Mark Andrews
2728a98ee4
683. [bug] file leak in isc_lex_openfile().
2001-01-16 07:47:16 +00:00
Mark Andrews
d722697400
681. [bug] $GENERATE specifying output format was broken. [RT#653]
2001-01-16 07:04:30 +00:00
Mark Andrews
7dbb39a417
680. [bug] dns_rdata_fromstruct() mis-handles options bigger
...
than 255 octets.
2001-01-16 06:14:00 +00:00
Brian Wellington
6df90b6515
Typo.
2001-01-15 19:54:12 +00:00
Brian Wellington
f98d6edb19
Multiple outstanding requests don't actually help. Never have more than 1.
2001-01-13 01:33:27 +00:00
Brian Wellington
bd703253b7
oops, a mutex was locked too early.
2001-01-13 00:23:34 +00:00
Brian Wellington
f0e246e271
Fully implement the cachefile option, which allows persistent caching. This
...
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Andreas Gustafsson
d94b209b95
added another INSIST() to dns_dbiterator_pause() as suggested by Bob
2001-01-12 20:11:28 +00:00
Brian Wellington
2883651930
Add dns_master_style_cache
2001-01-12 19:58:51 +00:00
Andreas Gustafsson
7cdd0b6ade
allow dbiterators to be paused at any time
2001-01-12 18:56:42 +00:00
Mark Andrews
a51f77a70b
679. [bug] $INCLUDE could leak memory and file descriptors on
...
reload. [RT #639 ]
2001-01-12 13:28:22 +00:00
Brian Wellington
a5ff47f55c
replace a chunk of code inside an #if 0 with a comment.
2001-01-12 00:56:44 +00:00
Mark Andrews
9b2819633e
Removed kludge for different error spaces in dns_dbtable_create(). [RT #642 ]
2001-01-12 00:31:50 +00:00
Brian Wellington
106ee474a9
A label immediately preceding a close brace is illegal.
2001-01-11 21:16:32 +00:00
Andreas Gustafsson
4755b174df
simplified constant names, eliminating the dns_constname structs
2001-01-11 21:07:21 +00:00
Andreas Gustafsson
8116149a05
if the adb had ever returned addresses of a family
...
other than AF_INET or AF_INET6, there would have been a memory leak
2001-01-11 20:31:31 +00:00
Andreas Gustafsson
8c56932f9a
yet another potential memory leak
2001-01-11 20:30:51 +00:00
Andreas Gustafsson
ff7f1dc039
676. [bug] Log messages about lame servers to category
...
'lame-servers' rather than 'resolver', so as not
to be gratuitously incompatible with BIND 8.
2001-01-11 19:38:11 +00:00
Brian Wellington
f847f8208c
Fixed an uninitialized variable, removed a dead line of code, and changed
...
several response processing functions to not require keyrings.
2001-01-11 19:09:47 +00:00
Andreas Gustafsson
90bffb134e
make_nonblock() errors were reported twice, and one of the instances
...
used the wrong errno value [RT #640 ]
2001-01-11 18:57:23 +00:00
Brian Wellington
a83405a85f
zone_idetach() should be static.
2001-01-11 08:10:47 +00:00
Brian Wellington
8e0044fe57
another memory leak.
2001-01-11 07:28:30 +00:00
Brian Wellington
9b0c4bf700
675. [func] TKEY queries could cause the server to leak
...
memory.
2001-01-11 04:23:39 +00:00
Brian Wellington
3e89268f1f
isc_buffer_region -> isc_buffer_usedregion
2001-01-11 04:00:17 +00:00
Brian Wellington
e5fb13fb23
The asserts in fromstruct were too strong - it's possible to have a non-NULL
...
key and keylen == 0 if the pointer is to a 0 byte allocation.
2001-01-11 03:11:30 +00:00
Brian Wellington
4ceb8b24b6
confparser.c should be removed by "make clean", not "make distclean"
2001-01-09 23:55:17 +00:00
Brian Wellington
7bd76551d4
oops, one too many fixes.
2001-01-09 23:42:51 +00:00
Mark Andrews
19c7cce855
674. [func] Allow messages to be TSIG signed / verified using
...
a offset from the current time.
2001-01-09 23:35:33 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Andreas Gustafsson
576f85e5fd
673. [func] The server can now convert RFC1886-style recursive
...
lookup requests into RFC2874-style lookups, when
enabled using the new option "allow-v6-synthesis".
2001-01-09 18:26:01 +00:00
Mark Andrews
0c70ab3065
672. [bug] The wrong time was in the "time signed" field when
...
replying with BADTIME error.
2001-01-09 14:32:44 +00:00
Brian Wellington
32e64787d9
671. [bug] The message code was failing to parse a message with
...
no question section and a TSIG record. [RT #628 ]
2001-01-09 02:55:42 +00:00
Brian Wellington
fa5a42fbad
670. [bug] The lwres replacements for getaddrinfo and
...
getipnodebyname didn't properly check for the
existence of the sockaddr sa_len field.
2001-01-09 01:26:43 +00:00
Brian Wellington
523dd6a979
669. [func] dnssec-keygen now makes the public key file
...
non-world-readable for symmetric keys. [RT #403 ]
2001-01-09 00:53:06 +00:00
Michael Sawyer
bff300be6b
Check that zone->zmgr is non-null before dereferencing
2001-01-09 00:51:53 +00:00
Mark Andrews
5bb4ceb2a6
668. [func] named-checkzone now reports multiple errors in master
...
files.
2001-01-09 00:43:24 +00:00
Mark Andrews
6976801867
Replace memset() w/ null assignment to last element of array.
...
the strncpy() fills in the other bytes.
2001-01-09 00:39:46 +00:00
Mark Andrews
c39200d949
Reverse functional change from 1.91 as dns_rdata_fromtext() has now been
...
fixed.
2001-01-08 23:52:52 +00:00
Brian Wellington
fff07c1022
665. [bug] Signed responses were not sent when the size of the
...
TSIG + question exceeded the maximum message size.
[RT #628 ]
2001-01-08 20:36:14 +00:00
Andreas Gustafsson
1514371d94
added UNUSED() macro
2001-01-08 19:58:10 +00:00
Andreas Gustafsson
d1dc805692
include NetBSD mutex debugging kludge only if explicitly requested
...
with -DISC_MUTEX_DEBUG and only if PTHREAD_MUTEX_ERRORCHECK is defined by the pthreads library
2001-01-08 19:47:30 +00:00
Andreas Gustafsson
4817a06287
663. [func] Accept a size_spec, not just an integer, in the
...
(unimplemented and ignored) max-ixfr-log-size option
for compatibility with recent versions of BIND 8.
[RT #613 ]
2001-01-08 19:27:19 +00:00
Mark Andrews
228c679d7a
662. [bug] dns_rdata_fromtext() failed to log certain errors.
2001-01-08 06:54:35 +00:00
Andreas Gustafsson
13b53c2971
when code is duplicated (which it shoudn't be), it should
...
at least be duplicated consistently
2001-01-07 22:02:48 +00:00
Andreas Gustafsson
ec0613a097
commented
2001-01-07 22:01:59 +00:00
Andreas Gustafsson
8d4bf0c21b
typo
2001-01-07 22:01:34 +00:00
Andreas Gustafsson
b363c64ed6
sizeof() style; added comment
2001-01-07 22:01:12 +00:00
Andreas Gustafsson
9afcd92352
enable deadlock detection for mutexes on NetBSD
2001-01-06 01:26:36 +00:00
Brian Wellington
f92f41acea
Detect multiple CPUs on HP-UX.
2001-01-06 01:10:04 +00:00
Brian Wellington
473af33183
more comment updates
2001-01-06 00:43:03 +00:00
Brian Wellington
4d180bd210
comment updates
2001-01-06 00:35:30 +00:00
Brian Wellington
54ce9b2e29
657. [bug] When a listen-on statement in an lwres block does not
...
specifiy a port, use 921, not 53. Also update the
listen-on documentation. [RT #616 ]
2001-01-05 22:12:53 +00:00
Andreas Gustafsson
ca247cd9af
indentation
2001-01-05 22:09:02 +00:00
Mark Andrews
0deebcd15a
dns_master_load*() age_ttl -> options word
2001-01-05 03:12:45 +00:00
Brian Wellington
6cf489f9bc
Enabling mutex profiling caused compilation to fail.
2001-01-05 02:17:03 +00:00
Brian Wellington
f135697100
Log a message when dns_rdata_fromtext() fails.
2001-01-05 01:02:47 +00:00
Brian Wellington
7357590bee
656. [func] Treat an unescaped newline in a quoted string as
...
an error. This means that TXT records with missing
close quotes should have meaningful errors printed.
2001-01-05 01:02:26 +00:00
Mark Andrews
3dbdaa791c
don't move expired zones sideways.
...
use the journal modification time if it is available for for last update time
2001-01-05 00:51:04 +00:00
Brian Wellington
efcd383461
Update forwarding when the message buffer was no longer copied. Fix this
...
by having the update forwarding code tell dns_message_parse to copy
the buffer.
2001-01-05 00:17:33 +00:00
Andreas Gustafsson
233085a7d2
comment the master file styles in the .h file, not the .c file
2001-01-04 23:52:16 +00:00
Mark Andrews
8dd5237a27
655. [bug] Improve error reporting on unexpected eof when loading
...
zones. [RT #611 ]
2001-01-04 23:43:53 +00:00
Michael Sawyer
2b50457b87
Change the name from "parsable" to "simple"
2001-01-04 23:40:28 +00:00
Damien Neil
2e36a55861
Added changes for mutex profiling.
2001-01-04 23:38:37 +00:00
Damien Neil
b2a6ebf1bd
Cleaned up some nasty hacks I forgot in the mutex profiling code.
2001-01-04 23:34:03 +00:00
Damien Neil
e535db4a21
Removed some very nasty hacks which I had forgotten in the mutex
...
profiling code.
2001-01-04 23:32:15 +00:00
Damien Neil
0195648290
Turn off mutex profiling by default. (Oops.)
2001-01-04 22:39:33 +00:00
Damien Neil
e9453d609d
Mutex profiling updates, to collect more statistics on mutex usage.
2001-01-04 22:37:37 +00:00
Michael Sawyer
c67496c943
Add master_style_parsable
2001-01-04 22:19:18 +00:00
Brian Wellington
3e6753a753
Make a macro version of dns_name_toregion.
2001-01-04 20:00:57 +00:00
Brian Wellington
1c33761bcf
Minor optimization - use the number of labels in the prefix as the loop
...
counter, not the number of labels in the name.
2001-01-04 19:25:59 +00:00
Brian Wellington
60103a02c6
Update the comments and kill unused structure elements, based on comments from
...
Mark.
2001-01-04 06:21:01 +00:00
Mark Andrews
f7e900edbc
652. [bug] zone_saveunique() did not report the new name.
2001-01-04 04:10:59 +00:00
Brian Wellington
bb06860389
CPU detection for IRIX.
2001-01-04 02:52:13 +00:00
Brian Wellington
0a569dfd5e
When saving the query message (for SIG(0) or update forwarding), don't actually
...
do an allocate and copy, since the input buffer stays around.
2001-01-04 01:55:22 +00:00
Brian Wellington
6427a34be1
comment fixes
2001-01-04 01:25:08 +00:00
Brian Wellington
4502c1b020
spelling
2001-01-04 00:28:19 +00:00
Brian Wellington
ec772e873b
651. [func] The AD bit in responses now has the meaning
...
specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-04 00:24:26 +00:00
Brian Wellington
ac7f13e3dd
Remove dns_trust_authsecure, which is not used and was never clearly defined.
2001-01-04 00:16:41 +00:00
Brian Wellington
abfbf760f3
650. [bug] SIG(0) records were being generated and verified
...
incorrectly. [RT #606 ]
2001-01-04 00:10:13 +00:00
Mark Andrews
84d982f168
wrong result code tested.
2001-01-03 23:14:53 +00:00
Brian Wellington
8d6fe3f388
Pointers to regions are silly. Use regions instead. This removes 1 small
...
allocation per query.
2001-01-03 20:42:10 +00:00
Bob Halley
75768d5fa2
It was possible to join to an already running fctx
...
after it had "cloned" its events, but before it sent
them. In this case, the event of the newly joined
fetch would not contain the answer, and would
trigger the INSIST() in fctx_sendevents().
[RT #597 , #605 , #607 ]
2001-01-03 20:31:34 +00:00
Andreas Gustafsson
0609174d93
removed empty line
2001-01-03 20:21:11 +00:00
Mark Andrews
4e7942dc76
648. [port] Add support for pre-RFC2133 IPv6 implementations.
2001-01-03 13:13:14 +00:00
Brian Wellington
6d5032f9a2
Micro-optimizations:
...
- use the DNS_NAME_INIT macro in name.c
- create dns_name_copy() and use it instead of dns_name_concatenate()
when doing a copy.
2001-01-03 00:05:15 +00:00
Andreas Gustafsson
22dbaf9ad8
647. [bug] Resolver queries sent after following multiple
...
referrals had excessively long retransmission
timeouts due to incorrectly counting the referrals
as "restarts".
2001-01-02 20:46:07 +00:00
Andreas Gustafsson
21931e9334
cleanup of logging code
2001-01-02 18:51:07 +00:00
Andreas Gustafsson
6af9849f74
log message about disabling EDNS0 only once per lookup
2001-01-02 17:59:13 +00:00
Mark Andrews
55a7fc9d8f
When a zone expires move the on disk cache (if any) sideways.
2001-01-02 04:45:24 +00:00
Andreas Gustafsson
ca2912424b
DEL (ASCII 127) is not a printable character and should be
...
backslash-decimal quoted when printing TXT record
2001-01-02 04:24:52 +00:00
David Lawrence
b8ebf57228
fix a rather stupid incomplete cut-n-pasting job of in the
...
ISC_PLATFORM_FIXIN6ISADDR block for UnixWare.
2001-01-01 22:02:27 +00:00
Mark Andrews
046a9aca49
642. [bug] #622 needed more work.
2000-12-31 05:05:34 +00:00
Mark Andrews
f4e4111795
643. [bug] xfrin error messages made more verbose, added class
...
of the zone. [RT# 599]
2000-12-30 13:03:48 +00:00
Brian Wellington
65a275fb3d
The resolver doesn't need to manually dissect a TSIG and look at the error
...
field, since dns_message_checksig returns an error in that case.
2000-12-29 23:24:32 +00:00
Brian Wellington
ed6d3c9660
remove sanitize cruft
2000-12-29 22:07:25 +00:00
Brian Wellington
917d2db965
if DNS_NAME_USEINLINE was set, DNS_NAME_SETBUFFER was defined, but never used,
...
since dns_name_setbuffer was never #defined to it.
2000-12-29 21:54:52 +00:00
Brian Wellington
0c710d7162
#define isc_mutex_stats to nothing
2000-12-29 19:55:37 +00:00
Brian Wellington
dacf0cc454
Merged the private functions compress_add and compress_find into
...
dns_compress_add and dns_compress_findglobal.
2000-12-29 19:38:50 +00:00
Brian Wellington
bb88eab95f
fix an uninitialized variable; reformat some >80 character lines
2000-12-29 18:49:36 +00:00
Brian Wellington
26d20cd51c
oops, forgot to commit this yesterday.
2000-12-29 18:19:52 +00:00
Mark Andrews
02bad0bd51
fix lock heirachy in zone_shutdown()
2000-12-29 13:20:46 +00:00
Brian Wellington
3f160155da
ISC_MUTEX_PROFILE can be set to enable basic mutex profiling. Running named
...
with -s prints the results.
2000-12-29 01:29:56 +00:00
Mark Andrews
253ab81bf2
642. [bug] Break the exit_check() race in the zone module.
...
[RT #598 ]
2000-12-29 01:04:10 +00:00
Brian Wellington
8e047d3b74
microoptimizations to make quantize/rmsize more efficient.
2000-12-29 01:02:07 +00:00
Brian Wellington
575737b964
Rewrite the name compression code to use a hashtable instead of an RBT and
...
avoid allocating memory in most cases. This increases performance by
about 225% on the rc query test (~305 q/s to 990 q/s).
2000-12-29 00:59:41 +00:00
Brian Wellington
4efa04801e
Remove DNS_COMPRESS_GLOBAL, since the only type of global compression
...
is GLOBAL14.
2000-12-29 00:54:36 +00:00
Andreas Gustafsson
af5995e08f
remove unused variable
2000-12-28 03:04:35 +00:00
Mark Andrews
9f28451bca
641. [bug] $GENERATE caused a uninitialized link to be used.
...
[RT #595 ]
2000-12-28 02:31:20 +00:00
Mark Andrews
de154f65f6
Ensure that ns_client_*() are only called from the client's task.
2000-12-28 01:29:09 +00:00
Brian Wellington
d780c35e54
remove all vestiges of 16 bit global compression
2000-12-28 00:43:12 +00:00
David Lawrence
090432605e
isc_file_renameunique() set its result incorrectly if renaming failed; it used
...
the value of errno from an unlink() call, not from the rename() call.
2000-12-27 17:21:53 +00:00
Brian Wellington
ee303f481d
639. [bug] Reading entropy from the keyboard would sometimes fail.
...
[RT #591 ]
note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
David Lawrence
801dceea23
Revert my last change. It was stupid, which I if I had been thinking clearly
...
I would have seen *before* I commited anything. So, include isc/thread.h,
isc/mutex.h and isc/condition.h even if ISC_PLATFORM_USETHREADS is not defined.
(What caused me to bother with this at all was a problem that I resolved
a few days ago by fixing configure ... though now that I think about it,
that probably means there is some other latent problem with inconsistent
definitions that could maybe be handled better. I'll look into it more
later, AFTER vacation.)
2000-12-26 21:45:08 +00:00
David Lawrence
bdcae3560b
Only include isc/thread.h, isc/mutex.h and isc/condition.h if
...
ISC_PLATFORM_USETHREADS is defined.
2000-12-26 21:12:25 +00:00
David Lawrence
8ab1d97093
sigh. "define" -> "defined". never make trivial changes without retesting.
2000-12-26 21:06:49 +00:00
David Lawrence
86b8c48576
638. [port] lib/isc/random.c needed to explicitly include
...
time.h explicitly to get a prototype for time() when
pthreads was not being used. [RT #592 ]
2000-12-26 21:02:14 +00:00
David Lawrence
125a916d1a
637. [port] Use isc_u?int64_t instead of (unsigned) long long in
...
lib/isc/print.c. Also allow lib/isc/print.c to
be compiled even if the platform does not need it.
[RT #592 ]
Also cleaned up some const issues.
2000-12-26 21:00:41 +00:00
David Lawrence
0b3427d15c
636. [port] Shut up MSVC++ about a possible loss of precision
...
in the ISC__BUFFER_PUTUINT*() macros. [RT #592 ]
This is the basically the same change made to buffer.c before the macros
were created:
revision 1.18
date: 1999/09/23 17:54:57; author: tale; state: Exp; lines: +4 -4
Shut up MSVC++ compiler warning about loss of precision when assigning
8 bits masked out of a 32 bit int to individual bytes.
Also, an #if 0 around "#define ISC_BUFFER_USEINLINE" was removed, per the
ISC coding style, and instead a comment was used to disable the definition.
2000-12-26 20:51:14 +00:00
Brian Wellington
02e3821450
635. [bug] Reloading a server with a configured blackhole list
...
would cause an assertion. [RT #590 ]
2000-12-26 09:48:41 +00:00
David Lawrence
f8da2d9583
634. [bug] A log file will completely stop being written when
...
it reaches the maximum size in all cases, not just
when versioning is also enabled. [RT #570 ]
2000-12-23 19:23:48 +00:00
David Lawrence
17012a8797
632. [port] Cope with rlim_t missing on BSD/OS systems. [RT #575 ]
2000-12-23 02:46:34 +00:00
Andreas Gustafsson
642e583687
...and in two different ways, at that
2000-12-22 23:47:00 +00:00
Andreas Gustafsson
e0a90d7579
journal index array was corrupted on write
2000-12-22 23:37:03 +00:00
Andreas Gustafsson
029ce2f952
need #include <dns/rdataset.h> and <dns/rdatastruct.h>
2000-12-22 23:01:56 +00:00
Brian Wellington
2374f16f5d
missing ISC_LANG_ENDDECLS
2000-12-22 22:56:55 +00:00
Brian Wellington
489b762926
- if pthreads are not found, build a nonthreaded version
...
- check for pthread_attr_getstacksize
2000-12-22 20:50:05 +00:00
Andreas Gustafsson
0ad8ee89c5
more request shutdown logic fixes from Mark
2000-12-22 19:39:01 +00:00
Andreas Gustafsson
4c1fee4236
don't turn on ISC_MEM_BDEBUGRECORD by default
2000-12-22 18:30:26 +00:00
Mark Andrews
6cc5eac41b
more unlocked calls to cancel_refresh().
2000-12-22 05:55:20 +00:00
Mark Andrews
bd5f2ac188
630. [bug] locking failure in zone code. [RT #582 ]
2000-12-22 02:43:42 +00:00
Brian Wellington
48540261f1
replace (isc_mem_debugging > 1) with (MEM_RECORD)
2000-12-22 00:26:33 +00:00
Andreas Gustafsson
709fa2054f
oops, it's <dst/dst.h>, not <dst/key.h>
2000-12-21 18:11:00 +00:00
Andreas Gustafsson
c663d46e47
need #include <dst/key.h>
2000-12-21 16:27:22 +00:00
Andreas Gustafsson
359082766e
diff.h was not installed
2000-12-21 16:17:41 +00:00
Andreas Gustafsson
2207599e64
condition.h was not installed
2000-12-21 16:14:49 +00:00
Brian Wellington
5d85bf183f
missing 'static'
2000-12-21 01:58:37 +00:00
Brian Wellington
1200b06785
removed LWRDATA_AUTHORITATIVE and RRSET_AUTHORITATIVE
2000-12-21 00:27:56 +00:00
Brian Wellington
58cbc05eb0
Fix memory leak in dns_view_find; return DNS_R_HINTNXRRSET instead of
...
DNS_R_NOTFOUND when correct to do so.
2000-12-20 23:31:11 +00:00
Andreas Gustafsson
7d33e89969
627. [bug] The EDNS0 blackhole detection code of 327. waited
...
for three retransmissions to each server, which
takes much too long when a domain has many name
and all of them drop EDNS0 queries. Now we retry
without EDNS0 after three consecutive timeouts,
even if they are all from different servers.
2000-12-20 23:18:37 +00:00
Brian Wellington
86c3cd20dd
fix a race condition.
2000-12-20 20:42:08 +00:00
Andreas Gustafsson
0bca614506
don't shout
2000-12-20 19:46:37 +00:00
Brian Wellington
13090db2b1
dns_view_find can now do ANY queries; it takes additional db and node
...
parameters used for return values.
2000-12-20 03:38:46 +00:00
Mark Andrews
2a80a4e120
625. [func] Zone's now inherit their class from the enclosing view.
2000-12-20 03:36:19 +00:00
Andreas Gustafsson
91b4560baa
zone timer was using the wrong task [RT #571 ]
2000-12-20 01:27:50 +00:00
Brian Wellington
a644e87df7
Move the msgcat stuff into socket_log(), to avoid unnecessary calls to
...
isc_msgcat_get() and speed things up.
2000-12-19 20:35:37 +00:00
Andreas Gustafsson
70c91849c3
eliminated compiler warning
2000-12-19 19:29:13 +00:00
Andreas Gustafsson
ab0bc7bd36
spelling
2000-12-19 19:20:15 +00:00
Andreas Gustafsson
0833ef954a
when code is duplicated (which it shouldn't be), it should at
...
least be duplicated consistently
2000-12-19 19:19:45 +00:00
Mark Andrews
5f7a9845e9
make ISC_LIST_CHECKINIT work
2000-12-19 04:46:36 +00:00
Mark Andrews
f53848e171
622. [bug] A canceled request could be destroyed before
...
dns_request_destroy() was called. [RT #562 ]
2000-12-19 03:36:48 +00:00
Brian Wellington
64a84169d7
621. [port] Disable IPv6 at runtime if they are unusable. This
...
mostly affects Red Hat Linux 7.0.
2000-12-19 01:36:52 +00:00
Mark Andrews
7f66083184
remove unused variables
2000-12-19 01:32:41 +00:00
Andreas Gustafsson
8998ed8481
added UNUSED() macro
2000-12-18 21:09:42 +00:00
Andreas Gustafsson
5fca48054b
dump the ADB in a more user-friendly format (unless a debug flag is set)
2000-12-18 20:03:33 +00:00
Mark Andrews
1599bd6998
620. [bug] dns_master_load*inc() now require 'task' and 'load'
...
to be non-null. Also 'done' will not be called if
dns_master_load*inc() fails immediately. [RT #565 ]
2000-12-17 23:43:12 +00:00
Andreas Gustafsson
113b8ef973
renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
...
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future. Also changed the dump style to the
'explict TTL' one, which makes more sense than usin when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson
acea06c80c
spelling
2000-12-15 21:06:00 +00:00
Andreas Gustafsson
6c29053a20
614. [bug] Checks for uninitialized link fields were prone
...
to false positives, causing assertion failures.
The checks are now disabled by default and may
be re-enabled by defining ISC_LIST_CHECKINIT.
2000-12-15 00:20:55 +00:00
Andreas Gustafsson
5412d26798
entropy.c did not include header files necessary for select(),
...
causing nonthreaded builds to fail on AIX
2000-12-14 22:40:17 +00:00
Mark Andrews
43b8fb7570
dns_rdata_init > dns_rdata_reset
2000-12-14 22:10:37 +00:00
Mark Andrews
5d2026ea7b
relax initalied checks
2000-12-14 22:09:51 +00:00
Brian Wellington
ee10d3de18
#include <stdio.h>
2000-12-13 21:28:38 +00:00
David Lawrence
3d509f54ac
613. [bug] "rndc reload zone" now reloads primary zones.
...
It previously only updated slave and stub zones,
if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
Mark Andrews
fa67ca21f6
make dns_zone_load work w/o being managed.
...
add bin/check/Makefile to configure
2000-12-13 06:21:42 +00:00
David Lawrence
13a0f9518a
oops, an ifdef should have been an ifndef
2000-12-13 01:42:23 +00:00
Brian Wellington
2103b1d460
Don't allow queries of class or type ANY.
2000-12-13 00:22:54 +00:00
David Lawrence
10e6498d6d
* Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
...
never returned by any function and was presumably cruft
related to max-names).
* Made allow-notify part of the public source and documented it.
* Made master server TSIG keys part of the public source and documented it.
* Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
the approval of Mike.
* Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
public source. After the NOMINUM_PUBLIC cleanup, I'll
fix the rndc reload issues we've been discussing here at IETF.
I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
eb8713ed94
Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
...
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
David Lawrence
b74896ead5
599. [func] Added four new functions to the libisc log API to
...
support i18n messages. isc_log_iwrite(),
isc_log_ivwrite(), isc_log_iwrite1() and
isc_log_ivwrite1() were added.
(The log.h/log.c changes were just minor formatting changes.)
2000-12-12 05:29:33 +00:00
Andreas Gustafsson
fc6f5743aa
use isc_log_iwrite() for localized logging,
...
to keep backwards compatibility
2000-12-12 00:18:01 +00:00
Brian Wellington
f8246fc026
alphabetize tokens
2000-12-11 23:38:25 +00:00
Mark Andrews
88a6fef494
init dns_rdata_t's
2000-12-11 23:09:47 +00:00
Brian Wellington
78838d3e0c
8 space -> tab conversion
2000-12-11 19:24:30 +00:00
Mark Andrews
fc03bf680e
more locking
2000-12-11 19:21:15 +00:00
Andreas Gustafsson
eb2d0f4d9d
isc_thread_self() is a function, not an integer [RT #551 ]
2000-12-11 19:17:29 +00:00
Andreas Gustafsson
dea478db31
isc_symexists_ policies were not referred to by their
...
true names in the header comments
2000-12-11 04:08:52 +00:00
Mark Andrews
dd2e7df916
pointer math
2000-12-09 03:20:05 +00:00
Brian Wellington
7d43914b55
remove unused includes
2000-12-09 03:09:20 +00:00
Brian Wellington
911ed0d3be
Split journal.[ch] into journal.[ch] and diff.[ch]
2000-12-09 02:17:12 +00:00
James Brister
106125b0a8
backout last change.
2000-12-09 02:14:53 +00:00
James Brister
59bffa5d85
Initialize link field
2000-12-09 02:05:51 +00:00
Andreas Gustafsson
10e22ebcc3
605. [func] New function isc_lex_getlasttokentext().
2000-12-09 02:05:26 +00:00
Brian Wellington
bb812feb3c
line numbers could be corrupted by very large tokens.
2000-12-09 00:41:33 +00:00
Mark Andrews
10f89d2f83
additional comments
2000-12-08 19:34:06 +00:00
Brian Wellington
6734ac097f
#include <isc/print.h>
2000-12-08 03:10:32 +00:00
David Lawrence
e544b507b8
602. [func] Cope automatically with UnixWare's broken
...
IN6_IS_ADDR_* macros. [RT #539 ]
2000-12-08 00:55:51 +00:00
Mark Andrews
d30c18b17a
set ttl of subtration header
2000-12-07 23:37:52 +00:00
David Lawrence
71c68c49db
prototype for dns_c_nameprint()
2000-12-07 22:42:22 +00:00
Mark Andrews
6fda157766
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND*
2000-12-07 20:15:58 +00:00
Brian Wellington
020ebf1190
log the reasons for various verify failures.
2000-12-07 20:13:29 +00:00
Mark Andrews
168ec3b800
Check ttl when adding/subtracting.
...
New add flag DNS_DBADD_EXACTTTL.
2000-12-07 19:51:58 +00:00
David Lawrence
b161f87be8
Updated API to support i18n message arguments to isc_log_{,v}write{,1}.
...
Provided isc_log_i{,v}write{,1}, with appropriate macro substitutions,
for files that are not yet converted to the new API. When everything
is converted, the added functions will be removed.
2000-12-07 19:30:28 +00:00
Brian Wellington
cff0491bed
The TKEYTRACE macro was never used, and wasn't correct.
2000-12-07 19:13:05 +00:00
Mark Andrews
a009a2da12
use ISC_LIST_APPENDUNSAFE
2000-12-07 17:52:37 +00:00
Brian Wellington
6fb2566107
uninitialized link field
2000-12-07 06:07:12 +00:00
Mark Andrews
a31ede78c8
Added locking check + some additional locks.
2000-12-07 03:13:01 +00:00
James Brister
bdd6599e12
Fix printing of sig-validity-interval.
...
No longer print final dot of server key value.
2000-12-07 01:45:57 +00:00
Brian Wellington
1afae09da4
redundant code
2000-12-06 23:39:04 +00:00
David Lawrence
d9135464f2
Stop multiple warnings on IRIX about some bitfiddling being done on
...
a long integer to stuff it into a four byte character array big endianwise.
2000-12-06 23:12:10 +00:00
David Lawrence
e086935752
isc_hex_tobuffer() third argument is unsigned int, not unsigned long
2000-12-06 22:33:39 +00:00
Brian Wellington
6dbf9cbe6a
596. [bug] DNS_RDATASLAB_FORCE and DNS_RDATASLAB_EXACT are
...
not mutually exclusive.
2000-12-06 22:19:05 +00:00
Andreas Gustafsson
ff74ba926b
when printing the view notify value, the traling semicolon
...
and newline were missing
2000-12-06 20:37:01 +00:00
Andreas Gustafsson
03c106341c
PRINT_IF_EQUAL() printed even if not equal
2000-12-06 20:36:26 +00:00
Andreas Gustafsson
21010d8842
missing ISC_LINK_INIT()
2000-12-06 20:36:00 +00:00
David Lawrence
92f9189aee
move definition of check_overrun() before its first use
2000-12-06 20:34:34 +00:00
David Lawrence
f616ef2ea9
missing close parenthesis for an isc_msgcat_get() in an
...
"#if ISC_MEM_TRACKLINES" block.
2000-12-06 20:32:12 +00:00
Brian Wellington
17aac384e0
595. [port] On Linux 2.2, socket() returns EINVAL when it
...
should return EAFNOSUPPORT. Work around this.
2000-12-06 01:53:38 +00:00
David Lawrence
68076411d5
DNS_ZONE_FLAG() was used as a boolean macro, so make it really return
...
ISC_TRUE/ISC_FALSE
2000-12-06 01:45:59 +00:00
David Lawrence
e694d4e201
quiet gcc 2.7.2.3 (specifically, the one on trantor) about a cast discarding
...
const in dump_order_compare()
2000-12-06 01:36:36 +00:00
David Lawrence
ee57537f1d
missing close parenthesis after an isc_mgscat_get()
2000-12-06 01:28:02 +00:00
David Lawrence
77078ddc9a
added msgs.h
2000-12-06 01:24:24 +00:00
David Lawrence
87762baad1
oops, guess you guys need this
2000-12-06 01:21:51 +00:00
Brian Wellington
23f64ea0dc
594. [func] sdb drivers are now assumed to not be thread-safe
...
unless the DNS_SDBFLAG_THREADSAFE flag is supplied.
(also make the dirdb.c driver specify DNS_SDBFLAG_THREADSAFE)
2000-12-06 01:08:41 +00:00
David Lawrence
d7f98c32d3
line > 79 columns
2000-12-06 00:35:44 +00:00
David Lawrence
9cd6d409b7
first pass at using isc_msgcat_get for message strings in libisc
2000-12-06 00:30:32 +00:00
Brian Wellington
5f515f43b0
spacing
2000-12-05 23:28:30 +00:00
Brian Wellington
a1d41dd820
quote more tokens in token_to_text, and don't quote the result from
...
token_to_text in the caller.
2000-12-05 23:27:38 +00:00
Brian Wellington
9c5b8b206a
removed code and output duplication
2000-12-05 22:42:23 +00:00
Brian Wellington
ff1db3c6df
Make sig-validity-interval a number of days, like the documentation says.
2000-12-05 22:19:35 +00:00
Olafur Gudmundsson
09ceae8853
keygen coredumps if rsa key is not generated due to lack of randomness
2000-12-05 21:11:18 +00:00
Brian Wellington
a7f3d1e811
The exiting test in zone_settimer was reversed. Oops.
2000-12-05 20:02:34 +00:00
Brian Wellington
c70908209e
replace some INSISTs that theoretically could occur with normal failures
2000-12-05 18:53:43 +00:00
Brian Wellington
1fe2d5bb6e
zone_settimer now logs an error if isc_timer_reset fails, instead of returning
...
a result which all callers ignored.
2000-12-05 00:47:42 +00:00
Brian Wellington
99b39b3bb4
zone_settimer should do nothing if the zone is exiting. Previously, some of
...
the callers checked this, but not all of them.
2000-12-05 00:36:44 +00:00
Andreas Gustafsson
2c826ed1cf
don't flood logs with lots of notify-related log messages at
...
level info; minor changes to log messages
2000-12-04 23:58:27 +00:00
Brian Wellington
425c9c3720
remove unused variable warnings
2000-12-04 23:39:05 +00:00
Brian Wellington
5af0b591fd
lib/dns/sec/openssl/th-lock.c was useless.
2000-12-04 23:21:42 +00:00
Brian Wellington
704d6eeab1
591. [bug] Work around non-reentrancy in openssl by disabling
...
precomputation in keys.
2000-12-04 23:06:37 +00:00
Andreas Gustafsson
f55dd75bca
minor editing
2000-12-04 18:37:40 +00:00
Mark Andrews
5a6335a8bf
588. [bug] ctx->in_use was not being correctly initalised when
...
when pushing a file for $INCLUDE. [RT #523 ]
2000-12-04 04:17:00 +00:00
Andreas Gustafsson
f1b2bd266e
eliminate compiler warnings about unused variables in
...
sanitized code
2000-12-02 05:29:15 +00:00
Andreas Gustafsson
8db2b65318
more DNS_OPT_NEWCODES sanitation
2000-12-02 05:28:05 +00:00
Andreas Gustafsson
90ad126bb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:44:51 +00:00
Andreas Gustafsson
294ae26fb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:30:08 +00:00
Andreas Gustafsson
ab3f2d77bd
sanitize away the DNS_OPT_NEWCODES stuff
2000-12-02 04:13:35 +00:00
Andreas Gustafsson
941d15a028
style
2000-12-02 04:12:25 +00:00
Mark Andrews
5b027b8ca3
reorder
2000-12-02 00:57:43 +00:00
Andreas Gustafsson
f83520a3d8
treat the use-ixfr option like we do with other obsolete options;
...
in particular, there is no need for the ARM to have a separate section about it
2000-12-02 00:25:42 +00:00
Andreas Gustafsson
ce1f5b8d0a
rewrote much of the statistics counter code
2000-12-01 23:49:59 +00:00
Mark Andrews
90ae994603
memory leak on error path
2000-12-01 23:29:54 +00:00
Mark Andrews
ad70a097c8
Allow views w/ same name and different class to be added to view list.
...
Change view add failure result test from == ISC_R_EXISTS -> != ISC_R_SUCCESS.
2000-12-01 23:27:43 +00:00
Andreas Gustafsson
880a4fcf95
Do not express intent to implement the check-names option.
2000-12-01 19:50:52 +00:00
Andreas Gustafsson
9c566a852f
587. [func] A warning is now printed if the "allow-update"
...
option allows updates based on the source IP
address, to alert users to the fact that this
is insecure and becoming increasingly so as
servers capable of update forwarding are being
deployed.
2000-12-01 18:22:17 +00:00
Mark Andrews
4c08b67a5f
586. [bug] multiple views with the same name were fatal. [RT #516 ]
2000-12-01 09:03:44 +00:00
Mark Andrews
372dfd542b
de-couple dns_zone_notify() and dns_zone_maintenance() from their callers.
2000-12-01 03:20:00 +00:00
Andreas Gustafsson
63cef8bde8
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 01:40:59 +00:00
Mark Andrews
f8abaa0fae
Used a unsigned int rather than a boolean to indicate subtrations making
...
the API more consistant between dns_db_{add,subtract}rdataset(),
dns_rdataslab_{merge,subtract}().
Adjust previous CHANGES to reflect above as this is not yet end user visible.
Add missing CHANGES entry for add/merge.
2000-12-01 01:22:45 +00:00
Andreas Gustafsson
ffc4cece90
#include <isc/mutex.h>
2000-12-01 01:03:12 +00:00
Andreas Gustafsson
7a6f285bc9
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 01:00:47 +00:00
Andreas Gustafsson
94d61e2f76
added UNUSED() macros for arguments that end up unused when assertion checking
...
is turned off
2000-12-01 00:55:16 +00:00
Andreas Gustafsson
6e8d5fd217
missed some #ifdef->#if changes
2000-12-01 00:52:38 +00:00
Andreas Gustafsson
d24d223c17
install conflwres.h, too
2000-12-01 00:50:28 +00:00
Andreas Gustafsson
c52e5c8ed1
test the various memory debug flags with #if instead of #ifdef
...
so that they can be turned off by passing -DISC_MEM_FOO=0 on the compiler
command line; removed some historical cruft
2000-12-01 00:32:02 +00:00
Mark Andrews
9d2c9f7896
585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
...
now support 'exact' additions in a similar manner to
dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 23:59:08 +00:00
Andreas Gustafsson
16ef05fe1b
incremented
2000-11-30 23:06:32 +00:00
Mark Andrews
012c6d0b91
585. [func] dns_db_addrdataset() and and dns_rdataslab_merge()
...
now support 'exact' additions in a similar manner to
dns_db_subtractrdataset() and dns_rdataslab_subtract().
2000-11-30 13:19:09 +00:00
Andreas Gustafsson
8b4eaec405
removed RRSET_AUTHORITATIVE bit as decided in lengthy
...
teleconference discussion; some editorial changes
2000-11-29 22:55:11 +00:00
Mark Andrews
e9fce1415f
582. [bug] dns_zone_idetach() failed to lock the zone.
...
[RT #199 , #463 ]
2000-11-29 14:03:29 +00:00
David Lawrence
01a37f376f
changed "in" to "of" in DNS_R_SINGLETON, "multiple RRs of singleton type"
2000-11-29 05:59:33 +00:00
Andreas Gustafsson
25303900d1
missing semicolon
2000-11-29 01:51:54 +00:00
Andreas Gustafsson
1d90a73d6d
Make reloads work again after condition variable hack; added comments
2000-11-29 01:50:49 +00:00
Andreas Gustafsson
8e7ce54bef
Make omapi clients work on single-threaded systems by
...
means of a gross hack involving recursive invocation of the
event loop. [RT #505 ]
2000-11-29 01:27:09 +00:00
Andreas Gustafsson
aefca1d492
typo in comment
2000-11-29 00:10:29 +00:00
Andreas Gustafsson
37fb395fd7
it makes no sense for a forward zone to have
...
a {min,max}-re{try,fresh}-time or zone-statistics option
2000-11-28 22:42:37 +00:00
Andreas Gustafsson
54f6b2cfa8
stacksize, datasize, coresize and files options are now implemented
2000-11-28 21:43:37 +00:00
Andreas Gustafsson
1f1ff380e0
switch() was missing all break; statements, causing setting of resource
...
limits to always fail
2000-11-28 21:40:52 +00:00
Andreas Gustafsson
9374f5f62c
Do not express intent to implement the check-names option.
2000-11-28 21:20:51 +00:00
Andreas Gustafsson
57aac9d2de
removed /* XXX should use temporary file and rename */ comment -
...
dns_master_dump() now takes care of that
2000-11-28 20:54:37 +00:00
Andreas Gustafsson
5c90fb2361
clarified error messages
2000-11-28 17:34:06 +00:00
Mark Andrews
ae520c2f9f
More obsolete filed warnings
2000-11-28 05:24:53 +00:00
Mark Andrews
9b2e198580
Silence compiler
2000-11-28 04:46:00 +00:00
Mark Andrews
70270e02ca
Remove max-cache-ttl and max-ncache-ttl unimplemented warnings.
...
Warn max-cache-size is not implemented.
2000-11-28 04:01:21 +00:00
Mark Andrews
1e9a8d3d39
Warn that max-cache-size is not yet implemented.
2000-11-28 03:57:17 +00:00
Mark Andrews
a7e4b89468
Check stub dialup option values.
2000-11-28 03:22:55 +00:00
Andreas Gustafsson
8a711bcd39
clarified comment
2000-11-28 02:33:58 +00:00
Andreas Gustafsson
0b2d261301
removed sdb NOMINUM_PUBLIC cruft
2000-11-28 02:10:03 +00:00
Michael Sawyer
504b15de12
Use zone lock instead of zmgr lock on counters
...
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
Andreas Gustafsson
f00075e753
getrrsetbyname() incorrectly assumed that malloc() and
...
calloc() return NULL only on failure, causing the lwres test to fail
on OSF/1 and AIX systems
2000-11-28 01:50:46 +00:00
Bob Halley
59e1a928bc
do not INSIST when restarting with returnlame
2000-11-27 19:56:16 +00:00
Andreas Gustafsson
41c53e1d11
added comment
2000-11-27 19:45:45 +00:00
Andreas Gustafsson
9259fed3d8
Continue move of lib/dns/*conf.c stuff to bin/named
2000-11-27 19:42:38 +00:00
Andreas Gustafsson
d7059b8b7c
80 columns
2000-11-27 19:15:39 +00:00
Andreas Gustafsson
78aa86abc6
typos
2000-11-27 17:49:41 +00:00
Mark Andrews
07892e4443
Memory leak when ISC_MEM_TRACKLINES is defined.
2000-11-25 06:40:54 +00:00
Mark Andrews
dfd7798d8b
578. [func] Notify-source, specify the source address for notify
...
messages.
2000-11-25 02:43:56 +00:00
Mark Andrews
01c161ee2b
add DNS_R_SINGLETON
2000-11-25 01:20:47 +00:00
Mark Andrews
19ff7edc1a
577. [func] Log illegal RDATA combinations. e.g. multiple
...
singlton types, cname and other data.
2000-11-24 01:51:11 +00:00
Mark Andrews
8a0ff6c15c
576. [doc] isc_log_create() description did not match reality.
...
575. [bug] isc_log_create() was not setting internal state
correctly to reflect the default channels created.
2000-11-24 01:37:26 +00:00