]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
24 years ago- Provide information on how to get support (and how not to) if the server
Ted Lemon [Fri, 1 Sep 2000 23:04:37 +0000 (23:04 +0000)] 
- Provide information on how to get support (and how not to) if the server
  exits with an error.

24 years ago- Do what people expect when they don't declare the subnet to which an
Ted Lemon [Fri, 1 Sep 2000 23:03:39 +0000 (23:03 +0000)] 
- Do what people expect when they don't declare the subnet to which an
  interface is attached.

24 years agoUpdate version number and documentation.
Ted Lemon [Fri, 1 Sep 2000 23:02:13 +0000 (23:02 +0000)] 
Update version number and documentation.

24 years agoUndo wrong-headed update to match parser.
Ted Lemon [Fri, 1 Sep 2000 19:35:38 +0000 (19:35 +0000)] 
Undo wrong-headed update to match parser.

24 years agoDon't even try to do billing on static leases.
Ted Lemon [Fri, 1 Sep 2000 18:30:36 +0000 (18:30 +0000)] 
Don't even try to do billing on static leases.

24 years agoExplicitly handle some impossible states.
Ted Lemon [Fri, 1 Sep 2000 17:22:48 +0000 (17:22 +0000)] 
Explicitly handle some impossible states.

24 years agoGet rid of an unnecessary test.
Ted Lemon [Fri, 1 Sep 2000 16:57:44 +0000 (16:57 +0000)] 
Get rid of an unnecessary test.

24 years agoFix two bugs in class parsing.
Ted Lemon [Fri, 1 Sep 2000 00:10:26 +0000 (00:10 +0000)] 
Fix two bugs in class parsing.

24 years agoAdd new tokens
Ted Lemon [Thu, 31 Aug 2000 15:47:40 +0000 (15:47 +0000)] 
Add new tokens

24 years agoFix lots of state change problems.
Ted Lemon [Thu, 31 Aug 2000 04:41:10 +0000 (04:41 +0000)] 
Fix lots of state change problems.

24 years agoTweak load balance handling.
Ted Lemon [Thu, 31 Aug 2000 04:40:55 +0000 (04:40 +0000)] 
Tweak load balance handling.

24 years agoUpdate message type requirements.
Ted Lemon [Thu, 31 Aug 2000 04:40:24 +0000 (04:40 +0000)] 
Update message type requirements.

24 years agoMove state information common to both peers into a common structure.
Ted Lemon [Thu, 31 Aug 2000 04:40:05 +0000 (04:40 +0000)] 
Move state information common to both peers into a common structure.

24 years agoUpdate failover state keywords.
Ted Lemon [Thu, 31 Aug 2000 04:39:41 +0000 (04:39 +0000)] 
Update failover state keywords.

24 years agoSupport ISC_R_INCOMPLETE for partial connects.
Ted Lemon [Thu, 31 Aug 2000 04:39:18 +0000 (04:39 +0000)] 
Support ISC_R_INCOMPLETE for partial connects.

24 years agoAdd more prototypes
Ted Lemon [Thu, 31 Aug 2000 04:38:36 +0000 (04:38 +0000)] 
Add more prototypes

24 years agoAdded binary &|^ operators.
Damien Neil [Wed, 30 Aug 2000 18:03:00 +0000 (18:03 +0000)] 
Added binary &|^ operators.

24 years agoAdded binary operators: & | ^.
Damien Neil [Mon, 28 Aug 2000 21:22:41 +0000 (21:22 +0000)] 
Added binary operators: & | ^.

24 years agoFinished up function call support.
Damien Neil [Mon, 28 Aug 2000 19:36:39 +0000 (19:36 +0000)] 
Finished up function call support.

24 years agoReally fix a couple of compile warnings on Tru64 5.0
Ted Lemon [Fri, 25 Aug 2000 18:46:20 +0000 (18:46 +0000)] 
Really fix a couple of compile warnings on Tru64 5.0

24 years agoFix a couple of compile warnings on Tru64 5.0
Ted Lemon [Fri, 25 Aug 2000 18:28:28 +0000 (18:28 +0000)] 
Fix a couple of compile warnings on Tru64 5.0

24 years agoLots of changes to clean up handling of various failover states.
Ted Lemon [Thu, 24 Aug 2000 18:49:34 +0000 (18:49 +0000)] 
Lots of changes to clean up handling of various failover states.

