2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

311 Commits

Author SHA1 Message Date
Ted Lemon
e492a2594a Return key unknown when key lookup fails. 2001-05-02 07:02:15 +00:00
Ted Lemon
86a9cf83c2 Cosmetic fix. 2001-05-02 07:00:30 +00:00
Ted Lemon
29fb0a112b Need error message translation for omapi as well. 2001-05-02 06:54:32 +00:00
Ted Lemon
aaa98d8c5b Return connection failure status codes. 2001-05-02 06:52:03 +00:00
Ted Lemon
3a4f23b5c4 Don't continue to try to trace if we can't open the tracefile. 2001-04-24 00:51:31 +00:00
Ted Lemon
c1d58ae6ec Don't allow writes on a closed connection. 2001-04-20 20:14:07 +00:00
Ted Lemon
c4cbdd1407 Undo previous change. 2001-04-20 19:24:20 +00:00
Ted Lemon
9bf59e8353 If an IO descriptor goes bad, stop waiting on it. 2001-04-20 19:23:45 +00:00
Ted Lemon
d889f74498 - If we get an ECONNRESET, drop the connection immediately - don't
wait for the output queue to drain.
2001-04-20 19:04:26 +00:00
Ted Lemon
7243b3690d If we find an active IO object with a bad descriptor, unregister it. 2001-04-18 18:56:10 +00:00
Ted Lemon
8206384cd8 Don't do refcount tracing on dmalloc/dfree unless the user asks for it. 2001-04-16 22:19:20 +00:00
Ben Cottrell
dc6d4b5a3e Arf... these are nroff output, but I don't have the original troff source.
Hopefully James does, so he can replace these with the nroff.

I just used:
	memcpy(ipaddrstring->value, &convaddr.s_addr, 4);
for the byte order thingy. I'm hoping this is right. inet_pton will
spit out the address in network byte order, and Ted says that
dhcpctl_set_value is expecting it in network byte order, also.
2001-04-12 21:23:14 +00:00
Ted Lemon
1c9e9082b5 Don't require a const (prevents a compile error on solaris). 2001-04-09 01:16:36 +00:00
Ted Lemon
1bd1804299 Parameterize use of EDQUOT for SCO. 2001-04-09 01:15:19 +00:00
Ted Lemon
6a031f2e3c Don't create a trace file if there's one there already. 2001-04-06 01:02:47 +00:00
Ted Lemon
651a34dd93 Fix a silly malloc bug in mrtrace. 2001-03-30 05:21:58 +00:00
Ted Lemon
ae598b4274 Get rid of local debug flag. 2001-03-14 15:36:57 +00:00
Ted Lemon
5dafbb5bd5 Fix a solaris build problem. 2001-03-01 22:11:26 +00:00
Ted Lemon
c466184540 Fix up NetBSD/alpha build. 2001-02-26 22:21:15 +00:00
Ted Lemon
6b85636e11 Fix time snooper. 2001-02-22 07:29:36 +00:00
Ted Lemon
dd952dd18a Add support for logging random ID and fix various bugs in minires tracing. 2001-02-22 07:28:58 +00:00
Ted Lemon
793b7b9f4b Move dst functionality into seperate library 2001-02-22 07:27:14 +00:00
Ted Lemon
a7394d157f Fix cross-platform compile warnings 2001-02-17 21:34:56 +00:00
Ted Lemon
7a563fb8bf - Get rid of the requirement that trace types be declared after trace_init()
is called.
2001-02-17 21:19:55 +00:00
Damien Neil
d0042425f2 Fixed a number of format bugs: %d -> %ld, plus (long int) cast. 2001-02-15 20:58:31 +00:00
Damien Neil
5f23e89579 Fixes for several log_*() format bugs: %d -> %ld, plus a cast to (long int). 2001-02-15 20:35:40 +00:00
Damien Neil
2844788f4e Fixed a typecast bug: the third argument of omapi_connection_array_extend()
is an (int *), not a (u_int32_t *).
2001-02-15 20:31:36 +00:00
Damien Neil
b209f985c4 Fixed a log format bug: %d -> %ld, plus a (long int) cast. 2001-02-15 20:28:33 +00:00
Ted Lemon
84ac948785 Initialize minires tracing. 2001-02-15 14:12:54 +00:00
Ted Lemon
ac679e8f57 Add trace_snoop_time. 2001-02-15 14:12:36 +00:00
Ted Lemon
c86c45644c Extend copyright year. 2001-02-15 14:12:12 +00:00
Ted Lemon
f1347d047f Add minires trace support. 2001-02-15 14:11:46 +00:00
Ted Lemon
ca3cfc4809 Minires trace support. 2001-02-15 14:11:29 +00:00
Ted Lemon
bc43c8131c Call trace setup hooks for connection.c and buffer.c. 2001-02-15 05:40:00 +00:00
Ted Lemon
1a3bb68cca Add tracing support for OMAPI accepts and for listener object instantiation. 2001-02-15 05:39:17 +00:00
Ted Lemon
ef5cc1830b Add tracing support for OMAPI connects and disconnects. 2001-02-15 05:38:52 +00:00
Ted Lemon
c1a3453e6b Add tracing support for OMAPI connection streams. 2001-02-15 05:37:17 +00:00
Ted Lemon
3ce5a42015 Add some support for tracing connections. 2001-02-12 20:49:54 +00:00
Ted Lemon
c790b906de Support for extensible arrays. 2001-02-12 20:48:13 +00:00
Ted Lemon
c128c100ae Support for tracing omapi and related connections. 2001-02-12 20:48:04 +00:00
Ted Lemon
3def798b81 Add array.c and trace.c. 2001-02-12 20:47:09 +00:00
Ted Lemon
0ae2319345 Theoretically fancier reference count history printer (needs more work) 2001-01-25 08:27:20 +00:00
Ted Lemon
5abf0a4419 Use ISC result codes instead of NS rcodes to report update errors. 2001-01-16 22:34:47 +00:00
Ted Lemon
2321120a86 Oops, fix the cast from the previous commit so it actually helps. 2001-01-08 17:26:04 +00:00
Ted Lemon
b8a4e41a7a Fix a signed vs. unsigned problem. 2001-01-08 15:39:43 +00:00
Ted Lemon
f5985f55bf - Always decrement the reference count on an object before dereferencing it,
so that if there's a dangling pointer, it's caught at dereference time.
2000-12-28 23:22:43 +00:00
Damien Neil
8c3c655296 Properly add ".SIG-ALG.REG.INT." to OMAPI key algorithms. 2000-12-09 00:10:55 +00:00
Damien Neil
a323900510 Fix omapi_protocol_connect() to properly return ISC_R_INCOMPLETE
when necessary.  This should fix problems with forming OMAPI connections
to remote hosts.
2000-12-09 00:07:46 +00:00
Ted Lemon
6e0f9707d8 Make error codes for DNS errors. 2000-11-28 23:32:04 +00:00
Damien Neil
d01dde7682 Fix for bug #416: If a server hands dhclient an insanely large
lease time, select() can get passed a too-large timeout, causing it
to return EINVAL.  This fix restricts the select() timeout to one day.
2000-11-01 23:59:57 +00:00