2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

102 Commits

Author SHA1 Message Date
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
Ted Lemon
edbb766799 Get rid of some debugging statements 2000-07-05 09:13:02 +00:00
Ted Lemon
7cec271f9a Use object free routine if provided. 2000-07-05 07:29:56 +00:00
Ted Lemon
b25673ec41 Don't build executables named test. 2000-06-30 00:43:00 +00:00
Ted Lemon
477e97ddd3 Fix some debugging code so it compiles on Solaris. 2000-06-29 20:07:00 +00:00
Ted Lemon
4f9e9f47a9 Put some extra paranoia in logging subroutines. 2000-06-29 20:05:18 +00:00
Ted Lemon
524c92851c When debugging malloc on an object, be sure it has no special free routine. 2000-06-24 06:27:04 +00:00
Ted Lemon
cfb3f45dac - Add some code to actually track down and report the I/O object that's
producing a bad descriptor, and to try to shut it down.
2000-06-20 20:30:27 +00:00
Ted Lemon
88dd0d2083 Fix depend target. Don't echo building of links. 2000-06-20 20:29:16 +00:00
Ted Lemon
62452b8ffa Use mkdep rather than makedepend 2000-06-12 22:25:55 +00:00
Ted Lemon
d8c4674091 Account for possibility that io object has no inner object. 2000-06-06 23:47:27 +00:00
Ted Lemon
ee3aeca67f Completely break connection to I/O object when connection is severed. 2000-06-06 23:47:14 +00:00
Ted Lemon
165bce70b2 Fix up various platform-specific errors. 2000-05-17 16:04:26 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
7deff07643 Oops, fix a past-o. 2000-05-15 15:47:11 +00:00
Ted Lemon
ffc0586664 Don't send the intro until we receive the connect signal. 2000-05-15 15:44:31 +00:00
Ted Lemon
6c25ecec2e Get rid of SO_USELOOPBACK 2000-05-09 03:06:49 +00:00
Ted Lemon
58a95d9dfd Get rid of SO_USELOOPBACK. 2000-05-03 06:18:03 +00:00
Ted Lemon
b6237fb286 - Fix up reference counting of io object chain.
- Add omapi_unregister_io_object.
2000-05-03 06:15:31 +00:00
Ted Lemon
d86ec998a2 Get rid of SO_USELOOPBACK. Use omapi_unregister_io_object. 2000-05-03 06:12:28 +00:00
Ted Lemon
e598929f6d Fix a stupid pasto in make_int_value. Add make_uint_value. 2000-05-01 23:52:05 +00:00
Ted Lemon
85e9641dc8 Add a call for listening on a specific IP address. 2000-05-01 23:51:05 +00:00
Ted Lemon
fc24e951a2 - Make the connect system call asynchronous.
- Add a new call that takes a list of addresses of arbitrary types,
  rather than just IPv4 addresses.
- Allow caller to also specify a local address to which to bind before
  connecting.
2000-05-01 23:50:16 +00:00
Ted Lemon
df9ff0a119 Add support for omapi_addr_list_t. 2000-05-01 23:47:08 +00:00
Ted Lemon
7d9784f6fc Patch in TSIG, just to see how to get it to work. 2000-03-18 02:15:52 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
bdcaf7b95d Incorporate Brian Murrell's new OMAPI DHCP client changes. 2000-02-15 20:40:36 +00:00
Ted Lemon
0d0d25d027 Fix make depend. 2000-02-03 15:40:09 +00:00
Ted Lemon
539bfc9641 Teach cvs not to complain about generated files. 2000-02-03 03:49:16 +00:00
Ted Lemon
d1f313b300 socklen_t -> SOCKLEN_T 2000-02-03 03:43:51 +00:00
Ted Lemon
cfdfb9f126 AIX and Digital Unix compatibility fixes. 2000-02-01 03:19:56 +00:00
Ted Lemon
996a9e8520 Fix up handling of bogus dereferences. 2000-01-27 23:20:03 +00:00