2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00
Commit Graph

3847 Commits

Author SHA1 Message Date
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
a6365d17d1 [master] Update auto-generated files for 4.3.1 v4_3_1 2014-08-06 22:41:48 +00:00
Shawn Routhier
906ec9a72a [master] Updates for 4.3.1 final 2014-08-06 15:38:59 -07:00
Shawn Routhier
db72e67d3a [master] Restore #define and hack bind.sh
Resore the R_MULTIPLE #define so we have the same code
in final as we did in rc1.

Change the bind.sh file so we use 9.9.5-P1 for testing master, 4.2 and 4.3
until we do remove the #define
2014-08-06 15:01:34 -07:00
Mark Andrews
454240a87f remove legacy ISC_R_MULTIPLE define 2014-08-02 22:23:57 +10:00
Shawn Routhier
d96b2196c0 [master] Auto-generate files for 4.3.1rc1 v4_3_1rc1 2014-07-28 22:24:23 +00:00
Shawn Routhier
1ba263d0ed [master] Update version stamp for 4.3.1rc1 2014-07-28 15:19:47 -07:00
Shawn Routhier
29c6b4f102 [master] Remove unneeded rcsid and sccsid tags 2014-07-16 11:06:11 -07:00
Thomas Markwalder
7d9dd30689 [master] Squashed commit of the following:
commit d911f58de00fd97f0e041cd12bd6b43804c32f4b
Author: Shawn Routhier <sar@isc.org>
Date:   Mon Jul 7 19:20:13 2014 -0700

    [rt36102] Add release note

commit 9dd4630b0653e7f7405a633e7f0163c163d3cb9a
Author: Thomas Markwalder <tmark@isc.org>
Date:   Mon Jul 7 09:11:35 2014 -0400

    [master] Patched client scripts for linux and openwrt

    36102 - Client scripts were not updatig resolv.conf when reason is
    RENEW6 or REBIND6 and mode is stateless.  Note this only affects
    the linux and openwrt scripts as only these two flush the interface
    of "stale" addresses in PREINIT6
2014-07-08 13:14:19 -04:00
Shawn Routhier
5ade3c84ae [master] Typos from review 2014-07-07 20:08:03 -07:00
Shawn Routhier
476ae2d33f [master] Re-run auto tools for version stamp update v4_3_1b1 2014-07-02 18:13:11 +00:00
Shawn Routhier
7d1a2ce874 [master] Update version stamp for 4.3.1b1 2014-07-02 11:09:30 -07: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
9668744baa [master] Tidy up the options descriptions
correct the types for some options

add associated-ip and client-last-transaction-time for lease query
2014-06-13 22:54:48 -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
97d44aab74 [master] Add math operators and switch construct to eval 2014-06-11 21:50:08 -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
b05e05b731 [master] Address memory leak in dhclient code.
address memory leak
2014-06-10 10:30:32 -07:00
Shawn Routhier
a89fd0cd84 [master] fix typo 2014-06-05 15:03:58 -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
0ab4a71612 [master] Don't halt if we can't set the resovler
If we have an issue when trying to determine a resolver from resolv.conf
don't halt the process.  Print out a message and let the user handle it.
2014-05-20 19:35:05 -07:00
Shawn Routhier
59a351d6d5 [master] Enhance support for vlans on freebsd. 2014-05-19 14:01:20 -07:00
Shawn Routhier
8a2e40cff8 [master] When writing a client lease file use the fsync call 2014-05-19 13:22:03 -07:00
Shawn Routhier
79818c9344 [master] Add -df option to client code to help share DUIDs
Add the "-df <duid file>" option to the client code in order
to make it easier to share DUIDs between a v4 instance and
a v6 instance.  This option instructs the client to search
the duid file for a DUID if it didn't find one in the main
lease file.

In addition add the infrastructure for running ATF tests
for the client and write some ATF tests for this patch.
2014-05-16 15:24:48 -07:00
Shawn Routhier
63c8800c3c [master] update release note for dhcp-2 2014-05-13 19:22:51 -07:00
Shawn Routhier
9279a3d722 [master] Add #define for length of prefix we send to v6 client script 2014-05-08 10:58:45 -07:00
Shawn Routhier
66e40c5dd9 [master] update auto-generated files 2014-05-07 19:33:41 +00: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
02b0bdc3cf [master] Some small client changes
18933 - add an extra server by name call
26735 - when requested via a command line option
        have client exit afer 1 failure per the docs
33098 - expose next-server option to dhclient script
2014-05-07 08:20:12 -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
b6ab3f6c2a [master] Correct calculation of client timeout to include MRD
Correc the calculation of the next climet timeout period to
properly include MRD.
2014-04-30 13:21:48 -07:00
Shawn Routhier
df1280d050 [master] Continue work on 34172, remove the attempt to find the size 2014-04-29 19:39:27 -07:00
Shawn Routhier
2c4be1d73e [master] Remove unneeded RCSID tags 2014-04-29 10:16:17 -07:00
Shawn Routhier
388cba45bb [master] Remove the pre-errata code for handling no addresses available 2014-04-29 09:59:21 -07:00
Mark Andrews
8591cbb5e5 bad sizeof call
(cherry picked from commit 9f5dbfc4bd)
2014-04-29 11:23:13 +10:00
Shawn Routhier
1be2ba154d [master] Correct ordering for subnet mask and router and overload vs relay option
Conflicts:
	RELNOTES
2014-04-28 16:15:36 -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
0da37b4ca8 [master] Fix some minor issues in the dst code 2014-04-28 15:05:42 -07:00
Shawn Routhier
db3f77999c [master] Add a better warning about multiple key definitions 2014-04-28 14:52:37 -07:00
Shawn Routhier
fc48033aa1 [master] Remove an extra set of msg_controllen 2014-04-28 14:32:46 -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
57187138e0 [master] fix up the rel notes 2014-04-25 10:47:18 -07:00
Shawn Routhier
01a44a77ee [master] Update RELNOTES for 4.3.x
Compress all of the 4.2.x sectionss into a single section under
Changes since 4.2.0 (bug fixes), add the changes since 4.3.0 heading
and change the version number to 4.3.1-pre-beta.
2014-04-22 10:26:08 -07:00
Shawn Routhier
faeebc73b7 [master] Update bind.sh to include correct 4.2 info
Update bind.sh to include all the information for 4.2.
Hopefully this will make updates a bit neater - update master
and cherrypick to 4.2 as necessary.
[ISC-Bugs 33195]
2014-04-17 13:30:11 -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
629a76d5ca [master] Add comment about TAHI addresses in example dhcpv6 config 2014-03-11 15:07:49 -07:00