2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 12:57:42 +00:00

963 Commits

Author SHA1 Message Date
Wlodek Wencel
f4622ec147 regenerated Makefiles for release 2022-01-25 16:33:59 +01:00
Wlodek Wencel
49a7fb582d copy rights update 2022-01-25 16:24:16 +01:00
Thomas Markwalder
9121bf6749 [#76] Added new functions to man page dhcpctl/dhcpctl.3
Also updated copyrights
2022-01-20 16:31:28 -05:00
Thomas Markwalder
7f15246697 [#76] Initial implemention to dhcpctl_timed_wait_for_completion
common/conflex.c
includes/dhctoken.h
dhcpctl/omshell.c
    Added support for "disconnect"

dhcpctl/cltest.2 - new file that exercizes timed waits and disconnect

dhcpctl/Makefile.am.in
    Added cltest2.c

dhcpctl/dhcpctl.*
    dhcpctl_timed_wait_for_completion() - new function
    dhcpctl_disconnect() - new function
    Added debug logging

omapip/dispatch.c
    Added protocol logging

    omapi_wait_for_completion()
        Fixed dangling waiter reference

    omapi_one_dispatch()
        Added logic to skip emit writefds from select list

omapip/support.c
    Changed annoying DEBUG logs to DEBUG_PROTOCOL
2022-01-20 16:30:49 -05: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
Francis Dupont
1cb76d2d23 Checkpoint before regen 2022-01-12 08:53:55 -05: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
Francis Dupont
25f124c820 Added option definition 2020-10-12 13:50:46 +02:00
Francis Dupont
812cd4a7f8 Revert last commit 2020-09-30 15:14:16 +02:00
Francis Dupont
792db388fd Added option definition 2020-09-30 14:52:40 +02:00
Thomas Markwalder
75de8eaf0f [#64,!35] Updated copyright dates
modified:
    common/discover.c
    includes/omapip/omapip_p.h
    omapip/errwarn.c
    server/stables.c
    util/Makefile.bind.in
    util/bind.sh
2019-11-25 08:53:55 -05:00
Thomas Markwalder
0cd94b5ef4 [#64,!35] Restored work
Restored cummulative work.
2019-11-22 13:39:45 -05:00
Thomas Markwalder
e119ecf6b7 [#15,!10] Addressed review comments
common/discover.c
    discover_interfaces() - replaced strncpy with memcpy

common/parse.c
    parse_warn() - added final message buffer rather than reuse mbuf,
    pass size into do_percentm call

includes/dhcpd.h
    struct interface_info  - restored size of name

includes/omapip/omapip_p.*
    do_percentm() - added output buffer size parameter

omapip/errwarn.c
    pass size of output buffer into calls to do_percentm
2019-06-12 09:57:33 -04:00
Thomas Markwalder
753d458b1f [#15,!10] Minor changes to eliminate warnings under GCC 9
added release note

common/parse.c
    parse_warn() - upped format buffer size to squelch warning

includes/dhcpd.h
    struct interface_info - bumped name size by 1 to squelch warning

relay/dhcrelay.c
    request_v4_interface() - replace strncpy with memcpy to
    squelch warning (len is already checked above it)

server/confpars.c
    parse_failover_peer() - pass token value into log_fatal
    calls rather than null pointer
2019-06-12 09:57:32 -04:00
Thomas Markwalder
ebe4f7ae42 [master] Added ping-timeout-ms parameter
Merge branch '10-make-ping-check-timeout-configurable-in-ms-thus-allowing-timeouts-1s'
2019-06-07 08:58:20 -04: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
e6eccd10a8 [#10,!6] Added ping-timeout-ms parameter
You can now use ping-timeout-ms to specify the ping
timeout value in milliseconds.

includes/dhcpd.h
    new defines: SV_PING_TIMEOUT_MS and DEFAULT_PING_TIMEOUT_MS

server/dhcp.c
    do_ping_check() - modified to calculate ping time from
    ping-timeout-ms when its > 0, otherwise use ping-timeout
    Added timeout value to debug log message

server/dhcpd.conf.5
    Added discussion of ping-timeout-ms

server/stables.c
    Added entry for ping-timeout-ms
2019-05-01 15:55:11 -04:00
Francis Dupont
479b929321 Solved conflict 2018-11-29 15:51:59 +01:00
Thomas Markwalder
a5b21e16ff [master] Added configuration parameter, ping-cltt-secs (v4 operation only)
Merges in rt36283.
2018-09-26 11:10:16 -04:00
Thomas Markwalder
8194daabfd [master] Added includes of new BIND9 compatibility headers, updated util/bind.sh
Merges in rt48072.
2018-09-14 13:41:41 -04:00
Thomas Markwalder
6826003be8 [master] Correct delayed-ack 0 prohibiting active lease updates to lease file
Merges in 47141.
2018-02-09 09:19:54 -05:00
Thomas Markwalder
075a2f45da [master] Pre-release tag prep for 4.4.0: version #, copyright etc... 2018-01-26 14:01:57 -05:00
Thomas Markwalder
efd3b1e291 [master] Includes DHCP4 option definitions for RFCs 4578,5071, and 5859
Merges in 47062
2018-01-26 13:09:57 -05:00
Thomas Markwalder
db4e4aa2e4 [master] Fixed relative file name crash
Merges in rt46957
2018-01-12 10:41:37 -05:00
Francis Dupont
35a3a3a88f [rt46933] regen 2017-12-30 16:52:24 +00:00
Francis Dupont
563f0b8aef Merged rt44535 (relay port) 2017-12-23 01:18:23 +01:00
Francis Dupont
a2a0f98c21 Added local-address6 2017-12-19 21:02:51 +01:00
Thomas Markwalder
f1208e796d [master] dhcpd (-6) now supports update-static-leases
Merges in rt34097.
2017-12-19 13:29:32 -05:00
Thomas Markwalder
bafa7b74c4 [master] Added --release-on-roam server parameter
Merges in 46849.
2017-12-18 14:00:46 -05:00
Thomas Markwalder
4406f9b05d [master] delayed-ack is now compiled in by default
Merges in rt42444.
2017-12-13 13:55:57 -05:00
Thomas Markwalder
437756f711 [master] Pre-release tag prep for 4.4.0a1: version #, copyright etc...
Changes to be committed:
	modified:   README
	modified:   RELNOTES
	modified:   configure.ac
	modified:   includes/heap.h
	modified:   includes/t_api.h
	modified:   util/bind.sh
2017-12-11 11:47:03 -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
c2e5ee2882 [master] Adds persist-eui-64-leases config parameter and support
Merges in rt45046.
2017-12-11 07:45:10 -05:00
Thomas Markwalder
e6ffc27f24 [master] Adds key-algorithm statement to omshell
Merges in rt46771.
2017-12-11 07:19:43 -05:00
Thomas Markwalder
905c58b9ca [master] Adds DDNS Dual Stack Mixed Mode
Merges in rt42620.
2017-12-08 11:56:10 -05:00
Thomas Markwalder
bbdac71d26 [master] server (-6) now supports dhcp-cache-threshold
Merges in rt45292.
2017-12-07 10:48:06 -05:00
Thomas Markwalder
b4e157d82c [master] Replaced --enable-secs-btyeorder with run-time parameter
Merges in rt45364
2017-12-07 06:46:13 -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
d60573340f [master] dhcpd -T now writes leases to temp file
Merges in rt22267.
2017-12-06 15:25:56 -05:00
Thomas Markwalder
abacf8ad0d [master] Use 0 instead of -1 to indicate empty heap index
Merges in rt46719.
2017-12-01 09:13:26 -05:00
Thomas Markwalder
549956f488 [45364] Updated auto-generated files
modified:   configure
	modified:   includes/config.h.in
2017-11-29 14:00:37 +00:00
Thomas Markwalder
3059324199 [45364] Replaced --enable-secs-byteorder with runtime check-secs-byte-order
configure.ac
   removed --enable-secs-byteorder support

includes/dhcpd.h
    added SV_CHECK_SECS_BYTE_ORDER

includes/failover.h
    added extern int check_secs_byte_order

server/dhcpd.c
    postconf_initialization() - added logic to
    set check_secs_byte_order

server/failover.c
    load_balance_mine() - replaced conditional comp
    directives with runtime test of check_secs_byte_order

Added release note and updated man page.
2017-11-29 07:51:50 -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
Francis Dupont
ebe51f89cc Merged rt44950 (MA compat) 2017-11-23 17:17:42 +01:00
Thomas Markwalder
7512d88b9f [master] Replaced licensing text with MPL licensing text throughout 2017-07-12 09:23:23 -04:00
Thomas Markwalder
b3e6fd5176 [master] Removed obsolete includes/isc-dhcp and its only occupant, dst.h
Merges in rt45541.
2017-07-12 08:56:37 -04:00
Thomas Markwalder
30afd7dbfa [master] Removed obsolete source directory minires.
Merges in rt45471.
2017-06-29 08:50:56 -04:00