]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
23 years agoUpdate changelog and version V3-BETA-2-PATCH-12
Ted Lemon [Wed, 17 Jan 2001 08:51:23 +0000 (08:51 +0000)] 
Update changelog and version

23 years agoFix find_cached_zone declaration.
Ted Lemon [Wed, 17 Jan 2001 08:25:10 +0000 (08:25 +0000)] 
Fix find_cached_zone declaration.

23 years agoFix a type mismatch in calls to res_nsend*.
Ted Lemon [Wed, 17 Jan 2001 08:23:37 +0000 (08:23 +0000)] 
Fix a type mismatch in calls to res_nsend*.

23 years agoConverters from and to ISC resultcode namespace.
Ted Lemon [Wed, 17 Jan 2001 08:21:26 +0000 (08:21 +0000)] 
Converters from and to ISC resultcode namespace.

23 years agoAdd ping-check and update-static-leases flags.
Ted Lemon [Wed, 17 Jan 2001 00:21:03 +0000 (00:21 +0000)] 
Add ping-check and update-static-leases flags.

23 years agoDocument new parameters.
Ted Lemon [Wed, 17 Jan 2001 00:02:53 +0000 (00:02 +0000)] 
Document new parameters.

23 years agoAdd a ping-check parameter. Pass old lease to ddns_updates.
Ted Lemon [Tue, 16 Jan 2001 23:57:23 +0000 (23:57 +0000)] 
Add a ping-check parameter.   Pass old lease to ddns_updates.

23 years ago- Add conditional support for updating static entries.
Ted Lemon [Tue, 16 Jan 2001 23:48:30 +0000 (23:48 +0000)] 
- Add conditional support for updating static entries.
- Use ISC result codes instead of ns rcodes.
- Fix a bug in the code that converts a lease from ad-hoc updates to
  interim-style updates.

23 years agoFix up and add prototypes.
Ted Lemon [Tue, 16 Jan 2001 23:30:38 +0000 (23:30 +0000)] 
Fix up and add prototypes.

23 years agoMove typedef for isc_result_t to result.h
Ted Lemon [Tue, 16 Jan 2001 23:25:04 +0000 (23:25 +0000)] 
Move typedef for isc_result_t to result.h

23 years agoAdd new config parameters, adjust and add prototypes.
Ted Lemon [Tue, 16 Jan 2001 23:24:02 +0000 (23:24 +0000)] 
Add new config parameters, adjust and add prototypes.

23 years agoFix equal to compare arbitary types, rather than just data.
Ted Lemon [Tue, 16 Jan 2001 23:15:38 +0000 (23:15 +0000)] 
Fix equal to compare arbitary types, rather than just data.

23 years ago- Print null hardware address as blank, instead of as <null>.
Ted Lemon [Tue, 16 Jan 2001 23:12:47 +0000 (23:12 +0000)] 
- Print null hardware address as blank, instead of as <null>.
- Use isc_result_totext to print ns update status, now that res_nupdate
  is returning an isc_result_t.

23 years ago- Fix expression parse context checking.
Ted Lemon [Tue, 16 Jan 2001 23:06:06 +0000 (23:06 +0000)] 
- Fix expression parse context checking.
- Use ISC result codes for NS status checking.
- Add support for parsing Send to generic code.
- Behave correctly if there is no hardware address, or if it fails to parse.

23 years agoAdd a send statement that behaves the same as the supersede statement.
Ted Lemon [Tue, 16 Jan 2001 23:00:49 +0000 (23:00 +0000)] 
Add a send statement that behaves the same as the supersede statement.

23 years agoUse ISC-style result codes, rather than ns rcodes.
Ted Lemon [Tue, 16 Jan 2001 22:54:03 +0000 (22:54 +0000)] 
Use ISC-style result codes, rather than ns rcodes.

23 years agoAdd 'new' token
Ted Lemon [Tue, 16 Jan 2001 22:50:05 +0000 (22:50 +0000)] 
Add 'new' token

23 years agoLet the generic parser parse send statements.
Ted Lemon [Tue, 16 Jan 2001 22:49:31 +0000 (22:49 +0000)] 
Let the generic parser parse send statements.

23 years agoInitialize hardware buffer before using it, just in case.
Ted Lemon [Tue, 16 Jan 2001 22:46:01 +0000 (22:46 +0000)] 
Initialize hardware buffer before using it, just in case.

23 years agoUse ISC result codes instead of NS rcodes to report update errors.
Ted Lemon [Tue, 16 Jan 2001 22:34:47 +0000 (22:34 +0000)] 
Use ISC result codes instead of NS rcodes to report update errors.

23 years agoAdd update-optimization keyword.
Ted Lemon [Thu, 11 Jan 2001 23:17:16 +0000 (23:17 +0000)] 
Add update-optimization keyword.

23 years agoDocument update-optimization config parameter.
Ted Lemon [Thu, 11 Jan 2001 23:16:58 +0000 (23:16 +0000)] 
Document update-optimization config parameter.

23 years agoDon't allow the client to specify the domain name for updates.
Ted Lemon [Thu, 11 Jan 2001 23:16:31 +0000 (23:16 +0000)] 
Don't allow the client to specify the domain name for updates.

23 years agoMake ddns update optimization a configuration option.
Ted Lemon [Thu, 11 Jan 2001 23:16:07 +0000 (23:16 +0000)] 
Make ddns update optimization a configuration option.

23 years ago- Don't parse for semi twice in failover state.
Ted Lemon [Thu, 11 Jan 2001 23:15:31 +0000 (23:15 +0000)] 
- Don't parse for semi twice in failover state.
- Parse client-updates in allow/deny statements.

23 years agoAdd defines for update parameters.
Ted Lemon [Thu, 11 Jan 2001 23:14:37 +0000 (23:14 +0000)] 
Add defines for update parameters.

23 years agoParse client state names as numbers.
Ted Lemon [Thu, 11 Jan 2001 23:14:11 +0000 (23:14 +0000)] 
Parse client state names as numbers.

23 years agoDon't include the '.' in the fqdn.domainname.
Ted Lemon [Thu, 11 Jan 2001 23:13:50 +0000 (23:13 +0000)] 
Don't include the '.' in the fqdn.domainname.

23 years agoAdd client-updates keyword.
Ted Lemon [Thu, 11 Jan 2001 23:13:27 +0000 (23:13 +0000)] 
Add client-updates keyword.

23 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.

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

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

23 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.

23 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.

23 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.

23 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

23 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.

23 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.

23 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.

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

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

23 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.

23 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.

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

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

23 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.

23 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.

23 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.

23 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

23 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.

23 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_*

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

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

23 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.

23 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.

23 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).

23 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.

23 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.

23 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.

23 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.

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

23 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.

23 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.

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

23 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.

23 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.

23 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.

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

23 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.

23 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.

23 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.

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

23 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.

23 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.

23 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.

23 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.

23 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.

23 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.

23 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

23 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.

23 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.

23 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.

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

23 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...

23 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...

23 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.

23 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.

23 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.

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

23 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.

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

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