2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 13:57:50 +00:00
Commit Graph

2321 Commits

Author SHA1 Message Date
Ted Lemon
d642c2a6ac Get rid of an unnecessary test. 2000-09-01 16:57:44 +00:00
Ted Lemon
b19f2e1c31 Fix two bugs in class parsing. 2000-09-01 00:10:26 +00:00
Ted Lemon
b40955450c Add new tokens 2000-08-31 15:47:40 +00:00
Ted Lemon
02ca1b45b7 Fix lots of state change problems. 2000-08-31 04:41:10 +00:00
Ted Lemon
0142936f90 Tweak load balance handling. 2000-08-31 04:40:55 +00:00
Ted Lemon
3505ef685d Update message type requirements. 2000-08-31 04:40:24 +00:00
Ted Lemon
fcbeefb3ba Move state information common to both peers into a common structure. 2000-08-31 04:40:05 +00:00
Ted Lemon
058159169d Update failover state keywords. 2000-08-31 04:39:41 +00:00
Ted Lemon
275082ddad Support ISC_R_INCOMPLETE for partial connects. 2000-08-31 04:39:18 +00:00
Ted Lemon
8d3aec71d3 Add more prototypes 2000-08-31 04:38:36 +00:00
Damien Neil
a83fe30733 Added binary &|^ operators. 2000-08-30 18:03:00 +00:00
Damien Neil
3c98e80b46 Added binary operators: & | ^. 2000-08-28 21:22:41 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Ted Lemon
06f0ed0687 Really fix a couple of compile warnings on Tru64 5.0 2000-08-25 18:46:20 +00:00
Ted Lemon
b08234e9c7 Fix a couple of compile warnings on Tru64 5.0 2000-08-25 18:28:28 +00:00
Ted Lemon
bb0b00a5e8 Lots of changes to clean up handling of various failover states. 2000-08-24 18:49:34 +00:00
Ted Lemon
9a092d2e23 POTENTIAL_CONFLICT_NIC -> RESOLUTION_INTERRUPTED. 2000-08-24 18:46:31 +00:00
Ted Lemon
397a692007 Add argument to find_lease. 2000-08-24 18:43:11 +00:00
Ted Lemon
5f0c7be134 - Add a bunch of support for all the funny recovery states.
- Clean up existing state machine support.
2000-08-24 18:41:42 +00:00
Ted Lemon
ea2169d422 - Add support for some new states from the 07 draft.
- Add a service state, which is required to handle the 'startup' state
  and makes a lot of other code outside of failover.c a lot cleaner.
2000-08-24 18:34:45 +00:00
Ted Lemon
c489f07560 Add declarations for all kinds of cool new failover functions. 2000-08-24 18:31:36 +00:00
Ted Lemon
5965f2a0a6 potential-conflict-nic -> resolution_interrupted, per draft-07. 2000-08-24 18:28:38 +00:00
Ted Lemon
732dc81500 potential-conflict-nic -> resolution_interrupted, per draft-07. 2000-08-24 18:20:47 +00:00
Damien Neil
349c525e5b Fix bug #253, which could cause the server to segfault when setting
a value.
2000-08-23 00:32:46 +00:00
Damien Neil
e7a9c29390 Added log() statement to allow logging from config files. 2000-08-22 21:51:39 +00:00
Damien Neil
2541d05703 Fixes bug #246.
(null or true) is now true, rather than null.
2000-08-22 21:21:54 +00:00
Ted Lemon
d50fff63b1 Use /var/state/dhcp on Linux 2.2. 2000-08-17 19:46:03 +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
Ted Lemon
39ae502747 - Do the commit using the newly-computed lease parameters, not the old
parameters.
2000-08-15 23:43:02 +00:00
Ted Lemon
b83bf1d157 - Set peer state to potential_conflict when there is no known peer state -
this ensures that when a pool is moved from not being a failover pool to
  being a failover pool, the two servers sync up their lease databases.
- Dereference old host group next pointer before installing named group.
2000-08-15 22:23:33 +00:00
Damien Neil
e11a162ff4 Added a number of (#ifdef-guarded) debugging statements. 2000-08-14 21:58:57 +00:00
Damien Neil
4244dfb75f Fix assorted code which assumes that leases will always have an
associated hardware address.
2000-08-14 21:58:04 +00:00
Damien Neil
471f5c39d7 Removed a spurious & which was causing attempts to dereference a 0 pointer. 2000-08-12 00:45:40 +00:00
Damien Neil
5893fbc907 Added some typecasts in printf() statements to make -Werror happy. 2000-08-11 01:26:08 +00:00
Damien Neil
8a0dac0b46 Changed printf "%*s" format to "%.*s". 2000-08-08 18:11:22 +00:00
Damien Neil
5bd0368aa9 To print a non-NUL terminated string, use "%.*s", not "%*s". Fixed. 2000-08-08 18:08:05 +00:00
Damien Neil
c284b6fd1b The size of the OMAPI group object was being assigned as
sizeof(struct group), not sizeof(struct group_object).  Fixed.
2000-08-08 18:07:16 +00:00
Damien Neil
61f7ecee77 Don't turn on security for OMAPI connections if no OMAPI key is specified. 2000-08-07 20:28:13 +00:00
Damien Neil
2cd44219f4 Changed several variables from char* to const char* to remove warnings. 2000-08-03 23:26:48 +00:00
Damien Neil
58941de4ea Added authentication support. 2000-08-03 22:45:43 +00:00
Damien Neil
918673bbc6 Remove an unneeded memset() that caused a null-pointer-dereference when
you try to create a group object.
2000-08-03 22:41:06 +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
827ae27071 Fix a bug in buffer_dereference where the buffer refcount was accessed
after the buffer was deallocated.
2000-08-01 21:54:01 +00:00
Ted Lemon
6ceb9118e9 Reference count binding scopes. Align IP headers on output. 2000-07-27 09:03:08 +00:00
Ted Lemon
a8c190df76 Fix a pasto in the code to set the broadcast address environment variable. 2000-07-20 03:21:23 +00:00
Ted Lemon
7eae478ed8 Make the "can't bind" error message more helpful. 2000-07-20 03:15:00 +00:00