]>
git.ipfire.org Git - thirdparty/dhcp.git/log
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.
Ted Lemon [Tue, 5 Dec 2000 07:10:48 +0000 (07:10 +0000)]
Maybe fix an HP-UX build problem.
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.
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.
Ted Lemon [Thu, 30 Nov 2000 20:49:41 +0000 (20:49 +0000)]
Fix up hp-ux config hacks.
Ted Lemon [Thu, 30 Nov 2000 18:12:56 +0000 (18:12 +0000)]
Word-align BPF buffers.
Ted Lemon [Thu, 30 Nov 2000 14:42:51 +0000 (14:42 +0000)]
Add support for gcc on hp-ux
Ted Lemon [Thu, 30 Nov 2000 14:15:41 +0000 (14:15 +0000)]
Fix up RAS examples
Ted Lemon [Thu, 30 Nov 2000 14:14:42 +0000 (14:14 +0000)]
Update version and changelog
Ted Lemon [Thu, 30 Nov 2000 14:04:06 +0000 (14:04 +0000)]
Restore code that was removed for debugging and accidentally committed.
Ted Lemon [Wed, 29 Nov 2000 15:07:02 +0000 (15:07 +0000)]
Post-release version
Ted Lemon [Wed, 29 Nov 2000 15:04:51 +0000 (15:04 +0000)]
Update version and changelog
Ted Lemon [Wed, 29 Nov 2000 13:38:36 +0000 (13:38 +0000)]
Fix an uninitialized variable reference
Ted Lemon [Wed, 29 Nov 2000 05:35:02 +0000 (05:35 +0000)]
Fix a missing eol quote in nsupdate routine.
Ted Lemon [Tue, 28 Nov 2000 23:50:01 +0000 (23:50 +0000)]
Remove bogus reminder
Ted Lemon [Tue, 28 Nov 2000 23:44:13 +0000 (23:44 +0000)]
Oops, fix ISC_R_NRESULTS.
Ted Lemon [Tue, 28 Nov 2000 23:32:04 +0000 (23:32 +0000)]
Make error codes for DNS errors.
Ted Lemon [Tue, 28 Nov 2000 23:30:17 +0000 (23:30 +0000)]
Add CLIENT_STATE token.
Ted Lemon [Tue, 28 Nov 2000 23:30:06 +0000 (23:30 +0000)]
Fix prototypes
Ted Lemon [Tue, 28 Nov 2000 23:27:24 +0000 (23:27 +0000)]
Pass client state to eval functions. Lots of other stuff.
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.
Ted Lemon [Tue, 28 Nov 2000 23:18:40 +0000 (23:18 +0000)]
Add printer for client-state.
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.
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.
Ted Lemon [Tue, 28 Nov 2000 22:50:38 +0000 (22:50 +0000)]
Pass client state to eval functions.
Ted Lemon [Tue, 28 Nov 2000 22:34:02 +0000 (22:34 +0000)]
Pass client state to eval functions.
Ted Lemon [Tue, 28 Nov 2000 22:11:52 +0000 (22:11 +0000)]
Add client-state keyword.
Ted Lemon [Tue, 28 Nov 2000 22:10:52 +0000 (22:10 +0000)]
Pass client state to eval functions.
Ted Lemon [Tue, 28 Nov 2000 22:07:09 +0000 (22:07 +0000)]
Move some general functions into the common parser.
Ted Lemon [Fri, 24 Nov 2000 04:19:05 +0000 (04:19 +0000)]
Add in a couple of missing break statements.
Ted Lemon [Fri, 24 Nov 2000 04:14:49 +0000 (04:14 +0000)]
Fix up encapsulation prototype in universe struct.
Ted Lemon [Fri, 24 Nov 2000 04:13:12 +0000 (04:13 +0000)]
Fix up and add prototypes.
Ted Lemon [Fri, 24 Nov 2000 04:08:31 +0000 (04:08 +0000)]
Fix a mistaken reference in reverse().
Ted Lemon [Fri, 24 Nov 2000 04:04:04 +0000 (04:04 +0000)]
Initialize option_space_foreach for ad-hoc option spaces.
Ted Lemon [Fri, 24 Nov 2000 04:00:04 +0000 (04:00 +0000)]
Fix up a bunch of suboption parsing bugs.
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.
Ted Lemon [Fri, 24 Nov 2000 03:52:37 +0000 (03:52 +0000)]
Fix vendor option support.
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.
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.
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.