2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 10:58:13 +00:00

179 Commits

Author SHA1 Message Date
Thomas Markwalder
d9b2a590e8 [master] Host declaration name can now be used in DNS forward name
Merges in rt21323.
2014-11-19 10:56:17 -05:00
Thomas Markwalder
3956569b0d [master] Server file names now logged after config parsing
Merges in rt36671
2014-09-08 07:45:42 -04:00
Shawn Routhier
e9326fd0f4 [master] Add define to disable gentle shutodwn by default
Add a define to disable the gentle shutdown feature by default.
The feature has some effects (recover-wait in failvoer pairs)
and release in clients that are always desired.  We plan to
revisit this in order to make it easier to use but with the
define it can be enabled if necessary.
2014-07-02 08:49:19 -07:00
Shawn Routhier
00e9af8ee0 [master] Add configure option to incude PID in syslog entries 2014-05-07 12:19:33 -07:00
Shawn Routhier
d8c7c34ef6 [master] Print out files used and move the dropping of privileges in paranoia
17551 - When starting up in verbose mode have the server print out
        the files it will use

25806 - Moving the paranoia code that drops the privileges to be after
        the server has written the PID file.
2014-05-07 11:54:27 -07:00
Shawn Routhier
f950de775f [master] Add code to remove pid files and to log killing of clients 2014-05-07 08:03:19 -07:00
Shawn Routhier
158a34fb68 [master] Add #ifdefs to allow code to compile if NSUPDATE isn't defined 2014-04-28 15:27:02 -07:00
Shawn Routhier
edad9be5cd [master] Remove vix.com and nominum.com
Remove old information from copyrights and
    man pages.
2014-01-26 10:52:15 -08:00
Shawn Routhier
324257e3db [master] Update version stamps and such for 4.3.0b1 2014-01-15 19:38:55 -08:00
Shawn Routhier
32da1939af [master] Prepare for 4.3.0a1
Update vesion stamps, copyright dates and the bind version to use.
2013-12-13 13:32:35 -08:00
Shawn Routhier
61ef216b8d [master] Add support for user selection of the from address for DDNS transactions 2013-12-11 08:08:42 -08:00
Shawn Routhier
0895c955d1 [master] Fix up the gentle shutdown code to handle failover
This patch modifies the gentle failover patch to
be cleaner and to handle failover peers better.
2013-11-14 12:55:10 -08:00
Shawn Routhier
f88446f16b [master] Emit log messages when the server is stable
Emit a log message when the server had completed initialization
and is about to start dispatching.  And emit log messages when
both peers in a failover pair have reached the normal state.
2013-11-08 12:29:20 -08:00
Shawn Routhier
cde11a4cdb [master] Add option to suppress the use of fsync when writing lease files
The option is dont-use-async <flag> and it defaults to disabled.
2013-11-08 12:00:02 -08:00
Shawn Routhier
47e8308dea [master]
[32692] Signal handlers added: sigint (ctrl-c) and sigterm (default kill)
2013-10-30 13:52:36 -07:00
Shawn Routhier
d7d9c0c7c3 -n [master]
Add code to support the standards version of DDNS
2013-10-14 15:53:24 -07:00
Shawn Routhier
a7341359cc -n [master]
[rt27912]
    Add code to suppor on {commit expiry release} statements for DHCPv6.
    There are several pieces to this change
    1) Add space in the iasubopt structure to hold the statement pointers
    2) Update the execute code to fill in the structures as necessary
    3) Execute the statements when appropriate
    Many of the changes in the non-v6 code are to pass the v6 structures
    around to the execute code.
2013-08-27 13:40:47 -07:00
Mark Andrews
dc9d7b08aa - Silence benign static analysis warnings.
[ISC-Bugs #33428]
2013-05-15 10:49:54 +10:00
Tomek Mrugalski
85c8df6dd0 [master] Merge branch 'rt25901_atf'
Conflicts:
	configure
2012-08-14 15:20:46 +02:00
Tomek Mrugalski
f9effb95d4 [rt25901_atf] Atffile/compilation cleanup, ATF description updated 2012-08-08 00:23:01 +02:00
Shawn Routhier
32e651c418 A problem with missing get_hw_addr function when --enable-use-sockets
was used is now solved on GNU/Linux, BSD and GNU/Hurd systems. Note
that use-sockets feature was not tested on those systems. Client and
server code no longer use MAX_PATH constant that is not defined on
GNU/Hurd systems. [ISC-Bugs 25979]
2012-06-08 23:28:11 +00:00
Tomek Mrugalski
5d082abd92 Several time related improvements:
- set initial delay to 0 to speed up client start
- added 'initial-delay' parameter to possibly revert to old behavior
- better handling of very short (1 or 2s) leases
- client lease records are recorded at most once every 15 seconds
- ICMP ping-check is now timed more precisely
- Servers that don't offer lease-time are now black-listed
[ISC-Bugs #19660]
2011-04-21 13:24:24 +00:00
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