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
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
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