2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 04:47:40 +00:00

256 Commits

Author SHA1 Message Date
Wlodek Wencel
49a7fb582d copy rights update 2022-01-25 16:24:16 +01:00
Tomek Mrugalski
f6b8f48d16 [#189] Whitespace fixes in opened files 2022-01-20 12:04:28 +01:00
Tomek Mrugalski
429a56d73c [#189] ISC address updated 2022-01-20 12:04:28 +01:00
Razvan Becheriu
0c03eaefbb fixed compilation warning 2022-01-19 20:59:15 +02:00
Francis Dupont
46de3dfd99 Mixed with srandomdev() BSD code 2022-01-12 08:53:55 -05:00
Thomas Markwalder
33e517615f [#123] dhclient no longer declines on client script crashes
modified:   RELNOTES
modified:   client/dhclient.c
2022-01-12 08:29:51 -05:00
Francis Dupont
79110e525e Addressed comments 2020-12-29 16:48:04 +01:00
Francis Dupont
4b705d0d1d Added cancel timeouts 2020-10-14 16:16:16 +02:00
Francis Dupont
3354013a47 Checkpoint: code done, need tests 2020-10-13 10:15:00 +02:00
Francis Dupont
933b80fa64 Checkpoint: added start/finish v6only 2020-10-12 22:18:33 +02:00
Thomas Markwalder
6c7e61578b [#117] Fixed gcc 10 compilation issues
client/dhclient.c
relay/dhcrelay.c
    extern'ed local_port,remote_port

common/discover.c
    init local_port,remote_port to 0

server/mdb.c
    extern'ed dhcp_type_host

server/mdb6.c
    create_prefix6() - eliminated memcpy string overflow error
2020-10-07 10:41:45 +00:00
Thomas Markwalder
109fa1d093 [master] Pre-release tag prep for 4.4.2: version #, copyright etc...
Changes to be committed:
	modified:   LICENSE
	modified:   README
	modified:   RELNOTES
	modified:   client/dhclient.c
	modified:   common/discover.c
	modified:   configure
	modified:   configure.ac
	modified:   configure.ac+lt
	modified:   configure.ac-base
	modified:   configure.ac-lt
	modified:   relay/dhcrelay.c
	modified:   relay/tests/relay_unittests.c
	modified:   server/dhcpd.c
	modified:   server/failover.c
	modified:   util/bind.sh
2020-01-17 15:38:12 -05:00
Thomas Markwalder
e35c2a5242 [#64,!35] Updated copyrights in log messages 2019-11-26 07:02:32 -05:00
Thomas Markwalder
0cd94b5ef4 [#64,!35] Restored work
Restored cummulative work.
2019-11-22 13:39:45 -05:00
Thomas Markwalder
5df5813d20 [#16,!9] Addressed review comments
Added comments on #endif statements
2019-06-06 13:31:08 -04:00
Thomas Markwalder
1c779d3b51 [#16,!9] Added missing NSUPDATE compilation logic
Added a release note.

client/dhclient.c
    Only include dhclient_ddns_cb_free() if NSUPDATE is defined

includes/omapip/isclib.*
    Only inlucde isc_result_t dns_client_init() if NSUPDATE is defined
2019-05-15 09:39:26 -04:00
Thomas Markwalder
db4e4aa2e4 [master] Fixed relative file name crash
Merges in rt46957
2018-01-12 10:41:37 -05:00
Thomas Markwalder
a804fcc04a [master] Added backward incompatibility warnings to RELNOTES
Merges in rt23252a.
2018-01-05 07:09:05 -05:00
Thomas Markwalder
397599cb44 [master] Pre-release tag prep for 4.4.0b1: version #, copyright etc... 2018-01-02 14:06:31 -05:00
Thomas Markwalder
140612c8cb [master] Changes DHCLIENT_DEFAULT_PREFIX_LEN to 128, adds --address-prefix-len to dhclient cli
Merges in rt23252.
2017-12-11 09:19:54 -05:00
Thomas Markwalder
0f69ff73f0 [master] Client (-6) DECLINEs and resolicits when client script DAD check fails
Merges in rt21237
2017-12-07 06:22:06 -05:00
Thomas Markwalder
35e8688957 [master] Added lease address to DHCPv4 message logs
Merges in rt2729.
2017-12-06 09:48:59 -05:00
Thomas Markwalder
83f1dd956c [master] Corrected dhclient command line parsing of --dad-wait-time
Merges in rt46535
2017-11-27 13:30:27 -05:00
Thomas Markwalder
3e88222f1c [master] dhclient now delays between DHCPDECLINE and DHCPDISCOVER
Merges in rt45457
2017-11-27 13:12:24 -05:00
Thomas Markwalder
c0e9661e70 [master] Added --prefix-len-hint command line argument to dhclient
Merges in rt43792
2017-11-27 08:55:13 -05:00
Thomas Markwalder
c0a64ef0e4 [master] Added client_universe to dhclient
Merges in rt46616.
2017-11-27 06:52:52 -05:00
Thomas Markwalder
e39b419396 [master] Added include of isc/util.h as needed
Merges in 46332.
2017-10-19 13:21:18 -04:00
Thomas Markwalder
7512d88b9f [master] Replaced licensing text with MPL licensing text throughout 2017-07-12 09:23:23 -04:00
tmarkwalder
5c03ed373d [master] Added conditional comp flag, CALL_SCRIPT_ON_ONETRY_FAIL
Merges in rt18183a.
2017-06-28 13:25:22 -04:00
Tomek Mrugalski
27be804f88 [19430] Script handling functions documented. 2017-06-28 13:59:50 +02:00
Tomek Mrugalski
3f2eb20663 [master] Merge branch 'rt18183' (script call with fail reason and -1)
# Conflicts:
#	RELNOTES
2017-06-22 15:37:17 +02:00
Tomek Mrugalski
c788d4f8d4 [19430] dhclient now calls script with reason=FAIL even with -1 option 2017-06-21 19:22:30 +02:00
Thomas Markwalder
8c785e7941 [master] Added allocation failure error messages to two locations
Merges in rt41185.
2017-06-20 06:56:52 -04:00
Thomas Markwalder
ca22af8999 [master] Optimized if and when DNS client context and ports are initted
Merges in rt45290.
2017-06-19 14:44:29 -04:00
Marcin Siodelski
c0415c0565 [master] Updated date in copyright statement in dhclient. 2017-06-05 17:58:26 +02:00
Marcin Siodelski
a68ec96769 [master] Implemented --dad-wait-time option for dhclient.
Merged #36169
2017-06-05 15:11:22 +02:00
Thomas Markwalder
86bda88b2e [master] dhclient now writes expiry time as an unsigned long to script env
Merged rt43326.
2017-04-26 14:25:58 -04:00
Francis Dupont
68dfa9103b Addressed comments about help and version 2016-10-05 15:07:39 +02:00
Francis Dupont
29b23207c0 Daemonize sooner (code from bind9/named) (rebased) 2016-10-01 01:35:37 +02:00
Thomas Markwalder
9deef2e73e [master] Pre-release tag prep for 4.3.4b1: version #, copyright etc... 2016-03-04 16:19:27 -05:00
Thomas Markwalder
cc1bd34e09 [master] Added lease-id-format to server and client
Merges in rt26378
2016-03-04 14:16:29 -05:00
Francis Dupont
785c1a519e Merged rt35711c (DHCPv4-over-DHCPv6 support) 2016-02-23 10:40:10 +01:00
Shawn Routhier
eda1d0aa5a [master] Hnadle dhcpv6 being disabled better
The previous patches didn't handle dhvpv6 being disabled well.
    This change moves the #ifdefs a bit to handle it.
2016-01-12 12:33:26 -08:00
Shawn Routhier
b2cb745bd4 [master] Emit better error messages for command line issues
When emitting an error message due to a bad command line try to
include information about the argument that is at fault.
2016-01-06 16:32:25 -08:00
Shawn Routhier
c88dfebddd [master] Update client code to RFC7550
Update the v6 client code to handle getting
IA_NAs and IA_PDs in the same request better.

Squashed commit of the following:

commit ad1bf23100eba541c26c6c26fc2c5c9dc57dd674
Author: Shawn Routhier <sar@isc.org>
Date:   Mon Nov 16 23:08:13 2015 -0800

    [rt40190] Use dhc6_check_status for addresses and prefixes

commit 4cb1d499342e68c5c93b7e8dac71c9adbd737846
Author: Shawn Routhier <sar@isc.org>
Date:   Mon Nov 16 22:02:05 2015 -0800

    [rt40190] Correct the tests for a status code in the client

    Some of the tests for the NoAddrs or NoPrefix codes in the
    were incorrect, checking for a return of not success instead
    of success.

commit 41ad9ea4438c0f64b95ec7afeac38afd2f3b36cb
Author: Shawn Routhier <sar@isc.org>
Date:   Fri Nov 13 21:04:55 2015 -0800

    [rt40190] Update site.h to have the correct default

commit cb720dac6670e1a6cc19b22550506ded4093abef
Author: Shawn Routhier <sar@isc.org>
Date:   Fri Nov 13 21:03:38 2015 -0800

    [rt40190] update per second set of review comments

    Mostly this is a set of updates to the documentation.
    The only code change is to add a backwards compatibility
    option in includes/site.h for people who want the old weightings
    for the client lease scoring.

commit 269a5324b950062380b4e3988f56593dc21d05d9
Author: Thomas Markwalder <tmark@isc.org>
Date:   Thu Nov 12 09:00:36 2015 -0500

    [40190] Fixed another typo

commit 7da158497cd9236c30dfdce2b115818d1954839f
Author: Thomas Markwalder <tmark@isc.org>
Date:   Thu Nov 12 07:29:33 2015 -0500

    [40190] Minor cosmetics in dhc6.c

commit a010737de36e5ad2f46bb11f471ac66ccbc856aa
Author: Shawn Routhier <sar@isc.org>
Date:   Sat Nov 7 00:05:20 2015 -0800

    [rt40190] Update the use of the minimum score

    Update the use of the minimum score to use #defines instead
    of 150.  This corrects it for the current values and allows
    us to change the values if we include a backwards compatibility
    option.

commit b078575da08c06a75a49110273bf42e24d03c08a
Author: Shawn Routhier <sar@isc.org>
Date:   Fri Nov 6 21:55:05 2015 -0800

    [rt40190] Updates per review comments

    Update several comments to be more informative

    The code changes are mostly to fold all the two
    bare_ia routines together.

commit 248c498d45db5533f992fb6eb30ee6c3c399ee81
Author: Shawn Routhier <sar@isc.org>
Date:   Tue Oct 20 02:06:45 2015 -0700

    [rt40190] Fix up some typos

commit ba074eff2e82af0cfd25428e7f38bccd5fef7241
Author: Shawn Routhier <sar@isc.org>
Date:   Tue Oct 20 01:28:34 2015 -0700

    [rt40190] Patch for client side of 7550

    Finish up the code to handle multiple PDs and NAs
    in a single request, this includes updating the
    command line to add the -R option to require the
    requested IAs rather than accept the best advertised
    offer.

commit 5bb4368b8410e3c7bcdc28fdf4ae5572df04d03b
Author: Shawn Routhier <sar@isc.org>
Date:   Thu Oct 15 09:50:14 2015 -0700

    [rt40190] checkpoint my work

    The basic code is working there are still some issues with how
    corner cases get handled that I need to resolve

commit 4c0dba90fcd71c85fca3612aa5083fa11645f8f6
Author: Shawn Routhier <sar@isc.org>
Date:   Sun Oct 11 19:23:53 2015 -0700

    [rt40190] Some changes for rfc7550, to be updated

    This is being checked in so I can look at other tickets
    but I plan to re-arrange the code a fair amount.
2015-12-01 21:58:36 -08:00
Francis Dupont
7acd875396 Remerged #38692 2015-11-17 16:43:44 +01:00
Francis Dupont
bf673d217b Unmerged #38692 2015-11-17 16:36:19 +01:00
Francis Dupont
646acb59b4 Merged #38692 (use program base name in (sys)log) 2015-09-12 19:18:50 +02:00
Thomas Markwalder
6a39bcf0be [master] Fixed server crash after billing class is deleted
Merges in rt39978.
2015-07-29 08:32:50 -04:00
tmarkwalder
cca6a64801 [master] Fixed dhclient crash on lease renew when client is doing ddns
Merged in 38639.
2015-06-25 07:26:34 -04:00