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
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
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
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
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
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
ed019cabc1
fixed lines > 79 columns wide
2000-05-24 05:10:00 +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
David Lawrence
cf479fdc6b
removed unused static function violate_locking_hierarchy
2000-05-24 02:41:03 +00:00
Brian Wellington
fc16635d3c
remove a memory leak
2000-05-23 23:36:39 +00:00
Brian Wellington
41faaa9b35
If an incoming message contains a SIG(0), store the rdataset owner name
...
in the message structure, even though it should be the root. Also,
return this name in dns_message_getsig0().
2000-05-23 23:35:54 +00:00
Brian Wellington
e6d420aea9
In dns_name_totext, if omit_final_dot is true and the name is the root,
...
override omit_final_dot and print "."
2000-05-23 23:34:40 +00:00
Andreas Gustafsson
875ad7d99d
when reloading the server, zone objects reused with a new
...
view object still referenced their old view
2000-05-23 04:38:22 +00:00
Brian Wellington
81b438273a
Commented hard to understand behavior in dns_message_signer
2000-05-23 00:23:42 +00:00
Mark Andrews
00b67c06b9
Add contract notes for dns_requestmgr_{attach,detach}().
2000-05-23 00:11:45 +00:00
Brian Wellington
c637772ac3
Attempting to delete a SIG set with dynamic update crashed the server.
2000-05-23 00:09:09 +00:00
Brian Wellington
82efeeb703
removed typo
2000-05-22 23:34:24 +00:00
Brian Wellington
7e8dd00fce
More tsig rdatastruct problems fixed
2000-05-22 23:17:22 +00:00
Michael Sawyer
54229947d3
Change strlen to sizeof.
2000-05-22 22:41:24 +00:00
Andreas Gustafsson
1ac4b2a1da
when printing a SIG record with covers==0, print it as 0,
...
not RESERVED0
2000-05-22 21:42:47 +00:00
Michael Sawyer
1ed4ba5a1f
Add pseudosection printing, and dns_message_pseudosectiontotext().
2000-05-22 21:22:06 +00:00
Brian Wellington
feb40fc5f9
keytag collision handling was broken and a memory leak existed in the error
...
handling code.
2000-05-22 21:17:05 +00:00
Andreas Gustafsson
cd01c9716f
Reintroduced separate internal/external reference counts for zones,
...
reversing part of the changes made on 2000/05/17. Doing an explicit
zone shutdown on destruction of the zone table caused the zone to
be shut down prematurely on server reload when the zone table was
destroyed but the zone had already been attached to a new zone table.
An external reference count is needed to correctly handle this situation.
2000-05-22 17:23:15 +00:00
Mark Andrews
373ce67419
Implement dns_rdata_fromstruct() where not already done.
...
Add missing REQUIRE tests to existing implementations.
2000-05-22 12:38:12 +00:00
Mark Andrews
0103f42343
Add comment about requiring pointers to memory block to be NULL if the
...
corresponding length is 0, non-NULL otherwise.
2000-05-22 12:34:16 +00:00
Andreas Gustafsson
be8d4578da
zone_xferdone() assigned the updated zone expiry time to the wrong variable
...
zone->expire instead of zone->expiretime. This left zone->expiretime
with a value of zero, causing zone_settimer() to get horribly confused
and set the timer to the inactive state (!). This in turn caused
notify-driven refreshes (and probably other timer-scheduled events, too)
to never happen.
2000-05-20 21:24:41 +00:00
Brian Wellington
d1eee46938
fixes to dns_message_sectiontotext for the question section
2000-05-20 02:00:29 +00:00
Michael Graff
19591ace46
reload zone housekeeping information on AXFR/IXFR
2000-05-20 01:32:46 +00:00
Michael Graff
341323e0e7
move dns_db_getsoaserial() from journal.c to db.c
2000-05-20 01:32:03 +00:00
Michael Sawyer
9dca36b2ab
Remove unused no_rdata_or_ttl flag from message_totext and message_sectiontotest routines.
2000-05-20 01:29:58 +00:00
Brian Wellington
fa686a7235
removed more invalid _freestruct calls
2000-05-20 01:27:28 +00:00
Michael Graff
1a3563145b
remove unreachable code
2000-05-20 01:05:50 +00:00
Brian Wellington
17a3fcecd0
Propagate errors out of the validator in all cases. This means that if there
...
are any problems in a validation, a SERVFAIL will be returned. This may not
be correct in all cases (and will be fixed), but it leaves the server in a
much more consistent state after failures.
2000-05-19 23:04:14 +00:00