24 years agoPOTENTIAL_CONFLICT_NIC -> RESOLUTION_INTERRUPTED.
Ted Lemon [Thu, 24 Aug 2000 18:46:31 +0000 (18:46 +0000)] 
POTENTIAL_CONFLICT_NIC -> RESOLUTION_INTERRUPTED.

24 years agoAdd argument to find_lease.
Ted Lemon [Thu, 24 Aug 2000 18:43:11 +0000 (18:43 +0000)] 
Add argument to find_lease.

24 years ago- Add a bunch of support for all the funny recovery states.
Ted Lemon [Thu, 24 Aug 2000 18:41:42 +0000 (18:41 +0000)] 
- Add a bunch of support for all the funny recovery states.
- Clean up existing state machine support.

24 years ago- Add support for some new states from the 07 draft.
Ted Lemon [Thu, 24 Aug 2000 18:34:45 +0000 (18:34 +0000)] 
- 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.

24 years agoAdd declarations for all kinds of cool new failover functions.
Ted Lemon [Thu, 24 Aug 2000 18:31:36 +0000 (18:31 +0000)] 
Add declarations for all kinds of cool new failover functions.

24 years agopotential-conflict-nic -> resolution_interrupted, per draft-07.
Ted Lemon [Thu, 24 Aug 2000 18:28:38 +0000 (18:28 +0000)] 
potential-conflict-nic -> resolution_interrupted, per draft-07.

24 years agopotential-conflict-nic -> resolution_interrupted, per draft-07.
Ted Lemon [Thu, 24 Aug 2000 18:20:47 +0000 (18:20 +0000)] 
potential-conflict-nic -> resolution_interrupted, per draft-07.

24 years agoFix bug #253, which could cause the server to segfault when setting
Damien Neil [Wed, 23 Aug 2000 00:32:46 +0000 (00:32 +0000)] 
Fix bug #253, which could cause the server to segfault when setting
a value.

24 years agoAdded log() statement to allow logging from config files.
Damien Neil [Tue, 22 Aug 2000 21:51:39 +0000 (21:51 +0000)] 
Added log() statement to allow logging from config files.

24 years agoFixes bug #246.
Damien Neil [Tue, 22 Aug 2000 21:21:54 +0000 (21:21 +0000)] 
Fixes bug #246.
(null or true) is now true, rather than null.

24 years agoUse /var/state/dhcp on Linux 2.2.
Ted Lemon [Thu, 17 Aug 2000 19:46:03 +0000 (19:46 +0000)] 
Use /var/state/dhcp on Linux 2.2.

24 years agoUse unsigned char instead of u_char.
Ted Lemon [Thu, 17 Aug 2000 19:43:04 +0000 (19:43 +0000)] 
Use unsigned char instead of u_char.

24 years agoFix a compile warning.
Ted Lemon [Thu, 17 Aug 2000 19:41:48 +0000 (19:41 +0000)] 
Fix a compile warning.

24 years agoInstall the ISC header files required to get omapi to work.
Damien Neil [Thu, 17 Aug 2000 17:39:51 +0000 (17:39 +0000)] 
Install the ISC header files required to get omapi to work.

24 years ago- Do the commit using the newly-computed lease parameters, not the old
Ted Lemon [Tue, 15 Aug 2000 23:43:02 +0000 (23:43 +0000)] 
- Do the commit using the newly-computed lease parameters, not the old
  parameters.

24 years ago- Set peer state to potential_conflict when there is no known peer state -
Ted Lemon [Tue, 15 Aug 2000 22:23:33 +0000 (22:23 +0000)] 
- 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.

