Shawn Routhier
4a5bfeacbe
Add the option "--no-pid" to the client, relay and server code,
...
to disable writing a pid file. Add the option "-pf pidfile"
to the relay to allow the user to supply the pidfile name at
runtime. Add the "with-relay6-pid-file" option to configure
to allow the user to supply the pidfile name for the relay
in v6 mode at configure time.
[ISC-Bugs #23351 ] [ISC-Bugs #17541 ]
2011-04-15 21:58:12 +00:00
Shawn Routhier
66be0ad13f
Minor code fixes
...
[ISC-Bugs #19566 ] When trying to find the zone for a name for ddns allow
the name to be at the apex of the zone.
[ISC-Bugs #19617 ] Restrict length of interface name read from command line
in dhcpd - based on a patch from David Cantrell at Red Hat.
[ISC-Bugs #20039 ] Correct some error messages in dhcpd.c
[ISC-Bugs #20070 ] Better range check on values when creating a DHCID.
[ISC-Bugs #20198 ] Avoid writing past the end of the field when adding
overly long file or server names to a packet and add a log message
if the configuration supplied overly long names for these fields.
[ISC-Bugs #21497 ] Add a little more randomness to rng seed in client
2010-09-08 22:13:05 +00:00
Shawn Routhier
2b58b8650e
Modify determination of ttl to use for DDNS update [ISC-Bugs #21126 ]
2010-05-27 17:19:26 +00:00
David Hankins
33692791d7
- "The LDAP Patch" that has been circulating for some time, written by
...
Brian Masney and S.Kalyanasundraram and maintained for application to
the DHCP-4 sources by David Cantrell has been included. Please be
advised that these sources were contributed, and do not yet meet the
high standards we place on production sources we include by default.
As a result, the LDAP features are only included by using a compile-time
option which defaults off, and if you enable it you do so under your
own recognizance. We will be improving this software over time.
[ISC-Bugs #17741 ]
2010-03-24 21:49:03 +00:00
Shawn Routhier
0585235c45
Update the fsync batching patch to work with the isc libraries - 21044
2010-03-12 01:36:57 +00:00
Shawn Routhier
7aa153b882
Primarly fix the trace code. This was broken during the modfictions of the
...
DDNS code to use the bind libraries. This patch fixes that breakage and
includes support for the new DDNS code. This patch also deletes some dead
code and neatens up some log messages.
2010-02-11 23:55:36 +00:00
Shawn Routhier
98bf16077d
Support for asynchronous ddns per ticket 19216 - convert to using isclib and
...
dnslib.
2009-10-28 04:12:30 +00:00
Shawn Routhier
2c85ac9b24
Switch isc urls from http to https and correct sw to services or software
...
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
Shawn Routhier
ae56655628
Update for 19054 - modifications to keep GCC 4.3 happy
2009-01-22 00:43:58 +00:00
Shawn Routhier
59112e84f5
Validate argument to port option - bug 18695
2009-01-06 00:32:19 +00:00
David Hankins
4619c0a2fb
- A memory leak when using omapi has been fixed. [ISC-Bugs #17560 ]
2008-03-18 18:28:14 +00:00
Francis Dupont
9322442f8a
Merged IA_XXrelated structures
2008-03-17 15:35:37 +00:00
Evan Hunt
c40e954c55
Check whether files are zero length before parsing them [rt17757]
2008-03-07 20:12:44 +00:00
David Hankins
f8cbf390af
- There is now a default 1/4 of a second scheduled delay between delayed
...
fsync()'s, it can be configured by the max-ack-delay configuration
parameter. [ISC-Bugs #17679 ]
2008-02-28 23:40:45 +00:00
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