]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
25 years ago- Constify ns_updrec -> r_data.
Ted Lemon [Thu, 11 Jan 2001 02:18:11 +0000 (02:18 +0000)] 
- Constify ns_updrec -> r_data.
- Remove common code.
- Get client updates working.

25 years agoconstify ns_updrec -> r_data.
Ted Lemon [Thu, 11 Jan 2001 02:16:24 +0000 (02:16 +0000)] 
constify ns_updrec -> r_data.

25 years agoPublicize some function declarations.
Ted Lemon [Thu, 11 Jan 2001 02:15:31 +0000 (02:15 +0000)] 
Publicize some function declarations.

25 years agofqdn.fqdn starts at the beginning of the fqdn, not at the next token.
Ted Lemon [Thu, 11 Jan 2001 02:14:51 +0000 (02:14 +0000)] 
fqdn.fqdn starts at the beginning of the fqdn, not at the next token.

25 years ago- Move string set/reference/unset from ddns.c to here.
Ted Lemon [Thu, 11 Jan 2001 02:14:23 +0000 (02:14 +0000)] 
- Move string set/reference/unset from ddns.c to here.
- Constify updrec -> r_name.

25 years agoMove the dhcid computer into common code.
Ted Lemon [Thu, 11 Jan 2001 02:12:16 +0000 (02:12 +0000)] 
Move the dhcid computer into common code.

25 years agoFix up some signed vs. unsigned char mismatches
Ted Lemon [Tue, 9 Jan 2001 07:01:48 +0000 (07:01 +0000)] 
Fix up some signed vs. unsigned char mismatches

25 years ago- Fix linked option space to use pairs rather than direct links on option
Ted Lemon [Tue, 9 Jan 2001 06:56:11 +0000 (06:56 +0000)] 
- Fix linked option space to use pairs rather than direct links on option
  cache structures, which may be used by more than one option state at
  the same time.

25 years agoOops, fix the cast from the previous commit so it actually helps.
Ted Lemon [Mon, 8 Jan 2001 17:26:04 +0000 (17:26 +0000)] 
Oops, fix the cast from the previous commit so it actually helps.

25 years ago- Fix the DDNS update code to correctly send a client FQDN option, to not
Ted Lemon [Mon, 8 Jan 2001 17:24:45 +0000 (17:24 +0000)] 
- Fix the DDNS update code to correctly send a client FQDN option, to not
  do the update if it seems unnecessary, and to handle client updates if
  configured to do so.

25 years agoAdd the FQDN_FQDN suboption.
Ted Lemon [Mon, 8 Jan 2001 17:23:03 +0000 (17:23 +0000)] 
Add the FQDN_FQDN suboption.

25 years agoAdd fqdn.fqdn suboption.
Ted Lemon [Mon, 8 Jan 2001 17:21:38 +0000 (17:21 +0000)] 
Add fqdn.fqdn suboption.

25 years ago- Store the complete FQDN as an accessible option, and use that when
Ted Lemon [Mon, 8 Jan 2001 17:19:59 +0000 (17:19 +0000)] 
- Store the complete FQDN as an accessible option, and use that when
  encapsulating the FQDN option to the client.

25 years agoFix a signed vs. unsigned problem.
Ted Lemon [Mon, 8 Jan 2001 15:39:43 +0000 (15:39 +0000)] 
Fix a signed vs. unsigned problem.

25 years agoAdd client-updates config option.
Ted Lemon [Mon, 8 Jan 2001 08:24:56 +0000 (08:24 +0000)] 
Add client-updates config option.

25 years agoDocument interim DDNS updates implementation.
Ted Lemon [Mon, 8 Jan 2001 08:24:23 +0000 (08:24 +0000)] 
Document interim DDNS updates implementation.

25 years agoDon't say (not authoritative) when we are.
Ted Lemon [Mon, 8 Jan 2001 08:23:21 +0000 (08:23 +0000)] 
Don't say (not authoritative) when we are.

