2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

2194 Commits

Author SHA1 Message Date
Ted Lemon
a69a2e6821 Add mkdep variable. Always build DDNS. 2000-06-20 19:43:12 +00:00
Ted Lemon
60fdb6e617 - Configure into a system-specific build subtree.
- Add support for just printing the system name, for the top-level Makefile.
2000-06-20 19:42:30 +00:00
Ted Lemon
bfe063e774 Top-level makefile to build the subtree for the current architecture. 2000-06-20 19:41:21 +00:00
Ted Lemon
e41a847872 Don't ignore Makefile anymore. 2000-06-20 19:40:53 +00:00
Ted Lemon
62452b8ffa Use mkdep rather than makedepend 2000-06-12 22:25:55 +00:00
Ted Lemon
55321a210e Clean up a possible memory smash in the binding code. 2000-06-12 22:22:09 +00:00
Ted Lemon
5b01171a9d - Clean up some edge cases when a lease is requested that's shorter than
mclt or tsfp.
2000-06-12 22:20:43 +00:00
Ted Lemon
4e9f14044f Initialize the dhcp_type_host type definition. 2000-06-12 20:25:37 +00:00
Ted Lemon
999992c91e Fix a couple of problems with the ack and update queue code. 2000-06-12 20:19:21 +00:00
Ted Lemon
f84d544bb3 Fix a bunch of problems in calling clone_grpup. 2000-06-12 20:14:16 +00:00
Ted Lemon
2aac431201 - Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with
queuing updates during communications_interrupted).
2000-06-12 20:12:13 +00:00
Ted Lemon
d0b1c50ebb - Fix interface_dummy to notice reference error.
- Fix interface parser to zero interface pointer before using it.
2000-06-12 20:08:56 +00:00
Ted Lemon
72896e9f57 Make dhcp_failover_make_option prototype consistent with declaration. 2000-06-10 17:55:11 +00:00
Ted Lemon
7d35446486 Add a missing store that was masked by the i386 calling conventions. 2000-06-09 23:07:56 +00:00
Ted Lemon
f0cf3e15d3 Make a special case for NetBSD/arm32. 2000-06-09 18:26:59 +00:00
Ted Lemon
e651f9b234 Fix up handling of failover peer disconnects. 2000-06-08 21:29:02 +00:00
Ted Lemon
b73c184acf Don't log 'late' ICMP echo replies for failover leases. 2000-06-08 21:25:47 +00:00
Ted Lemon
9efd3acc65 - Don't force the lease to be default-lease-time seconds long if
the client requested a lease shorter than MCLT of a failover peer.
2000-06-08 21:22:48 +00:00
Ted Lemon
1dd632af0d - Correctly check the result of make_concat (thanks to Scott Reynolds).
This fixes a long-standing 3.0 problem where more than one fixed
  address declaration in a host declaration would not be honored.
2000-06-08 21:20:00 +00:00
Ted Lemon
68e1f67a18 - Fix a mistake that was causing the fallback interface not to be used (thanks
to Christof Chen for catching this!)
2000-06-08 21:14:16 +00:00
Ted Lemon
0baf2c4a68 Allow reject reason and message in BNDACK messages. 2000-06-07 00:32:55 +00:00
Ted Lemon
e9f0d7c31b Don't use dhcp_lease_free unless COMPACT_LEASES is defined. 2000-06-07 00:28:21 +00:00
Ted Lemon
0756bc8ae9 - Get rid of the obnoxious doubly-linked list and seperate timeout queue
and just make six lists with six kinds of leases sorted as timeout queues.
2000-06-07 00:15:53 +00:00
Ted Lemon
6f0b9ed09c - Break ack queue chain when a lease is removed from the ack queue, so that
its successor doesn't wind up back on the update queue when the lease is
  next updated.
- Print the reject reason when a BNDACK includes one, but still remove the
  lease from the update queue.
- Don't use the lease to send the BNDACK, since there may not be one locally.
- Support contact message, and inter-message-arrival timeouts.
2000-06-07 00:05:17 +00:00
Ted Lemon
dbc855c920 Fix a couple of core dumps. Don't DHCPNAK when peer haslease. 2000-06-06 23:59:18 +00:00
Ted Lemon
122528527c Fix printf arg causing code to assume uid is NUL-terminated. 2000-06-06 23:51:16 +00:00
Ted Lemon
81b53730f9 Parse max_response_delay into the right variable. 2000-06-06 23:49:05 +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
d0411fbd4d Add hash_foreach, et al. 2000-06-06 23:46:37 +00:00
Ted Lemon
0a1dfb6514 Correctly handle the case where the matching pool is the first one. 2000-06-03 02:36:03 +00:00
Ted Lemon
007e3ee4df Rework DHCP lease state handling to be compatible with failover protocol. 2000-06-02 21:27:21 +00:00
Ted Lemon
7bb809483c Fix a buffer overflow problem (not a security issue). Thanks to Joe. 2000-05-30 21:43:42 +00:00
Ted Lemon
67569fa648 Initialize omapi before parsing command line. 2000-05-30 21:17:04 +00:00
Ted Lemon
a79ed92bce Fix a reference problem. 2000-05-18 20:21:43 +00:00
Ted Lemon
b66a1a7286 Oops, fix declaration of casecmp. 2000-05-17 16:15:38 +00:00
Ted Lemon
165bce70b2 Fix up various platform-specific errors. 2000-05-17 16:04:26 +00:00
Ted Lemon
1dad22d82a Remove omapi.c/omapi.o from client build. 2000-05-17 15:17:17 +00:00
Ted Lemon
0e29870ccd Move common omapi support into common code. 2000-05-16 23:13:34 +00:00
Ted Lemon
7ebd047de8 Move server-specific stuff away from common code. 2000-05-16 23:11:42 +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
76d5bd36c8 Fix some weird errors in failover external declarations. 2000-05-09 03:11:11 +00:00
Ted Lemon
6c25ecec2e Get rid of SO_USELOOPBACK 2000-05-09 03:06:49 +00:00
Ted Lemon
8c8e27c53e Implement pool request and response so that secondary can operate. 2000-05-04 18:58:16 +00:00
Ted Lemon
25a69ca115 Miscellaneous bug fixes. 2000-05-03 23:07:54 +00:00
Ted Lemon
3bd7d53fec Don't use SO_USELOOPBACK 2000-05-03 23:05:37 +00:00
Ted Lemon
49e2576bf2 Rename a variable to avoid an AIX-specific predefined manifest constant. 2000-05-03 23:04:43 +00:00
Ted Lemon
3322568782 - Add argument to allocate_lease to notice if the failover peer has
all the leases.
- Improve some error messages.
- Don't respond with leases owned by peer.
2000-05-03 23:03:50 +00:00