2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

143 Commits

Author SHA1 Message Date
David Hankins
66cebfcb89 - ./configure was extended to cover many optional build features, such
as failover, server tracing, debugging, and the execute() command.
  [ISC-Bugs #17678]
2008-02-28 21:21:56 +00:00
David Hankins
63971a8323 - Ari Edelkind's PARANOIA patch has been included and may be compiled in
via two ./configure parameters, --enable-paranoia and
  --enable-early-chroot.  [ISC-Bugs #17611]
2008-02-27 21:22:17 +00:00
Francis Dupont
80c9fdb0e7 Add IA_TA and IA_PD support in server 2008-02-20 12:45:53 +00:00
Evan Hunt
28ccc50f57 Oh guess what, this is 2008, not 2007... 2008-01-24 02:17:41 +00:00
David Hankins
6368a1bd72 - Multiple (up to "delayed-ack x;" maximum) DHCPv4 packets are now queued and
released in bursts after single fsync() events when the upper limit is
  reached or if the receiving sockets go dry.  The practical upshot is
  that fsync-coupled server performance is now multiplicitively increased.
  The default delayed ack limit is 28.  Thanks entirely to a patch from
  Christof Chen.
2008-01-21 19:53:21 +00:00
Shane Kerr
c998be8767 Build fix for non-DHCPv6 compilation.
See RT ticket #17367 for more.
2008-01-08 11:31:13 +00:00
Francis Dupont
be62cf0675 finer granularity timers 2008-01-03 00:30:14 +00:00
Francis Dupont
1d9774ab57 Cleanup IA_NA dependencies 2008-01-02 23:47:22 +00:00
Francis Dupont
20ae1affb0 almost editorial stuff 2007-11-30 21:51:43 +00:00
Evan Hunt
75135a3f7f Use different paths for PID and lease files when running in DHCPv4 or
DHCPv6 mode, so that servers for both protcols can be run simultaneously on
a single interface. [rt17227]
2007-10-27 19:15:37 +00:00
Evan Hunt
182b187ea5 Don't delete PID files before writing to them. [rt17030] 2007-10-27 18:58:59 +00:00
Shane Kerr
884a458f80 Remove ddns-update-style warning by changing default to "none".
See RT ticket #17103 for more.
2007-09-17 10:13:07 +00:00
Shane Kerr
c61eba3b37 Don't remove host and interface addresses from pools in IPv4.
See RT ticket #17131 for more.
2007-09-07 12:20:24 +00:00
Shane Kerr
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
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