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

1239 Commits

Author SHA1 Message Date
Thomas Markwalder
35b6560bd8 [master] Updated RELNOTES with LDAP contributors
Also added 1 line change to LDAP code for Marius.
2015-07-29 16:04:09 -04:00
Thomas Markwalder
743d69375c [master] LDAP: Pathces, IPv6 support, GSSAPI support
Merges in 39056.
2015-07-29 13:32:16 -04:00
Thomas Markwalder
6a39bcf0be [master] Fixed server crash after billing class is deleted
Merges in rt39978.
2015-07-29 08:32:50 -04:00
Shawn Routhier
7ef557023f [master] Relax restriction on prefix pools being within the subnet 2015-07-16 11:13:39 -07:00
Shawn Routhier
7a6c9368c9 [master] Add fchown to the paranoia patch
Add code to fchown the lease file to the paranoia patch to avoid
having issues with a file that the server can't manipulate.
2015-07-15 14:14:39 -07:00
Francis Dupont
3496e9bc0e spelling 2015-07-09 15:12:23 +02:00
Shawn Routhier
34711bb79b [master] Be more liberal when trying to find a group for a host prefix
When trying to find the group to use as a scope boundary for
a prefix from a host declaration relax the requirement that the
prefix be within a subnet.  We now look for the subnet based on
the prefix, if that fails we look for a subnet based on the host
address if it exists and if that fails we use the one from the
shared network we found for the client.
2015-06-26 13:15:59 -07:00
Thomas Markwalder
ff1b3d041a [master] Correctly handled v6 lease file entries that do not match to a pool
Merged in rt39314.
2015-06-26 15:52:46 -04:00
Shawn Routhier
46d31b510c [master] Hnadle corrupt v6 lease files better.
Stop processing a v6 lease file when encountering an EOF
while trying to read an ia structure.
2015-06-23 12:14:20 -07:00
Thomas Markwalder
e422b8c78f [master] Delayed-ack now works correctly with failover
Merges in 31474.
2015-06-15 15:19:42 -04:00
Shawn Routhier
3933e2aa51 [master] Add support for manipulating lease queues via a binary search.
Add support for manipluating the queues holding leaes for time
based events (free, backup, active, expired, abandoned and reserved)
via a binary search instead of walking through the linked list.
2015-05-27 13:17:46 -07:00
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