2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 18:07:25 +00:00

52 Commits

Author SHA1 Message Date
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
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
c3369c5b53 Allocate hash buckets in clumps. Fix a bug in a call to rc_register. 2000-06-24 06:16:28 +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
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
dfc7105df8 Add allocators/deallocators for DNS zones and TSIG keys. 2000-03-06 19:37:38 +00:00
Ted Lemon
56a7da7d3c Add allocator for function definitions. 2000-02-15 19:39:21 +00:00
Ted Lemon
e1a6ef071d Fix stupid compile bug. 2000-02-07 05:13:58 +00:00
Ted Lemon
33154009ec Support typed variables. 2000-02-05 18:08:55 +00:00
Ted Lemon
37e365b490 - In reference count history, remember the address where the reference
is stored as well as the address of the thing referenced.
2000-01-27 22:40:55 +00:00
Ted Lemon
00ceebd919 Move malloc debug information out of option_state_dereferencers. 2000-01-27 22:17:54 +00:00
Ted Lemon
6954989f03 If there is a packet on the free packet list, don't allocate a new one. 2000-01-26 17:20:16 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
49bc3bc5d1 Support new debug malloc. 2000-01-25 01:02:26 +00:00
Ted Lemon
8261b0e136 Get rid of failover allocators that aren't needed. 2000-01-05 17:57:03 +00:00
Ted Lemon
1b541aba32 - Undo an erroneous change that would have caused core dumps in case of
programming errors instead of allowing memory leaks.
1999-10-14 17:43:02 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
7109aa9521 - Fix several cases where a refcounted memory allocator would set the pointer
to null and then fail to return immediately, possibly causing a core dump.
  Now, the pointer will be set to null and it will return a failure status
  immediately.
- Make packet allocator reference counted, and keep a cache of packet
  structures so that allocating and freeing them will be cheap.
1999-07-31 17:53:05 +00:00
Ted Lemon
d938be7b63 When dereferencing a statement, dereference anything it references too. 1999-07-17 17:59:24 +00:00
Ted Lemon
79a65726f0 Massive rototill to support some new DDNS features. 1999-07-16 21:34:14 +00:00
Ted Lemon
203eccaeb5 Fix up some more POINTER_DEBUG cases to prevent core dumps. 1999-05-27 12:38:05 +00:00
Ted Lemon
8e0a40b8d9 Enclose abort() calls in POINTER_DEBUG ifdefs and just return otherwise. 1999-05-07 17:36:36 +00:00
Ted Lemon
03f78f2ae2 Put a reference count on the option_state structure. 1999-04-05 19:02:17 +00:00
Ted Lemon
5b9d671bf0 - Add allocator/deallocator for universes and option states.
- Lease state allocator automatically allocates option state,
  and deallocator automatically deallocates it.
1999-04-05 15:23:07 +00:00
Ted Lemon
e7860b608e Add option allocator. 1999-03-25 21:55:14 +00:00
Ted Lemon
f39b6e0089 Update license. 1999-03-16 05:50:46 +00:00
Ted Lemon
74f45f9642 Sync with 2.0b1pl16. Fix some pool allocation problems. 1999-02-25 23:30:43 +00:00
Ted Lemon
8ae2d59584 Change names of error functions to be more consistent. 1999-02-24 17:56:53 +00:00
Ted Lemon
2a3318abcb Don't compile failover code unless FAILOVER_PROTOCOL is defined. 1999-02-23 19:04:25 +00:00
Ted Lemon
31a065e683 Add allocator for failover peer structure. 1999-02-14 18:40:22 +00:00
Ted Lemon
3d61803aa2 Pre-zero group structures. 1998-11-11 07:49:27 +00:00
Ted Lemon
96f7066599 Add allocators for pools and permits. 1998-11-09 02:43:42 +00:00
Ted Lemon
71bf7bfebd Add hostname type to dns_host_entry_allocate 1998-11-06 02:40:04 +00:00
Ted Lemon
0b1e0778a3 Save space for hostname and save hostname itself in dns_host_entry allocator. 1998-11-06 01:06:44 +00:00
Ted Lemon
62366286cf Add new reference-based allocators and some new new/free allocators for data types that were previously being allocated with malloc(). 1998-11-05 18:39:54 +00:00
Ted Lemon
4b1abd502c tree -> expression. tree_cache -> option_cache. New destructors for dhcp_packet and packet structures. 1998-06-25 02:53:00 +00:00
Ted Lemon
4085b4754f Don't memset allocated memory if we didn't allocate it. 1998-03-17 06:08:49 +00:00
Ted Lemon
ed857140d3 Fix sizeof bug. Add allocators for name server entries and domain search list entries 1997-05-09 07:56:13 +00:00
Ted Lemon
a6bdf642ed Fix stupid, stupid, stupid allocation size underrun 1997-03-29 00:01:18 +00:00
Ted Lemon
dd5804ad62 add allocator for lease state structure and protocol structure 1997-03-06 06:49:29 +00:00
Ted Lemon
6e9a647e94 Maintain a free list for tree_cache structs 1997-03-05 06:34:27 +00:00
Ted Lemon
741860df01 Don't free hash name 1996-08-28 01:19:42 +00:00
Ted Lemon
7ed1888458 always zero structures; add new_group and free_group; free network name when freeing shared_network struct 1996-08-27 09:31:27 +00:00
Ted Lemon
de8d6db15d Missing argument to printf 1996-06-12 23:49:07 +00:00
Ted Lemon
ef8d159b32 Notice and log dfree() on null pointer 1996-06-12 04:07:41 +00:00
Ted Lemon
092ce692f6 allocators for shared networks 1996-05-22 07:12:51 +00:00
Ted Lemon
f6123fabc8 Fix copyrights 1996-05-19 23:53:44 +00:00
Ted Lemon
26a7e22a94 Add class allocation code 1996-02-29 18:05:41 +00:00