2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00
Commit Graph

622 Commits

Author SHA1 Message Date
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
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
8133c5d6ae We could select on a closed file descriptor. 2002-03-05 06:41:08 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +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
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
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
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
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
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
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
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
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
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
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
31d3464c0c 1065. [func] Runtime support to select new / old style interface
scanning using ioctls.
2001-10-22 04:01:32 +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
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
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
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
faa96aba6d removed empty line 2001-08-30 20:55:37 +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
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
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