Brian Wellington
5f80c1428b
Don't leak memory when reloading the zone if an update-policy clause was
...
present in the old zone.
2000-05-26 00:48:59 +00:00
Andreas Gustafsson
bb25076ffc
implement isc_sockaddr_totext() in terms of isc_netaddr_totext()
2000-05-26 00:41:57 +00:00
Andreas Gustafsson
8eaa51a699
new functions isc_netaddr_totext() and isc_netaddr_format()
2000-05-26 00:41:03 +00:00
Andreas Gustafsson
46e8a97c7c
use isc_sockaddr_format()
2000-05-26 00:38:12 +00:00
David Lawrence
6d831cd0ba
"make include", added by marka during his megacheckin of every file getting
...
the message "in6_addr.s6_addr is *always* an array" (been there, done that)
is actually useful to just rebuild the include/dns/*.h files which
"gen" generates ... if only the rule had a backslash, so that
include/dns/rdatastruct.h was recognized as a dependent rather than
the command to execute. now it does.
2000-05-26 00:21:52 +00:00
Brian Wellington
af60263664
Added dns_tsigkey_attach & _detach, to simplify reference counting.
...
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +00:00
David Lawrence
82a30bf0a0
in dns_name_fromtext, REQUIRE() that the source buffer not have an
...
isc_buffer_remaininglength of 0. this finds problems like isc_buffer_init
not followed by isc_buffer_add much sooner.
also, enforce the already documented contract requirements of needing
a valid source buffer and either a valid target buffer or a name
with a dedicated buffer.
2000-05-25 23:57:25 +00:00
Andreas Gustafsson
8c7eaac6bb
deal with the default view
2000-05-25 22:10:29 +00:00
Andreas Gustafsson
c885fad9b8
Wired up the view-specific 'key' statement.
2000-05-25 22:06:51 +00:00
Andreas Gustafsson
c6cdf39bb2
Removed the function dns_zone_validate(). It was unused,
...
undocumented, marked XXX, and buggy (it contained a switch
statement that compared an rdclass to a set of zone types).
2000-05-25 21:13:39 +00:00
Michael Graff
7c82f6f2e3
Print the actual ipv4-in-ipv6 mapped address we ignore when we ignore it.
2000-05-25 21:08:06 +00:00
Andreas Gustafsson
e6aae9483e
removed code for hint, forward, and cache "zones" as those
...
no longer have zone objects associated with them
2000-05-25 21:07:43 +00:00
Andreas Gustafsson
1adb2e87a2
Cleaned up dns_zone_configure():
...
- Eliminated massive code duplication
- Eliminated code for configuring forward and hint "zones",
as those no longer have zone objects. Left stub zones in
because those probably will have zone objects associated
with them.
- Fixed several bugs:
+ 'allow-transfer' was not obeyed for slave zones or stub zones
+ 'dialup' was not obeyed for stub zones
+ 'transfers-per-ns' was not obeyed for any zones
2000-05-25 19:27:48 +00:00
Olafur Gudmundsson
389f2ccc2f
Upgrading openssl to latest released version 0.9.5
...
there are no major fixes in here but couple of bug fixes that
may affect operation in some cases. I updated rename.h to
make sure all symbols with T have dst__openssl prefix.
Any bugs found in this source code should be reported to the
openssl people.
Olafur
2000-05-25 18:27:42 +00:00
David Lawrence
05e3940191
made operand to left shift in ISC_OFFSET_MAXIMUM unsigned to avoid
...
integer overflow.
2000-05-25 16:44:25 +00:00
Andreas Gustafsson
c90b021ea3
renamed dns_zone_setnotifyalso() to dns_zone_setalsonotify(),
...
to be consistent with the name of the config file option
2000-05-25 15:34:26 +00:00
David Lawrence
b27d7383f4
prototype of *_pop_free made to conform with existing prototype of sk_pop_free
2000-05-25 14:20:05 +00:00
Andreas Gustafsson
4f7ced3f4a
use isc_sockaddr_any(), isc_sockaddr_any6()
2000-05-25 05:21:12 +00:00
Andreas Gustafsson
f1248b6383
use isc_sockaddr_any(), isc_sockaddr_any6()
2000-05-25 05:13:19 +00:00
Andreas Gustafsson
1b106e224d
typo: *lcfgp points to a logging configuration
...
not a logging context
2000-05-25 05:07:21 +00:00
David Lawrence
ebece5658f
added prototypes to pointers-to-functions for sk_pop_free and lh_doall_arg
...
to make both IRIX and HP/UX happy.
2000-05-25 04:02:47 +00:00
David Lawrence
e13efecaa5
made journal_pos_t.offset be an isc_offset_t, resolving some
...
"comparison between signed and unsigned" warnings and allowing for 64 bit
offsets on machines that support it (though there is an issue, there
with journal_rawpos_t being only 4 bytes.)
2000-05-25 03:41:12 +00:00
David Lawrence
6deb631b20
208. [func] Added ISC_OFFSET_MAXIMUM for the maximum value
...
of an isc_offset_t.
2000-05-25 03:34:34 +00:00
David Lawrence
db9628e897
changed "c" stack variable from char to unsigned char to quiet Solaris 5.8
...
warnings that "subscript has type char".
2000-05-25 01:08:07 +00:00
Brian Wellington
5d83b561ad
Added dns_tsigrcode_totext/fromtext
2000-05-25 00:46:32 +00:00
David Lawrence
1ee6767f40
explicitly cast to int four assignments of an unsigned long expression to
...
and int variable. in three of the four cases this cast is questionable,
as suitable range had not been checked, but the situation is no worse
than without the casts.
2000-05-24 23:42:01 +00:00
David Lawrence
cf9eeff3dc
added prototype for pop_info
2000-05-24 23:39:13 +00:00
David Lawrence
c175eace1d
made a couple of definition prototypes consistent with their
...
declaration prototypes.
2000-05-24 23:38:33 +00:00
David Lawrence
36024add69
made "err" in ssleay_rand_pseudo_bytes unsigned long to match the return value
...
of ERR_peek_error().
2000-05-24 23:36:35 +00:00
Brian Wellington
a9bc95f22e
dst now stores the key name as a dns_name_t, not a char *.
2000-05-24 23:13:32 +00:00
David Lawrence
f419977986
use NULL, not NULL_PTR, when casting to a context that requires a
...
pointer-to-function instead of pointer-to-object
2000-05-24 21:50:10 +00:00
David Lawrence
826c281a05
Solaris 5.6 gives this warning about a left shift to set the high bit:
...
warning: integer overflow detected: op "<<"
unless the operand is unsigned/
2000-05-24 21:36:01 +00:00
David Lawrence
f105c1cb72
use IRIX_DNSSEC_WARNINGS_HACK to shut up missing prototype warnings
2000-05-24 20:04:59 +00:00
Michael Sawyer
194de894f0
Slight change to printing of \n's.
2000-05-24 19:28:31 +00:00
David Lawrence
6b554f7f0d
#include <stdlib.h> /* Required on BSD/OS 3.1 for abort() used in va_arg(). */
2000-05-24 18:43:29 +00:00
David Lawrence
bad71acec3
removed non-existing directory ./include from CINCLUDES
2000-05-24 18:38:43 +00:00
Michael Sawyer
c7868e2262
Modify dns_message_totext, dns_message_sectiontotext,
...
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +00:00
Brian Wellington
19d1b1667d
notify and zone soa queries are now tsig signed when appropriate.
2000-05-24 17:30:41 +00:00
David Lawrence
20b20b2394
202. [func] isc_lex_getsourceline() changed from returning int
...
to returning unsigned long, the type of its underlying
counter.
2000-05-24 15:07:59 +00:00
David Lawrence
03a0fca86d
define and use LWRES_SOCKADDR_LEN_T for recvfrom() and stop compiler warnings
...
by casting the sixth parameter of recvfrom() to void *, as with
lib/isc/unix/socket.c.
2000-05-24 05:22:36 +00:00
David Lawrence
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +00:00
David Lawrence
2fda9d9e1b
conform wrapper symbol to ISC style. include isc/result.h for isc_result_t.
2000-05-24 04:59:02 +00:00
David Lawrence
81064d6419
dns/result.h and dns/compress.h removed from t_api.h
2000-05-24 04:56:32 +00:00
David Lawrence
fe56f2116b
dns/result.h and dns/compress.h removed from t_api.h
2000-05-24 03:45:00 +00:00
David Lawrence
5e09ded492
cast assignment of confdata->ndots to lwres_uint8_t (its type). it was already
...
being range checked.
2000-05-24 03:02:16 +00:00
David Lawrence
695c2f9ba1
range check assignment of uint16 "id" in dst_key_parsefilename
2000-05-24 03:00:39 +00:00
David Lawrence
94bd549175
updated comments with regards to chains and parent pointers, and added caveat
...
about what happens with "name" and "origin" parameters when a chain
points to ".".
2000-05-24 02:56:26 +00:00
David Lawrence
1d198e8a6b
removed unused stack variable sigrdataset from authvalidated()
2000-05-24 02:47:15 +00:00
David Lawrence
16996a0488
quiet the irix compiler about uses of the COMPARE()
...
macro in dns_rdataclass_fromtext by using an intermediate variable
to hold the constant 2nd argument in each use.
added the RESERVED attribute to the reserved0 class in the same function.
2000-05-24 02:45:08 +00:00
David Lawrence
2e4ad2f406
removed unreachable break statements that followed return statements
2000-05-24 02:42:03 +00:00