2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 21:38:10 +00:00

1378 Commits

Author SHA1 Message Date
Shawn Routhier
70689a73b4 [master] Leave siaddr clear when sending a NAK 2015-04-16 12:04:14 -07:00
Shawn Routhier
90a062fb20 [master] Always write the DUID to the lease file during startup 2015-04-15 19:32:26 -07:00
Shawn Routhier
da88d34bdd [master] Remove dst directory as it was replaced in 4.2.0 by Bind 2015-04-15 13:28:44 -07:00
Francis Dupont
6913a589b9 new config option: build ATF stuff from bind [#38754] 2015-04-14 12:44:29 +02:00
Thomas Markwalder
158ffa9064 [master] Fixed unused variable error introduced by 21235
server/dhcpv6.c - removed unused variable
2015-04-10 14:04:29 -04:00
Thomas Markwalder
b31fe1d552 [master] Server rejects unicast messages unless unicast option is defined
Merges in rt21235.
2015-04-10 11:06:51 -04:00
Francis Dupont
653f509b52 fixed lease table overflow crash [#38637] 2015-04-10 13:15:40 +02:00
Jeremy C. Reed
adb95d2331 fix some misspelling typos 2015-03-02 10:38:52 -06:00
Thomas Markwalder
59990751ba [master] Corrected reuse_lease debug log content
Merges in rt38686
2015-02-16 13:25:25 -05:00
Thomas Markwalder
9a111ee803 [master] ATF usage and documentation cleaned up
Merges in rt38619
2015-02-14 09:22:11 -05:00
Thomas Markwalder
112d76f60c [master] Changed doc to describe "abandoned" as a binding state not a statement
Merges in rt37501
2015-02-11 08:59:03 -05:00
Thomas Markwalder
45adf35cfc [master] Fixed broken handling of --disable-debug
Merges in rt37780.
2015-02-10 07:24:05 -05:00
Thomas Markwalder
1826d2875f [master] Updated auto-generated files for 4.3.2.pre-beta 2015-01-08 20:37:40 +00:00
Thomas Markwalder
2794167d42 [master] Updates in prep for 4.3.2.pre-beta
Updated version info, etc
2015-01-08 15:22:56 -05:00
Thomas Markwalder
f48dfdf174 [master] Fixed minor compilation complaint in server/dhcpv6 2015-01-08 14:09:59 -05:00
Thomas Markwalder
1a006ff6ed [master] Added DHCPv6 prefix-length-mode configuration parameter
Merges in rt36780.
2015-01-08 10:30:12 -05:00
Thomas Markwalder
fb98e02e12 [master] Log v6 shared network lease counts, when none available for a DUID
Merges in rt26376
2015-01-08 09:44:51 -05:00
Thomas Markwalder
001b9d5325 [master] Fix debug build broken by 38078
server/dhcpd.c -
        moved declarations of local variable in main(), used by pid file
        logic, outside of debug conditional compilation.
2014-12-18 07:34:57 -05:00
Shawn Routhier
992dc76542 [master] Move the check for another server to be earlier
[rt38078] Move the check for another server to be earlier

    Move the code that checks if there is already a server
    running to be executed earlier in the process.  This
    puts it before the server touches the database which
    should avoid problems with rewriting a database from
    under a running server.
2014-12-16 08:36:57 -08:00
Shawn Routhier
491bf4a27f [master] Don't call pool_timer recusively
Add a flag to avoid supersede_lease calling pool_timer
recursively when pool_timer can't handle that.
rt38002
2014-12-10 19:08:05 -08:00
Shawn Routhier
dd9738aaaf [master] Fix up code to process host declartions in informs
Change the stopping point for processing statements in the
host portion of the inform processing from a host option to
a subnet one.

rt35712
2014-12-10 12:16:56 -08:00
Thomas Markwalder
2775bd6212 [master] Server will move FTS_BACKUP to FTS_FREE when pool has no peer
Merges in rt36960.
2014-12-10 14:54:46 -05:00
Thomas Markwalder
7116a34fc9 [master] Replaced SERVER_ID_CHECK compile switch with runtime config parameter
Merges in rt37551.
2014-12-08 14:56:40 -05:00
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