2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 01:49:35 +00:00

1347 Commits

Author SHA1 Message Date
Wlodek Wencel
41f81b5cdb generated files update 2022-11-01 15:42:57 +00:00
Thomas Markwalder
9e138021c8 [#254] Fixed memory leak in FQDN unpacking
RELNOTES
    Added a release note

common/options.c
    fqdn_universe_decode() - replace returns with
    gotos to ensure memory is freed on label length
    errors
2022-11-01 15:42:56 +00:00
Thomas Markwalder
97074fadd1 [#253] Fix reference count leak in add_option
RELNOTES
    Added release note

common/options.c
    add_option() - always dereference the looked up option

common/tests/option_unittest.c
    Added new unit test: ATF_TC_BODY(add_option_ref_cnt, tc)
2022-11-01 15:42:56 +00:00
Wlodek Wencel
33226f2d76 [#231] typo fix 2022-03-08 10:24:40 +01:00
Wlodek Wencel
bc834b2b7d [#231] 4.4.3 release changes 2022-03-08 09:37:01 +01:00
Thomas Markwalder
3d53b2f2a0 [#182] Corrected CVE: CVE-2021-25217
Addressed buffer overwrite in parse_X()

Added Release Note

common/parse.c
    parse_X() - reworked to avoid buffer overwrite on
    over-sized hex literals

common/tests/option_unittest.c
    ATF_TC_BODY(parse_X) - new test which verifies
    parse_X() logic.
2022-01-25 18:25:58 +01:00
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
9d8d2fb788 Added dhcp-options.5 entry 2020-10-12 13:57:37 +02:00
Francis Dupont
25f124c820 Added option definition 2020-10-12 13:50:46 +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
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
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
5da634c5af [#75] Updated additional setsockopt logs
modified:   common/socket.c
2020-01-14 10:09:11 -05:00
Thomas Markwalder
8834cc2e58 [#75] Addressed review comments
modified:   common/socket.c
    Added interface name to overlooked v6 log messages.
2020-01-14 10:09:11 -05:00
Thomas Markwalder
4ad524bd4d [#75] Added target interface name to socket init failure logs
modified:
    RELNOTES
    common/socket.c
2020-01-14 10:09:11 -05:00
Thomas Markwalder
3b5aab88cf [master] Pre-release tag prep for 4.4.2b1: version #, copyright etc...
Changes to be committed:
	modified:   common/tables.c
	modified:   server/ldap.c
2019-12-17 14:25:04 -05:00
Thomas Markwalder
9a2f9db55f [master] Implement and use new option format type 'k'
Merges in #68.
2019-12-17 13:59:24 -05:00
Thomas Markwalder
82e0ea5760 [master] Pre-release tag prep for 4.4.2b1: version #, copyright etc...
Changes to be committed:
	modified:   LICENSE
	modified:   README
	modified:   RELNOTES
	modified:   client/dhclient.8
	modified:   common/options.c
	modified:   configure
	modified:   configure.ac
	modified:   configure.ac+lt
	modified:   configure.ac-base
	modified:   configure.ac-lt
	modified:   keama/confparse.c
	modified:   keama/keama.8
	modified:   keama/keama.c
	modified:   keama/keama.h
	modified:   keama/options.c
	modified:   keama/parse.c
	modified:   server/dhcpd.c
	modified:   util/bind.sh
2019-12-11 12:24:01 -05:00
Thomas Markwalder
48148b595e [#28] Clarify that domain names are only resolved once
common/dhcp-options.5 - added text to ip-address value section.
2019-12-09 10:47:38 -05: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
9ef7858544 [#1,!2] Fix server interpretation of guard record results in DSMM
Added a release note

common/dns.c
    build_dsmm_fwd_add3() -  modified to add a prerequisite when
    ddns-guard-id-must-match is enabled.
2019-05-16 14:43:57 -04:00
Thomas Markwalder
cce04313d9 [master] Correct BIND9 dns API call constant
Merges in rt47757
2018-09-26 10:54:45 -04:00
Thomas Markwalder
c5931725b4 [master] Correct buffer overrun in pretty_print_option
Merges in rt47139.
2018-02-10 12:15:27 -05:00
Thomas Markwalder
197b26f253 [master] Corrected refcnt loss in option parsing
Merges in 47140.
2018-02-09 14:46:08 -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
4832901d6c [master] Removed unused variable in absolute_path()
modified:   common/print.c
2018-01-12 11:02:48 -05:00
Thomas Markwalder
db4e4aa2e4 [master] Fixed relative file name crash
Merges in rt46957
2018-01-12 10:41:37 -05:00
Francis Dupont
913ec5318c Added missing Kyuafile files 2018-01-11 15:21:05 +01:00
Francis Dupont
662483908c Finishing merge of rt46933 (Kyua) 2018-01-11 15:02:35 +01:00
Francis Dupont
35a3a3a88f [rt46933] regen 2017-12-30 16:52:24 +00:00
Francis Dupont
6b87c7f213 checkpoint for regen 2017-12-30 17:49:14 +01:00
Francis Dupont
fd21fdfe67 Removed Kyuafile files 2017-12-30 17:46:16 +01:00
Francis Dupont
e3318080ee Added Kyuafile files 2017-12-30 15:57:27 +01:00
Francis Dupont
563f0b8aef Merged rt44535 (relay port) 2017-12-23 01:18:23 +01:00
Thomas Markwalder
0e5c16614c [master] Corrects impossible condition error in the server
Merges in rt36118.
2017-12-20 06:29:06 -05: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
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
60882b8aa5 [master] Restores ability of server to return dhcp6.vendor-opts to client
Merges in rt46427.
2017-12-07 09:50:55 -05:00
Thomas Markwalder
2d542e1ecf [master] Ignore empty host name option when parsing v4 packets
Merges in rt43786
2017-11-27 13:50:02 -05:00