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
Automatic Updater
e2c97aef51
update copyright notice
2008-09-08 23:47:10 +00:00
Mark Andrews
66d720025d
update isc_time_set's description
2008-09-08 06:51:10 +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
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
148f27aee6
update copyright notice
2006-12-22 01:59:44 +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
fb827ed6df
9.4/HEAD sync
2005-07-18 06:03:01 +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
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
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
d7a8ba373d
copyright
2004-08-19 04:44:08 +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
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
22fa4e3206
1578. [bug] Don't use CLASS E IPv4 addresses when resolving.
...
[RT #10346 ]
2004-02-20 00:52:46 +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
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
6526fd032f
1391. [func] Add support for IPv6 scoped addresses in named.
2002-10-24 03:52:35 +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
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
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
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
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
1299e93989
1011. [cleanup] Removed isc_dir_current().
2001-09-20 21:21:53 +00:00
Mark Andrews
ad8e6236a4
add missing const to declaration.
2001-09-20 06:50:08 +00:00
Andreas Gustafsson
26f327f1f5
const correctness
2001-09-05 17:22:55 +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
c654449ccf
isc__strerror
2001-08-30 04:33:20 +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
bddfe77128
936. [func] Warn when non dotted decimal quad's are used.
...
[RT #1084 ]
935. [bug] inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews
9d99e3fda1
924. [port] Extend pre-RFC2133 support. [RT #987 ]
2001-07-09 08:07:41 +00:00
Andreas Gustafsson
305795c093
finish app.h move
2001-07-06 22:12:21 +00:00
Andreas Gustafsson
675a191f43
moved <isc/app.h> to OS-independent include directory
2001-07-06 19:50:05 +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
04260c5c48
895. [func] New function, isc_dir_current(), akin to POSIX's
...
getcwd().
2001-06-08 23:50:32 +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
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
Mark Andrews
fd50497bbe
isc_dir_chroot()
2001-01-29 03:17:45 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Mark Andrews
4e7942dc76
648. [port] Add support for pre-RFC2133 IPv6 implementations.
2001-01-03 13:13:14 +00:00
David Lawrence
b8ebf57228
fix a rather stupid incomplete cut-n-pasting job of in the
...
ISC_PLATFORM_FIXIN6ISADDR block for UnixWare.
2001-01-01 22:02:27 +00:00
David Lawrence
e544b507b8
602. [func] Cope automatically with UnixWare's broken
...
IN6_IS_ADDR_* macros. [RT #539 ]
2000-12-08 00:55:51 +00:00
David Lawrence
1097943242
would have helped if the MIN/MAX for all of the signed integers were not
...
reversed.
2000-11-14 23:41:46 +00:00
David Lawrence
be9a4bd82a
symbolic constants for integral maximums and signed integral minimums
2000-11-14 23:35:43 +00:00
Andreas Gustafsson
922e6a3c2a
478. [bug] "make install" failed if the directory specified with
...
--prefix did not already exist.
2000-09-20 19:06:16 +00:00
Brian Wellington
1b32bc7da1
417. [func] Add isc_app_block() and isc_app_unblock(), which
...
allow an application to handle signals while
blocking.
2000-09-01 21:31:54 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington
153d59973f
Allow keyboard operations to be interrupted by the interrupt or quit
...
character.
2000-07-31 20:36:08 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
David Lawrence
febf5f8b55
355. [func] Added isc_dir_createunique(), similar to mkdtemp().
2000-07-27 02:04:36 +00:00
Brian Wellington
da892e9733
Typo in comment - isc_time_microdiff returns microseconds, not milliseconds.
2000-07-14 16:59:32 +00:00
David Lawrence
641689bff4
note in the comment that isc_time_microdiff returns 0 if t1 < t2.
...
no need to pull up.
2000-06-30 22:40:32 +00:00
David Lawrence
438d4a305d
include order lint
2000-06-23 21:43:46 +00:00
David Lawrence
544f8fd0be
protect sys/types.h from check-includes.pl removal recommendation
2000-06-23 03:08:18 +00:00
David Lawrence
b654509b18
protect limits.h from check-includes.pl removal recommendation
2000-06-23 03:07:45 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
Michael Graff
9f95b0199c
add an argument to indicate how long to wait before draining the keyboard's input queue. This keeps people from overrunning input into the shell, etc.
2000-06-22 00:25:33 +00:00
David Lawrence
49dbdb0186
update_copyrights
2000-06-21 22:05:07 +00:00
Michael Graff
890fb60939
add keyboard API
2000-06-21 01:45:21 +00:00
Michael Graff
57ded06933
fix multicast test
2000-06-16 22:35:36 +00:00
Michael Graff
d80da258e3
Add isc_netaddr_ismulticast() and isc_sockaddr_ismulticast()
2000-06-15 18:23:54 +00:00
David Lawrence
5fda9ca75a
redefined ISC_OFFSET_MAXIMUM
2000-06-06 22:10:10 +00:00
David Lawrence
05e3940191
made operand to left shift in ISC_OFFSET_MAXIMUM unsigned to avoid
...
integer overflow.
2000-05-25 16:44:25 +00:00
David Lawrence
6deb631b20
208. [func] Added ISC_OFFSET_MAXIMUM for the maximum value
...
of an isc_offset_t.
2000-05-25 03:34:34 +00:00
Andreas Gustafsson
b291fec7c9
offset.h was not installed by 'make install'
2000-05-22 22:46:53 +00:00
David Lawrence
e6ce1a0ea9
use _PLATFORM_NEEDINETIN6H
2000-05-18 22:43:48 +00:00
David Lawrence
6fa1cb5754
189. [func] isc_time_secondsastimet(), a new function, will ensure
...
that the number of seconds in an isc_time_t does not
exceed the range of a time_t, or return ISC_R_RANGE.
Similarly, isc_time_now(), isc_time_nowplusinterval(),
isc_time_add() and isc_time_subtract() now check the
range for overflow/underflow. In the case of
isc_time_subtract, this changed a calling requirement
(ie, something that could generate an assertion)
into merely a condition that returns an error result.
isc_time_add() and isc_time_subtract() were void-
valued before but now return isc_result_t.
The seconds member isc_time_t on Unix platforms was changed from time_t
to unsigned int.
unix/time.c now uses macros for nanoseconds per second, nanoseconds per
microsecond and microseconds per second to make sure that the right
number of zeros appears each place the constant is used.
unix/time.c functions which take initialized isc_(interval|time)_t arguments
INSIST() that the nanoseconds value is less than one full second.
unix/time.c's isc_time_microdiff was broken because it did multiplication and
addition with unsigned integers and attempted to set them a 64 bit int to
avoid overflow, but C's ints don't promote to 64 bits on machines that only
have 32 bit longs. Fixed.
Added all the pertinent documentation to time.h.
2000-05-18 17:08:32 +00:00
David Lawrence
e52750239e
Changed the CPP symbol it uses from *_HAVENETINET6* to *_NEEDNETINET6*
...
to better clarify what is going on with regard to the symbol.
2000-05-13 18:18:08 +00:00
David Lawrence
681bd61239
isc/{unix,win32}/include/isc/ipv6.h moved to isc/include/isc/ipv6.h
2000-05-09 00:55:59 +00:00
David Lawrence
1a69a1a78c
Megacommit of dozens of files.
...
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/
2000-05-08 14:38:29 +00:00
Michael Graff
ece3d6c356
Cause runtime probing of v6 addresses to fail, even if we can actually
...
make v6 sockets, but we do not have struct in6_pktinfo.
Add a check in configure.in for struct in6_pktinfo.
Use the result of that check to define (if needed) in6_pktinfo in net.h.
This change makes us build on platforms that have SOME ipv6 structures
(like in6_addr, etc) but not enough to be useful to us.
Note: Before making an ipv6 socket the code should verify that ipv6
sockets can be made using isc_net_probeipv6(). It should also
check for v4 sockets using isc_net_probeipv4() to be consistant.
2000-05-06 01:30:32 +00:00
David Lawrence
b99d080717
141. [cleanup] <isc/stdtime.h> does not need <time.h> or <isc/result.h>.
2000-04-28 23:53:55 +00:00
David Lawrence
b905ff7cbe
140. [cleanup] <isc/time.h> does not need <time.h> or <isc/result.h>.
2000-04-28 23:23:52 +00:00
David Lawrence
23a0970477
139. [cleanup] <isc/net.h> now includes <isc/types.h> instead of
...
<isc/int.h> and <isc/result.h>.
2000-04-28 23:14:45 +00:00
David Lawrence
54a2e7e8a2
137. [cleanup] <isc/commandline.h>, <isc/mem.h>, <isc/print.h>
...
<isc/serial.h>, <isc/string.h> and <isc/offset.h>
made to conform to the same style for multiple
inclusion protection.
2000-04-28 22:13:15 +00:00
David Lawrence
027212247d
136. [cleanup] <isc/commandline.h>, <isc/interfaceiter.h>,
...
<isc/net.h> and Win32's <isc/thread.h> needed
ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS.
2000-04-28 22:09:15 +00:00
David Lawrence
344e909ce9
134. [cleanup] <isc/dir.h> does not need <limits.h>.
2000-04-28 21:29:27 +00:00
David Lawrence
eefea43215
132. [cleanup] <isc/app.h> does not need <isc/task.h>, but does
...
need <isc/eventclass.h>.
2000-04-28 21:08:52 +00:00
David Lawrence
dc91d010db
128. [cleanup] <isc/dir.h> had ISC_LANG_BEGINDECLS instead of
...
ISC_LANG_ENDDECLS at end of header.
2000-04-28 17:46:30 +00:00
David Lawrence
9d26bfb436
grrrrrr ... order wrong in typedef
2000-04-28 00:39:11 +00:00
David Lawrence
61e9c1cdbe
116. [func] Added <isc/offset.h> for isc_offset_t
2000-04-28 00:36:56 +00:00
David Lawrence
58bc93c3dd
81. [cleanup] <isc/int.h> and <isc/boolean.h> do not need
...
<isc/lang.h>.
2000-04-25 21:16:12 +00:00
David Lawrence
0a7bde9fa8
isc_interval_t and isc_time_t typedefs moved to isc/types.h
2000-04-25 19:33:07 +00:00
David Lawrence
2cc9a6a0f7
Prototype for new function isc_time_subtract.
...
Comment cleanups (ie, many "'t' are a valid." comments made grammatically
correct).
win32's file.h added missing ISC_LANG_ENDDECLS.
2000-04-24 21:38:55 +00:00
Bob Halley
c653686224
fix typo
2000-03-27 23:46:45 +00:00
Bob Halley
435532822d
deal with systems missing in6addr_any
2000-03-22 22:07:17 +00:00
David Lawrence
114d0d1642
added isc_time_seconds, isc_time_nanoseconds
2000-03-10 17:49:27 +00:00
Bob Halley
a2f3208f7f
add DESTDIR support
2000-02-08 21:50:23 +00:00
Bob Halley
4dafa5b8ed
add missing .h files
2000-02-04 01:41:25 +00:00
Bob Halley
ca41b452ed
update copyrights
2000-02-03 23:08:31 +00:00
David Lawrence
6ad69891ee
use ISC_PLATFORM_NETINET6_IN6_H, don't use config.h
2000-02-02 13:26:22 +00:00
David Lawrence
8fc824d047
include <config.h>, since the definition of HAVE_NETINET6_IN6_H
...
is needed in this file.
2000-01-24 05:25:09 +00:00