24 years agoAdded a number of (#ifdef-guarded) debugging statements.
Damien Neil [Mon, 14 Aug 2000 21:58:57 +0000 (21:58 +0000)] 
Added a number of (#ifdef-guarded) debugging statements.

24 years agoFix assorted code which assumes that leases will always have an
Damien Neil [Mon, 14 Aug 2000 21:58:04 +0000 (21:58 +0000)] 
Fix assorted code which assumes that leases will always have an
associated hardware address.

24 years agoRemoved a spurious & which was causing attempts to dereference a 0 pointer.
Damien Neil [Sat, 12 Aug 2000 00:45:40 +0000 (00:45 +0000)] 
Removed a spurious & which was causing attempts to dereference a 0 pointer.

24 years agoAdded some typecasts in printf() statements to make -Werror happy.
Damien Neil [Fri, 11 Aug 2000 01:26:08 +0000 (01:26 +0000)] 
Added some typecasts in printf() statements to make -Werror happy.

24 years agoChanged printf "%*s" format to "%.*s".
Damien Neil [Tue, 8 Aug 2000 18:11:22 +0000 (18:11 +0000)] 
Changed printf "%*s" format to "%.*s".

24 years agoTo print a non-NUL terminated string, use "%.*s", not "%*s". Fixed.
Damien Neil [Tue, 8 Aug 2000 18:08:05 +0000 (18:08 +0000)] 
To print a non-NUL terminated string, use "%.*s", not "%*s".  Fixed.

24 years agoThe size of the OMAPI group object was being assigned as
Damien Neil [Tue, 8 Aug 2000 18:07:16 +0000 (18:07 +0000)] 
The size of the OMAPI group object was being assigned as
sizeof(struct group), not sizeof(struct group_object).  Fixed.

24 years agoDon't turn on security for OMAPI connections if no OMAPI key is specified.
Damien Neil [Mon, 7 Aug 2000 20:28:13 +0000 (20:28 +0000)] 
Don't turn on security for OMAPI connections if no OMAPI key is specified.

24 years agoChanged several variables from char* to const char* to remove warnings.
Damien Neil [Thu, 3 Aug 2000 23:26:48 +0000 (23:26 +0000)] 
Changed several variables from char* to const char* to remove warnings.

24 years agoAdded authentication support.
Damien Neil [Thu, 3 Aug 2000 22:45:43 +0000 (22:45 +0000)] 
Added authentication support.

24 years agoRemove an unneeded memset() that caused a null-pointer-dereference when
Damien Neil [Thu, 3 Aug 2000 22:41:06 +0000 (22:41 +0000)] 
Remove an unneeded memset() that caused a null-pointer-dereference when
you try to create a group object.

24 years agoAdded authentication support. The tsig_key structure has been renamed
Damien Neil [Thu, 3 Aug 2000 21:00:41 +0000 (21:00 +0000)] 
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.

24 years agoMoved hash.c from libdhcp to libomapi, in anticipation of moving the
Damien Neil [Tue, 1 Aug 2000 22:55:07 +0000 (22:55 +0000)] 
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.)

24 years agoMoved convert.c from libdhcp to libomapi. (libomapi should not depend
Damien Neil [Tue, 1 Aug 2000 22:34:36 +0000 (22:34 +0000)] 
Moved convert.c from libdhcp to libomapi.  (libomapi should not depend
on libdhcp.)

24 years agoFix a bug in buffer_dereference where the buffer refcount was accessed
Damien Neil [Tue, 1 Aug 2000 21:54:01 +0000 (21:54 +0000)] 
Fix a bug in buffer_dereference where the buffer refcount was accessed
after the buffer was deallocated.

24 years agoReference count binding scopes. Align IP headers on output.
Ted Lemon [Thu, 27 Jul 2000 09:03:08 +0000 (09:03 +0000)] 
Reference count binding scopes.   Align IP headers on output.

24 years agoFix a pasto in the code to set the broadcast address environment variable.
Ted Lemon [Thu, 20 Jul 2000 03:21:23 +0000 (03:21 +0000)] 
Fix a pasto in the code to set the broadcast address environment variable.

24 years agoMake the "can't bind" error message more helpful.
Ted Lemon [Thu, 20 Jul 2000 03:15:00 +0000 (03:15 +0000)] 
Make the "can't bind" error message more helpful.

24 years agoInitialize the environment rather than using temporary client scripts.
Ted Lemon [Thu, 20 Jul 2000 00:53:24 +0000 (00:53 +0000)] 
Initialize the environment rather than using temporary client scripts.

24 years agoSupport environment variables to control locations of files.
Ted Lemon [Mon, 17 Jul 2000 20:56:14 +0000 (20:56 +0000)] 
Support environment variables to control locations of files.

24 years agoEnforce proper alignment of packet buffers.
Ted Lemon [Mon, 17 Jul 2000 20:54:12 +0000 (20:54 +0000)] 
Enforce proper alignment of packet buffers.

24 years agoChanged all uses of omapi_message_allocate() to omapi_message_new(), which
Damien Neil [Sat, 15 Jul 2000 01:59:00 +0000 (01:59 +0000)] 
Changed all uses of omapi_message_allocate() to omapi_message_new(), which
properly initializes the internals of the message object.

24 years agoTweak object dereferencing: I believe dereferencing object chains were not
Damien Neil [Mon, 10 Jul 2000 17:05:18 +0000 (17:05 +0000)] 
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.)

24 years agoProperly initialize 'last' when removing I/O objects: removing the first
Damien Neil [Mon, 10 Jul 2000 17:03:38 +0000 (17:03 +0000)] 
Properly initialize 'last' when removing I/O objects: removing the first
one should no longer croak.

24 years ago- Fix a bug where the first host declaration with a hardware address
Ted Lemon [Sun, 9 Jul 2000 07:00:06 +0000 (07:00 +0000)] 
- Fix a bug where the first host declaration with a hardware address
  wasn't being entered into the database.

24 years agoDocument setting value of parameters through expressions.
Ted Lemon [Sun, 9 Jul 2000 06:49:39 +0000 (06:49 +0000)] 
Document setting value of parameters through expressions.

24 years agoDisable debugging in production code.
Ted Lemon [Thu, 6 Jul 2000 22:45:27 +0000 (22:45 +0000)] 
Disable debugging in production code.

24 years agoUpdate prototypes.
Ted Lemon [Thu, 6 Jul 2000 22:44:57 +0000 (22:44 +0000)] 
Update prototypes.

24 years ago- Support a per-type allocator that is called prior to trying dmalloc,
Ted Lemon [Thu, 6 Jul 2000 22:43:32 +0000 (22:43 +0000)] 
- Support a per-type allocator that is called prior to trying dmalloc,
  so that objects can maintain free lists.

24 years ago- Reference expression lists as we walk them, just in case they
Ted Lemon [Thu, 6 Jul 2000 22:42:22 +0000 (22:42 +0000)] 
- Reference expression lists as we walk them, just in case they
  get dereferenced.

24 years agoMaintain a free list of leases if compact leases are being used.
Ted Lemon [Thu, 6 Jul 2000 22:40:27 +0000 (22:40 +0000)] 
Maintain a free list of leases if compact leases are being used.

24 years agoAdjust arguments to omapi_object_type_register
Ted Lemon [Thu, 6 Jul 2000 22:37:53 +0000 (22:37 +0000)] 
Adjust arguments to omapi_object_type_register

24 years ago- Fix some bugs in the lease timeout code.
Ted Lemon [Thu, 6 Jul 2000 10:27:41 +0000 (10:27 +0000)] 
- Fix some bugs in the lease timeout code.
- When transition to FTS_ACTIVE happens, set next state.
- Conditionalize failover-specific code.

24 years ago- Redo support for ddns-updates flag.
Ted Lemon [Thu, 6 Jul 2000 10:22:50 +0000 (10:22 +0000)] 
- Redo support for ddns-updates flag.
- Initialize a previously-uninitialized variable.
- Conditionalize some failover-specific code.

24 years agoFix handling of client-hostname.
Ted Lemon [Thu, 6 Jul 2000 10:16:54 +0000 (10:16 +0000)] 
Fix handling of client-hostname.

24 years ago- Fix parsing of 'next binding state'.
Ted Lemon [Thu, 6 Jul 2000 10:14:31 +0000 (10:14 +0000)] 
- Fix parsing of 'next binding state'.
- Conditionalize some failover-specific code.

24 years agoReturn a result code when we find a cached or predeclared zone.
Ted Lemon [Thu, 6 Jul 2000 10:10:12 +0000 (10:10 +0000)] 
Return a result code when we find a cached or predeclared zone.

24 years agoDisable failover by default.
Ted Lemon [Thu, 6 Jul 2000 10:08:14 +0000 (10:08 +0000)] 
Disable failover by default.

24 years agoDeclare lease states in dhcpd.h.
Ted Lemon [Thu, 6 Jul 2000 10:06:21 +0000 (10:06 +0000)] 
Declare lease states in dhcpd.h.

24 years agoRemove obsolete use of now-uninitialized variable.
Ted Lemon [Thu, 6 Jul 2000 10:04:03 +0000 (10:04 +0000)] 
Remove obsolete use of now-uninitialized variable.

24 years ago- Make and and or evaluate only the lhs if the lhs will determine the
Ted Lemon [Thu, 6 Jul 2000 10:00:53 +0000 (10:00 +0000)] 
- Make and and or evaluate only the lhs if the lhs will determine the
  outcome of the evaluation.
- Fix debugging code.

24 years agoAdd support for arbitrary parenthetical expressions.
Ted Lemon [Thu, 6 Jul 2000 09:57:23 +0000 (09:57 +0000)] 
Add support for arbitrary parenthetical expressions.

24 years agoDon't dereference the lease on_expiry pointer if it's been zapped.
Ted Lemon [Thu, 6 Jul 2000 06:26:42 +0000 (06:26 +0000)] 
Don't dereference the lease on_expiry pointer if it's been zapped.

24 years agoCorrectly set lease state when none is specified.
Ted Lemon [Thu, 6 Jul 2000 06:25:07 +0000 (06:25 +0000)] 
Correctly set lease state when none is specified.

24 years agoUse result code from res_findzonecut.
Ted Lemon [Thu, 6 Jul 2000 06:23:09 +0000 (06:23 +0000)] 
Use result code from res_findzonecut.

24 years agoReturn record count as well as result code.
Ted Lemon [Thu, 6 Jul 2000 06:22:36 +0000 (06:22 +0000)] 
Return record count as well as result code.

24 years agoFix res_findzonecut prototype.
Ted Lemon [Thu, 6 Jul 2000 06:21:50 +0000 (06:21 +0000)] 
Fix res_findzonecut prototype.

24 years agoEnlarge default hash table size.
Ted Lemon [Thu, 6 Jul 2000 06:21:29 +0000 (06:21 +0000)] 
Enlarge default hash table size.

24 years agoUse compact leases by default.
Ted Lemon [Thu, 6 Jul 2000 06:21:08 +0000 (06:21 +0000)] 
Use compact leases by default.

24 years agoUpdate prototypes
Ted Lemon [Wed, 5 Jul 2000 09:15:08 +0000 (09:15 +0000)] 
Update prototypes

24 years agoGet rid of some debugging statements
Ted Lemon [Wed, 5 Jul 2000 09:13:02 +0000 (09:13 +0000)] 
Get rid of some debugging statements

24 years ago- Dereference leases after hashing them.
Ted Lemon [Wed, 5 Jul 2000 07:38:09 +0000 (07:38 +0000)] 
- Dereference leases after hashing them.
- When a new lease has a different billing class, use it.
- Sort leases with the same time last in first, to shorten the
  insertion time for large pools.

24 years agoClarify the wording on the need for shared-network statements.
Ted Lemon [Wed, 5 Jul 2000 07:34:47 +0000 (07:34 +0000)] 
Clarify the wording on the need for shared-network statements.

24 years agoAdd prototypical support for writing persistent billing classes.
Ted Lemon [Wed, 5 Jul 2000 07:33:25 +0000 (07:33 +0000)] 
Add prototypical support for writing persistent billing classes.

24 years ago- Give the lease a binding state if it doesn't have one.
Ted Lemon [Wed, 5 Jul 2000 07:32:13 +0000 (07:32 +0000)] 
- Give the lease a binding state if it doesn't have one.
- Don't dereference events from parsed lease, since that lease is now
  kept.

24 years agoUse object free routine if provided.
Ted Lemon [Wed, 5 Jul 2000 07:29:56 +0000 (07:29 +0000)] 
Use object free routine if provided.

24 years agoAdd name server result codes.
Ted Lemon [Wed, 5 Jul 2000 07:28:46 +0000 (07:28 +0000)] 
Add name server result codes.

24 years agoUpdate prototypes
Ted Lemon [Wed, 5 Jul 2000 07:21:54 +0000 (07:21 +0000)] 
Update prototypes

24 years agoHave find_dns_zone return a result code.
Ted Lemon [Wed, 5 Jul 2000 07:14:26 +0000 (07:14 +0000)] 
Have find_dns_zone return a result code.

24 years agoUse a cleverer regexp to extract OS minor version number.
Ted Lemon [Wed, 5 Jul 2000 06:39:22 +0000 (06:39 +0000)] 
Use a cleverer regexp to extract OS minor version number.

24 years agoFor non-failover pools, always allocate off the free lease list.
Ted Lemon [Fri, 30 Jun 2000 00:48:55 +0000 (00:48 +0000)] 
For non-failover pools, always allocate off the free lease list.

24 years agoDon't build executables named test.
Ted Lemon [Fri, 30 Jun 2000 00:43:00 +0000 (00:43 +0000)] 
Don't build executables named test.