2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 21:07:43 +00:00

283 Commits

Author SHA1 Message Date
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
Damien Neil
366556efc7 Tweak omapi_protocol_connect() so that authenticators are sent in the
proper order.
2000-10-30 18:48:07 +00:00
Ted Lemon
c4403423ed Add omapi object initializer to object type structure. 2000-10-10 23:00:31 +00:00
Ted Lemon
c509341958 Call object initializer from omapi_object_initialize if there is one. 2000-10-10 22:59:37 +00:00
Ted Lemon
b85703e41b Allow return result of ISC_R_UNCHANGED in omapi_update_object. 2000-10-01 21:42:42 +00:00
Ted Lemon
84b0068537 Don't dump core when sending a name/value pair with a null value. 2000-10-01 21:41:34 +00:00
Ted Lemon
6bbd4fd6ba Wrap some new debugging code with #ifdef DEBUG. 2000-09-29 22:42:09 +00:00
Ted Lemon
67a291cfbf Do better status checking when starting connections. 2000-09-29 20:58:26 +00:00
Ted Lemon
0a10a8df1d Bounds check the output buffer in do_percentm. 2000-09-29 20:01:49 +00:00
Ted Lemon
a5d575bc86 Correctly handle the case where the connection doesn't complete immediately. 2000-09-29 18:12:50 +00:00
Ted Lemon
eadee39698 Panic commit. 2000-09-27 23:37:44 +00:00
Ted Lemon
cdb71011ef Move inet_aton to libomapi 2000-09-20 00:01:50 +00:00
Ted Lemon
645eab7bec Print more information when bad socket is found. 2000-09-12 21:53:15 +00:00
Ted Lemon
5d62f96940 Add some more verbiage to fatal error message. 2000-09-04 22:28:10 +00:00
Ted Lemon
60e0a4f9b6 Work around a pedantic warning about empty format strings. 2000-09-01 23:17:00 +00:00
Ted Lemon
f1b8950a86 - Provide information on how to get support (and how not to) if the server
exits with an error.
2000-09-01 23:04:37 +00:00
Ted Lemon
275082ddad Support ISC_R_INCOMPLETE for partial connects. 2000-08-31 04:39:18 +00:00
Ted Lemon
4b63c26ef8 Use unsigned char instead of u_char. 2000-08-17 19:43:04 +00:00
Ted Lemon
a69fc68a1b Fix a compile warning. 2000-08-17 19:41:48 +00:00
Damien Neil
61b04b0026 Install the ISC header files required to get omapi to work. 2000-08-17 17:39:51 +00:00
Damien Neil
e11a162ff4 Added a number of (#ifdef-guarded) debugging statements. 2000-08-14 21:58:57 +00:00
Damien Neil
49146f3c15 Added authentication support. The tsig_key structure has been renamed
to auth_key and moved into libomapi.  libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Damien Neil
c62871ba64 Moved hash.c from libdhcp to libomapi, in anticipation of moving the
tsig_key structure into libomapi.  (tsig_keys are stored in a hashtable,
and libomapi should not depend on libdhcp.)
2000-08-01 22:55:07 +00:00
Damien Neil
c8d531a6f9 Moved convert.c from libdhcp to libomapi. (libomapi should not depend
on libdhcp.)
2000-08-01 22:34:36 +00:00
Damien Neil
db4cfe3b09 Changed all uses of omapi_message_allocate() to omapi_message_new(), which
properly initializes the internals of the message object.
2000-07-15 01:59:00 +00:00
Damien Neil
01a4c2a2a9 Tweak object dereferencing: I believe dereferencing object chains were not
being freed correctly.  (This duplicates a change made by Tale in revision
1.8 of the BIND9 object.c.)
2000-07-10 17:05:18 +00:00
Damien Neil
c3064fe0cf Properly initialize 'last' when removing I/O objects: removing the first
one should no longer croak.
2000-07-10 17:03:38 +00:00
Ted Lemon
b1b044759a - Support a per-type allocator that is called prior to trying dmalloc,
so that objects can maintain free lists.
2000-07-06 22:43:32 +00:00
Ted Lemon
0b1e395f13 Adjust arguments to omapi_object_type_register 2000-07-06 22:37:53 +00:00