Shane Kerr
2e13ba554c
Updating the dhcpd usage() message and the dhcpd man page so they match
...
the command-line arguments.
See RT ticket #16922 for more.
2007-07-03 10:34:18 +00:00
Shane Kerr
e847f9833c
Build fix for BSD.
...
See RT ticket #16959 for more.
2007-06-15 15:02:05 +00:00
Evan Hunt
a546f2a714
Chdir to "/" before going into daemon mode. Use realpath() to
...
canonicalize relative pathnames. [rt16729]
2007-06-07 15:29:31 +00:00
Evan Hunt
804401cc8e
Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
...
warnings. [rt16907]
2007-05-29 18:11:56 +00:00
David Hankins
706792c9d3
Copyright++
2007-05-19 19:16:28 +00:00
David Hankins
fe5b0fdd70
- Replaced ./configure shellscripting with GNU Autoconf. [ISC-Bugs #16405b]
...
- RELNOTES/README++
- s/wether/whether/ in dhcp-options.5 manpage edits.
2007-05-19 18:47:15 +00:00
Shane Kerr
d9b43370a4
Expire old IPv6 leases. Also a number of fixes.
...
See RT ticket #16849 for details.
2007-05-18 09:26:58 +00:00
David Hankins
98bd7ca099
DHCPv6 branch merged to HEAD.
2007-05-08 23:05:22 +00:00
David Hankins
33e1cb2ba5
- A few lines of code that were failover-specific were moved within
...
#if defined() clauses so that compilation without failover could be
made possible. [ISC-Bugs #15987 ]
2006-07-17 15:21:45 +00:00
Shane Kerr
509df655d1
Merging in final change from rt15937, getting rid of space
...
before () in function calls.
2006-05-11 14:48:59 +00:00
David Hankins
3a16098f0b
Pulling work between V3-0-4B3 and present v3-release-branch to HEAD.
2006-05-05 20:32:31 +00:00
Shane Kerr
185d16f9f9
Changes as documented in ticket #15937 (stdio file descriptor fixes).
2006-03-27 09:45:47 +00:00
David Hankins
98311e4ba9
MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
...
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
d758ad8cac
Merge changes between 3.0rc7 and 3.0rc8pl2.
2001-06-27 00:31:20 +00:00
Ted Lemon
dc66a99558
Add line-oriented argument to new_parse().
2001-05-02 07:11:38 +00:00
Ted Lemon
fb5f879356
Make sure we have a stdin, stdout and stderr.
2001-04-05 22:52:48 +00:00
Ted Lemon
30a122eebc
Don't start ICMP if we're just testing a lease file.
2001-03-01 22:11:50 +00:00
Ted Lemon
1b5cb3175e
Set lease file mode to 644, not 640.
2001-02-22 00:18:54 +00:00
Ted Lemon
662df45ac0
Fix some trace-related ifdefs.
2001-02-12 21:59:31 +00:00
Ted Lemon
a920d3daf8
- Cut some things out into subroutines to support tracing.
...
- Do all the relevant tracing setup.
- Clarify ddns-update-style startup error message.
- Print version information and exit if --version is given.
2001-02-12 21:04:06 +00:00
Ted Lemon
ee5a7404e7
Add log_facility config parameter.
2001-01-25 08:32:57 +00:00
Ted Lemon
ac9c906a33
Don't allow the client to specify the domain name for updates.
2001-01-11 23:16:31 +00:00
Ted Lemon
d7f6db1575
- Oops, tack the ad-hoc ddns updates to the end of the root group statement
...
list if ad-hoc is enabled.
2001-01-04 00:23:39 +00:00
Ted Lemon
fafe846361
- 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.
2000-12-29 06:49:38 +00:00
Damien Neil
b992d7e23d
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.
2000-12-11 18:56:45 +00:00
Ted Lemon
f229bd4c1d
Don't do the DNS update for static hosts.
2000-12-05 07:30:37 +00:00
Ted Lemon
a1249be66f
Fix a missing eol quote in nsupdate routine.
2000-11-29 05:35:02 +00:00
Ted Lemon
9e3831637a
Pass client state to eval functions. Lots of other stuff.
2000-11-28 23:27:24 +00:00
Ted Lemon
addb00afe9
Adjust the URL to which people are referred.
2000-09-01 23:06:37 +00:00
Damien Neil
1b234d446f
Finished up function call support.
2000-08-28 19:36:39 +00:00
Damien Neil
61f7ecee77
Don't turn on security for OMAPI connections if no OMAPI key is specified.
2000-08-07 20:28:13 +00:00
Damien Neil
49146f3c15
Added authentication support. The tsig_key structure has been renamed
...
to auth_key and moved into libomapi. libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Ted Lemon
6ceb9118e9
Reference count binding scopes. Align IP headers on output.
2000-07-27 09:03:08 +00:00
Ted Lemon
cfa7212d26
Support environment variables to control locations of files.
2000-07-17 20:56:14 +00:00
Ted Lemon
d8e1567c09
- Redo support for ddns-updates flag.
...
- Initialize a previously-uninitialized variable.
- Conditionalize some failover-specific code.
2000-07-06 10:22:50 +00:00
Ted Lemon
f3a05d7262
Use interface_allocate to allocate command-line interfaces.
2000-06-24 16:13:19 +00:00
Ted Lemon
312a6a35b9
Don't listen on an OMAPI port unless configured to do so.
2000-06-24 06:28:27 +00:00
Ted Lemon
b73c184acf
Don't log 'late' ICMP echo replies for failover leases.
2000-06-08 21:25:47 +00:00
Ted Lemon
20916cae75
- Fix all the OMAPI objects in the DHCP server and client that weren't
...
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
4338d782ce
Update copyright message.
2000-05-03 06:32:09 +00:00
Ted Lemon
ece9e253c5
- Add equivalent config-file options for command-line options.
...
- Start the failover protocol if enabled.
2000-05-02 00:11:49 +00:00
Ted Lemon
dd48f2820a
Keep dns update records around if deletes fail.
2000-04-14 16:28:07 +00:00
Ted Lemon
68f5590808
Make universe_hash using new_hash.
2000-03-18 03:34:11 +00:00
Ted Lemon
49733f31d3
Go back to the BSD license.
2000-03-17 04:00:32 +00:00
Ted Lemon
f824c26ece
Get rid of dns_startup, use lease time instead of constant ttl.
2000-02-15 19:43:38 +00:00
Ted Lemon
144cdb49b2
Don't parse default nsupdate stuff if NSUPDATE isn't defined.
2000-02-08 04:49:06 +00:00
Ted Lemon
68e50b9ef7
Include omapip_p.h for malloc debugging.
2000-01-26 17:32:15 +00:00
Ted Lemon
772224884f
- Add DDNS update built-in code.
...
- Improve usage message.
- Add debugging malloc support.
2000-01-26 15:22:57 +00:00
Ted Lemon
4bd8800e89
Fix compilation errors introduced in the last set of checkins.
2000-01-26 14:56:18 +00:00
Ted Lemon
9e9b2261b1
Support new struct hardware.
2000-01-05 18:17:10 +00:00