2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

1193 Commits

Author SHA1 Message Date
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
ad80055f72 [master] Add code to help clean up soft leases 2014-06-20 12:44:38 -07:00
Shawn Routhier
7fffbde16a [master] Clean up DDNS description
Remove the text about use-host-decl-names within DDNS.
This appears to have been correct when describing the
ad-hoc DDNS option but not the interim or standard
options.  In the future we may choose to enhance
the latter two but for now we shouldn't claim we do
 things we don't.
2014-06-13 09:16:00 -07:00
Shawn Routhier
aeb683eecc [master] Update description of leases file
Include v6

Clean up other items
2014-06-11 13:40:32 -07:00
Shawn Routhier
250f7134bb [master] Add support for pool thresholds
Add support to set high and low thresholds for pools for
v4 and v6.  A message will be emitted when the usage of
the pool first exceeds the high threshold.  More messages
will be skipped until the usage has gone below the low
threshold and then back above the high threshold.
2014-06-05 14:55:01 -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
388cba45bb [master] Remove the pre-errata code for handling no addresses available 2014-04-29 09:59:21 -07:00
Shawn Routhier
dceef8736e [master] Update partner's stos field when processing an update 2014-04-28 16:02:22 -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
38c4774a43 [master] Several small patches
Tidy up several small tickets
Correct parsing of DUID from config file, previously the LL type
was put in the wrong place in the DUID string.
[ISC-Bugs #20962]
Add code to parse "do-forward-updates" as well as "do-forward-update"
[ISC-Bugs #31328]
Remove log_priority as it isn't currently used.
[ISC-Bugs #33397]
Increase the size of the buffer used for reading interface information.
[ISC-Bugs #34858]
2014-04-25 10:50:24 -07:00
Shawn Routhier
8143726991 [master] Typo in dhcpd.conf.5
Correct pool6 to pool.
2014-04-16 20:13:08 -07:00
Shawn Routhier
c35b3891a5 [master] typos 2014-01-30 14:08:33 -08: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
7e54ea4c0f [master]
Merge branch 'master' of repo.isc.org:/proj/git/prod/dhcp
2014-01-09 19:29:29 -08:00
Shawn Routhier
624d5a03da [master] correct dont-use-async to dont-use-fsync in docs 2014-01-08 17:00:00 -08:00
Mark Andrews
437d119b40 ldap code failed to compile due to missing comma. [RT #35159] 2014-01-08 09:33:22 +11:00
Francis Dupont
b45889b49e RT#35138 signaled typo 2013-12-31 15:14:24 +01:00
Shawn Routhier
19748527a0 [master] Update test makefiles to use the correct libraries 2013-12-13 23:50:40 +00:00
Shawn Routhier
eb8a7cd7fa [master] Correct some makefile issues in the test directories 2013-12-13 15:48:47 -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
4d079f0ec0 [master] Better support for INFORM requests.
Add support to use the subnet selection option
and the host declaration statements when processing
an inform request
2013-12-13 12:52:17 -08:00
Shawn Routhier
38ee81bd80 [master] Patch to ignore UIDS
This patch adds an option to allow the administrator to tell the
server to ignore UIDS when choosing a lease.
2013-12-13 12:40:45 -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
e54ff84f08 -n master Patch for 30461 and update the auto generated files
Update the auto genrated files to add the required bind9
libraries

Fix up dhcpctl/Makefile.am to include the isccfg lib

Patch for 30461 to allow the DHCP server to find
the name server to update via the DNS
Conflicts:
2013-12-10 04:03:12 +00:00
Shawn Routhier
619304cd87 [master] Support using v6 relay options in server decicions. 2013-11-25 21:00:41 -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
d9b5c150b7 [master]
Add log messages for when the addresses we assign.
2013-10-31 14:09:24 -07: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
58cb5d861d [master]
Squashed commit of the following:

commit 9b0ea01f2afd1fb7ec1409166183a92731314ca7
Author: Shawn Routhier <sar@isc.org>
Date:   Tue Oct 22 12:02:41 2013 -0700

    -n [rt34924]
    Modify the on_commit code to use a reasonable scope as the reply->lease
    value may not be set, we should use the tmp->scope as we go through
    the iasubopts.
2013-10-30 13:34:22 -07:00
Shawn Routhier
d7d9c0c7c3 -n [master]
Add code to support the standards version of DDNS
2013-10-14 15:53:24 -07:00
Mark Andrews
f1ef85cf1e address: dhcpv6.c: In function 'reply_process_ia_ta': dhcpv6.c:2784: warning: 'p' might be used uninitialized in this function 2013-08-28 12:25:33 +10:00
Shawn Routhier
01fa619fab -n [master]
26510
 Add support for classes in the IPv6 code
2013-08-27 14:20:09 -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
Shawn Routhier
8cd88e202b -n [master]
[rt26311]
    Fix the issue with DDNS by checking to see if we have added a pointer
    to the ddns_cb and skipping the cache threshold check if we did.  Also
    expand and correct the cache threshold check into the delayed ack code.
2013-08-27 11:09:12 -07:00
Shawn Routhier
08b2d34783 [master]
Modify the class and subclass code to allow for dynamic addition and
removal of subclasses.  See 27452 for details.
2013-06-05 18:15:49 -07:00
Mark Andrews
9626483bbb - Address static analysis warnings.
[ISC-Bugs #33510] [ISC-Bugs #33511]
2013-05-23 14:21:20 +10:00
Mark Andrews
dc9d7b08aa - Silence benign static analysis warnings.
[ISC-Bugs #33428]
2013-05-15 10:49:54 +10:00
Mark Andrews
a24b9f23d0 - Use newer auto* tool packages and turn on RFC_3542 support on Mac OS.
[ISC-Bugs #26303]
2013-03-28 17:11:06 +11:00
Jeremy C. Reed
8e112e2bc6 Various minor documentation improvements:
remove repeated words

fix: it's to its

some minor formatting added
	(this needs to be improved still, there is a mix
	of \fB Bold and \fI underline for same things)

spelling fixes

minor punctuation fixes (remove ...)

uppercase an acronym that is not a config item

(I didn't get this reviewed, these all are very minor or obvious.)
2013-01-28 18:01:41 -06:00
Shawn Routhier
b89b8e1628 -n [master]
Clean up ATF issues:
describe patch to ATF code for solaris 11
remove unneeded options for use on solaris 11
comment out unused hash test
[rt32089]
2012-12-13 11:29:35 -08:00
Shawn Routhier
9ff4e0a221 [master]
Move the dhclient.conf and dhcpd.conf files to *.example
to avoid overwriting them during installation.
2012-11-19 11:42:38 -08:00
Shawn Routhier
0d93c339de [master]
Tidy up some compiler issues in the debug code
[ISC-Bugs #26460]
2012-11-16 17:02:03 -08:00
Shawn Routhier
f8380d3ff2 [master]
+- Add support for a simple check that the server id in a request message
+  to a failover peer matches the server id of the server.  This support
+  is enabled by editing the file includes/site.h and uncommenting the
+  definition for SERVER_ID_CHECK.  The option has several restrictions
+  and issues - please read the comment in the site.h file before
+  enabling it.
+  [ISC-Bugs #31463]
2012-11-16 15:02:13 -08:00
Shawn Routhier
d56788df77 [master]
Modify the nak_lease function to make some attempts to find a
server-identifier option to use for the NAK.
2012-11-02 16:37:03 -07:00
Shawn Routhier
0f750c4fb1 [master]
[rt23833]
Clean up a number of items identified by the Coverity
static analysis tool.  Runs courtesy of Red Hat.
2012-10-16 15:05:24 -07:00