Skip to content

Commit a7bcf01

Browse files
author
Marcin Godzina
committed
[#3686] release changes
1 parent 4b66af4 commit a7bcf01

17 files changed

+184
-49
lines changed

ChangeLog

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
Kea 2.7.5 (development) released on December 11, 2024
2+
3+
2313. [doc] marcin
4+
Clarified that the FLQ allocator should not be used with shared
5+
lease database.
6+
(Gitlab #3577)
7+
8+
2312. [doc] fdupont
9+
Made clear that when a HTTP control channel is reconfigured
10+
with the same address and port the listener socket is reused
11+
so any TLS setup change is ignored.
12+
(Gitlab #3255)
13+
14+
2311. [doc] piotrek
15+
Added a more extensive definition of the tuple DHCP option
16+
type in the ARM documentation.
17+
(Gitlab #3661)
18+
19+
2310. [bug] andrei
20+
Kea servers no longer increase in memory when being reconfigured.
21+
(Gitlab #3652)
22+
123
2309. [build] mgodzina
224
The library version numbers have been bumped up for the Kea 2.7.5
325
development release.

changelog_unreleased/3255-https-reconfig

-5
This file was deleted.

changelog_unreleased/3577-flq-not-suitable-for-shared-db

-4
This file was deleted.

changelog_unreleased/3652-memory-usage-when-continually-reconfiguring-kea-with-sighup

-3
This file was deleted.

changelog_unreleased/3661-arm-update-tuple-definition

-4
This file was deleted.

doc/sphinx/grammar/grammar-ca-parser.rst

+26-2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ This grammar is generated from ``agent_parser.yy``. See :ref:`kea-ctrl-agent` fo
6060
6161
global_param ::= http_host
6262
| http_port
63+
| http_headers
6364
| trust_anchor
6465
| cert_file
6566
| key_file
@@ -88,6 +89,31 @@ This grammar is generated from ``agent_parser.yy``. See :ref:`kea-ctrl-agent` fo
8889
8990
comment ::= "comment" ":" STRING
9091
92+
http_headers ::= "http-headers" ":" "[" http_header_list "]"
93+
94+
http_header_list ::=
95+
| not_empty_http_header_list
96+
97+
not_empty_http_header_list ::= http_header
98+
| not_empty_http_header_list "," http_header
99+
| not_empty_http_header_list ","
100+
101+
http_header ::= "{" http_header_params "}"
102+
103+
http_header_params ::= http_header_param
104+
| http_header_params "," http_header_param
105+
| http_header_params ","
106+
107+
http_header_param ::= name
108+
| header_value
109+
| user_context
110+
| comment
111+
| unknown_map_entry
112+
113+
name ::= "name" ":" STRING
114+
115+
header_value ::= "value" ":" STRING
116+
91117
hooks_libraries ::= "hooks-libraries" ":" "[" hooks_libraries_list "]"
92118
93119
hooks_libraries_list ::=
@@ -217,8 +243,6 @@ This grammar is generated from ``agent_parser.yy``. See :ref:`kea-ctrl-agent` fo
217243
| comment
218244
| unknown_map_entry
219245
220-
name ::= "name" ":" STRING
221-
222246
debuglevel ::= "debuglevel" ":" INTEGER
223247
224248
severity ::= "severity" ":" STRING

doc/sphinx/grammar/grammar-dhcp4-parser.rst

+29
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
504504
| interface
505505
| id
506506
| client_class
507+
| network_client_classes
507508
| require_client_classes
508509
| evaluate_additional_classes
509510
| reservations
@@ -555,6 +556,8 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
555556
556557
client_class ::= "client-class" ":" STRING
557558
559+
network_client_classes ::= "client-classes" ":" list_strings
560+
558561
require_client_classes ::= "require-client-classes" ":" list_strings
559562
560563
evaluate_additional_classes ::= "evaluate-additional-classes" ":" list_strings
@@ -598,6 +601,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
598601
| reservations_in_subnet
599602
| reservations_out_of_pool
600603
| client_class
604+
| network_client_classes
601605
| require_client_classes
602606
| evaluate_additional_classes
603607
| valid_lifetime
@@ -747,6 +751,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
747751
| pool_id
748752
| option_data_list
749753
| client_class
754+
| network_client_classes
750755
| require_client_classes
751756
| evaluate_additional_classes
752757
| user_context
@@ -896,6 +901,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
896901
| cert_file
897902
| key_file
898903
| cert_required
904+
| http_headers
899905
| user_context
900906
| comment
901907
| unknown_map_entry
@@ -914,6 +920,29 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
914920
915921
cert_required ::= "cert-required" ":" BOOLEAN
916922
923+
http_headers ::= "http-headers" ":" "[" http_header_list "]"
924+
925+
http_header_list ::=
926+
| not_empty_http_header_list
927+
928+
not_empty_http_header_list ::= http_header
929+
| not_empty_http_header_list "," http_header
930+
| not_empty_http_header_list ","
931+
932+
http_header ::= "{" http_header_params "}"
933+
934+
http_header_params ::= http_header_param
935+
| http_header_params "," http_header_param
936+
| http_header_params ","
937+
938+
http_header_param ::= name
939+
| header_value
940+
| user_context
941+
| comment
942+
| unknown_map_entry
943+
944+
header_value ::= "value" ":" STRING
945+
917946
authentication ::= "authentication" ":" "{" auth_params "}"
918947
919948
auth_params ::= auth_param

doc/sphinx/grammar/grammar-dhcp6-parser.rst

+30
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
507507
| id
508508
| rapid_commit
509509
| client_class
510+
| network_client_classes
510511
| require_client_classes
511512
| evaluate_additional_classes
512513
| reservations
@@ -546,6 +547,8 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
546547
547548
client_class ::= "client-class" ":" STRING
548549
550+
network_client_classes ::= "client-classes" ":" list_strings
551+
549552
require_client_classes ::= "require-client-classes" ":" list_strings
550553
551554
evaluate_additional_classes ::= "evaluate-additional-classes" ":" list_strings
@@ -587,6 +590,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
587590
| reservations_in_subnet
588591
| reservations_out_of_pool
589592
| client_class
593+
| network_client_classes
590594
| require_client_classes
591595
| evaluate_additional_classes
592596
| preferred_lifetime
@@ -740,6 +744,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
740744
| pool_id
741745
| option_data_list
742746
| client_class
747+
| network_client_classes
743748
| require_client_classes
744749
| evaluate_additional_classes
745750
| user_context
@@ -777,6 +782,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
777782
| pool_id
778783
| option_data_list
779784
| client_class
785+
| network_client_classes
780786
| require_client_classes
781787
| evaluate_additional_classes
782788
| excluded_prefix
@@ -947,6 +953,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
947953
| cert_file
948954
| key_file
949955
| cert_required
956+
| http_headers
950957
| user_context
951958
| comment
952959
| unknown_map_entry
@@ -965,6 +972,29 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
965972
966973
cert_required ::= "cert-required" ":" BOOLEAN
967974
975+
http_headers ::= "http-headers" ":" "[" http_header_list "]"
976+
977+
http_header_list ::=
978+
| not_empty_http_header_list
979+
980+
not_empty_http_header_list ::= http_header
981+
| not_empty_http_header_list "," http_header
982+
| not_empty_http_header_list ","
983+
984+
http_header ::= "{" http_header_params "}"
985+
986+
http_header_params ::= http_header_param
987+
| http_header_params "," http_header_param
988+
| http_header_params ","
989+
990+
http_header_param ::= name
991+
| header_value
992+
| user_context
993+
| comment
994+
| unknown_map_entry
995+
996+
header_value ::= "value" ":" STRING
997+
968998
authentication ::= "authentication" ":" "{" auth_params "}"
969999
9701000
auth_params ::= auth_param

doc/sphinx/kea-messages.rst

+47
Original file line numberDiff line numberDiff line change
@@ -2948,6 +2948,17 @@ CTRL_AGENT_FAILED
29482948
This is a fatal error message issued when the Control Agent application
29492949
encounters an unrecoverable error from within the event loop.
29502950

2951+
CTRL_AGENT_HTTPS_SERVICE_REUSED
2952+
===============================
2953+
2954+
.. code-block:: text
2955+
2956+
reused HTTPS service bound to address %1:%2
2957+
2958+
This informational message indicates that the server has reused existing
2959+
HTTPS service on the specified address and port. Note that any change in
2960+
the TLS setup was ignored.
2961+
29512962
CTRL_AGENT_HTTPS_SERVICE_STARTED
29522963
================================
29532964

@@ -2959,6 +2970,16 @@ This informational message indicates that the server has started HTTPS service
29592970
on the specified address and port. All control commands should be sent to this
29602971
address and port over a TLS channel.
29612972

2973+
CTRL_AGENT_HTTP_SERVICE_REUSED
2974+
==============================
2975+
2976+
.. code-block:: text
2977+
2978+
reused HTTP service bound to address %1:%2
2979+
2980+
This informational message indicates that the server has reused existing
2981+
HTTPS service on the specified address and port.
2982+
29622983
CTRL_AGENT_HTTP_SERVICE_STARTED
29632984
===============================
29642985

@@ -8524,6 +8545,32 @@ DHCPSRV_CFGMGR_USE_UNICAST
85248545
An info message issued when configuring the DHCP server to listen on the unicast
85258546
address on the specific interface.
85268547

8548+
DHCPSRV_CLASS_WITH_ADDITIONAL_AND_LIFETIMES
8549+
===========================================
8550+
8551+
.. code-block:: text
8552+
8553+
class: %1 has 'only-in-additional-list' true while specifying one or more lease life time values. Life time values will be ignored.
8554+
8555+
This warning is emitted whenever a class is configured with
8556+
'only-in-addition-list' true as well as specifying one or
8557+
more lease life time parameters (e.g. 'valid-lifetime',
8558+
'preferred-lifetime', or 'offer-lifetime'). Additional list classes
8559+
are evaluated after lease assignment, thus parameters that would otherwise
8560+
impact lease life times will have no affect.
8561+
8562+
DHCPSRV_CLIENT_CLASS_DEPRECATED
8563+
===============================
8564+
8565+
.. code-block:: text
8566+
8567+
The parameter 'client-class' is deprecated. Use 'client-classes' list parameter instead
8568+
8569+
This warning message is emitted when configuration parsing detects
8570+
the use of the deprecated 'client-class' parameter. It has
8571+
been replaced by 'client-classes'. Users should migrate
8572+
to the new list parameter.
8573+
85278574
DHCPSRV_CLOSE_DB
85288575
================
85298576

src/bin/agent/location.hh

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Generated 202411151018
21
// A Bison parser, made by GNU Bison 3.8.2.
32

43
// Locations for Bison parsers in C++

src/bin/agent/tests/ca_cfg_mgr_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2016-2022 Internet Systems Consortium, Inc. ("ISC")
1+
// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
22
//
33
// This Source Code Form is subject to the terms of the Mozilla Public
44
// License, v. 2.0. If a copy of the MPL was not distributed with this

src/bin/dhcp4/dhcp4_lexer.cc

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#line 2 "dhcp4_lexer.cc"
1+
#line 1 "dhcp4_lexer.cc"
22

3-
#line 4 "dhcp4_lexer.cc"
3+
#line 3 "dhcp4_lexer.cc"
44

55
#define YY_INT_ALIGNED short int
66

@@ -2272,7 +2272,7 @@ using namespace isc::dhcp;
22722272

22732273
/* To avoid the call to exit... oops! */
22742274
#define YY_FATAL_ERROR(msg) isc::dhcp::Parser4Context::fatal(msg)
2275-
#line 2276 "dhcp4_lexer.cc"
2275+
#line 2275 "dhcp4_lexer.cc"
22762276
/* noyywrap disables automatic rewinding for the next file to parse. Since we
22772277
always parse only a single string, there's no need to do any wraps. And
22782278
using yywrap requires linking with -lfl, which provides the default yywrap
@@ -2298,8 +2298,8 @@ using namespace isc::dhcp;
22982298
by moving it ahead by yyleng bytes. yyleng specifies the length of the
22992299
currently matched token. */
23002300
#define YY_USER_ACTION driver.loc_.columns(yyleng);
2301+
#line 2301 "dhcp4_lexer.cc"
23012302
#line 2302 "dhcp4_lexer.cc"
2302-
#line 2303 "dhcp4_lexer.cc"
23032303

23042304
#define INITIAL 0
23052305
#define COMMENT 1
@@ -2627,7 +2627,7 @@ YY_DECL
26272627
}
26282628

26292629

2630-
#line 2631 "dhcp4_lexer.cc"
2630+
#line 2630 "dhcp4_lexer.cc"
26312631

26322632
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
26332633
{
@@ -5825,7 +5825,7 @@ YY_RULE_SETUP
58255825
#line 2528 "dhcp4_lexer.ll"
58265826
ECHO;
58275827
YY_BREAK
5828-
#line 5829 "dhcp4_lexer.cc"
5828+
#line 5828 "dhcp4_lexer.cc"
58295829

58305830
case YY_END_OF_BUFFER:
58315831
{

0 commit comments

Comments
 (0)