]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
24 years agoAdd the FQDN_FQDN suboption.
Ted Lemon [Mon, 8 Jan 2001 17:23:03 +0000 (17:23 +0000)] 
Add the FQDN_FQDN suboption.

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

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

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

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

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

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

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

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

24 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 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

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

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

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

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

24 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 years agoFix up encapsulation prototype in universe struct.
Ted Lemon [Fri, 24 Nov 2000 04:14:49 +0000 (04:14 +0000)] 
Fix up encapsulation prototype in universe struct.

24 years agoFix up and add prototypes.
Ted Lemon [Fri, 24 Nov 2000 04:13:12 +0000 (04:13 +0000)] 
Fix up and add prototypes.

24 years agoFix a mistaken reference in reverse().
Ted Lemon [Fri, 24 Nov 2000 04:08:31 +0000 (04:08 +0000)] 
Fix a mistaken reference in reverse().

24 years agoInitialize option_space_foreach for ad-hoc option spaces.
Ted Lemon [Fri, 24 Nov 2000 04:04:04 +0000 (04:04 +0000)] 
Initialize option_space_foreach for ad-hoc option spaces.

24 years agoFix up a bunch of suboption parsing bugs.
Ted Lemon [Fri, 24 Nov 2000 04:00:04 +0000 (04:00 +0000)] 
Fix up a bunch of suboption parsing bugs.

24 years agoDon't look up null zones, and don't allocate a zone if we already have one.
Ted Lemon [Fri, 24 Nov 2000 03:55:46 +0000 (03:55 +0000)] 
Don't look up null zones, and don't allocate a zone if we already have one.

24 years agoFix vendor option support.
Ted Lemon [Fri, 24 Nov 2000 03:52:37 +0000 (03:52 +0000)] 
Fix vendor option support.

24 years ago- Fix pretty printing of encapsulation options.
Ted Lemon [Fri, 24 Nov 2000 03:38:18 +0000 (03:38 +0000)] 
- Fix pretty printing of encapsulation options.
- Fix parsing of vendor option space names.

24 years agoApplied fix from bug #427: cache_found_zone() was callign dns_zone_lookup()
Damien Neil [Thu, 2 Nov 2000 00:04:40 +0000 (00:04 +0000)] 
Applied fix from bug #427: cache_found_zone() was callign dns_zone_lookup()
with an uninitialized value.

24 years agoFix for bug #416: If a server hands dhclient an insanely large
Damien Neil [Wed, 1 Nov 2000 23:59:57 +0000 (23:59 +0000)] 
Fix for bug #416: If a server hands dhclient an insanely large
lease time, select() can get passed a too-large timeout, causing it
to return EINVAL.  This fix restricts the select() timeout to one day.