25 years agoAdd define for client-updates configuration variable.
Ted Lemon [Mon, 8 Jan 2001 08:22:35 +0000 (08:22 +0000)] 
Add define for client-updates configuration variable.

25 years agoDon't try to move the lease if it doesn't have a pool.
Ted Lemon [Sat, 6 Jan 2001 21:39:30 +0000 (21:39 +0000)] 
Don't try to move the lease if it doesn't have a pool.

25 years agoDon't use the -gcc suffix in naming work directories
Ted Lemon [Sat, 6 Jan 2001 21:38:50 +0000 (21:38 +0000)] 
Don't use the -gcc suffix in naming work directories

25 years ago- Don't save the IP address as an ASCII string variable.Don't update
Ted Lemon [Sat, 6 Jan 2001 21:37:21 +0000 (21:37 +0000)] 
- Don't save the IP address as an ASCII string variable.Don't update
  the PTR if the update of the A failed.
- Don't do the delete with the 'interim/rfc' code if we didn't do the
  add with the 'interim/rfc' code.
- Don't delete the dhcid RR if there is still a valid A RR, and don't
  just delete all A RRs when installing a new one - the client may
  legitimately have IP addresses on more than one subnet.

25 years agoInclude net/if_arp.h for ARPHRD_*
Ted Lemon [Sat, 6 Jan 2001 21:32:49 +0000 (21:32 +0000)] 
Include net/if_arp.h for ARPHRD_*

25 years agoAdd support for printing NXDOMAIN and YXDOMAIN prerequisites.
Ted Lemon [Sat, 6 Jan 2001 21:32:26 +0000 (21:32 +0000)] 
Add support for printing NXDOMAIN and YXDOMAIN prerequisites.

25 years agoUse -c with bsdinstall on Tru64.
Ted Lemon [Thu, 4 Jan 2001 00:33:03 +0000 (00:33 +0000)] 
Use -c with bsdinstall on Tru64.

25 years ago- Move ddns_removals out of the on_release conditionals so that it actually
Ted Lemon [Thu, 4 Jan 2001 00:30:53 +0000 (00:30 +0000)] 
- Move ddns_removals out of the on_release conditionals so that it actually
  happens.

25 years agoAlphabetize configuration options and add documentation for more of them.
Ted Lemon [Thu, 4 Jan 2001 00:27:20 +0000 (00:27 +0000)] 
Alphabetize configuration options and add documentation for more of them.

25 years ago- Oops, tack the ad-hoc ddns updates to the end of the root group statement
Ted Lemon [Thu, 4 Jan 2001 00:23:39 +0000 (00:23 +0000)] 
- Oops, tack the ad-hoc ddns updates to the end of the root group statement
  list if ad-hoc is enabled.

25 years agoIf ddns-updates is not set, default to enabled.
Ted Lemon [Thu, 4 Jan 2001 00:15:50 +0000 (00:15 +0000)] 
If ddns-updates is not set, default to enabled.

25 years ago- Globalize resolver state.
Ted Lemon [Thu, 4 Jan 2001 00:08:16 +0000 (00:08 +0000)] 
- Globalize resolver state.
- Fix an uninitialized variable.
- Log updates.

25 years ago- Add a null statement type, so that uninitialized statements won't
Ted Lemon [Thu, 4 Jan 2001 00:02:06 +0000 (00:02 +0000)] 
- Add a null statement type, so that uninitialized statements won't
  masquerade as if statements.

25 years ago- Globalize resolver state.
Ted Lemon [Wed, 3 Jan 2001 23:50:13 +0000 (23:50 +0000)] 
- Globalize resolver state.
- Add an unset function for unsetting variables.

25 years agoGlobalize resolver state.
Ted Lemon [Wed, 3 Jan 2001 23:43:24 +0000 (23:43 +0000)] 
Globalize resolver state.

