]>
git.ipfire.org Git - thirdparty/dhcp.git/log
Ted Lemon [Wed, 17 Jan 2001 08:51:23 +0000 (08:51 +0000)]
Update changelog and version
Ted Lemon [Wed, 17 Jan 2001 08:25:10 +0000 (08:25 +0000)]
Fix find_cached_zone declaration.
Ted Lemon [Wed, 17 Jan 2001 08:23:37 +0000 (08:23 +0000)]
Fix a type mismatch in calls to res_nsend*.
Ted Lemon [Wed, 17 Jan 2001 08:21:26 +0000 (08:21 +0000)]
Converters from and to ISC resultcode namespace.
Ted Lemon [Wed, 17 Jan 2001 00:21:03 +0000 (00:21 +0000)]
Add ping-check and update-static-leases flags.
Ted Lemon [Wed, 17 Jan 2001 00:02:53 +0000 (00:02 +0000)]
Document new parameters.
Ted Lemon [Tue, 16 Jan 2001 23:57:23 +0000 (23:57 +0000)]
Add a ping-check parameter. Pass old lease to ddns_updates.
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.
Ted Lemon [Tue, 16 Jan 2001 23:30:38 +0000 (23:30 +0000)]
Fix up and add prototypes.
Ted Lemon [Tue, 16 Jan 2001 23:25:04 +0000 (23:25 +0000)]
Move typedef for isc_result_t to result.h
Ted Lemon [Tue, 16 Jan 2001 23:24:02 +0000 (23:24 +0000)]
Add new config parameters, adjust and add prototypes.
Ted Lemon [Tue, 16 Jan 2001 23:15:38 +0000 (23:15 +0000)]
Fix equal to compare arbitary types, rather than just data.
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.
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.
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.
Ted Lemon [Tue, 16 Jan 2001 22:54:03 +0000 (22:54 +0000)]
Use ISC-style result codes, rather than ns rcodes.
Ted Lemon [Tue, 16 Jan 2001 22:50:05 +0000 (22:50 +0000)]
Add 'new' token
Ted Lemon [Tue, 16 Jan 2001 22:49:31 +0000 (22:49 +0000)]
Let the generic parser parse send statements.
Ted Lemon [Tue, 16 Jan 2001 22:46:01 +0000 (22:46 +0000)]
Initialize hardware buffer before using it, just in case.
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.
Ted Lemon [Thu, 11 Jan 2001 23:17:16 +0000 (23:17 +0000)]
Add update-optimization keyword.
Ted Lemon [Thu, 11 Jan 2001 23:16:58 +0000 (23:16 +0000)]
Document update-optimization config parameter.
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.
Ted Lemon [Thu, 11 Jan 2001 23:16:07 +0000 (23:16 +0000)]
Make ddns update optimization a configuration option.
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.
Ted Lemon [Thu, 11 Jan 2001 23:14:37 +0000 (23:14 +0000)]
Add defines for update parameters.
Ted Lemon [Thu, 11 Jan 2001 23:14:11 +0000 (23:14 +0000)]
Parse client state names as numbers.
Ted Lemon [Thu, 11 Jan 2001 23:13:50 +0000 (23:13 +0000)]
Don't include the '.' in the fqdn.domainname.
Ted Lemon [Thu, 11 Jan 2001 23:13:27 +0000 (23:13 +0000)]
Add client-updates keyword.
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.
Ted Lemon [Thu, 11 Jan 2001 02:16:24 +0000 (02:16 +0000)]
constify ns_updrec -> r_data.
Ted Lemon [Thu, 11 Jan 2001 02:15:31 +0000 (02:15 +0000)]
Publicize some function declarations.
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.
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.
Ted Lemon [Thu, 11 Jan 2001 02:12:16 +0000 (02:12 +0000)]
Move the dhcid computer into common code.
Ted Lemon [Tue, 9 Jan 2001 07:01:48 +0000 (07:01 +0000)]
Fix up some signed vs. unsigned char mismatches
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.
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.
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.
Ted Lemon [Mon, 8 Jan 2001 17:23:03 +0000 (17:23 +0000)]
Add the FQDN_FQDN suboption.
Ted Lemon [Mon, 8 Jan 2001 17:21:38 +0000 (17:21 +0000)]
Add fqdn.fqdn suboption.
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.
Ted Lemon [Mon, 8 Jan 2001 15:39:43 +0000 (15:39 +0000)]
Fix a signed vs. unsigned problem.
Ted Lemon [Mon, 8 Jan 2001 08:24:56 +0000 (08:24 +0000)]
Add client-updates config option.
Ted Lemon [Mon, 8 Jan 2001 08:24:23 +0000 (08:24 +0000)]
Document interim DDNS updates implementation.
Ted Lemon [Mon, 8 Jan 2001 08:23:21 +0000 (08:23 +0000)]
Don't say (not authoritative) when we are.
Ted Lemon [Mon, 8 Jan 2001 08:22:35 +0000 (08:22 +0000)]
Add define for client-updates configuration variable.
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.
Ted Lemon [Sat, 6 Jan 2001 21:38:50 +0000 (21:38 +0000)]
Don't use the -gcc suffix in naming work directories
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.
Ted Lemon [Sat, 6 Jan 2001 21:32:49 +0000 (21:32 +0000)]
Include net/if_arp.h for ARPHRD_*
Ted Lemon [Sat, 6 Jan 2001 21:32:26 +0000 (21:32 +0000)]
Add support for printing NXDOMAIN and YXDOMAIN prerequisites.
Ted Lemon [Thu, 4 Jan 2001 00:33:03 +0000 (00:33 +0000)]
Use -c with bsdinstall on Tru64.
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.
Ted Lemon [Thu, 4 Jan 2001 00:27:20 +0000 (00:27 +0000)]
Alphabetize configuration options and add documentation for more of them.
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.
Ted Lemon [Thu, 4 Jan 2001 00:15:50 +0000 (00:15 +0000)]
If ddns-updates is not set, default to enabled.
Ted Lemon [Thu, 4 Jan 2001 00:08:16 +0000 (00:08 +0000)]
- Globalize resolver state.
- Fix an uninitialized variable.
- Log updates.
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.
Ted Lemon [Wed, 3 Jan 2001 23:50:13 +0000 (23:50 +0000)]
- Globalize resolver state.
- Add an unset function for unsetting variables.
Ted Lemon [Wed, 3 Jan 2001 23:43:24 +0000 (23:43 +0000)]
Globalize resolver state.
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.
Ted Lemon [Wed, 3 Jan 2001 23:15:33 +0000 (23:15 +0000)]
Don't make bogus statements a fatal error.
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).
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.
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.
Ted Lemon [Fri, 29 Dec 2000 06:48:14 +0000 (06:48 +0000)]
Only do new-style ddns updates if that style is enabled.
Ted Lemon [Fri, 29 Dec 2000 06:47:46 +0000 (06:47 +0000)]
Initialize omapi before trying to mess with interfaces.
Ted Lemon [Fri, 29 Dec 2000 06:47:16 +0000 (06:47 +0000)]
Add structure definitionns for enumerations.
Ted Lemon [Fri, 29 Dec 2000 06:47:06 +0000 (06:47 +0000)]
Add externs for enumerations and ddns styles.
Ted Lemon [Fri, 29 Dec 2000 06:46:23 +0000 (06:46 +0000)]
Fix up internal documentation for option parse codes.
Ted Lemon [Fri, 29 Dec 2000 06:45:49 +0000 (06:45 +0000)]
Add support for parsing enumerations.
Ted Lemon [Fri, 29 Dec 2000 06:45:00 +0000 (06:45 +0000)]
Add support (not debugged) for printing enumerations.
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.
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.
Ted Lemon [Thu, 28 Dec 2000 23:29:47 +0000 (23:29 +0000)]
Document lease abandonment and reallocation.
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.
Ted Lemon [Thu, 28 Dec 2000 23:23:46 +0000 (23:23 +0000)]
Tweak the way the dhcid is computed.
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.
Ted Lemon [Thu, 28 Dec 2000 23:21:35 +0000 (23:21 +0000)]
Prototype interface_setup ().
Ted Lemon [Thu, 28 Dec 2000 23:20:53 +0000 (23:20 +0000)]
Correctly implement the subnet selection option.
Ted Lemon [Thu, 28 Dec 2000 23:20:28 +0000 (23:20 +0000)]
Fix debug message for 'static' operator.
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.
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.
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.
Ted Lemon [Thu, 28 Dec 2000 23:13:07 +0000 (23:13 +0000)]
Account for word alignment of buffer returned by bpf.
Ted Lemon [Wed, 13 Dec 2000 21:49:24 +0000 (21:49 +0000)]
Oops, put a cvs tag on versions built from cvs
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.
Damien Neil [Sat, 9 Dec 2000 00:10:55 +0000 (00:10 +0000)]
Properly add ".SIG-ALG.REG.INT." to OMAPI key algorithms.
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.
Ted Lemon [Wed, 6 Dec 2000 17:24:26 +0000 (17:24 +0000)]
Fix compile warning on Tru64
Ted Lemon [Tue, 5 Dec 2000 16:45:41 +0000 (16:45 +0000)]
Maybe really really fix HP-UX build...
Ted Lemon [Tue, 5 Dec 2000 16:29:28 +0000 (16:29 +0000)]
Maybe really fix HP-UX build...
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.
Ted Lemon [Tue, 5 Dec 2000 07:30:37 +0000 (07:30 +0000)]
Don't do the DNS update for static hosts.
Ted Lemon [Tue, 5 Dec 2000 07:21:31 +0000 (07:21 +0000)]
Remember lease flags when doing the commit routine.
Ted Lemon [Tue, 5 Dec 2000 07:18:58 +0000 (07:18 +0000)]
Add new tokens
Ted Lemon [Tue, 5 Dec 2000 07:15:16 +0000 (07:15 +0000)]
Support unqualified signature algorithm names and base64 in quotes.
Ted Lemon [Tue, 5 Dec 2000 07:13:16 +0000 (07:13 +0000)]
Document client-state operator.
Ted Lemon [Tue, 5 Dec 2000 07:12:18 +0000 (07:12 +0000)]
Add client state keywords.