2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 02:47:42 +00:00

1205 Commits

Author SHA1 Message Date
Thomas Markwalder
f3a44c1037 [master] Enabling dhcp-cache-threshold no longer causes unnecessary DNS updates
Merges in rt37368.
2014-11-24 07:36:13 -05:00
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
Shawn Routhier
21d3034757 [master] Patch the failover code to avoid deadlocks
Patch for 36810 & 20352
This coves several related problems
1) When the primary is in conflict done it allows the secondary to
transition around resolution interrupted and potentical conflict previously
the primary would die on an illegal state.

2) It allows the servers to restart a bind update request.  Previously if
one of the servers sent an udpate request and there died (or had the communications
interrupted) in some states the first server wouldn't retransmit a new
update request and the other server wouldn't send any bind updates. This
was noticed in potential conflict.

3) Updated the state transitions to move the leases on the ack queue
back to the update queue in case of conflict-done as we might need to
retransmit them all.

4) Updated a transition from startup to potentical conflict instead
of resolution interrupted when the servers reconnect during the startup
phase in order to avoid a diffferent dead lock.
2014-11-10 19:04:13 -08:00
Thomas Markwalder
0a7e1a8ab0 [master] Add use-host-decl-names support to BOOTP
Merges in rt36233.
2014-10-27 14:51:20 -04:00
Thomas Markwalder
e046c82621 [master] Added echo-client-id server parameter
Merges in rt35958 which includes fix for rt32545
    Also updated dhcp/.gitignore
2014-10-17 07:56:01 -04:00
Thomas Markwalder
bd49432ff4 [master] Added subnet address validation checks
Merges in rt32453.
2014-09-11 15:45:10 -04:00
Thomas Markwalder
2a537542d6 [master] Server now supports a failover split value of 256.
Merges in rt36664
2014-09-09 07:32:37 -04:00
Thomas Markwalder
e1b18c6960 [master] Added check for invalid failover message type.
Merges in rt36653
2014-09-08 16:05:23 -04:00
Thomas Markwalder
3ffc07defb [master] Addes addtional HMAC TSIG algorithms to DDNS
Merges in rt36947
2014-09-08 11:26:57 -04:00
Thomas Markwalder
3956569b0d [master] Server file names now logged after config parsing
Merges in rt36671
2014-09-08 07:45:42 -04:00
Thomas Markwalder
a07d99bbef [master] Corrects medium impact issues reported by Coverity.
Merges in rt36933
2014-08-28 08:12:30 -04:00
Thomas Markwalder
36e2c22493 [master] Corrects high impact issues reported by Coverity.
Merges in rt36712
2014-08-25 13:22:29 -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
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