25 years ago- Make it possible for parse_option_token to modify the format pointer, to
Ted Lemon [Wed, 3 Jan 2001 23:33:18 +0000 (23:33 +0000)] 
- Make it possible for parse_option_token to modify the format pointer, to
  support the 'N' and 'E' option codes.

25 years agoDon't make bogus statements a fatal error.
Ted Lemon [Wed, 3 Jan 2001 23:15:33 +0000 (23:15 +0000)] 
Don't make bogus statements a fatal error.

25 years ago- Register the interface_initialize function (fixes a problem with
Ted Lemon [Wed, 3 Jan 2001 23:13:46 +0000 (23:13 +0000)] 
- Register the interface_initialize function (fixes a problem with
  uninitialized interfaces being registered anyway and causing the
  server to exit).

25 years ago- Add ddns-update-style configuration option, which depends on new
Ted Lemon [Fri, 29 Dec 2000 06:51:21 +0000 (06:51 +0000)] 
- Add ddns-update-style configuration option, which depends on new
  enumeration parsing support.
- Add ddns-styles enumeration for ddns-update-style option.

25 years ago- Require user to declare a ddns update style.
Ted Lemon [Fri, 29 Dec 2000 06:49:38 +0000 (06:49 +0000)] 
- Require user to declare a ddns update style.
- Put back support for old-style ddns updates.
- Add ddns-update-style parameter, which can be ad-hoc, interim or none.

25 years agoOnly do new-style ddns updates if that style is enabled.
Ted Lemon [Fri, 29 Dec 2000 06:48:14 +0000 (06:48 +0000)] 
Only do new-style ddns updates if that style is enabled.

25 years agoInitialize omapi before trying to mess with interfaces.
Ted Lemon [Fri, 29 Dec 2000 06:47:46 +0000 (06:47 +0000)] 
Initialize omapi before trying to mess with interfaces.

25 years agoAdd structure definitionns for enumerations.
Ted Lemon [Fri, 29 Dec 2000 06:47:16 +0000 (06:47 +0000)] 
Add structure definitionns for enumerations.

25 years agoAdd externs for enumerations and ddns styles.
Ted Lemon [Fri, 29 Dec 2000 06:47:06 +0000 (06:47 +0000)] 
Add externs for enumerations and ddns styles.

25 years agoFix up internal documentation for option parse codes.
Ted Lemon [Fri, 29 Dec 2000 06:46:23 +0000 (06:46 +0000)] 
Fix up internal documentation for option parse codes.

25 years agoAdd support for parsing enumerations.
Ted Lemon [Fri, 29 Dec 2000 06:45:49 +0000 (06:45 +0000)] 
Add support for parsing enumerations.

25 years agoAdd support (not debugged) for printing enumerations.
Ted Lemon [Fri, 29 Dec 2000 06:45:00 +0000 (06:45 +0000)] 
Add support (not debugged) for printing enumerations.

25 years ago- Partially document new DDNS code.
Ted Lemon [Fri, 29 Dec 2000 05:10:41 +0000 (05:10 +0000)] 
- Partially document new DDNS code.
- Move the DDNS parameters to where all the other parameters are documented,
  and document the new parameters.

25 years agoFix a case where leases could wind up with too many references.
Ted Lemon [Thu, 28 Dec 2000 23:34:08 +0000 (23:34 +0000)] 
Fix a case where leases could wind up with too many references.

25 years agoDocument lease abandonment and reallocation.
Ted Lemon [Thu, 28 Dec 2000 23:29:47 +0000 (23:29 +0000)] 
Document lease abandonment and reallocation.

25 years ago- If we receive a dhcp-server-identifier option in a DHCPREQUEST, print it
Ted Lemon [Thu, 28 Dec 2000 23:28:17 +0000 (23:28 +0000)] 
- If we receive a dhcp-server-identifier option in a DHCPREQUEST, print it
  in the log.
- Fix abandoned lease reclamation.
- Do correct reference counting when doing one-lease-per-client.

25 years agoTweak the way the dhcid is computed.
Ted Lemon [Thu, 28 Dec 2000 23:23:46 +0000 (23:23 +0000)] 
Tweak the way the dhcid is computed.

25 years ago- Always decrement the reference count on an object before dereferencing it,
Ted Lemon [Thu, 28 Dec 2000 23:22:43 +0000 (23:22 +0000)] 
- Always decrement the reference count on an object before dereferencing it,
  so that if there's a dangling pointer, it's caught at dereference time.

25 years agoPrototype interface_setup ().
Ted Lemon [Thu, 28 Dec 2000 23:21:35 +0000 (23:21 +0000)] 
Prototype interface_setup ().

25 years agoCorrectly implement the subnet selection option.
Ted Lemon [Thu, 28 Dec 2000 23:20:53 +0000 (23:20 +0000)] 
Correctly implement the subnet selection option.

25 years agoFix debug message for 'static' operator.
Ted Lemon [Thu, 28 Dec 2000 23:20:28 +0000 (23:20 +0000)] 
Fix debug message for 'static' operator.

25 years ago- Fix typo in base64 table (Albert Herranz).
Ted Lemon [Thu, 28 Dec 2000 23:18:36 +0000 (23:18 +0000)] 
- Fix typo in base64 table (Albert Herranz).
- Allow key names to be any valid domain name.

25 years ago- Fix up a minor nit in the fqdn code.
Ted Lemon [Thu, 28 Dec 2000 23:16:19 +0000 (23:16 +0000)] 
- Fix up a minor nit in the fqdn code.
- Consistently tack an end option onto any outgoing option buffer.

25 years agoMove interface code so that it doesn't pollute the relay agent.
Ted Lemon [Thu, 28 Dec 2000 23:14:46 +0000 (23:14 +0000)] 
Move interface code so that it doesn't pollute the relay agent.

25 years agoAccount for word alignment of buffer returned by bpf.
Ted Lemon [Thu, 28 Dec 2000 23:13:07 +0000 (23:13 +0000)] 
Account for word alignment of buffer returned by bpf.

25 years agoOops, put a cvs tag on versions built from cvs
Ted Lemon [Wed, 13 Dec 2000 21:49:24 +0000 (21:49 +0000)] 
Oops, put a cvs tag on versions built from cvs

25 years agoDDNS implementation rewrite. DDNS should now operate according to
Damien Neil [Mon, 11 Dec 2000 18:56:45 +0000 (18:56 +0000)] 
DDNS implementation rewrite.  DDNS should now operate according to
<draft-ietf-dhc-dhcp-dns-12.txt>.

common/options.c, common/tables.c, includes/dhcp.h:
  Split the fqdn.name option into fqdn.hostname and fqdn.domainname.

includes/dhcpd.h, server/Makefile.dist, server/ddns.c, server/dhcp.c,
server/mdb.c, server/stables.c:
  Added a new file (server/ddns.c) containing the DDNS updates code.
  This file exports two functions: ddns_updates() and ddns_removals().
  ddns_updates() is called when a lease is granted, and ddns_removals()
  is called when the lease expires or is released.

server/dhcpd.c:
  Remove the previous DDNS update code, and add default code for the
  ddns-hostname, ddns-domainname, ddns-ttl, and ddns-rev-domainname
  server options.

25 years agoProperly add ".SIG-ALG.REG.INT." to OMAPI key algorithms.
Damien Neil [Sat, 9 Dec 2000 00:10:55 +0000 (00:10 +0000)] 
Properly add ".SIG-ALG.REG.INT." to OMAPI key algorithms.

25 years agoFix omapi_protocol_connect() to properly return ISC_R_INCOMPLETE
Damien Neil [Sat, 9 Dec 2000 00:07:46 +0000 (00:07 +0000)] 
Fix omapi_protocol_connect() to properly return ISC_R_INCOMPLETE
when necessary.  This should fix problems with forming OMAPI connections
to remote hosts.

25 years agoFix compile warning on Tru64
Ted Lemon [Wed, 6 Dec 2000 17:24:26 +0000 (17:24 +0000)] 
Fix compile warning on Tru64

25 years agoMaybe really really fix HP-UX build...
Ted Lemon [Tue, 5 Dec 2000 16:45:41 +0000 (16:45 +0000)] 
Maybe really really fix HP-UX build...

25 years agoMaybe really fix HP-UX build...
Ted Lemon [Tue, 5 Dec 2000 16:29:28 +0000 (16:29 +0000)] 
Maybe really fix HP-UX build...

25 years agoDon't blow away bindings and such when releasing or abandoning leases.
Ted Lemon [Tue, 5 Dec 2000 07:32:26 +0000 (07:32 +0000)] 
Don't blow away bindings and such when releasing or abandoning leases.

25 years agoDon't do the DNS update for static hosts.
Ted Lemon [Tue, 5 Dec 2000 07:30:37 +0000 (07:30 +0000)] 
Don't do the DNS update for static hosts.

25 years agoRemember lease flags when doing the commit routine.
Ted Lemon [Tue, 5 Dec 2000 07:21:31 +0000 (07:21 +0000)] 
Remember lease flags when doing the commit routine.

25 years agoAdd new tokens
Ted Lemon [Tue, 5 Dec 2000 07:18:58 +0000 (07:18 +0000)] 
Add new tokens

25 years agoSupport unqualified signature algorithm names and base64 in quotes.
Ted Lemon [Tue, 5 Dec 2000 07:15:16 +0000 (07:15 +0000)] 
Support unqualified signature algorithm names and base64 in quotes.

25 years agoDocument client-state operator.
Ted Lemon [Tue, 5 Dec 2000 07:13:16 +0000 (07:13 +0000)] 
Document client-state operator.

25 years agoAdd client state keywords.
Ted Lemon [Tue, 5 Dec 2000 07:12:18 +0000 (07:12 +0000)] 
Add client state keywords.

25 years agoMaybe fix an HP-UX build problem.
Ted Lemon [Tue, 5 Dec 2000 07:10:48 +0000 (07:10 +0000)] 
Maybe fix an HP-UX build problem.

25 years agoChanged the variable 'n' in res_nmkupdate() from an unsigned to an int.
Damien Neil [Sat, 2 Dec 2000 00:10:20 +0000 (00:10 +0000)] 
Changed the variable 'n' in res_nmkupdate() from an unsigned to an int.
(There are circumstances under which a negative value may be assigned to
it.)  This mirrors the state of the BIND 8 code.

25 years agoAdded a case to handle log statements in write_statements(), avoiding
Damien Neil [Sat, 2 Dec 2000 00:04:22 +0000 (00:04 +0000)] 
Added a case to handle log statements in write_statements(), avoiding
server death when log statements appear in commit or expiry clauses.

25 years agoFix up hp-ux config hacks.
Ted Lemon [Thu, 30 Nov 2000 20:49:41 +0000 (20:49 +0000)] 
Fix up hp-ux config hacks.

25 years agoWord-align BPF buffers.
Ted Lemon [Thu, 30 Nov 2000 18:12:56 +0000 (18:12 +0000)] 
Word-align BPF buffers.

25 years agoAdd support for gcc on hp-ux V3-BETA-2-PATCH-11
Ted Lemon [Thu, 30 Nov 2000 14:42:51 +0000 (14:42 +0000)] 
Add support for gcc on hp-ux

25 years agoFix up RAS examples
Ted Lemon [Thu, 30 Nov 2000 14:15:41 +0000 (14:15 +0000)] 
Fix up RAS examples

25 years agoUpdate version and changelog
Ted Lemon [Thu, 30 Nov 2000 14:14:42 +0000 (14:14 +0000)] 
Update version and changelog

25 years agoRestore code that was removed for debugging and accidentally committed.
Ted Lemon [Thu, 30 Nov 2000 14:04:06 +0000 (14:04 +0000)] 
Restore code that was removed for debugging and accidentally committed.

25 years agoPost-release version
Ted Lemon [Wed, 29 Nov 2000 15:07:02 +0000 (15:07 +0000)] 
Post-release version

25 years agoUpdate version and changelog V3-BETA-2-PATCH-10
Ted Lemon [Wed, 29 Nov 2000 15:04:51 +0000 (15:04 +0000)] 
Update version and changelog

25 years agoFix an uninitialized variable reference
Ted Lemon [Wed, 29 Nov 2000 13:38:36 +0000 (13:38 +0000)] 
Fix an uninitialized variable reference

25 years agoFix a missing eol quote in nsupdate routine.
Ted Lemon [Wed, 29 Nov 2000 05:35:02 +0000 (05:35 +0000)] 
Fix a missing eol quote in nsupdate routine.

25 years agoRemove bogus reminder
Ted Lemon [Tue, 28 Nov 2000 23:50:01 +0000 (23:50 +0000)] 
Remove bogus reminder

25 years agoOops, fix ISC_R_NRESULTS.
Ted Lemon [Tue, 28 Nov 2000 23:44:13 +0000 (23:44 +0000)] 
Oops, fix ISC_R_NRESULTS.

25 years agoMake error codes for DNS errors.
Ted Lemon [Tue, 28 Nov 2000 23:32:04 +0000 (23:32 +0000)] 
Make error codes for DNS errors.

25 years agoAdd CLIENT_STATE token.
Ted Lemon [Tue, 28 Nov 2000 23:30:17 +0000 (23:30 +0000)] 
Add CLIENT_STATE token.

25 years agoFix prototypes
Ted Lemon [Tue, 28 Nov 2000 23:30:06 +0000 (23:30 +0000)] 
Fix prototypes

25 years agoPass client state to eval functions. Lots of other stuff.
Ted Lemon [Tue, 28 Nov 2000 23:27:24 +0000 (23:27 +0000)] 
Pass client state to eval functions.   Lots of other stuff.

25 years ago- Add client-state expression.
Ted Lemon [Tue, 28 Nov 2000 23:23:13 +0000 (23:23 +0000)] 
- Add client-state expression.
- Fix debugging printf formats.
- Pass client state to eval functions.

25 years agoAdd printer for client-state.
Ted Lemon [Tue, 28 Nov 2000 23:18:40 +0000 (23:18 +0000)] 
Add printer for client-state.

25 years ago- Move some common functions from clparse.c.
Ted Lemon [Tue, 28 Nov 2000 23:16:26 +0000 (23:16 +0000)] 
- Move some common functions from clparse.c.
- Print an error if not is invoked on a non-boolean expression.  Add
  client-state function.

25 years ago- Pass client state to eval functions.
Ted Lemon [Tue, 28 Nov 2000 23:10:28 +0000 (23:10 +0000)] 
- Pass client state to eval functions.
- Fix a couple of bugs in agent option handling.

25 years agoPass client state to eval functions.
Ted Lemon [Tue, 28 Nov 2000 22:50:38 +0000 (22:50 +0000)] 
Pass client state to eval functions.

25 years agoPass client state to eval functions.
Ted Lemon [Tue, 28 Nov 2000 22:34:02 +0000 (22:34 +0000)] 
Pass client state to eval functions.

25 years agoAdd client-state keyword.
Ted Lemon [Tue, 28 Nov 2000 22:11:52 +0000 (22:11 +0000)] 
Add client-state keyword.

25 years agoPass client state to eval functions.
Ted Lemon [Tue, 28 Nov 2000 22:10:52 +0000 (22:10 +0000)] 
Pass client state to eval functions.

25 years agoMove some general functions into the common parser.
Ted Lemon [Tue, 28 Nov 2000 22:07:09 +0000 (22:07 +0000)] 
Move some general functions into the common parser.

25 years agoAdd in a couple of missing break statements.
Ted Lemon [Fri, 24 Nov 2000 04:19:05 +0000 (04:19 +0000)] 
Add in a couple of missing break statements.