]>
git.ipfire.org Git - thirdparty/dhcp.git/log
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.
Damien Neil [Mon, 30 Oct 2000 18:48:07 +0000 (18:48 +0000)]
Tweak omapi_protocol_connect() so that authenticators are sent in the
proper order.
Damien Neil [Fri, 20 Oct 2000 01:01:41 +0000 (01:01 +0000)]
Fixed OMAPI lookups based on hardware-address. The hardware type
is now specified via the hardware-type field.
Ted Lemon [Sun, 15 Oct 2000 18:57:39 +0000 (18:57 +0000)]
Post-tag version
Ted Lemon [Sun, 15 Oct 2000 18:55:04 +0000 (18:55 +0000)]
Update changelog and versions.
Ted Lemon [Sun, 15 Oct 2000 18:54:29 +0000 (18:54 +0000)]
Fix the math in the udp packet length calculator.
Ted Lemon [Sat, 14 Oct 2000 07:57:35 +0000 (07:57 +0000)]
Update version number and changelog
Ted Lemon [Sat, 14 Oct 2000 07:56:59 +0000 (07:56 +0000)]
Fix a stupid byte-swap error.
Ted Lemon [Fri, 13 Oct 2000 19:08:30 +0000 (19:08 +0000)]
post-release version.
Ted Lemon [Fri, 13 Oct 2000 19:05:27 +0000 (19:05 +0000)]
Update version number and changelog.
Ted Lemon [Fri, 13 Oct 2000 19:03:19 +0000 (19:03 +0000)]
Fix up manual page installation.
Ted Lemon [Fri, 13 Oct 2000 19:00:11 +0000 (19:00 +0000)]
Fix title.
Ted Lemon [Fri, 13 Oct 2000 18:58:12 +0000 (18:58 +0000)]
Disable unicast broadcast hack, but leave a place for it to be configured.
Ted Lemon [Fri, 13 Oct 2000 18:54:56 +0000 (18:54 +0000)]
Don't trust udp -> uh_len.
Ted Lemon [Fri, 13 Oct 2000 18:47:21 +0000 (18:47 +0000)]
Take out a bogus option cache dereference.
Ted Lemon [Thu, 12 Oct 2000 09:05:04 +0000 (09:05 +0000)]
Make dhcrelay link when DEBUG is defined.
Ted Lemon [Thu, 12 Oct 2000 09:04:24 +0000 (09:04 +0000)]
- Cache zones once we've looked them up, so that we don't do a bazillion
queries for each update.
Ted Lemon [Thu, 12 Oct 2000 09:00:33 +0000 (09:00 +0000)]
Update zone caching prototypes
Ted Lemon [Thu, 12 Oct 2000 08:59:07 +0000 (08:59 +0000)]
Make print.c compile with DEBUG (and, coincidentally, make it work better).
Ted Lemon [Thu, 12 Oct 2000 08:58:11 +0000 (08:58 +0000)]
Add cache_found_zone() function.
Ted Lemon [Wed, 11 Oct 2000 08:00:30 +0000 (08:00 +0000)]
Fix documentation for address statement in peer declaration.
Ted Lemon [Wed, 11 Oct 2000 07:57:20 +0000 (07:57 +0000)]
Fix a couple of signed vs. unsigned pointer errors.
Ted Lemon [Tue, 10 Oct 2000 23:22:39 +0000 (23:22 +0000)]
Use set_option instead of universe -> set_func
Ted Lemon [Tue, 10 Oct 2000 23:21:04 +0000 (23:21 +0000)]
Update the agent option documentation.
Ted Lemon [Tue, 10 Oct 2000 23:09:17 +0000 (23:09 +0000)]
Fix up universe initializations, and define vendor_cfg_option global.
Ted Lemon [Tue, 10 Oct 2000 23:07:24 +0000 (23:07 +0000)]
Get rid of all the special-case encapsulations.
Ted Lemon [Tue, 10 Oct 2000 23:01:05 +0000 (23:01 +0000)]
Fix up calls to cons_options.
Ted Lemon [Tue, 10 Oct 2000 23:00:31 +0000 (23:00 +0000)]
Add omapi object initializer to object type structure.
Ted Lemon [Tue, 10 Oct 2000 22:59:37 +0000 (22:59 +0000)]
Call object initializer from omapi_object_initialize if there is one.
Ted Lemon [Tue, 10 Oct 2000 22:57:29 +0000 (22:57 +0000)]
Rototill universe struct definition.
Ted Lemon [Tue, 10 Oct 2000 22:56:53 +0000 (22:56 +0000)]
Add ENCAPSULATE and VENDOR tokens.
Ted Lemon [Tue, 10 Oct 2000 22:56:25 +0000 (22:56 +0000)]
Add vendor_space_name to client_config. Lots of prototypes.
Ted Lemon [Tue, 10 Oct 2000 22:54:10 +0000 (22:54 +0000)]
Add defines for Client FQDN option.
Ted Lemon [Tue, 10 Oct 2000 22:53:43 +0000 (22:53 +0000)]
Fix up call to omapi_object_type_register.
Ted Lemon [Tue, 10 Oct 2000 22:51:58 +0000 (22:51 +0000)]
- Add some code for testing more potential configuration file errors at
parse time, but don't enable it yet.
- Use option_get and option_put rather than universe-specific get_func
and put_func calls.
Ted Lemon [Tue, 10 Oct 2000 22:48:20 +0000 (22:48 +0000)]
- Add the FQDN option space.
- Add support for encapsulations in option format strings, and use it.
- Standardize the functions that access option universes.
Ted Lemon [Tue, 10 Oct 2000 22:45:25 +0000 (22:45 +0000)]
- Add support for user-defined encapsulations.
- Add code to detect impossible or unlikely tests and flag them with
warnings, but don't enable this code until after the 3.0 release.
For example, it would flag a warning on this code:
if (substring (foo, 0, 3) = 01:02:03:04) { ...
because this comparison can never succeed.
Ted Lemon [Tue, 10 Oct 2000 22:39:47 +0000 (22:39 +0000)]
- Make option spaces stored as linked lists first-class objects.
- Use these spaces for the agent option space, fqdn option space and
nwip option space.
- Make encapsulator and decoder for fqdn option space.
- Support the agent option space the way all option spaces are supported
to the extent possibol, rather than special-casing it.
- Add an enumerator function for defined options in an option space.
- Support encapsulated options directly with a format string, rather than
as another special case.
Ted Lemon [Tue, 10 Oct 2000 22:34:39 +0000 (22:34 +0000)]
Don't compile in Token Ring support if it's not supported.
Ted Lemon [Tue, 10 Oct 2000 22:33:56 +0000 (22:33 +0000)]
Fix up call to omapi_object_type_register.
Ted Lemon [Tue, 10 Oct 2000 22:31:41 +0000 (22:31 +0000)]
- Add initializer for interfaces.
- Don't register for I/O on interfaces on which we are not listening.
Ted Lemon [Tue, 10 Oct 2000 22:29:33 +0000 (22:29 +0000)]
Document encapsulate type and fqdn option space.
Ted Lemon [Tue, 10 Oct 2000 22:07:25 +0000 (22:07 +0000)]
Undocument check operator.
Ted Lemon [Tue, 10 Oct 2000 22:05:53 +0000 (22:05 +0000)]
Add initializer arg to object type setup calls.
Ted Lemon [Tue, 10 Oct 2000 22:00:09 +0000 (22:00 +0000)]
Don't compile in token ring stuff if we don't support it.
Ted Lemon [Tue, 10 Oct 2000 21:56:55 +0000 (21:56 +0000)]
Document vendor option space configuration option.
Ted Lemon [Tue, 10 Oct 2000 21:50:58 +0000 (21:50 +0000)]
- Write all options spaces to lease file and environment, not just DHCP
option space.
Ted Lemon [Tue, 10 Oct 2000 19:44:39 +0000 (19:44 +0000)]
Support client-side vendor option space definitions.
Ted Lemon [Tue, 10 Oct 2000 19:14:37 +0000 (19:14 +0000)]
Add object initializer support. Fix off-by-one bug in host stuffer.