Automatic Updater
33cc94f04c
update copyright notice
2010-11-17 23:47:09 +00:00
Mark Andrews
cd9d825a71
remove accidental commit
2010-11-16 05:38:31 +00:00
Mark Andrews
432e1ce402
check that grow_headerspace added enough space or re-call it
2010-11-16 00:51:41 +00:00
Mark Andrews
c2f5ddeeec
isc_netaddr_format() check for sies equal 0
2010-11-16 00:43:02 +00:00
Mark Andrews
baab444222
isc_sockaddr_format() check for sies equal 0
2010-11-16 00:42:35 +00:00
Automatic Updater
b3ff8e5ae7
update copyright notice
2010-10-18 23:47:08 +00:00
Mark Andrews
7bce336186
2966. [bug] isc_print_vsnprintf() failed to check if there was
...
space available in the buffer when adding a left
justified character with a non zero width,
(e.g. "%-1c"). [RT #22270 ]
2010-10-18 03:59:05 +00:00
Automatic Updater
2b43d1d8c5
update copyright notice
2010-08-13 23:47:04 +00:00
Francis Dupont
7641867b4c
fix win32 build
2010-08-13 14:33:31 +00:00
Francis Dupont
bcb444aed0
remove connection aborted error message
2010-08-13 10:45:32 +00:00
Tatuya JINMEI 神明達哉
d0b75b9ff6
define the wrapper function for mem_isovermem().
...
(a regression in rt21818)
2010-08-12 21:30:26 +00:00
Automatic Updater
cc4dd0d08d
update copyright notice
2010-08-11 23:46:42 +00:00
Tatuya JINMEI 神明達哉
253ae50e09
required ctx is valid in mem_isovermem().
2010-08-11 23:11:45 +00:00
Tatuya JINMEI 神明達哉
27fe1966c9
2937. [bug] Worked around an apparent race condition in over
...
memory conditions. Without this fix a DNS cache DB or
ADB could incorrectly stay in an over memory state,
effectively refusing further caching, which
subsequently made a BIND 9 caching server unworkable.
This fix prevents this problem from happening by
polling the state of the memory context, rather than
making a copy of the state, which appeared to cause
a race. This is a "workaround" in that it doesn't
solve the possible race per se, but several experiments
proved this change solves the symptom. Also, the
polling overhead hasn't been reported to be an issue.
This bug should only affect a caching server that
specifies a finite max-cache-size. It's also quite
likely that the bug happens only when enabling threads,
but it's not confirmed yet. [RT #21818 ]
2010-08-11 22:54:58 +00:00
Automatic Updater
548317f929
update copyright notice
2010-08-10 23:48:19 +00:00
Mark Andrews
712b976a06
2934. [bug] Use ANSI C compliant shift range in lib/isc/entropy.c. [RT #21871 ]
2010-08-10 09:32:06 +00:00
Automatic Updater
e40d5d6b71
update copyright notice
2010-06-09 23:50:58 +00:00
Mark Andrews
76117ff568
CHANGES
2010-06-09 01:43:09 +00:00
Automatic Updater
6e13ffa218
update copyright notice
2010-06-03 23:51:05 +00:00
Mark Andrews
a20996ab6f
2910. [func] Sanity check Kerberos credentials. [RT #20986 ]
2010-06-03 02:29:58 +00:00
Mark Andrews
ed30e0358b
9.7.1b1
2010-05-18 06:14:32 +00:00
Mark Andrews
2fca4a3321
2882. [bug] Remove memory context from list of active contexts
...
before clearing 'magic'. [RT #21274 ]
2010-05-12 00:46:55 +00:00
Automatic Updater
127e1bde3a
update copyright notice
2010-04-09 23:51:01 +00:00
Tatuya JINMEI 神明達哉
ce164dbd9c
2871. [bug] Type mismatch in mem_api.c between the definition and
...
the header file, causing build failure with
--enable-exportlib. [RT #21138 ]
9.8.0 and 9.7.1.
2010-04-09 06:09:35 +00:00
Mark Andrews
ff9301990d
2865. [bug] memset to zero event.data. [RT #20986 ]
2010-03-12 03:22:57 +00:00
Mark Andrews
08fb52ec8c
2863. [port] linux: disable IPv6 PMTUD and use network minimum MTU.
...
[RT #21056 ]
2010-03-11 04:43:57 +00:00
Automatic Updater
4d42b714be
update copyright notice
2010-03-04 23:50:34 +00:00
Mark Andrews
5388178e8a
2955. [bug] The size of a memory allocation was not always properly
...
recorded. [RT #20927 ]
2010-03-04 05:45:51 +00:00
Mark Andrews
d1a5fdc34a
2955. [bug] The size of a memory allocation was not always properly
...
recorded. [RT #20927 ]
2010-03-04 05:29:15 +00:00
Automatic Updater
8077efca7d
update copyright notice
2010-02-22 23:49:11 +00:00
Mark Andrews
f56be26f60
.NOTPARALLEL/.NO_PARALLEL
2010-02-22 02:00:07 +00:00
Automatic Updater
6f1b350c3a
update copyright notice
2010-02-04 23:49:13 +00:00
Tatuya JINMEI 神明達哉
139cedabf9
2850. [bug] If isc_heap_insert() failed due to memory shortage
...
the heap would have corrupted entries.
9.8.0, 9.7.1(?), 9.6.2, 9.5.3
(what about 9.4-ESV?)
2010-02-04 23:22:05 +00:00
Mark Andrews
8ac908b38a
2849. [bug] Don't treat errors from the xml2 library as fatal.
...
[RT #20945 ]
2010-02-04 00:57:25 +00:00
Automatic Updater
aad3d15976
update copyright notice
2010-01-31 23:49:09 +00:00
Mark Andrews
ebaf977ecf
2846. [bug] EOF on unix domain sockets was not being handled
...
correctly. [RT #20731 ]
2010-01-31 23:18:03 +00:00
Automatic Updater
65d1486535
update copyright notice
2010-01-11 23:48:37 +00:00
Francis Dupont
a91029a00e
Prevent Linux spurious warnings about fwrite(). [RT #20812 ]
2010-01-11 10:49:14 +00:00
Automatic Updater
a30c7003af
update copyright notice
2010-01-07 23:48:54 +00:00
Evan Hunt
0f66aced26
2834. [bug] HMAC-SHA* keys that were longer than the algorithm
...
digest length were used incorrectly, leading to
interoperability problems with other DNS
implementations. This has been corrected.
(Note: If an oversize key is in use, and
compatibility is needed with an older release of
BIND, the new tool "isc-hmac-fixup" can convert
the key secret to a form that will work with all
versions.) [RT #20751 ]
2010-01-07 21:52:12 +00:00
Mark Andrews
28f4cd0a45
2808. [bug] Remove the attempt to install atomic.h from lib/isc.
...
atomic.h is correctly intalled by the architecture
specific subdirectories. [RT #20722 ]
2009-12-18 04:07:08 +00:00
Mark Andrews
485a435efe
2808. [bug] atomic.h was not being properly installed under all
...
circumstances. [RT #20722 ]
2009-12-18 03:05:37 +00:00
Evan Hunt
c7611c7dd2
prep for 9.7.0rc1 release
2009-12-06 02:31:42 +00:00
Evan Hunt
12178c8652
2805. [bug] Fixed namespace problems encountered when building
...
external programs using non-exported BIND9 libraries
(i.e., built without --enable-exportlib). [RT #20679 ]
2009-12-05 23:31:41 +00:00
Mark Andrews
8b37c0dd6e
2794. [bug] Install <isc/namespace.h>. [RT #20677 ]
2009-11-30 21:34:57 +00:00
Evan Hunt
af52d6ddd7
prep for release of 9.7.0b3
2009-11-18 00:30:37 +00:00
Evan Hunt
37a34ab54f
2766. [bug] isc_socket_fdwatchpoke() should only update the
...
socketmgr state if the socket is not pending on a
read or write. [RT #20603 ]
2009-11-13 00:41:58 +00:00
Evan Hunt
5857247dbb
2758. [bug] win32: Added a workaround for a windows 2008 bug
...
that could cause the UDP client handler to shut
down. [RT #19176 ]
2009-11-10 18:31:47 +00:00
Mark Andrews
7efc6d9cb8
cleanup [RT #20509 ]
2009-11-04 05:58:46 +00:00
Evan Hunt
5b72cda36b
update API and def files for 9.7.0b2 release
2009-10-28 18:13:24 +00:00
Evan Hunt
cc6cddfd94
2726. [func] Added support for SHA-2 DNSSEC algorithms,
...
RSASHA256 and RSASHA512. [RT #20023 ]
2009-10-22 02:21:31 +00:00
Automatic Updater
3cae549ddb
update copyright notice
2009-10-21 23:48:05 +00:00
Evan Hunt
8ec993c774
2723. [bug] isc_base32_totext(), isc_base32hex_totext(), and
...
isc_base64_totext(), didn't always mark regions of
memory as fully consumed after conversion. [RT #20445 ]
2009-10-21 01:22:29 +00:00
Mark Andrews
9ac35b4e4d
grammar, line length
2009-10-19 02:37:08 +00:00
Automatic Updater
f6cd5ef97a
update copyright notice
2009-10-14 23:47:51 +00:00
Mark Andrews
cbee6197d1
2713. [bug] powerpc: atomic operations missing asm("ics") /
...
__isync() calls.
2009-10-14 03:54:23 +00:00
Evan Hunt
ea845a6b72
Rebase all of the API files to interface=60, as this is the first
...
beta of a new major release.
2009-10-05 22:01:26 +00:00
Francis Dupont
8b78c993cb
explicit engine rt20230a
2009-10-05 17:30:49 +00:00
Automatic Updater
edb08fdf7b
update copyright notice
2009-10-01 23:48:08 +00:00
Mark Andrews
cf7432f747
2697. [port] win32: ensure that S_IFMT, S_IFDIR, S_IFCHR and
...
S_IFREG are defined after including <isc/stat.h>.
[RT #20309 ]
2009-10-01 04:43:30 +00:00
Shawn Routhier
bafa76b324
Updates to fdwatch code to support DHCP/DDNS code, ticket rt20253.
2009-10-01 01:30:01 +00:00
Automatic Updater
61dd99bfae
update copyright notice
2009-09-29 23:48:04 +00:00
Francis Dupont
debd489a44
noreturn RT #20257
2009-09-29 15:06:07 +00:00
Mark Andrews
1e733ffc11
2792. [port] win32: 32/64 bit cleanups. [RT #128244 ]
2009-09-29 04:38:23 +00:00
Automatic Updater
627f3e0805
update copyright notice
2009-09-25 23:48:13 +00:00
Mark Andrews
ff850b81c8
2690. [bug] win32: fix isc_thread_key_getspecific() prototype.
...
[RT #20315 ]
2009-09-25 05:48:17 +00:00
Mark Andrews
ef830a7750
use (char *) for {get,set}sockopt argument
2009-09-25 02:44:06 +00:00
Automatic Updater
b4336342d1
update copyright notice
2009-09-24 23:48:13 +00:00
Mark Andrews
69338455d9
2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
...
to decide to fetch the destination address. [RT #20305 ]
2009-09-24 06:37:50 +00:00
Automatic Updater
d8b801bd19
update copyright notice
2009-09-08 23:41:50 +00:00
Francis Dupont
e7de5dcef6
typo, cf RT20219
2009-09-08 13:04:29 +00:00
Mark Andrews
0b8385f5c5
2670. [bug] Unexpected connect failures failed to log enough
...
information to be useful. [RT #20205 ]
2009-09-07 02:08:51 +00:00
Tatuya JINMEI 神明達哉
457144a0c6
explained the portability workaround macro for isc__ vs isc___
2009-09-04 18:51:37 +00:00
Tatuya JINMEI 神明達哉
2eb6a502bc
added a missing .c file to SRC
2009-09-04 18:13:44 +00:00
Evan Hunt
82629edf81
jinmei's updated mem.h, which uses macros to generate function prototypes.
...
this change was needed to support the bind9 build and export library build
on both *nix and win32. cleanup from change 2660/rt19369.
2009-09-04 17:47:26 +00:00
Tatuya JINMEI 神明達哉
af55bddf26
cleanup: fixed incorrect ifdef [RT #20210 ]
2009-09-03 21:55:13 +00:00
Evan Hunt
c164f233b4
s/isc__mem_reallocate/isc___mem_reallocate/
2009-09-02 23:51:55 +00:00
Automatic Updater
d7201de09b
update copyright notice
2009-09-02 23:48:03 +00:00
Evan Hunt
e7c38ca963
- define isc_mem_reallocate() in the abstract API for export lib [rt20208]
...
- define BIND9 in config.h.win32
- fix problems in mem.h caused by the win32 preprocessor failing to
expand macros used within macros
- silence a win32 compiler warning in hip_55.c
2009-09-02 23:43:54 +00:00
Evan Hunt
41e251fad0
add backtrace.c, backtrace.h, backtrace-emptytbl.c, backtrace-emptytbl.h
...
to win32 build
2009-09-02 19:01:49 +00:00
Tatuya JINMEI 神明達哉
9dbca282e4
corrected trivial comment errors (reviewed by Evan in jabber)
2009-09-02 18:38:40 +00:00
Evan Hunt
f0eecd4d62
changes needed for win32 build
2009-09-02 18:32:25 +00:00
Evan Hunt
0c1326fa62
add /D "BIND9" for win32 builds
...
(we'll probably need a different project file for creating an exportable DLL)
2009-09-02 18:00:51 +00:00
Evan Hunt
e30d8c5a47
missing include needed for win32 build
2009-09-02 17:58:06 +00:00
Evan Hunt
a21cde0291
update win32 libisc.def
2009-09-02 17:23:45 +00:00
Tatuya JINMEI 神明達哉
8fec8134ea
suppress compiler warnings [RT #20203 ]
2009-09-02 04:25:19 +00:00
Automatic Updater
823ca3c14f
update copyright notice
2009-09-01 23:47:45 +00:00
Tatuya JINMEI 神明達哉
ae16941d9f
cleanup: removed a redundant semi-colon
2009-09-01 23:05:33 +00:00
Evan Hunt
93ebf0fc08
- add .cvsignore files
...
- silence tinderbox warnings about missing config.h in a few files.
2009-09-01 20:13:44 +00:00
Tatuya JINMEI 神明達哉
a27fe4c990
2667. [func] Add support for logging stack backtrace on assertion
...
failure (not available for all platforms). [RT #19780 ]
9.7.0
2009-09-01 18:40:25 +00:00
Tatuya JINMEI 神明達哉
965b6e2a1b
fixed trivial errors about the type of function return values
2009-09-01 08:12:33 +00:00
Tatuya JINMEI 神明達哉
9eae5f2a7a
added include <config.h>
2009-09-01 03:43:27 +00:00
Tatuya JINMEI 神明達哉
307d208450
2660. [func] Add a new set of DNS libraries for non-BIND9
...
applications. See README.libdns. [RT #19369 ]
2009-09-01 00:22:28 +00:00
Evan Hunt
747abb4993
2658. [bug] dnssec-settime and dnssec-revoke didn't process
...
key file paths correctly. [RT #20078 ]
2009-08-28 03:13:08 +00:00
Mark Andrews
ece6c39dd8
missing semicolon
2009-08-14 07:51:08 +00:00
Mark Andrews
1d9958c6cc
2648. [port] win32: isc_time_seconds() was broken. [RT #19900 ]
2009-08-13 03:34:10 +00:00
Mark Andrews
048690a34d
2646. [bug] Incorrect cleanup on error in socket.c. [RT #19987 ]
2009-08-13 02:11:20 +00:00
Automatic Updater
4a979d3577
update copyright notice
2009-07-17 23:47:41 +00:00
Evan Hunt
3967528c77
2635. [bug] isc_inet_ntop() incorrectly handled 0.0/16 addresses.
...
[RT #19716 ]
2009-07-17 22:01:44 +00:00
Evan Hunt
aeff7de836
2634. [port] win32: Add support for libxml2, enable
...
statschannel. [RT #19773 ]
2009-07-17 06:25:45 +00:00
Mark Andrews
2792e226c7
2633. [bug] Handle 15 bit rand() functions. [RT #19783 ]
2009-07-16 05:52:46 +00:00
Evan Hunt
08f860f800
2630. [func] Improved syntax for DDNS autoconfiguration: use
...
"update-policy local;" to switch on local DDNS in a
zone. [RT #19875 ]
2009-07-14 22:54:57 +00:00
Automatic Updater
c6fb85f950
update copyright notice
2009-07-01 23:47:36 +00:00
Evan Hunt
cfb1587eb9
2619. [func] Add support for RFC 5011, automatic trust anchor
...
maintenance. The new "managed-keys" statement can
be used in place of "trusted-keys" for zones which
support this protocol. (Note: this syntax is
expected to change prior to 9.7.0 final.) [RT #19248 ]
2009-06-30 02:53:46 +00:00
Automatic Updater
eddfb6120c
update copyright notice
2009-06-25 23:48:02 +00:00
Mark Andrews
86739ab72c
Editorial nits. [RT #19815 ]
2009-06-25 05:28:34 +00:00
Mark Andrews
76110b31fe
2615. [bug] "__attribute__((unused))" was in the wrong place
...
for ia64 gcc builds. [RT #19854 ]
2009-06-24 02:22:50 +00:00
Evan Hunt
76786c2904
- assorted changes needed for windows build
...
- began versioning for 9.7.0a1
2009-06-12 02:33:21 +00:00
Automatic Updater
754cb8a2b3
update copyright notice
2009-06-11 23:47:56 +00:00
Evan Hunt
18ad4708eb
commit windows build changes needed for DDNS patch
2009-06-10 23:36:57 +00:00
Evan Hunt
351b62535d
2609. [func] Simplify the configuration of dynamic zones:
...
- add ddns-confgen command to generate
configuration text for named.conf
- add zone option "ddns-autoconf yes;", which
causes named to generate a TSIG session key
and allow updates to the zone using that key
- add '-l' (localhost) option to nsupdate, which
causes nsupdate to connect to a locally-running
named process using the session key generated
by named
[RT #19284 ]
2009-06-10 00:27:22 +00:00
Automatic Updater
7a272c6b0d
update copyright notice
2009-05-06 23:47:50 +00:00
Tatuya JINMEI 神明達哉
5d7849ad7f
2596. [bug] Stale tree nodes of cache/dynamic rbtdb could stay
...
long, leading to inefficient memory usage or rejecting
newer cache entries in the worst case. [RT #19563 ]
2009-05-06 22:53:54 +00:00
Tatuya JINMEI 神明達哉
cda7c783c3
2585. [bug] Uninitialized socket name could be referenced via a
...
statistics channel, triggering an assertion failure in
XML rendering. [RT #19427 ]
2009-04-18 01:28:17 +00:00
Automatic Updater
cc0f37ba17
update copyright notice
2009-04-08 06:48:23 +00:00
Tatuya JINMEI 神明達哉
af2e2f5ed7
2584. [bug] alpha: gcc optimization could break atomic operations.
...
[RT #19227 ]
2009-04-08 05:46:22 +00:00
Mark Andrews
f605647060
Undocumented firewall test hook. [RT #19398 ]
2009-03-05 03:13:55 +00:00
Automatic Updater
87a58323be
update copyright notice
2009-02-18 23:47:48 +00:00
Mark Andrews
d53cade6ae
add #include "config.h"
2009-02-18 06:44:58 +00:00
Automatic Updater
bf33eb0b52
update copyright notice
2009-02-16 23:48:04 +00:00
Mark Andrews
6fbeed7f8f
silence 'Different types treated as unsigned for >=.' warning
2009-02-16 03:16:10 +00:00
Mark Andrews
e502b133d6
2556. [cleanup] PCI compliance:
...
* new libisc log module file
* isc_dir_chroot() now also changes the working
directory to "/".
* additional INSISTs
* additional logging when files can't be removed.
2009-02-16 02:01:16 +00:00
Automatic Updater
bbdbde5fa0
update copyright notice
2009-02-13 23:48:14 +00:00
Mark Andrews
6cf047f100
2549. [port] linux: define NR_OPEN if not currently defined.
...
[RT #19344 ]
2009-02-13 09:15:18 +00:00
Automatic Updater
dd0adce112
update copyright notice
2009-02-12 23:47:56 +00:00
Mark Andrews
b663e99af6
2548. [bug] Install iterated_hash.h. [RT #19335 ]
2009-02-12 22:17:15 +00:00
Francis Dupont
d7d2a7fbad
add isc__mem_reallocate()
2009-02-12 12:45:04 +00:00
Francis Dupont
ee620d5bd0
add stats
2009-02-12 11:32:57 +00:00
Tatuya JINMEI 神明達哉
77d90dc2b5
2547. [bug] openssl_link.c:mem_realloc() could reference an
...
out-of-range area of the source buffer. New public
function isc_mem_reallocate() was introduced to address
this bug. [RT #19313 ]
2009-02-11 03:04:18 +00:00
Automatic Updater
53f0234c3e
update copyright notice
2009-02-06 23:47:42 +00:00
Francis Dupont
c1d7e0562f
OpenSSL hashes
2009-02-06 12:26:23 +00:00
Automatic Updater
c520b0f616
update copyright notice
2009-02-04 23:48:09 +00:00
Mark Andrews
ba576cf8e7
silence comiler warning. [RT #18630 ]
2009-02-04 04:43:42 +00:00
Tatuya JINMEI 神明達哉
03ff5c04b8
missing 'ISC_LANG_BEGINDECLS'
2009-01-29 01:03:56 +00:00
Automatic Updater
39a8abdb83
update copyright notice
2009-01-27 23:47:54 +00:00
Tatuya JINMEI 神明達哉
d9059b0c38
2537. [func] Added more statistics counters including those on socket
...
I/O events and query RTT histograms. [RT #18802 ]
2009-01-27 22:30:00 +00:00
Automatic Updater
3bed8e9913
update copyright notice
2009-01-23 23:47:54 +00:00
Mark Andrews
0cee7fdce3
move formating out of msgcat
2009-01-23 01:27:12 +00:00
Mark Andrews
6bcb646fd1
undo one change from #2536
2009-01-23 01:15:41 +00:00
Automatic Updater
3319413a67
update copyright notice
2009-01-22 23:47:54 +00:00
Mark Andrews
f148f53794
2536. [cleanup] Silence some warnings when -Werror=format-security is
...
specified. [RT #19083 ]
2009-01-22 05:39:29 +00:00
Automatic Updater
9a14f870dd
update copyright notice
2009-01-18 23:48:14 +00:00
Francis Dupont
a05abc1767
spelling
2009-01-18 00:50:21 +00:00
Francis Dupont
1016f2638f
spelling
2009-01-18 00:34:19 +00:00
Francis Dupont
3b8b44559a
spelling
2009-01-18 00:11:07 +00:00
Francis Dupont
23af793acb
spelling
2009-01-18 00:06:06 +00:00
Automatic Updater
d362465c77
update copyright notice
2009-01-17 23:47:43 +00:00
Francis Dupont
0ef59d2288
spelling
2009-01-17 23:42:01 +00:00
Francis Dupont
b65746833b
spelling
2009-01-17 23:13:19 +00:00
Automatic Updater
0cfbb9285a
update copyright notice
2009-01-06 23:47:57 +00:00
Automatic Updater
5569e7de51
update copyright notice
2009-01-05 23:47:54 +00:00
Tatuya JINMEI 神明達哉
3fb1637c92
trivial comment cleanups (RT#19118)
2009-01-05 23:20:22 +00:00
Mark Andrews
24450ad58d
2513 [bug] Fix windows cli build. [RT #19062 ]
2008-12-13 00:23:54 +00:00
Mark Andrews
3d4e5a200f
remove XXXMPA
2008-12-03 02:11:32 +00:00
Mark Andrews
d8fc8514b1
2504. [bug] Address race condition in the socket code. [RT #18899 ]
2008-12-03 02:03:47 +00:00
Automatic Updater
f8f8a5b3a3
update copyright notice
2008-12-01 23:47:45 +00:00
Mark Andrews
04ec5b376d
unsigned contants
2008-12-01 13:26:51 +00:00
Mark Andrews
36c12f1bb4
#undef inet_aton
2008-12-01 04:14:54 +00:00
Mark Andrews
9935447b51
2503. [port] linux: improve compatibility with Linux Standard
...
Base. [RT #18793 ]
2008-12-01 03:53:32 +00:00
Mark Andrews
ce1d07a80f
out of memory condition could be missed. [RT #18970 ]
2008-12-01 00:15:37 +00:00
Mark Andrews
175a8bd2b7
2502. [cleanup] isc_radix: Improve compliance with coding style,
...
document function in <isc/radix.h>. [RT #18534 ]
2008-12-01 00:04:21 +00:00
Tatuya JINMEI 神明達哉
eb8265942b
2498. [bug] Removed a bogus function argument used with
...
ISC_SOCKET_USE_POLLWATCH: it could cause compiler
warning or crash named with the debug 1 level
of logging. [RT #18917 ]
(Note that this entry is placed below the 9.6.0rc1 mark)
2008-11-20 00:04:17 +00:00
Mark Andrews
ac4b736ab2
9.6.0rc1
2008-11-16 21:21:42 +00:00
Automatic Updater
49960a74b5
update copyright notice
2008-11-14 23:47:33 +00:00
Mark Andrews
da2d57c8cf
2493. [bug] The linux capabilites code was not correctly cleaning
...
up after itself. [RT #18767 ]
2008-11-14 05:24:11 +00:00
Automatic Updater
cfeaf83e2b
update copyright notice
2008-11-12 23:47:17 +00:00
Mark Andrews
dc143a8f5c
2490. [port] aix: work around a kernel bug where IPV6_RECVPKTINFO
...
is cleared when IPV6_V6ONLY is set. [RT #18785 ]
2008-11-12 03:52:32 +00:00
Tatuya JINMEI 神明達哉
f99fd90097
2489. [port] solaris: Workaround Solaris's kernel bug about
...
/dev/poll:
http://bugs.opensolaris.org/view_bug.do?bug_id=6724237
Define ISC_SOCKET_USE_POLLWATCH at build time to enable
this workaround. [RT #18870 ]
2008-11-08 22:35:12 +00:00
Automatic Updater
d9edfd5642
update copyright notice
2008-11-02 23:47:01 +00:00
Francis Dupont
7b1a7a098b
no chroot() in Win32 API
2008-11-02 12:48:39 +00:00
Mark Andrews
0d444dc136
2470. [bug] Elements of the isc_radix_node_t could be incorrectly
...
overwritten. [RE# 18719]
2008-10-23 00:00:58 +00:00
Tatuya JINMEI 神明達哉
b05585dcfe
2467. [bug] Failure of fcntl(F_DUPFD) wasn't logged. [RT #18740 ]
2008-10-17 21:49:23 +00:00
Automatic Updater
87ecfd734c
update copyright notice
2008-10-15 23:47:31 +00:00
Mark Andrews
394c1ac533
evloop prototype. [RT #18196 ]
2008-10-15 03:41:17 +00:00
Mark Andrews
4aee922977
coverity analysis support. [RT #18196 ]
2008-10-15 03:29:13 +00:00
Mark Andrews
b018450b0e
sig is only used if threads are in use. [RT #18196 ]
2008-10-15 03:21:22 +00:00
Evan Hunt
b0bf1ad5b0
2456. [bug] In ACLs, ::/0 and 0.0.0.0/0 would both match any
...
address, regardless of family. They now correctly
distinguish IPv4 from IPv6. [RT #18559 ]
2008-09-26 21:12:02 +00:00
Mark Andrews
86e0a671ed
9.6.0a1
2008-09-25 04:39:58 +00:00
Automatic Updater
3398334b3a
update copyright notice
2008-09-25 04:02:39 +00:00
Automatic Updater
6e2871232f
update copyright notice
2008-09-24 03:16:58 +00:00
Mark Andrews
6098d364b6
2448. [func] Add NSEC3 support. [RT #15452 ]
2008-09-24 02:46:23 +00:00
Mark Andrews
c6c09f77f8
2444. [port] Linux, FreeBSD, AIX: Turn of path mtu discovery
...
(clear DF) for UDP responses and requests.
2008-09-23 02:20:21 +00:00
Michael Graff
467e6fd167
make the same change to win32/socket.c here as was made on v9_5 to fix connected UDP sockets
2008-09-16 17:19:01 +00:00
Mark Andrews
896f88361e
2442. [bug] A lock could be destroyed twice. [RT# 18626]
2008-09-14 04:54:49 +00:00
Automatic Updater
6011ef0f4d
update copyright notice
2008-09-12 23:47:25 +00:00
Evan Hunt
5ce9206eb9
2441. [bug] isc_radix_insert() could copy radix tree nodes
...
incompletely. [RT #18573 ]
2440. [bug] named-checkconf used an incorrect test to determine
if an ACL was set to none.
2008-09-12 06:02:31 +00:00
Mark Andrews
691f1f7731
2438. [bug] Timeouts could be logged incorrectly under win32.
...
2436. [security] win32: UDP client handler can be shutdown. [RT #18576 ]
2434. [bug] Fixed a minor error-reporting bug in
lib/isc/win32/socket.c.
2432. [bug] More Windows socket handling improvements. Stop
using I/O events and use IO Completion Ports
throughout. Rewrite the receive path logic to make
it easier to support multiple simultaneous
requestrs in the future. Add stricter consistency
checking as a compile-time option (define
ISC_SOCKET_CONSISTENCY_CHECKS; defaults to off).
2420. [bug] Windows socket handling cleanup. Let the io
completion event send out cancelled read/write
done events, which keeps us from writing to memeory
we no longer have ownership of. Add debugging
socket_log() function. Rework TCP socket handling
to not leak sockets.
2008-09-12 04:46:25 +00:00
Automatic Updater
e2c97aef51
update copyright notice
2008-09-08 23:47:10 +00:00
Mark Andrews
922cb29cfe
isc_portset_isset
2008-09-08 08:33:41 +00:00
Mark Andrews
ed9ca23065
syntax error
2008-09-08 08:28:08 +00:00
Mark Andrews
12eb8057cb
portset
2008-09-08 08:26:28 +00:00
Mark Andrews
2f88444e9a
add portset
2008-09-08 07:06:15 +00:00
Mark Andrews
8343d55b3d
windows implementation of isc_time_set
2008-09-08 06:53:10 +00:00
Mark Andrews
66d720025d
update isc_time_set's description
2008-09-08 06:51:10 +00:00
Mark Andrews
1d77be00c4
default maxsockets to 0
2008-09-08 05:30:35 +00:00
Mark Andrews
d8aa1541f0
move prototype out of #ifdef/#endif
2008-09-04 07:46:02 +00:00
Mark Andrews
0eeaaaf0ae
2398. [bug] Improve file descriptor management. New,
...
temporary, named.conf option reserved-sockets,
default 512. [RT #18344 ]
2008-09-04 05:56:43 +00:00
Automatic Updater
6ebd91a0c7
update copyright notice
2008-08-29 23:47:22 +00:00
Mark Andrews
e72c1e7e46
2430. [bug] win32: isc_interval_set() could round down to
...
zero if the input was less than NS_INTERVAL
nanoseconds. Round up instead. [RT #18549 ]
2008-08-29 03:57:38 +00:00
Mark Andrews
a7485cd61d
silence compiler warning
2008-08-22 05:57:53 +00:00
Tatuya JINMEI 神明達哉
13d9b8ce94
2420. [func] Add new command line option '-S' for named to specify
...
the max number of sockets. [RT #18493 ]
Use caution: this option may not work for some
operating systems without rebuilding named.
2008-08-20 23:57:59 +00:00
Mark Andrews
2f420f33bb
2419. [cleanup] Document that isc_socket_create() and isc_socket_open()
...
should not be used for isc_sockettype_fdwatch sockets.
[RT #18521 ]
2008-08-20 06:16:07 +00:00
Tatuya JINMEI 神明達哉
cf225ed6cd
2416. [func] Log file descriptors that cause exceeding the
...
internal maximum. [RT #18460 ]
2008-08-13 23:44:18 +00:00
Tatuya JINMEI 神明達哉
387bca7a55
2413. [bug] Fixed an unreachable code path in socket.c. [RT #18442 ]
2008-08-09 19:02:10 +00:00
Automatic Updater
cf5d7a5094
update copyright notice
2008-08-08 06:28:59 +00:00
Mark Andrews
dc842cdcb9
2412. [bug] win32: address a resourse leak. [RT #18374 ]
2008-08-08 05:06:49 +00:00
Automatic Updater
13caac5ff8
update copyright notice
2008-08-07 23:47:34 +00:00
Tatuya JINMEI 神明達哉
cd9bebfc4c
2411. [bug] Allow using a larger number of sockets than FD_SETSIZE
...
for select(). To enable this, set ISC_SOCKET_MAXSOCKETS
at compilation time. [RT #18433 ]
2008-08-07 21:28:13 +00:00
Mark Andrews
101a7960b7
2407. [port] hpux: test for sys/dyntune.h. [RT #18421 ]
2008-08-05 07:05:47 +00:00
Tatuya JINMEI 神明達哉
dbe9f900ec
2406. [bug] Sockets could be closed too early, leading to
...
inconsistent states in the socket module. [RT #18298 ]
2008-08-01 19:04:02 +00:00
Mark Andrews
7999db4215
2404. [port] hpux: files unlimited support.
2008-07-28 22:36:36 +00:00
Francis Dupont
bd7e02a337
Expect to get E[MN]FILE errno internal_accept() [RT #18358 ]
2008-07-24 09:50:21 +00:00
Tatuya JINMEI 神明達哉
0cdb53f093
2400. [bug] Log if kqueue()/epoll_create()/opne(devpoll) fails.
...
[RT #18297 ]
2008-07-24 05:19:15 +00:00
Automatic Updater
7415772270
update copyright notice
2008-07-23 23:47:07 +00:00
Mark Andrews
240e53b132
2396. [bug] Don't set SO_REUSEADDR for randomized ports.
...
[RT #18336 ]
part 2
2008-07-23 23:27:54 +00:00
Mark Andrews
9de0f9b0ae
2396. [bug] Don't set SO_REUSEADDR for randomized ports.
...
[RT #18336 ]
2008-07-22 03:43:04 +00:00
Mark Andrews
ee6c0ce79e
2395. [port] Avoid warning and no effect from "files unlimited"
...
on Linux when running as root. [RT #18335 ]
2008-07-21 03:37:17 +00:00
Mark Andrews
8afedf9ec0
#ifdef EPROTO/#endif
2008-07-18 03:45:55 +00:00
Tatuya JINMEI 神明達哉
3d8b9b9956
2400 [port] hpux: cover additional recvmsg() error codes.
...
[RT #18301 ]
2008-07-18 02:43:31 +00:00
Mark Andrews
d923262186
2387. [bug] Silence compiler warnings in lib/isc/radix.c.
...
[RT #18147 ] [RT #18258 ]
2008-07-15 00:21:16 +00:00
Automatic Updater
b0364f1f3c
update copyright notice
2008-07-11 23:47:09 +00:00
Tatuya JINMEI 神明達哉
eeb3e1e133
added some missing definitions
2008-07-11 23:10:09 +00:00
Tatuya JINMEI 神明達哉
158f256a14
2386. [bug] Add warning about too small 'open files' limit
...
[RT #18269 ].
2008-07-11 23:05:46 +00:00
Evan Hunt
64ecc88345
Several BSD-related fixes for port range:
...
- add param.h for NetBSD [rt18228]
- use correct sysctl strings on NetBSD [rt18230]
- use net.inet.ip.portrange.hiport/hilast instead of
first/last on FreeBSD [rt18234]
- define sysctl strings for DragonFly [rt18235]
- use sysctl() on OpenBSD because it doesn't support
sysctlbyname() [rt18231]
2008-07-04 05:52:31 +00:00
Evan Hunt
34350037a8
re-merged rt18194 after fixing problems
2008-07-03 00:13:25 +00:00
Automatic Updater
935c5b4fa2
update copyright notice
2008-07-01 23:47:17 +00:00
Evan Hunt
f41bd47802
merge rt18194 to enable windows build
2008-07-01 03:55:10 +00:00
Tatuya JINMEI 神明達哉
4462803b0d
minor resource leak in error handling of socket.c [RT #17968 ]
2008-06-25 23:13:51 +00:00
Tatuya JINMEI 神明達哉
7b0bb3bdc9
work around HP-UX UDP connect behavior [RT #18202 ]
2008-06-25 22:56:33 +00:00
Tatuya JINMEI 神明達哉
cc758fbc8f
typo
2008-06-25 00:09:50 +00:00
Mark Andrews
0d5cc4c53a
#include <config.h>, restore 'static inline'
2008-06-24 23:24:35 +00:00
Mark Andrews
391ac1cbfd
static inline -> inline
2008-06-24 21:44:11 +00:00
Tatuya JINMEI 神明達哉
1ef53a4a91
newline
2008-06-24 01:58:16 +00:00
Tatuya JINMEI 神明達哉
78576fe0db
include sys/sysctl.h only if HAVE_SYS_SYSCTL_H is defined
2008-06-24 01:40:25 +00:00
Automatic Updater
2cf81a3d8a
update copyright notice
2008-06-23 23:47:11 +00:00
Tatuya JINMEI 神明達哉
386d3a99c1
2375. [security] Fully randomize UDP query ports to improve
...
forgery resilience. [RT #17949 , #18098 ]
2008-06-23 19:41:20 +00:00
Automatic Updater
97c432334e
update copyright notice
2008-06-04 23:47:11 +00:00
Jeremy Reed
b09318463a
Remove trailing (extra) comma in enum.
...
Fixes "Unexpected" error with AIX cc (and probably other old compilers).
As reported on bind-users and confirmed by original poster.
This is for bugs ticket #18151 .
2008-06-04 22:32:53 +00:00
Automatic Updater
022b5c5a36
update copyright notice
2008-05-30 23:47:01 +00:00
Tatuya JINMEI 神明達哉
5cb56973ea
fixed a typo in comment [RT #18130 ]
2008-05-30 18:27:27 +00:00
Evan Hunt
080a964a3f
"blackhole" ACLs could cause named to segfault due to some
...
uninitialized memory. [rt18095]
2008-05-21 23:21:33 +00:00
Evan Hunt
4fcd03af9f
Missing type in internal_next6() function declaration
2008-04-18 19:47:48 +00:00
Automatic Updater
f052a01ff2
update copyright notice
2008-04-04 23:47:01 +00:00
Mark Andrews
77abeb5330
rebase NSEC3 code
2008-04-04 05:34:07 +00:00
Tatuya JINMEI 神明達哉
c4fadc8861
2356. [bug] Builtin mutex profiler was not scalable enough.
...
[RT #17436 ]
(I plan to merge this to 9.[345])
2008-04-04 01:49:09 +00:00
Automatic Updater
a687db7ce8
update copyright notice
2008-04-02 23:46:58 +00:00
Mark Andrews
07555e64d9
2350. [port] win32: IPv6 support. [RT #17797 ]
2008-04-02 02:56:23 +00:00
Mark Andrews
3f42cf2f3e
2349. [func] Provide incremental re-signing support for secure
...
dynamic zones. [RT #1091 ]
back out incorrect branch rt1091 and apply correct branch rt1091a.
2008-04-02 02:37:42 +00:00
Mark Andrews
a76b380643
2349. [func] Provide incremental re-signing support for secure
...
dynamic zones. [RT #1091 ]
2008-04-01 01:37:25 +00:00
Automatic Updater
db0008c448
update copyright notice
2008-03-31 23:47:11 +00:00
Mark Andrews
cffe96e267
2346. [func] Memory statistics now cover all active memory contexts
...
in increased detail. [RT #17580 ]
2008-03-31 05:00:30 +00:00
Automatic Updater
2b91038561
update copyright notice
2008-03-27 23:46:57 +00:00
Tatuya JINMEI 神明達哉
d8eb00152d
always enable ISC_xxx_NAMES
2008-03-27 21:08:52 +00:00
Automatic Updater
0a7e6db2db
update copyright notice
2008-03-20 23:47:00 +00:00
Mark Andrews
ea8564f68a
2342. [func] Use getifaddrs() if available under Linux. [RT #17224 ]
2008-03-20 04:51:00 +00:00
Automatic Updater
eb0e8ace24
update copyright notice
2008-02-18 23:46:59 +00:00
Mark Andrews
23d4dc13e1
2335. [port] sunos: libbind and *printf() support for long long.
...
[RT #17513 ]
2008-02-18 04:06:40 +00:00
Automatic Updater
6475e22cc9
update copyright notice
2008-02-15 23:46:51 +00:00
Mark Andrews
9e8947d9e6
2333. [bug] Fix off by one error in isc_time_nowplusinterval().
...
[RT #17608 ]
2008-02-15 02:24:04 +00:00
Mark Andrews
43581a71ab
clean up example code
2008-02-07 02:45:49 +00:00
Mark Andrews
9a7d202077
2330. [bug] Remove potential race condition when handling
...
over memory events. [RT #17572 ]
WARNING: API CHANGE: over memory callback
function now needs to call isc_mem_waterack().
See <isc/mem.h> for details.
2008-02-07 02:41:26 +00:00
Automatic Updater
60d19b2f15
update copyright notice
2008-01-27 23:47:20 +00:00
Mark Andrews
1fa2ce7eae
2324. [bug] Fix IPv6 matching against "any;" [RT #17533 ]
2008-01-27 02:13:34 +00:00
Mark Andrews
7539c231d4
2323. [port] tru64: namespace clash. [RT #17547 ]
2008-01-27 01:58:19 +00:00
Tatuya JINMEI 神明達哉
29d019169b
corrected type
2008-01-25 23:50:38 +00:00
Automatic Updater
4f640b0d8f
update copyright notice
2008-01-25 23:46:48 +00:00
Tatuya JINMEI 神明達哉
7ae2fa27e9
2322. [port] MacOS: work around the limitation of setrlimit()
...
for RLIMIT_NOFILE. [RT #17526 ]
2008-01-25 19:31:29 +00:00
Automatic Updater
cbf0854acc
update copyright notice
2008-01-24 23:47:00 +00:00
Tatuya JINMEI 神明達哉
1c3ed2a83d
2320. [func] Make statistics couters thread-safe for platforms
...
that support certain atomic operations. [RT #17466 ]
2008-01-24 02:00:44 +00:00
Automatic Updater
f148623ce2
update copyright notice
2008-01-23 03:22:43 +00:00
Mark Andrews
b356686ecb
Fixes needed to compile on windows
2008-01-23 03:10:48 +00:00
Mark Andrews
f86c5d30de
2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
...
[RT #17458 ]
2008-01-22 01:06:33 +00:00
Automatic Updater
140a27777d
update copyright notice
2008-01-21 23:46:56 +00:00
Evan Hunt
262c39b236
IPv6 addresses could match IPv4 ACL entries and vice versa. [RT #17462 ]
2008-01-21 20:38:54 +00:00
Automatic Updater
2f012d936b
update copyright notice
2008-01-18 23:46:58 +00:00
Automatic Updater
2f99b54e8e
update copyright notice
2008-01-17 23:47:00 +00:00
Evan Hunt
1aba9fe678
Fix coverity warnings in acl.c and iptable.c [rt17455]
2008-01-17 08:08:08 +00:00
Tatuya JINMEI 神明達哉
bfcc5ae79a
2294. [func] Allow the experimental statistics channels to have
...
multiple connections and ACL.
Note: the stats-server and stats-server-v6 options
available in the previous beta releases are replaced
with the generic statistics-channels statment.
2008-01-17 00:15:14 +00:00
Automatic Updater
6f2e211d39
update copyright notice
2008-01-10 23:47:01 +00:00
Mark Andrews
2dc8bf19c8
isc_mem_references
2008-01-08 03:37:47 +00:00
Automatic Updater
660a209ee4
update copyright notice
2008-01-04 23:46:55 +00:00
Mark Andrews
8486ce1efa
2287. [bug] Use 'volatile' if the compiler supports it. [RT #17413 ]
2008-01-04 03:28:39 +00:00
Automatic Updater
1da14e066c
update copyright notice
2008-01-02 23:47:02 +00:00
Mark Andrews
f5d0f49584
2285. [func] Test framework for client memory context management.
...
[RT #17377 ]
2008-01-02 05:03:07 +00:00
Mark Andrews
604419a812
2282. [bug] Acl code fixups. [RT #17346 ]
2007-12-20 01:48:29 +00:00
Mark Andrews
da31aff2f2
2279. [bug] Use setsockopt(SO_NOSIGPIPE), when available,
...
to protect applications from receiving spurious
SIGPIPE signals when using the resolver.
2007-12-14 03:52:40 +00:00
Michael Graff
f1e733e612
fix rt17100: don't set free callback to NULL here. This was likely early debugging code, and was an error since it is set at the beginning of each request, and should not be modified during the request.
2007-12-02 21:34:20 +00:00
Evan Hunt
0899d16ebd
Radix tree node_num value could be set incorrectly, causing positive ACL
...
matches to look like negative ones. [rt17311]
2007-11-27 19:14:45 +00:00
Mark Andrews
404df30f4f
2265. [bug] Test that the memory context's basic_table is non NULL
...
before freeing. [RT #17265 ]
2007-11-26 04:27:19 +00:00
Mark Andrews
2cc262c093
2257. [bug] win32: Use the full path to vcredist_x86.exe when
...
calling it. [RT #17222 ]
2007-10-31 01:34:19 +00:00
Mark Andrews
c810393bd8
whitespace
2007-10-30 23:30:09 +00:00
Mark Andrews
f183f4c0cd
2254. [bug] timer.c:dispatch() failed to lock timer->lock
...
when reading timer->idle allowing it to see
intermediate values as timer->idle was reset by
isc_timer_touch(). [RT #17243 ]
2007-10-24 00:57:23 +00:00
Michael Graff
b239c8294a
commit lruttl to the mainline. A tag was set called skan_lruttl-mainline-base, and I will tag this as skan_lruttl-mainline-merge after this commit
2007-10-19 17:15:53 +00:00
Evan Hunt
adcd4ef11a
Clean up build errors on Windows for 9.5.0a7.
...
Also, changed isc_destroy_radix() to isc_radix_destroy() to match
the naming convention for other radix routines.
2007-09-28 00:11:32 +00:00
Evan Hunt
8327cdb88f
Fixes for several errors found by Coverity. [rt17160]
2007-09-24 17:18:25 +00:00
Mark Andrews
69f3cb5abc
Part 3 of:
...
2233. [func] Add support for O(1) ACL processing, based on
radix tree code originally written by kevin
brintnall. [RT #16288 ]
2007-09-19 03:03:29 +00:00
Shane Kerr
e6555b0467
Allow configuration files without a newline at the end now parse
...
without error. Should allow Windows users to edit their configuration
files with NOTEPAD.EXE, or other text editors that don't believe in a
final newline.
See RT ticket #17120 for more.
2007-09-17 09:56:29 +00:00
Mark Andrews
b6384e6f77
2235. [bug] <isc/atomic.h> was not being installed. [RT #17135 ]
2007-09-14 04:10:00 +00:00
Mark Andrews
de05f7d061
2235. [bug] <isc/atomic.h> was not being installed. [RT #17135 ]
2007-09-14 03:40:36 +00:00
Mark Andrews
12e0477d4e
Part 2 of:
...
2233. [func] Add support for O(1) ACL processing, based on
radix tree code originally written by kevin
brintnall. [RT #16288 ]
2007-09-14 01:46:06 +00:00
Evan Hunt
7de2c6e6d5
Fix compiler warnings on SCO OSr5
2007-09-13 04:48:16 +00:00
Evan Hunt
d468b1b7b2
Fix compiler warnings on SCO OSr5
2007-09-13 04:45:18 +00:00
Automatic Updater
2c94a0e56d
update copyright notice
2007-09-12 23:46:47 +00:00
Evan Hunt
3181d0e359
Add support for O(1) ACL processing, based on radix tree code originally
...
written by kevin brintnall. [RT #16288 ]
2007-09-12 01:46:28 +00:00
Evan Hunt
c7e266b7e5
Add support for O(1) ACL processing, based on radix tree code originally
...
written by kevin brintnall. [RT #16288 ]
2007-09-12 01:09:08 +00:00
Mark Andrews
6f4375f230
missing ISC_FORMAT_PRINTF
2007-09-02 23:06:59 +00:00
Mark Andrews
8a45eeebb8
2225. [bug] More support for systems with no IPv4 addresses.
...
[RT #17111 ]
2007-08-30 06:02:28 +00:00
Mark Andrews
8e74bfb604
2220. [bug] win32: Address a race condition in final shutdown of
...
the Windows socket code. [RT #17028 ]
2007-08-28 00:39:15 +00:00
Mark Andrews
557bcc2092
2216. [cleanup] Fix a number of errors reported by Coverity.
...
[RT #17094 ]
2007-08-27 03:32:27 +00:00
Mark Andrews
c60eaaf9b3
2215. [bug] Bad REQUIRE check isc_hmacsha1_verify(). [RT #17094 ]
2007-08-27 03:27:53 +00:00
Michael Graff
d8acf6268a
Use enum values (isc_sockettype_tcp) rather than integers (2)
2007-07-27 14:28:04 +00:00
Michael Graff
a84724de8d
Remove the attribute(__always_inline__) tag, as it generates warnings
...
on non-BSD OSs. It was really optional anyway, but seemed like a good
idea.
2007-07-27 14:22:53 +00:00
Michael Graff
aa43623600
fix atomic.h warnings; reviewed by Mark
2007-07-23 16:10:15 +00:00
Automatic Updater
70e5a7403f
update copyright notice
2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7
update copyright notice
2007-06-18 23:47:57 +00:00
Mark Andrews
47ee25b1f5
2199. [bug] win32: don't call WSAStartup() while loading dlls.
...
[RT #16911 ]
2007-06-18 03:36:51 +00:00
Mark Andrews
32391301db
2198. [bug] win32: RegCloseKey() could be called when
...
RegOpenKeyEx() failed. [RT #16911 ]
2007-06-18 03:05:46 +00:00
Mark Andrews
f05a4bf2bf
2196. [port] win32: yield processor while waiting for once to
...
to complete. [RT# 16958]
2007-06-18 01:16:46 +00:00
Mark Andrews
4bb0f1046f
2189. [bug] Handle socket() returning EINTR. [RT #15949 ]
2007-05-21 01:55:10 +00:00
Automatic Updater
af1e34f918
update copyright notice
2007-05-10 23:46:54 +00:00
Mark Andrews
a5d7c242b5
2175. [bug] win32: window broadcast condition variable support
...
was broken. [RT #16592 ]
2007-05-09 23:49:37 +00:00
Mark Andrews
278a75dbfe
2292bis -> RFC 3542
2007-04-02 02:03:55 +00:00
Automatic Updater
67a00bc40b
update copyright notice
2007-03-12 23:46:48 +00:00
Mark Andrews
37d373d886
2160. [bug] libisc wasn't handling NULL ifa_addr pointers returned
...
from getifaddrs(). [RT #16708 ]
2007-03-12 05:59:08 +00:00
Mark Andrews
2d4cb13dfb
add functions
2007-03-06 01:56:23 +00:00
Mark Andrews
bdf9b9caac
add name and tag to socket structure
2007-03-06 01:50:48 +00:00
Mark Andrews
a56f5ada43
2157. [func] dns_db_transfernode() created. [RT #16685 ]
...
2156. [bug] Fix node reference leaks in lookup.c:lookup_find(),
resolver.c:validated() and resolver.c:cache_name().
Fix a memory leak in rbtdb.c:free_noqname().
Make lookup.c:lookup_find() robust against
event leaks. [RT #16685 ]
2007-03-06 00:38:58 +00:00
Automatic Updater
adea559405
update copyright notice
2007-03-05 23:46:52 +00:00
Mark Andrews
c53a5699c8
2154. [func] Scoped (e.g. IPv6 link-local) addresses may now be
...
matched in acls by omitting the scope. [RT #16599 ]
2007-03-05 04:57:57 +00:00
Mark Andrews
acb6a99ccb
temorarially comment out INSIST
2007-02-27 03:31:04 +00:00
Mark Andrews
58f32ac26e
2149. [bug] isc_mem_checkdestroyed() failed to abort on
...
if there were still active memory contexts.
[RT #16672 ]
2007-02-26 22:57:03 +00:00
Mark Andrews
340a05967a
2146. [cleanup] Silence Linux's spurious "obsolete setsockopt
...
SO_BSDCOMPAT" message. [RT #16641 ]
2007-02-26 01:37:37 +00:00
Mark Andrews
25380f483f
%ld and (long) cast for size_t
2007-02-14 02:39:44 +00:00
Mark Andrews
cadb5c8591
#ifdef HAVE_LIBXML2 statenames
2007-02-14 02:32:30 +00:00
Mark Andrews
cdce8b88c6
update copyright notice
2007-02-14 00:27:27 +00:00
Mark Andrews
96ea716328
2134. [func] Additional statistics support. [RT #16666 ]
2007-02-13 02:49:08 +00:00
Mark Andrews
149e7eacf0
update copyright notice
2007-02-13 00:04:51 +00:00
Mark Andrews
f31446e6b5
2133. [port] powerpc: Support both IBM and MacOS Power PC
...
assembler syntaxes. [RT #16647 ]
2007-02-12 00:50:01 +00:00
Mark Andrews
1f369c2581
update copyright notice
2007-02-01 23:55:21 +00:00
Mark Andrews
fd276c2493
remove SO_BSDCOMPAT reference
2007-02-01 04:40:32 +00:00
Mark Andrews
00499ae65e
update copyright notice
2007-01-12 00:14:51 +00:00
Michael Graff
de4f679a17
revert changes accidently committed to mainline
2007-01-10 18:56:20 +00:00
Mark Andrews
f8574167b2
update copyright notice
2007-01-09 23:49:38 +00:00
Mark Andrews
92f56936fb
update copyright notice
2007-01-09 03:11:16 +00:00
Mark Andrews
ca48338b3d
#ifdef HAVE_LIBXML2 statenames declaration
2007-01-05 07:24:51 +00:00
Mark Andrews
edf8e79280
update copyright notice
2007-01-04 00:01:13 +00:00
Michael Graff
ca21196249
implement statistics for sockets. Need to port this to the win32 build too.
2007-01-03 20:57:07 +00:00
Michael Graff
69da4348da
add some basic statistics to task.c
2007-01-03 20:23:46 +00:00
Mark Andrews
74d6235d13
isc_time_seconds
2006-12-22 05:26:26 +00:00
Mark Andrews
0aef230aba
remove duplicate function
2006-12-22 05:18:53 +00:00
Mark Andrews
4b6f61ea34
cleanup
2006-12-22 04:20:52 +00:00
Michael Graff
b015e6b3e1
make changes on HEAD, not on a branch.
2006-12-22 03:07:57 +00:00
Mark Andrews
ed954ce73b
9.5.0a1
2006-12-22 02:32:59 +00:00
Mark Andrews
148f27aee6
update copyright notice
2006-12-22 01:59:44 +00:00
Mark Andrews
29747dfe5e
2123. [func] Use Doxygen to generate internal documention.
...
[RT #11398 ]
2006-12-22 01:46:19 +00:00
Mark Andrews
3b31d6634f
don't use C90 constructs
2006-12-21 10:06:17 +00:00
Mark Andrews
186e7f37c9
2122. [func] Experimental http server and statistics support
...
for named via xml.
2006-12-21 06:03:37 +00:00
Mark Andrews
f2b2de10ce
0 => 0U
2006-12-08 05:09:16 +00:00
Mark Andrews
e60f01cdd2
2116. [bug] 'rndc reload' could cause the cache to continually
...
be cleaned. [RT #16401 ]
2006-12-07 06:27:34 +00:00
Mark Andrews
cfcb0881d1
2111. [bug] Fix a number of errors reported by Coverity.
...
[RT #16507 ]
2006-12-07 04:46:27 +00:00
Mark Andrews
377231eb95
update copyright notice
2006-12-05 00:13:48 +00:00
Mark Andrews
289ae548d5
2105. [func] GSS-TSIG support (RFC 3645).
2006-12-04 01:54:53 +00:00
Michael Graff
20f1bc4434
somehow, new files got committed to mainline, and changes to my branch. Remove them from the mainline for now.
2006-11-13 20:38:06 +00:00
Michael Graff
ea964e3e20
update to mainline's bind9, and make a new branch for it.
2006-11-13 20:07:57 +00:00
Mark Andrews
91ddbb6e4f
update copyright notice
2006-10-03 23:50:52 +00:00
Mark Andrews
bc8711b148
win32
2006-10-02 07:03:05 +00:00
Mark Andrews
5cf0c55948
2090. [port] win32: Visual C++ 2005 command line manifest support.
...
[RT #16417 ]
2006-10-02 02:27:41 +00:00
Mark Andrews
53d3679913
2087. [port] libisc failed to compile on OS's w/o a vsnprintf.
...
[RT #16382 ]
2006-10-02 01:29:27 +00:00
Mark Andrews
896e6a0e44
update copyright notice
2006-08-25 05:25:52 +00:00
Mark Andrews
c781727055
2076. [bug] Several files were missing #include <config.h>
...
causing build failures on OSF. [RT #16341 ]
2006-08-24 00:17:54 +00:00
Mark Andrews
02ced31b6a
2072. [bug] We were not generating valid HMAC SHA digests.
...
[RT #16320 ]
2006-08-16 03:15:09 +00:00
Mark Andrews
f07fe5a1ac
2067. [bug] 'rndc' could close the socket too early triggering
...
a INSIST under Windows. [RT #16317 ]
2006-08-04 02:55:37 +00:00
Mark Andrews
78ff0e94ea
2044. [port] add support for atomic operations for Itanium.
...
[RT #16179 ]
2006-06-21 03:40:34 +00:00
Mark Andrews
ea5775a7fd
silence: large integer implicitly truncated to unsigned type
2006-06-21 01:21:59 +00:00
Mark Andrews
03f65be27b
update copyright notice
2006-06-07 00:29:46 +00:00
Mark Andrews
9a482d1fce
2039. [func] Check that all buffers passed to the socket code
...
have been retrieve when the socket event is freed.
[RT #16122 ]
2038. [bug] dig/nslookup/host was unlinking from wrong list
when handling errors. [RT #16122 ]
2006-06-06 00:53:36 +00:00
Mark Andrews
472460e05f
update copyright notice
2006-06-06 00:11:42 +00:00
Mark Andrews
cd18f34923
checkpoint
2006-05-30 04:18:36 +00:00
Mark Andrews
529035492e
2026. [port] linux: socket.c compatability for old systems.
...
[RT #16015 ]
2006-05-19 02:47:18 +00:00
Mark Andrews
4b3f3cc671
update copyright notice
2006-04-15 01:30:16 +00:00
Michael Graff
80a63e1574
Documentation changes; no functional changes. Some variables were renamed from 'i' to 'index' in heap.h so documentation can be nicer.
2006-04-10 16:28:04 +00:00
Mark Andrews
069a2ad007
update copyright notice
2006-04-03 00:00:42 +00:00
Michael Graff
8c9c09dacf
add <string.h> since we call strlen() here
2006-03-21 15:34:02 +00:00
Mark Andrews
ecffc3aae3
win32
2006-03-10 03:49:57 +00:00
Mark Andrews
b6d199bd6a
1998. [bug] Restrict handling of fifos as sockets to just SunOS.
...
This allows named to connect to entropy gathering
daemons that use fifos instead of sockets. [RT #15840 ]
2006-03-02 23:25:05 +00:00
Mark Andrews
641f68d427
update copyright notice
2006-03-02 00:37:23 +00:00
Mark Andrews
7042126e8a
1993. [bug] Log messsage, via syslog, were missing the space
...
after the timestamp if "print-time yes" was specified.
[RT #15844 ]
2006-03-01 02:20:41 +00:00
Mark Andrews
45e1bd6358
1991. [cleanup] The configuration data, once read, should be treated
...
as readonly. Expand the use of const to enforce this
at compile time. [RT #15813 ]
2006-02-28 02:39:52 +00:00
Mark Andrews
69f56d4ef2
remove redundant memset
2006-02-26 22:28:22 +00:00
Mark Andrews
472ce617b7
1988. [bug] Remove a bus error from the SHA256/SHA512 support.
...
[RT #15878 ]
2006-02-24 00:03:15 +00:00
Mark Andrews
2043039104
update copyright notice
2006-02-13 23:50:54 +00:00
Mark Andrews
a37e44f107
1981. [bug] win32: condition.c:wait() could fail to reattain
...
the mutex lock.
2006-02-13 03:35:47 +00:00
Mark Andrews
e0fe05b5ae
update copyright notice
2006-02-03 23:51:39 +00:00
Mark Andrews
43501e6570
1978. [port] Handle systems which have a broken recvmsg().
...
[RT #15742 ]
2006-02-02 23:07:53 +00:00
Mark Andrews
d140ae2834
1976. [bug] Handle systems with no IPv4 addresses. [RT #15695 ]
2006-02-02 22:32:27 +00:00
Mark Andrews
e256ce5f47
update copyright notice
2006-02-01 00:10:35 +00:00
Mark Andrews
bc4f5d111a
silence compiler warnings
2006-01-31 23:01:23 +00:00
Mark Andrews
aa520ab1cb
silence compiler warning
2006-01-31 01:58:12 +00:00
Mark Andrews
fc7685a7f1
silence compiler warnings
2006-01-31 00:35:21 +00:00
Mark Andrews
68e0fce2df
set BYTE_ORDER from WORDS_BIGENDIAN if not otherwise defined
2006-01-31 00:10:57 +00:00
Mark Andrews
26e2a07a0b
update copyright notice
2006-01-27 23:57:46 +00:00
Mark Andrews
c6d4f78152
1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
...
HMACSHA512 support. [RT #13606 ]
2006-01-27 02:35:15 +00:00
Mark Andrews
141132c272
update copyright notice
2006-01-07 00:23:35 +00:00
Mark Andrews
e88d4e2ebd
1969. [bug] win32: the socket code was freeing the socket
...
structure too early. [RT #15776 ]
2006-01-06 01:32:08 +00:00
Mark Andrews
1b06367c34
update copyright notice
2006-01-06 00:01:44 +00:00
Mark Andrews
94b58e01ae
1963. [port] Tru64 4.0E doesn't support send() and recv().
...
[RT #15586 ]
2006-01-05 03:42:53 +00:00
Mark Andrews
acb4f52369
update copyright notice
2006-01-04 23:50:24 +00:00
Mark Andrews
e9733bc599
1949. [func] Addition memory leakage checks. [RT #15544 ]
2006-01-04 03:16:47 +00:00
Mark Andrews
35da39a7f1
update copyright notice
2006-01-04 00:37:24 +00:00
Mark Andrews
be2c2c29a8
1944. [cleanup] isc_hash_create() does not need a read/write lock.
...
[RT #15522 ]
2006-01-03 05:51:15 +00:00
Michael Graff
fd8302422b
Fix a socket leak I created.
2005-12-07 04:21:27 +00:00
Michael Graff
03aa32f0ab
Remove some code that may make tests fail, although it's unlikely...
2005-12-07 03:55:06 +00:00
Michael Graff
36ca9f636b
Don't close the file descriptor for fdwatch socket shutdowns. Let the application do this, since it is passed in, and it may have other uses or shutdown to do on it first.
2005-12-06 18:11:54 +00:00
Michael Graff
e6c3041c28
add file descriptor watching functions, Unix only.
2005-12-06 16:54:49 +00:00
Mark Andrews
2674e1a455
1940. [bug] Fixed a number of error conditions reported by
...
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews
c481327e75
silence compiler warnings [RT #15562 ]
2005-11-03 22:59:53 +00:00
Mark Andrews
625d1dd4f4
fix isc_timer_gettype return type
2005-10-26 06:46:36 +00:00
Mark Andrews
1425217e5c
spelling arguement vs arguments
2005-10-26 04:35:56 +00:00
Mark Andrews
b3d1e3a945
silence compiler warning
2005-10-17 03:47:10 +00:00
Mark Andrews
645ef8ba31
update copyright notice
2005-10-14 02:14:29 +00:00
Mark Andrews
216030f284
1930. [port] HPUX: ia64 support. [RT #15473 ]
...
1929. [port] FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:18:47 +00:00
Mark Andrews
9547d3e03b
1926. [bug] The Windows installer did not check for empty
...
passwords. [RT #15483 ]
2005-10-11 22:54:45 +00:00
Mark Andrews
3a8be17fbf
win32
2005-09-20 06:16:29 +00:00
Mark Andrews
ed6ca94ad7
finetune isc_thread_key implementation [RT #15408 ]
2005-09-18 07:16:24 +00:00
Mark Andrews
47c2e9924e
win32 fixes
2005-09-12 02:16:36 +00:00
Mark Andrews
8d10c10ec9
update copyright notice
2005-09-09 14:11:38 +00:00
Mark Andrews
345cd7d777
win32: minimal isc_key_*() implementation
2005-09-09 12:26:19 +00:00
Mark Andrews
6cf369f528
1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383 ]
2005-09-09 06:17:03 +00:00
Mark Andrews
676619a22f
win32 fixes
2005-09-05 02:54:38 +00:00
Mark Andrews
03e200df5d
1913. [func] Integrate contibuted DLZ code into named. [RT #11382 ]
2005-09-05 00:12:29 +00:00
Mark Andrews
6672b3524c
1921. [port] aix: atomic locking for powerpc. [RT #15020 ]
2005-09-01 03:36:18 +00:00
Mark Andrews
74f261bd2b
1920. [bug] Update windows socket code. [RT #14965 ]
2005-09-01 02:25:06 +00:00
Mark Andrews
fd894f8cb4
silence compiler warnings
2005-08-25 03:26:54 +00:00
Mark Andrews
4ba6b6a7ef
silence compiler warnings
2005-08-23 04:05:50 +00:00
Mark Andrews
c9b4dafc92
soft is an int
2005-08-11 15:03:20 +00:00
Mark Andrews
611ec5dd43
1907. [bug] Extend ISC_SOCKADDR_FORMATSIZE and
...
ISC_NETADDR_FORMATSIZE to allow for scope details.
2005-07-28 04:54:17 +00:00
Mark Andrews
01b8bc018d
1906. [func] x86 and x86_64 now have seperate atomic locking
...
implementations.
2005-07-27 04:22:59 +00:00
Mark Andrews
8abe06b25d
1905. [bug] Recursive clients soft quota support wasn't working
...
as expected. [RT #15103 ]
2005-07-27 02:29:01 +00:00
Mark Andrews
9ada5ea35f
ref not rep
2005-07-25 00:52:12 +00:00
Mark Andrews
fb827ed6df
9.4/HEAD sync
2005-07-18 06:03:01 +00:00
Mark Andrews
43e68674d4
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
...
of memory. [RT #14995 ]
2005-07-12 01:14:31 +00:00
Mark Andrews
18d0b5e54b
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
...
of memory. [RT #14995 ]
2005-07-12 01:00:20 +00:00
Mark Andrews
0563d476de
1899. [func] Raise the UDP recieve buffer size to 32k if it is
...
less than 32k. [RT #14953 ]
2005-07-12 00:41:55 +00:00
Tatuya JINMEI 神明達哉
d3882e1177
added atomic ops for mips
...
(implemented by Evan, reviewed by jinmei)
2005-07-09 07:08:30 +00:00
Tatuya JINMEI 神明達哉
7db10fef08
typo in a comment line
2005-07-09 06:43:57 +00:00
Mark Andrews
b2f160f266
1898. [port] sunos: non blocking i/o support. [RT #14951 ]
2005-07-08 04:30:22 +00:00
Tatuya JINMEI 神明達哉
2dea622a0c
atomic operation support for powerpc
...
(implemented by Evan, reviewed and committed by jinmei)
2005-07-05 00:44:24 +00:00
Mark Andrews
49a83dbc7e
enable format checking
2005-06-19 22:57:59 +00:00
Mark Andrews
396819cd65
style
2005-06-19 22:56:03 +00:00
Mark Andrews
016c0a82f1
1888. [func] "USE INTERNAL MALLOC" is now runtime selectable.
...
[RT #14892 ]
2005-06-17 02:22:45 +00:00
Tatuya JINMEI 神明達哉
c528bd6986
provided __asm version of assembly code for atomic atomic operations
...
for better compatibility.
(this is a temporary resolution so that this one won't block other tests.
we'll revisit this change when we figure out performance implication of
the __asm version.)
2005-06-16 21:58:00 +00:00
Mark Andrews
d4d68515d2
1885. [func] Additional memory debugging support to track size
...
and mctx arguements. [RT #14814 ]
2005-06-10 07:00:20 +00:00
Mark Andrews
f7d7c7ba43
update copyright notice
2005-06-10 00:00:59 +00:00
Mark Andrews
e7fb847ed5
1883. [port] sunos: portability fixes. [RT #14814 ]
2005-06-08 02:09:18 +00:00
Mark Andrews
ab9871e71e
1882. [port] win32: isc__errno2result() now reports its caller.
...
[RT #13753 ]
1881. [port] win32: Handle ERROR_NETNAME_DELETED. [RT #13753 ]
2005-06-08 01:04:30 +00:00
Mark Andrews
dc5c59bd1d
update copyright
2005-06-05 00:01:55 +00:00
Tatuya JINMEI 神明達哉
5597be9bb8
1813. [func] Restructured the data locking framework using
...
architecture dependent atomic operations (when
available), improving response performance on
multi-processor machines significantly.
x86, x86_64, alpha, and sparc64 are currently
supported.
(RT #13505 )
2005-06-04 05:32:50 +00:00
Mark Andrews
ef67e6d8fa
1859. [func] Add support for CH A record. [RT #14695 ]
2005-06-04 00:18:56 +00:00
Mark Andrews
d73541ea2e
1845. [bug] Improve error reporting to distingish between
...
accept()/fcntl() and socket()/fcntl() errors.
[RT #13745 ]
2005-05-19 02:42:42 +00:00
Jakob Schlyter
baf62093eb
extended string API from rt11733
2005-05-14 22:11:56 +00:00
Mark Andrews
69fe9aaafd
update copyright notice
2005-04-29 00:24:12 +00:00
Rob Austein
ab023a6556
1851. [doc] Doxygen comment markup. [RT #11398 ]
2005-04-27 04:57:32 +00:00
Mark Andrews
fcf6c62ab4
update copyright notice
2005-03-31 23:54:46 +00:00
Mark Andrews
0f222d322b
1844. [bug] inet_pton() accepted more that 4 hexadecimal digits
...
for each 16 bit piece of the IPv6 address. The text
representation of a IPv6 address has been tighted
to disallow this (draft-ietf-ipv6-addr-arch-v4-02.txt).
[RT #5662 ]
2005-03-31 06:37:03 +00:00
Mark Andrews
2132a56b5c
1841. [port] cmsg_len() could produce incorrect results on
...
some platform. [RT #13744 ]
2005-03-30 05:37:08 +00:00
Mark Andrews
bd77e3252a
update copyright notice
2005-03-22 02:35:14 +00:00
Mark Andrews
5cb7e15551
1839. [bug] <isc/hash.h> was not being installed.
2005-03-21 05:16:47 +00:00
Mark Andrews
9f069b2771
update copyright notice
2005-03-17 03:56:12 +00:00
Mark Andrews
15683369e0
namespace sun -> sunix
2005-03-16 23:39:06 +00:00
Mark Andrews
66a12302e1
silence ptr mismatch signed/unsigned.
2005-03-16 20:15:08 +00:00
Mark Andrews
5e5b467e8c
1833. [bug] Race condition in isc_mutex_lock_profile(). [RT #13660 ]
2005-03-16 01:56:17 +00:00
Mark Andrews
4f082b58b1
1816. [port] UnixWare: failed to compile lib/isc/unix/net.c.
...
[RT #13597 ]
2005-03-16 01:23:08 +00:00
Mark Andrews
b7b6b01a0d
update copyright
2005-03-16 00:55:19 +00:00
Mark Andrews
7d9b632906
1828. [bug] isc_rwlock_init() failed to properly cleanup if it
...
encountered a error. [RT #13549 ]
2005-03-15 02:03:11 +00:00
Mark Andrews
8cd830d7c8
1802. [bug] Handle connection resets better. [RT #11280 ]
2005-03-15 01:41:28 +00:00
Mark Andrews
5218822573
1826. [bug] Missing DESTROYLOCK() in isc_mem_createx() on out
...
of memory error. [RT #13537 ]
2005-03-15 01:11:01 +00:00
Mark Andrews
5a4854e226
1823. [bug] Wrong macro used to check for point to point interface.
...
[RT#13418]
2005-03-15 00:09:07 +00:00
Mark Andrews
c2a5a4a3cf
update copyright notice
2005-02-24 00:33:35 +00:00
Mark Andrews
4423c99613
1814. [func] UNIX domain controls are now supported.
2005-02-23 01:09:23 +00:00
Mark Andrews
6b49f69359
add new functions
2005-02-09 22:46:59 +00:00
Mark Andrews
2d7fc01cb3
update copyright notice
2005-02-09 05:19:30 +00:00
Mark Andrews
fde0a3f89b
1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
...
[RT #13453 ]
2005-02-09 03:38:25 +00:00
Mark Andrews
498e628692
remove unused variable.
2005-01-19 23:22:50 +00:00
Mark Andrews
ebf264ea10
update copyright
2005-01-17 23:58:33 +00:00
Mark Andrews
4844ed026a
1798. [func] The server syntax has been extended to support a
...
range of servers. [RT #11132 ]
2005-01-17 00:46:05 +00:00
Mark Andrews
70e854766f
1781. [port] FreeBSD 5.3: set PTHREAD_SCOPE_SYSTEM. [RT #12810 ]
2004-12-04 06:48:43 +00:00
Mark Andrews
c1807114ce
1745. [bug] Dig/host/nslookup accept replies from link locals
...
regardless of scope if no scope was specified when
query was sent. [RT #12745 ]
2004-11-22 23:29:10 +00:00
Mark Andrews
fcdef14f4a
1767. [port] Builds on IPv6 platforms without IPv6 Advanced API
...
support for (struct in6_pktinfo) failed. [RT #13077 ]
2004-11-18 21:31:47 +00:00
Mark Andrews
77fad835c5
1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS
...
even when it failed. [RT #12995 ]
2004-11-10 22:22:10 +00:00
Mark Andrews
61a4d5e7d8
1742. [bug] If isc_taskmgr_create() was not able to create the
...
requested number of worker threads then destruction
of the manager would trigger an INSIST() failure.
[RT #12790 ]
2004-10-15 00:45:34 +00:00
Mark Andrews
073bd4c4bc
1739. [bug] dns_rbt_deletetree() could incorrectly return
...
ISC_R_QUOTA. [RT #12695 ]
1738. [bug] Enable overrun checking by default. [RT #12695 ]
2004-10-11 05:49:29 +00:00
Mark Andrews
43fe2897fc
1731. [port] darwin: relax version test in ifconfig.sh.
...
[RT #12581 ]
1730. [port] Determine the length type used by the socket API.
[RT #12581 ]
2004-10-05 03:17:18 +00:00
Mark Andrews
ffcbf9ea91
silence compiler warnings
2004-09-16 01:01:27 +00:00
Mark Andrews
3dd9bafd2e
fix typo in unexecuted code
2004-09-01 04:38:43 +00:00
Mark Andrews
16a68807e1
1704. [port] lwres needed a snprintf() implementation for
...
platforms without snprintf(). Add missing
"#include <isc/print.h>". [RT #12321 ]
2004-08-28 06:20:14 +00:00
Mark Andrews
d7a8ba373d
copyright
2004-08-19 04:44:08 +00:00
Mark Andrews
9f7d51ee32
1688. [bug] LDFLAGS was not supported.
2004-07-20 07:13:43 +00:00
Mark Andrews
ae507663cf
indenting
2004-07-01 04:53:14 +00:00
Mark Andrews
9aa7706900
1681. [bug] Only set SO_REUSEADDR when a port is specified in
...
isc_socket_bind(). [RT #11742 ]
2004-06-30 23:35:17 +00:00
Mark Andrews
b0196673ab
1674. [port] linux: increase buffer size used to scan
...
/proc/net/if_inet6.
2004-06-22 05:25:49 +00:00
Mark Andrews
4916f4c2ca
add a explict dependancy for interfaceiter.@O@.
2004-06-22 02:54:55 +00:00
Mark Andrews
40fe5e7ac2
1673. [port] linux: issue a error messages if IPv6 interface
...
scans fails.
2004-06-22 02:25:32 +00:00
Mark Andrews
358043e40f
1667. [port] linux: not all versions have IF_NAMESIZE.
2004-06-19 00:48:15 +00:00
Mark Andrews
99ba7fc5ff
1660. [bug] win32: connection_reset_fix() was being called
...
unconditionally. [RT #11595 ]
2004-06-18 01:14:59 +00:00
Mark Andrews
3386e92795
1655. [bug] Logging multiple versions w/o a size was broken.
...
[RT #11446 ]
2004-06-11 00:36:30 +00:00
Mark Andrews
23fdb6a5a3
1654. [bug] isc_result_totext() contained array bounds read
...
error.
1653. [func] Add key type checking to dst_key_fromfilename(),
DST_TYPE_KEY should be used to read TSIG, TKEY and
SIG(0) keys.
1652. [bug] TKEY still uses KEY.
2004-06-11 00:27:06 +00:00
Mark Andrews
f66cd386cf
1646. [bug] win32: logging file versions didn't work with
...
non-UNC filenames. [RT#11486]
2004-06-04 02:19:17 +00:00
Mark Andrews
be00eb0795
1640. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
...
incorrectly closing the socket. [RT #11291 ]
2004-05-17 03:15:59 +00:00
Tatuya JINMEI 神明達哉
ec3f1d3517
1629. [func] dig now supports IPv6 scoped addresses with the
...
extended format in the local-server part. [RT #8753 ]
2004-05-15 03:37:34 +00:00
Michael Graff
e3421eaa6c
include <sys/param.h> for NetBSD
2004-05-12 23:01:36 +00:00
Mark Andrews
71839e2a42
1628. [bug] Typo in Compaq Trucluster support. [RT# 11264]
2004-05-06 03:16:07 +00:00
Mark Andrews
578f588228
1627. [bug] win32: sockets were not being closed when the
...
last external reference was removed. [RT# 11179]
2004-05-03 23:54:38 +00:00
Mark Andrews
cc32d38366
1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
...
available, and suppress wildcard binding if not.
1621. [bug] match-destinations did not work for IPv6 TCP queries.
[RT# 11156]
2004-04-29 01:37:14 +00:00
Mark Andrews
fa81ddd7b9
1613. [bug] Builds would fail on machines w/o a if_nametoindex().
...
Missing #ifdef ISC_PLATFORM_HAVEIFNAMETOINDEX/#endif.
[RT #11119 ]
2004-04-20 06:46:46 +00:00
Mark Andrews
eec7c83e23
add missing entry points
2004-04-19 05:16:42 +00:00
Mark Andrews
5ed76fa7ea
1617. [port] win32: VC++ 6.0 support.
2004-04-19 04:16:55 +00:00
Mark Andrews
b21b49a1d4
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
...
it is defined.
2004-04-19 02:54:15 +00:00
Mark Andrews
b4fe7caac9
1611. [bug] solaris: IPv6 interface scanning failed to cope with
...
no active IPv6 interfaces.
2004-04-15 07:02:06 +00:00
Mark Andrews
42b48d11ca
hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR.
2004-04-15 01:58:25 +00:00
Mark Andrews
9287a6b182
silence compiler warning
2004-04-14 05:09:43 +00:00
Mark Andrews
8862388bcb
1602. [bug] Logging to a file failed unless a size was specified.
...
[RT# 10925]
2004-04-10 04:33:36 +00:00
Mark Andrews
1676408640
pullup silence compiler fixes
...
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
28b863e609
pullup fixed from 9.3
2004-03-16 05:52:24 +00:00
Mark Andrews
dafcb997e3
update copyright notice
2004-03-05 05:14:21 +00:00
Mark Andrews
a03848252f
1580. [bug] Zone destuction on final detach takes a long time.
...
[RT #3746 ]
1579. [bug] Multiple task managers could not be created.
2004-03-04 06:56:41 +00:00
Mark Andrews
1285fa26e6
1588. [bug] win32: TCP sockets could become blocked. [RT #10115 ]
2004-03-04 05:54:29 +00:00
Mark Andrews
3f08fb69eb
1577. [bug] Use isc_uint32_t in ultrasparc optimizer bug
...
workaround code. [RT #10331 ]
2004-03-04 01:43:24 +00:00
Mark Andrews
7052e191ce
1544. [bug] Named would logged a single entry to a file despite it
...
being over the specified size limit.
1543. [bug] Logging using "versions unlimited" did not work.
2004-03-03 05:39:05 +00:00
Mark Andrews
74cb99072c
1573. [port] linux: update to libtool 1.5.2 so that
...
"make install DESTDIR=/xx" works with
"configure --with-libtool". [RT #9941 ]
2004-02-24 01:41:28 +00:00
Mark Andrews
22fa4e3206
1578. [bug] Don't use CLASS E IPv4 addresses when resolving.
...
[RT #10346 ]
2004-02-20 00:52:46 +00:00
Mark Andrews
daa73eae70
silence punned messages
2004-02-03 00:59:05 +00:00
Mark Andrews
774c3a62d9
1566. [port] Support for the cmsg framework on Solaris and HP/UX.
...
This also solved the problem that match-destinations
for IPv6 addresses did not work on these systems.
[RT #10221 ]
2004-01-29 04:39:19 +00:00
Mark Andrews
96c973a6a9
1562. [bug] isc_socket_create() and isc_socket_accept() could
...
leak memory under error conditions. [RT #10230 ]
2004-01-26 23:33:32 +00:00
Mark Andrews
bece90bfd7
double ))
2004-01-08 08:23:11 +00:00
Mark Andrews
c3f9bda20f
1553. [bug] The windows socket code could stop accepting
...
connections.
2004-01-08 05:35:53 +00:00
Mark Andrews
2cb73c34bf
ireq ->ifreq
2004-01-07 21:55:47 +00:00
Mark Andrews
5e41884b4a
1536. [bug] Windows socket code failed to log a error description
...
when returning ISC_R_UNEXPECTED. [RT #9998 ]
2004-01-05 08:14:56 +00:00
Mark Andrews
7360d06313
{strlcpy,strlcat} -> isc_string_{strlcpy,strlcat}
2003-11-17 01:19:52 +00:00
Tatuya JINMEI 神明達哉
6da7c87a77
1527. [cleanup] Reduce the number of gettimeofday() calls without
...
losing necessary timer granularity.
(reviewed by marka and Kurt)
2003-10-25 00:09:14 +00:00
Mark Andrews
fcb54ce0a4
whitespace / layout
2003-10-17 03:46:46 +00:00
Mark Andrews
2f0bdbae4a
only look for IFF_POINTOPOINT if it is defined.
2003-10-16 05:56:25 +00:00
Tatuya JINMEI 神明達哉
cf756bac81
typo in a comment line.
2003-10-10 06:39:23 +00:00
Mark Andrews
846f974d57
1517. [port] Support for IPv6 interface scanning on HP/UX and
...
TrueUNIX 5.1.
2003-10-07 03:34:30 +00:00
Mark Andrews
a2b8bb8777
remove extraneous spaces before semicolons
2003-10-03 06:12:34 +00:00
Mark Andrews
12040a4f5c
missing includes [RT#9194]
2003-10-01 00:58:07 +00:00
Mark Andrews
cc083bb703
sizeof style
2003-09-11 01:49:18 +00:00
Mark Andrews
1b5a728293
1499. [bug] isc_random need to be seeded better if arc4random()
...
is not used.
2003-08-05 00:08:30 +00:00
Mark Andrews
d19fc9d988
#include <isc/string.h> [RT #8537 ]
2003-07-30 01:10:46 +00:00
Mark Andrews
a8f061d5c6
#include <config.h>
2003-07-29 04:31:23 +00:00
Mark Andrews
3f40de5598
isc_int32_t -> isc_uint32_t
2003-07-29 04:22:53 +00:00
Mark Andrews
3184ff5e45
1496. [port] test for pthread_attr_setstacksize().
2003-07-25 05:08:51 +00:00
Mark Andrews
d5d2dca925
missing '*'
2003-07-25 05:02:54 +00:00
Mark Andrews
96391d4178
add hash.c/hash.h
2003-07-25 02:57:58 +00:00
Mark Andrews
1e107b3d7b
1495. [cleanup] Replace hash functions with universal hash.
2003-07-25 02:22:26 +00:00
Mark Andrews
4691e18ca0
deconst
2003-07-25 02:04:28 +00:00
Mark Andrews
5eb91bd90e
silence compiler warnings (HPUX/11i)
2003-07-25 00:01:16 +00:00
Mark Andrews
4c54e122fe
silence compiler warning (HPUX/11i)
2003-07-24 06:41:20 +00:00
Mark Andrews
ce08911be8
typo
2003-07-23 03:18:56 +00:00
Mark Andrews
17a14e451d
1492. [cleanup] Preserve rwlock quota context when upgrading /
...
downgrading. [RT #5599 ]
2003-07-21 01:14:18 +00:00
Mark Andrews
ffdfae8e41
1486. [bug] isc_print_snprintf() '%%' consumed one too many format
...
characters. [RT# 8230]
2003-07-18 02:27:40 +00:00
Mark Andrews
dbd34ac1d0
remove potential file descriptor leak
2003-07-09 03:28:44 +00:00
Mark Andrews
f95231835f
1475. [port] Probe for old sprintf().
2003-06-24 06:24:44 +00:00
Mark Andrews
090f79c6c2
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:18:39 +00:00
Mark Andrews
21f1794606
1474. [port] Provide strtoul() and memmove() for platforms
...
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
d20c22f634
check that proc != NULL
2003-05-11 02:24:11 +00:00
Mark Andrews
1f58c45566
memset the entire lifc structure
2003-05-01 00:35:33 +00:00
Mark Andrews
f5af519ab5
1465. [bug] isc_base64_decodestring() and isc_base64_tobuffer()
...
failed to check that trailing bits were zero allowing
some invalid base64 strings to be accepted. [RT #5397 ]
2003-04-17 06:04:13 +00:00
Mark Andrews
163547c0c0
1461. [bug] Remove deadlock from rbtdb code. [RT #5999 ]
2003-04-17 01:56:35 +00:00
Mark Andrews
8ff31bab2f
1454. [bug] inet_pton() failed to reject certian malformed
...
IPv6 literals.
2003-04-17 01:52:45 +00:00
Mark Andrews
c716229384
win32: define S_ISREG if it not already defined.
2003-04-12 04:57:17 +00:00
Mark Andrews
806c235ecf
1458. [cleanup] sprintf() -> snprintf().
2003-04-11 07:25:31 +00:00
Mark Andrews
935000aa6e
1457. [port] Provide strlcat() and strlcpy() for platforms without
...
them.
2003-04-10 04:47:56 +00:00
Mark Andrews
8ca42f6318
1454. [port] Use getifaddrs() if available for interface scanning.
...
--disable-getifaddrs to override. Glibc currently
has a getifaddrs() that does not support IPv6.
Use --enable-getifaddrs=glibc to force the use of
this version under linux machines.
2003-04-01 05:18:22 +00:00
Mark Andrews
c1561e8a36
tab -> space
2003-03-03 01:42:59 +00:00
Mark Andrews
602d2e93f7
close of wrong socket [RT #5221 ]
2003-03-03 01:41:27 +00:00
Mark Andrews
463fc8f9d6
1437. [bug] Leave space for stdio to work in. [RT #5033 ]
...
developer: marka
reviewer: explorer
2003-02-26 04:00:20 +00:00
Mark Andrews
22a9cd54c0
1431. [bug] isc_print_snprintf() "%s" with precision could walk of
...
end of arguement. [RT #5191 ]
2003-02-25 21:32:07 +00:00
Mark Andrews
21ba6c18e4
1430. [port] linux: IPv6 interface scanning support.
...
reviewed: jinmei
developer: marka
This is a interim solution that needs to be compared to getifaddrs()
and PF_NETLINK solution spaces which Jinmei is exploring. It's not
clear which linux kernels support which of these three interfaces.
2003-02-24 01:46:11 +00:00
Mark Andrews
7418c7cc78
silence compiler
2003-02-18 06:07:40 +00:00
Mark Andrews
0f09ef5a50
1420. [port] solaris: work around gcc optimiser bug.
2003-01-21 04:32:19 +00:00
Mark Andrews
0ffaee887f
1412. [func] You can now specify servers to be tried if a nameserver
...
has IPv6 address and you only support IPv4 or the
reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
2f4fbeb360
SOCKET vs int
2003-01-14 23:37:06 +00:00
Mark Andrews
f4cbe536b1
cygwin support
2002-12-27 03:29:37 +00:00
Mark Andrews
602274b30f
isc_net_probeipv6() was #ifdef'd out
2002-12-24 05:12:50 +00:00
Mark Andrews
def8e47c68
use isc_random_get() rather than rand()/arc4random() directly.
...
developer: marka
reviewer: bwelling
2002-12-05 04:36:26 +00:00
Mark Andrews
767fd19da4
1407. [bug] lfsr incorrectly implements the shift register.
...
[RT #4617 ]
2002-12-05 04:01:54 +00:00
Mark Andrews
5b76a09697
1405. [func] Use arc4random() if available.
...
from: jakob@crt.se
reviewed: marka
2002-12-04 01:19:28 +00:00
Mark Andrews
c5689081b7
define PATH_MAX if not defined. [RT #4602 + others]
2002-11-29 01:42:18 +00:00
Mark Andrews
646182a67f
missing include
...
adjust prototype for isc_netscope_pton() to use void *.
2002-11-26 04:36:46 +00:00
Mark Andrews
41f5cf4ac1
check for the existance of if_nametoindex().
...
developer: jinmei
reviewer: marka
2002-11-26 03:53:42 +00:00
Mark Andrews
aebe37a461
ensure that zone id is set to zero.
...
only look for BSD internal scope if platform supports scope_id.
reviewer: marka
developer: jinmei
2002-11-26 03:16:31 +00:00
Mark Andrews
aa39170da8
1394. [func] It is now possible to check if a particular element is
...
in a acl. Remove duplicate entries from the localnets
acl.
1393. [port] Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
is not available in the kernel to prevent accidently
listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Mark Andrews
2357adb0d4
use family specific socket to lookup interface flags, etc.
2002-10-28 06:12:13 +00:00
Mark Andrews
e12b02b62c
u_int32_t -> isc_uin32_t
2002-10-28 02:23:54 +00:00
Mark Andrews
a3bcfd4660
u_int#_t -> isc_uint#_t
2002-10-28 02:16:21 +00:00
Mark Andrews
cbc0becf05
isc_netaddr_fromsockaddr failed to set zone for AF_INET
2002-10-25 02:36:42 +00:00
Mark Andrews
6526fd032f
1391. [func] Add support for IPv6 scoped addresses in named.
2002-10-24 03:52:35 +00:00
Tatuya JINMEI 神明達哉
959cf5e112
(RT #3666 ) named could fail to rotate long log files.
...
developer: marka
reviewer: jinmei
2002-10-16 13:15:30 +00:00
Mark Andrews
c0c9d2b566
Remove layer violation. [RT #3615 ]
2002-09-12 02:44:29 +00:00
Michael Graff
de6aca419d
Rework previous slightly, to only signal if we were using WAITUNTIL() and we
...
actually have a due time
2002-09-09 21:15:58 +00:00
Michael Graff
e5242f042b
When scheduling a new timer, check to see if we missed our last wakeup
...
by more than 15 seconds. If we have, SIGNAL().
2002-09-09 20:04:10 +00:00
Michael Graff
88f7da4690
add a new log module, timer
2002-09-09 20:02:22 +00:00
Mark Andrews
6125833e82
isc_timer_poke is thread specific
2002-09-09 06:01:06 +00:00
Michael Graff
371147fdc5
add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_timermgr_poke
2002-09-08 18:35:55 +00:00
Michael Graff
3e42be4026
rename 'worklimited' to 'idle'
2002-09-08 18:35:20 +00:00
Michael Graff
8f7b56e275
add goo for error checking mutexes on (at least) tru64
2002-09-08 18:32:38 +00:00
Mark Andrews
741a75f81b
reviewed: marka
...
developer: mayer
relative paths
build against openssl 0.9.6g
2002-08-17 01:34:09 +00:00
Mark Andrews
d8ec783e6d
reviewed: jinmei
...
who: marka
1359. [bug] remove IF_RUNNING test when scanning interfaces.
2002-08-16 00:05:57 +00:00
Danny Mayer
8c17b6f1e4
Updated code to support more than 63 accepts and connects by adding capability to add more event_wait threads on demand
2002-08-06 03:32:53 +00:00
Danny Mayer
834aa90500
Change isc_win32_version_check name to isc_win32_versioncheck and fix return value to be as reported in the header
2002-08-03 01:36:24 +00:00
Danny Mayer
70406959df
Fix NTReportError which needed an array of strings instead of just a pointer to a string
2002-08-03 01:34:14 +00:00
Danny Mayer
5da7016a6c
Message header is per I/O and not per socket. Changes made to make them per I/O.
2002-08-02 03:45:56 +00:00
Danny Mayer
dd472802de
ipv6 cleanup and reorganization of header information
2002-08-01 03:56:08 +00:00
Danny Mayer
5a18a1174d
Version-specific functions
2002-08-01 03:54:30 +00:00
Danny Mayer
931e557ecf
Fixed code to check for NULL before freeing buffer
2002-08-01 03:52:14 +00:00
Danny Mayer
1ceb6aa154
Added Windows-specific error codes to list
2002-08-01 03:50:24 +00:00
Danny Mayer
4d9aec9c8c
Redesigned sockets to use I/O Completion Ports and Events and eliminating multiple socket bugs reported
2002-08-01 03:46:21 +00:00
Danny Mayer
de4f4b6c58
Added NTReportError to use when the Event Log is not open for updates
2002-08-01 03:43:31 +00:00
Danny Mayer
498e1c30b2
Moved Win32 Version information to Win32os.c
2002-08-01 03:41:49 +00:00
Danny Mayer
d3e0cb0000
Win32 Version information
2002-08-01 03:40:21 +00:00
Danny Mayer
ace73367af
Added files and functions
2002-08-01 03:37:01 +00:00
Mark Andrews
012a2b979e
1341. [func] Allow a rate limiter to be stalled.
2002-07-26 06:42:02 +00:00
Mark Andrews
0d993c02ba
1250. [bug] When processing events (non-threaded) only allow
...
the task one chance to use to use its quantum.
2002-07-19 03:39:44 +00:00
Mark Andrews
6244f49146
protect clua_context access w/ #ifdef
2002-07-03 06:25:32 +00:00
Mark Andrews
7fd9fd9e4c
TRUCLUSTER support: isc_interfaceiter_first() should set clua_context.
2002-07-02 05:51:43 +00:00
Mark Andrews
89251e453b
result undeclared, #include <isc/log.h>
2002-07-01 23:00:38 +00:00
Mark Andrews
ecf7a18125
isc_modules[2] not isc_modules[3]
2002-07-01 01:39:45 +00:00
Mark Andrews
fe4d3e1992
hpux: ioctl(SIOCGLIFCONF) failure -> debug(1)
2002-07-01 01:08:37 +00:00
Mark Andrews
33c5380153
1334. [port] Handle ECONNRESET from sendmsg() [unix].
2002-06-26 00:12:54 +00:00
Mark Andrews
880f50a1e6
Protect both the socket and fifo tests with #ifdef's.
2002-06-20 01:19:51 +00:00
Mark Andrews
e2cf63c5df
1218. [port] Compaq Trucluster support.
2002-06-07 00:03:50 +00:00
Mark Andrews
918102a7d2
mask of mode format bits and compare result
2002-06-05 02:20:59 +00:00
Mark Andrews
5ddbaad44e
|| should have been && in #if test.
2002-06-04 23:26:16 +00:00
Mark Andrews
0a1fa37641
1217. [port] linux: make handling EINVAL from socket() no longer
...
conditional on #ifdef LINUX.
2002-06-03 06:31:16 +00:00
Mark Andrews
c61ec97ae0
1216. [bug] isc_log_closefilelogs() needed to lock the log
...
context.
2002-06-03 04:34:19 +00:00
Mark Andrews
49f7d1585e
1215. [bug] isc_log_setdebuglevel() needed to lock the log
...
context.
2002-06-03 03:39:56 +00:00
Mark Andrews
945cb085b8
1213. [func] Entropy can now be retrieved from EGDs. [RT #2438 ]
2002-05-30 04:21:17 +00:00
Mark Andrews
5ed4b0d445
1212. [func] Enable IPv6 support when using ioctl style interface
...
scanning and OS supports SIOCGLIFADDR using struct
if_laddrreq.
2002-05-30 01:28:53 +00:00
Mark Andrews
c549b3a4d5
1211. [func] Enable IPv6 support when using sysctl style interface
...
scanning.
2002-05-30 01:24:12 +00:00
Mark Andrews
f93fad20d4
check location before dereference
2002-05-27 11:37:40 +00:00
Mark Andrews
a1edcd1b8d
1203. [func] Use "dataready" accept filter if available.
2002-05-27 00:40:23 +00:00
Mark Andrews
acc8b7ac3d
1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590 ]
2002-05-23 04:32:30 +00:00
Mark Andrews
a2734fa74a
isc_file_renameunique() no longer used mkstemp().
2002-05-22 05:57:17 +00:00
Mark Andrews
26cf4737b3
1288. [port] Openserver: the value FD_SETSIZE depends on whether
...
<sys/param.h> is included or not. Be consistant.
2002-05-10 06:41:55 +00:00
Mark Andrews
34e5a08809
1287. [func] isc_file_openunique() now creates file using mode
...
0666 rather than 0600.
2002-05-09 09:08:56 +00:00
Mark Andrews
0cd36f1d15
1286. [bug] ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
...
__ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
are not C++ compatible, use *_TYPE versions instead.
2002-05-09 07:09:30 +00:00
Mark Andrews
ac70982956
add ECONNREFUSED
2002-05-03 05:43:40 +00:00
Mark Andrews
c311ed52d4
1247. [bug] Don't reset the interface index for link/site local
...
addresses. [RT #2576 ]
2002-04-03 06:44:11 +00:00
Mark Andrews
79a6a33184
1246. [func] New functions isc_sockaddr_issitelocal(),
...
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
and isc_netaddr_islinklocal().
2002-04-03 06:38:38 +00:00
Mark Andrews
5d26560e2b
1245. [bug] Treat ENOBUFS, ENOMEM and ENFILE as soft errors for
...
accept().
HPUX 11.11 returns ENOBUFS when the TCP connecting is closed before accept.
ENOMEM and ENFILE were also recommend by HP to be treated as soft for accept().
2002-04-03 05:41:20 +00:00
Mark Andrews
091b098b49
1241. [bug] Drop received UDP messsages with a zero source port
...
as these are invariably forged. [RT #2621 ]
2002-04-02 04:36:52 +00:00
Mark Andrews
0bd9d19281
INSIST that there are no outstanding tasks when the task manager is
...
about to be destroyed (non-threaded).
2002-03-29 01:25:04 +00:00
Mark Andrews
72b6ec6e5d
lock mctx for DELETE_TRACE call in isc__mempool_put()
2002-03-19 02:40:16 +00:00
Mark Andrews
c00a1eb423
1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL.
2002-03-15 05:01:33 +00:00
Mark Andrews
1e258716ac
1231. [port] HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL.
2002-03-15 04:59:03 +00:00
Mark Andrews
80b469ae8c
silence compiler
2002-03-12 04:07:37 +00:00
Mark Andrews
03fae7ef21
1227. [bug] dns_lex_getmastertoken() now returns ISC_R_BADNUMBER
...
if a number was expected and some other token was
found. [RT#2532]
2002-03-11 05:38:29 +00:00
Mark Andrews
8133c5d6ae
We could select on a closed file descriptor.
2002-03-05 06:41:08 +00:00
Brian Wellington
65c709f4de
add isc_parse_uint16() and isc_parse_uint8()
2002-02-28 20:08:06 +00:00
Mark Andrews
b9c80c8bdd
1214. [bug] Win32: isc_file_renameunique() could leave zero length
...
files behind.
2002-02-28 00:23:34 +00:00
Andreas Gustafsson
3806b4e01e
removed unused struct field isc_lex_t::options
2002-02-21 20:04:01 +00:00
Brian Wellington
02e5f92113
isc_lex_setsourcename(), for use when lexing buffers or streams
2002-02-21 00:44:16 +00:00
Mark Andrews
a7038d1a05
copyrights
2002-02-20 03:35:59 +00:00
Andreas Gustafsson
6a8832f784
There are four "i":s in "initialize"
2002-02-20 01:45:15 +00:00
Danny Mayer
e2759ff73a
Fixes for error handling that were missing in previous commit
2002-02-18 22:20:13 +00:00
Andreas Gustafsson
28e509b145
const correctness
2002-02-11 18:19:26 +00:00
Mark Andrews
28d8b4118d
1200. [bug] Log 'errno' that we are unable to convert to
...
isc_result_t. [RT #2404 ]
2002-02-11 05:11:07 +00:00
Danny Mayer
c6d29fbd5f
Added isc_fsaccess_changeowner function similar to the code to set file access attributes
2002-02-02 01:01:15 +00:00
Danny Mayer
6fedbb60b2
Change freebuf flag to be local to calls to NTstrerror() and be threadsafe
2002-01-25 03:39:25 +00:00
Danny Mayer
efd263562b
Removed C++ "//" comment lines
2002-01-24 23:43:28 +00:00
Danny Mayer
d7979cbb6c
Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage.
2002-01-24 23:19:35 +00:00
Andreas Gustafsson
93aba2cb04
The comment saying that the string passed to isc_log_settag()
...
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Brian Wellington
fca9cc33ad
1189. [bug] On some systems, malloc(0) returns NULL, which
...
could cause the caller to report an out of memory
error. [RT #2398 ]
2002-01-22 15:40:24 +00:00
Mark Andrews
852fa3b2e3
1183. [bug] Handle ENOSR error when writing to the internal
...
control pipe. [RT #2395 ]
2002-01-22 02:38:34 +00:00
Brian Wellington
6e8b843125
When parsing a hex string of unknown length, properly unget the EOL token
...
at the end. This doesn't affect any existing code, since the one caller
passes a known length, but it's still a bug.
2002-01-15 02:10:10 +00:00
Andreas Gustafsson
9cf6d43887
cut-and-paste-o:s
2002-01-11 01:30:32 +00:00
Mark Andrews
d073663cb4
1174. [bug] Win32: add WSAECONNRESET to the expected errors
...
from connect(). [RT #2308 ]
2002-01-10 03:50:13 +00:00
Mark Andrews
cad61731f8
1173. [bug] Potential leaks in isc_log_create() and
...
isc_log_settag(). [RT #2336 ]
2002-01-09 06:16:10 +00:00
Brian Wellington
e74100e3f4
move isc_region_compare to isc/region.[ch], not isc/buffer.[ch]
2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114
Adding function isc_region_compare and using in instead of compare_region in lib/dns
2002-01-05 07:05:28 +00:00
Mark Andrews
df1415d1e8
Out of date comment.
2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889
reference after free in error path.
2001-12-19 05:44:54 +00:00
Danny Mayer
13f20ab1fa
Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999
2001-12-19 03:46:57 +00:00
Mark Andrews
c36f45e354
1163. [func] isc_time_formattimestamp() will now reports the year.
...
The format matches BIND 8 date stamp.
2001-12-17 02:55:06 +00:00
Mark Andrews
23fb770906
1161. [bug] named-checkzone looped on unbalanced brackets.
...
[RT #2248 ]
2001-12-13 06:13:44 +00:00
Brian Wellington
e128be1387
track the size of memory blocks when debugging is enabled.
2001-12-05 19:13:26 +00:00
Mark Andrews
111e3433d2
1154. [bug] When scanning interfaces skip the interface
...
if address no address is configured. [RT #2176 ]
2001-12-03 04:41:42 +00:00
Andreas Gustafsson
1f1d36a87b
Check return values or cast them to (void), as required by the coding
...
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Andreas Gustafsson
242bba8991
1151. [bug] nslookup failed to check that the arguments to
...
the port, timeout, and retry options were
valid integers and in range. [RT #2099 ]
1150. [bug] named incorrectly accepted TTL values
containing plus or minus signs, such as
1d+1h-1s.
1149. [func] New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Mark Andrews
0cfa2fb26d
1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
...
supported by the OS by a new function
isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
91cd0f93ad
sizeof style
2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550
Do not put a space before ';' when terminating a statement or in a 'for' statement.
2001-11-27 00:56:32 +00:00
Danny Mayer
d67b892041
isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message
2001-11-22 03:08:12 +00:00
Andreas Gustafsson
d9d6d2f77f
1134. [bug] Multithreaded servers could deadlock in ferror()
...
when reloading zone files. [RT #1951 , #1998 ]
2001-11-21 22:26:46 +00:00
Mark Andrews
eb2c518a38
1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
...
without IN6_IS_ADDR_LOOPBACK. [RT #2106 ]
2001-11-21 13:06:20 +00:00
Danny Mayer
d5f394f4c4
Change strerror references to use isc__strerror [RT #1689 ]
2001-11-21 05:07:25 +00:00
Andreas Gustafsson
4f30395c97
Suppress compiler warnings about empty translation units
2001-11-20 21:28:41 +00:00
Andreas Gustafsson
945f7311ca
Don't return a value from isc__strerror(); it was never used, and
...
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
6cd7bd1fb5
spacing
2001-11-19 22:32:04 +00:00
Danny Mayer
e61793f086
Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32
2001-11-19 03:08:44 +00:00
Danny Mayer
33b8775d3a
Updated to support tree organization changes and to support the lib/bind9 library code
2001-11-18 03:11:06 +00:00
Mark Andrews
d1abb8bb02
1130. [bug] Out of range serial number were not being logged.
...
[RT #2076 ]
2001-11-16 10:50:00 +00:00
Andreas Gustafsson
36d8518388
indentation
2001-11-15 19:06:04 +00:00
Brian Wellington
a873540eb6
When in singlethreaded mode, don't drain the event queue before exiting
...
isc_app_run(). The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Danny Mayer
5c4e92b973
Added support for NTFS disks
2001-11-13 05:07:57 +00:00
Mark Andrews
f498427f17
theoretically potential file descriptor leak.
2001-11-09 00:37:10 +00:00
Andreas Gustafsson
ea01b618d9
1114. [port] Ignore more accept() errors. [RT #2021 ]
2001-11-08 20:24:25 +00:00
Danny Mayer
afce5ee1c8
On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear
2001-11-08 03:29:05 +00:00
Danny Mayer
e209942448
Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870 ]
2001-11-07 04:24:38 +00:00
Danny Mayer
93c498f0c6
ntfile.c now unnecessary as the iob array is now properly referenced
2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559
Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work
2001-11-02 05:02:15 +00:00
Andreas Gustafsson
785d1541b6
yet another in6addr_loopback change
2001-11-01 23:20:21 +00:00
Andreas Gustafsson
9f6c66e1b3
Deal with AIX defining in6addr_any but not in6addr_loopback
...
in libc, even though both are declared in <netinet/in.h>. This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Andreas Gustafsson
65775fe205
1081. [bug] Multicast queries were incorrectly identified
...
based on the source address, not the destination
address.
(from JINMEI Tatuya)
2001-10-31 01:24:58 +00:00
Andreas Gustafsson
30e3e23338
replaced the name RLIMIT_NOFILE by WIN32_MAX_OPEN_FILES, since
...
it was used for something completely unrelated to the Unix meaning of
RLIMIT_NOFILE
2001-10-31 00:32:42 +00:00
Mark Andrews
bc508906db
1078. [bug] We failed to correct bad tv_usec values in one case.
...
[RT #1966 ]
2001-10-30 02:39:33 +00:00
Danny Mayer
7e7bede4bd
Fix indentation
2001-10-26 02:29:43 +00:00
Danny Mayer
339335189b
Added support for max open files for Win32
2001-10-26 01:25:29 +00:00
Andreas Gustafsson
40a31ba506
strerror.c did not compile if HAVE_STRERROR was not defined
2001-10-22 22:17:30 +00:00
Andreas Gustafsson
8bdf7f2972
stdtime.@O@ was listed twice in OBJS
2001-10-22 21:37:28 +00:00
Andreas Gustafsson
a9bc22bf37
if() statement needs braces after isc__strerror() call added
2001-10-22 20:57:41 +00:00
Andreas Gustafsson
3931325c6d
spacing
2001-10-22 18:18:34 +00:00
Mark Andrews
1255d388f0
1067. [func] Allow quotas to be soft, isc_quota_soft().
2001-10-22 07:09:25 +00:00
Mark Andrews
31d3464c0c
1065. [func] Runtime support to select new / old style interface
...
scanning using ioctls.
2001-10-22 04:01:32 +00:00
Andreas Gustafsson
059a29a179
when using the system malloc, isc__mempool_get(), isc__mempool_put(),
...
and isc_mempool_destroy() failed to update memory statistics. [RT #1915 ]
2001-10-19 01:29:09 +00:00
Andreas Gustafsson
eb7f938194
style
2001-10-19 00:38:18 +00:00
Andreas Gustafsson
dfafc36515
style
2001-10-19 00:17:17 +00:00
Mark Andrews
9234d92d4e
1058. [func] Limited lifetime ticker timers are now available,
...
isc_timertype_limited.
2001-10-18 06:06:13 +00:00
Andreas Gustafsson
dcfc52bbba
Added a version.h file for each library; made version
...
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
b38ab99bdc
patch from Danny:
...
Fixed formattimestamp to use locale specific dates and times, the same way
as Unix format
2001-10-13 01:57:37 +00:00
Andreas Gustafsson
e69b9ffb0f
1048. [bug] Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
...
didn't work.
2001-10-12 00:35:11 +00:00
Andreas Gustafsson
6c6ceac1bc
reverted incorrect commit
2001-10-08 18:58:11 +00:00
Danny Mayer
f3fcde886c
Fixed formattimestamp to use locale specific dates and times, the same way as Unix format
2001-10-08 01:20:08 +00:00
Danny Mayer
4186249fea
Eliminate unnecessary macro and increase buffer length MAX_NAME_LENGTH
2001-10-06 01:10:06 +00:00
Danny Mayer
5ea492b94d
Restore Andrea's changes along with the updates
2001-10-05 22:25:54 +00:00
Danny Mayer
49d23a92a9
Check for malloc out-of-memory conditions, changed return codes to provide more meaningful error codes. Minor cleanup
2001-10-05 05:51:50 +00:00
Mark Andrews
40dd9cb8cc
1024. [port] HP and Sun decided to use the same macros and
...
structures for different things.
2001-10-03 05:08:32 +00:00
Mark Andrews
c54091c8ed
IPv6 addresses containing mapped IPv4 addresses generate the same hash
...
value as the equivalent IPv4 address. This is now true regardless of
the value of address_only. Document.
2001-10-02 06:06:15 +00:00
Andreas Gustafsson
1b8eaf4143
style
2001-10-01 20:58:51 +00:00
Danny Mayer
37f08fab28
Timestamp was one month later than it should have been. SYSTEMTIME starts with January=1
2001-09-30 02:41:11 +00:00
Andreas Gustafsson
513dd4a616
style
2001-09-28 23:34:55 +00:00
Danny Mayer
7e351cd18f
Added named service location in Registry
2001-09-25 01:41:43 +00:00
Danny Mayer
ecde762a60
Code to fetch list of NT Groups for a given account. This is used for retrieving privilege information and rights for an account as well as for NTFS File system and other object security
2001-09-25 01:37:02 +00:00
Andreas Gustafsson
1299e93989
1011. [cleanup] Removed isc_dir_current().
2001-09-20 21:21:53 +00:00
Mark Andrews
ae5df22719
iadd missing const
2001-09-20 06:50:34 +00:00
Mark Andrews
ad8e6236a4
add missing const to declaration.
2001-09-20 06:50:08 +00:00
Andreas Gustafsson
1de63e34f1
1004. [port] Deal with recvfrom() returning EHOSTDOWN. [RT #1770 ]
2001-09-18 22:54:02 +00:00
Mark Andrews
8138bb315d
The hash of IPv6 isc_sockaddr_t containing mapped IPv4 addresses should be
...
the same as the hash of the corresponding IPv4 isc_sockaddr_t.
2001-09-17 06:58:18 +00:00
Danny Mayer
8423b244ec
doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745 ]
2001-09-16 06:19:22 +00:00
Mark Andrews
e0806ab5ed
Correct comment saying that 'max_size' is ignored.
2001-09-07 00:51:51 +00:00
Andreas Gustafsson
50a8312c9f
#define ISC_MEM_TRACKLINES 1
2001-09-06 23:03:17 +00:00
Andreas Gustafsson
f8dbd659d0
When ISC_MEM_TRACKLINES=1, don't calle {add,delete}_trace_entry()
...
for every alloc/free if neither ISC_MEM_DEBUGTRACE nor
ISC_MEM_DEBUGRECORD is turned on. This removes my
last objection to setting ISC_MEM_TRACKLINES=1 by default.
2001-09-06 23:03:01 +00:00
Andreas Gustafsson
6d858e75d4
more documentation; indentation
2001-09-06 22:13:47 +00:00
Andreas Gustafsson
18159f6f60
document what ISC_MEM_DEBUG does; clarify descriptions of other
...
memory debugging options
2001-09-06 18:23:35 +00:00
Brian Wellington
ed29aefe31
[RT #1709 ]
...
Change isc_entropy_usebestsource() to have saner semantics:
- If an invalid file is specified, an error will be returned instead of the
keyboard being used.
- If no file is specified but a random device is present, the keyboard will
be used if there is an error opening the random device.
- ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
only device used. Otherwise, passing '-r keyboard' is meaningless
on a machine with a random device, since the keyboard will not be used.
Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington
aba9f3dd7e
remove an invalid close paren
2001-09-05 21:05:36 +00:00
Andreas Gustafsson
26f327f1f5
const correctness
2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d
check return value of strftime()
2001-09-05 17:05:47 +00:00
Andreas Gustafsson
33f87146a8
needs #include <isc/print.h>
2001-09-05 17:03:42 +00:00
Mark Andrews
7f006841fc
Assertion failure when ISC_MEM_DEBUGRECORD set.
2001-09-05 06:26:07 +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
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
a22a4084dd
Update to change path to resolv.conf and define RESOLV_CONF
2001-09-01 05:22:04 +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
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
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
9ec3c7b42d
mem.c did not compile when ISC_MEM_TRACKLINES was not defined
2001-08-30 20:23:44 +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
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
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
Danny Mayer
06b47b13db
Bug #1671 isc_time_now was erroneously calling strtime()
2001-08-29 05:13:42 +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
Mark Andrews
330b421487
963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645 ]
2001-08-20 23:56:25 +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
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
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
Danny Mayer
66352c0a05
Added support for key for win32
2001-08-06 05:34:26 +00:00
Danny Mayer
a59a1d313a
Updated .mak files to remove dependancies
2001-08-02 07:05:43 +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
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
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
Danny Mayer
2b9debd520
syslog for win32
2001-07-23 03:03:22 +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
Mark Andrews
aac5a28f1f
LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h
2001-07-18 08:15:23 +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
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
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
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
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
Andreas Gustafsson
aa0dc8d920
934. [port] Deal with systems where accept() spuriously returns
...
ECONNRESET.
2001-07-15 22:50:24 +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
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
David Lawrence
37aa910318
ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk
2001-07-11 05:32:55 +00:00
Danny Mayer
ad38e19578
Fix isabsolute for absolute path names
2001-07-11 04:32:15 +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
bb5de15290
REQUIRE that parameters are not NULL in many functions [RT #1470 ]
2001-07-10 04:23:01 +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
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
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
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
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
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
Brian Wellington
64b92523f9
check for getc_unlocked()
2001-07-04 00:34:44 +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
Danny Mayer
53bc020d74
modified to use isc_file_rename instead of rename
2001-06-27 04:37:11 +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
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
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
Andreas Gustafsson
19872fdfb7
convert more socket errors to specific ISC error codes, notably ECONNRESET
2001-06-15 22:07:51 +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
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
04260c5c48
895. [func] New function, isc_dir_current(), akin to POSIX's
...
getcwd().
2001-06-08 23:50:32 +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
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
Brian Wellington
224e84bc0e
misc. stuff related to [RT #1293 ]
2001-06-07 00:21:53 +00:00
Brian Wellington
338d559b3e
remove extraneous blank line
2001-06-06 21:02:43 +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
Brian Wellington
33e49e8fdc
#include <isc/magic.h>
2001-06-05 06:34:11 +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
d0b6ece407
ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS
2001-06-01 01:11:28 +00:00
David Lawrence
64c7a503c2
ensure that INADDR_LOOPBACK is defined
2001-05-31 10:54:51 +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
Brian Wellington
9547c4a3f8
potential null pointer dereference
2001-05-29 22:35:54 +00:00
Mark Andrews
097dc0a693
add sys/types.h for FreeBSD 2.1
2001-05-18 03:02:45 +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
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
fd5847ef09
828. [bug] The errno value from recvfrom() could be overwritten
...
by logging code. [RT #1293 ]
2001-05-14 18:20:03 +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
Brian Wellington
d144ea1d1c
isc_file_basename should return a (const char *)
2001-05-05 02:47:21 +00:00
Brian Wellington
f2194a8ba9
implement isc_file_basename()
2001-05-03 18:59:30 +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
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
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
0dc1e14537
alphabetized includes
2001-04-24 18:40:07 +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
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
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
6f053cd485
use ISC_TF() to set an isc_boolean_t
2001-04-12 21:04:14 +00:00
David Lawrence
3507ae5d59
#include <time.h> for the utimes() prototype
2001-04-12 19:46:39 +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
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
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
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
1d92d8a245
792. [cleanup] Replace the OMAPI command channel protocol with a
...
simpler one.
2001-03-27 00:44:59 +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
Andreas Gustafsson
9efa0d2ae3
do not capitalize error message strings
2001-03-24 02:18:42 +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
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
2f02f32f04
exit(1), not exit(-1)
2001-03-14 06:31:17 +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
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
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
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
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
a8dd4ccadb
missing space
2001-03-01 22:40:09 +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
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
Mark Andrews
df0f58959e
752. [func] Correct bad tv_usec elements returned by gettimeofday().
2001-02-23 23:12:28 +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
Mark Andrews
0490a61acd
protect long long with ISC_PLATFORM_HAVELONGLONG
2001-02-21 06:13:33 +00:00