]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3646] release changes
authorWlodek Wencel <wlodek@isc.org>
Tue, 29 Oct 2024 11:53:12 +0000 (12:53 +0100)
committerWlodek Wencel <wlodek@isc.org>
Tue, 29 Oct 2024 11:53:12 +0000 (12:53 +0100)
69 files changed:
ChangeLog
changelog_unreleased/3390-ntp-server-option [deleted file]
changelog_unreleased/3404-option122 [deleted file]
changelog_unreleased/3552-drop-botan-without-tls [deleted file]
changelog_unreleased/3582-vendor-options-in-classes [deleted file]
changelog_unreleased/3585-relax-backend-type [deleted file]
changelog_unreleased/3588-required-no-test [deleted file]
changelog_unreleased/3590-required-precedence [deleted file]
changelog_unreleased/3605-integrate-clusterfuzzlite-libfuzzer-oss-fuzz-in-the-main-core-kea-repo [deleted file]
doc/sphinx/conf.py
doc/sphinx/debug-messages.rst
doc/sphinx/grammar/grammar-dhcp4-parser.rst
doc/sphinx/grammar/grammar-dhcp6-parser.rst
doc/sphinx/kea-messages.rst
doc/sphinx/umls.rst
src/bin/agent/parser_context.cc
src/bin/dhcp4/dhcp4_lexer.cc
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/main.cc
src/bin/dhcp4/tests/decline_unittest.cc
src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_messages.mes
src/bin/dhcp6/main.cc
src/bin/dhcp6/tests/decline_unittest.cc
src/bin/netconf/parser_context.cc
src/hooks/dhcp/mysql/mysql_cb_dhcp4.h
src/hooks/dhcp/mysql/mysql_cb_dhcp6.h
src/hooks/dhcp/mysql/mysql_cb_log.cc
src/hooks/dhcp/mysql/mysql_cb_log.h
src/hooks/dhcp/mysql/mysql_hb_log.cc
src/hooks/dhcp/mysql/mysql_hb_log.h
src/hooks/dhcp/mysql/mysql_hb_messages.mes
src/hooks/dhcp/mysql/mysql_lb_log.cc
src/hooks/dhcp/mysql/mysql_lb_log.h
src/hooks/dhcp/mysql/mysql_lb_messages.mes
src/hooks/dhcp/mysql/mysql_query_macros_dhcp.h
src/hooks/dhcp/mysql/tests/mysql_cb_dhcp4_mgr_unittest.cc
src/hooks/dhcp/mysql/tests/mysql_cb_dhcp6_mgr_unittest.cc
src/hooks/dhcp/mysql/tests/mysql_cb_impl_unittest.cc
src/hooks/dhcp/pgsql/pgsql_cb_dhcp4.h
src/hooks/dhcp/pgsql/pgsql_cb_dhcp6.h
src/hooks/dhcp/pgsql/pgsql_cb_log.cc
src/hooks/dhcp/pgsql/pgsql_cb_log.h
src/hooks/dhcp/pgsql/pgsql_hb_log.cc
src/hooks/dhcp/pgsql/pgsql_hb_log.h
src/hooks/dhcp/pgsql/pgsql_hb_messages.mes
src/hooks/dhcp/pgsql/pgsql_lb_log.cc
src/hooks/dhcp/pgsql/pgsql_lb_log.h
src/hooks/dhcp/pgsql/pgsql_lb_messages.mes
src/hooks/dhcp/pgsql/pgsql_query_macros_dhcp.h
src/hooks/dhcp/pgsql/tests/pgsql_cb_dhcp4_mgr_unittest.cc
src/hooks/dhcp/pgsql/tests/pgsql_cb_dhcp6_mgr_unittest.cc
src/hooks/dhcp/pgsql/tests/pgsql_cb_impl_unittest.cc
src/lib/asiolink/crypto_tls.h
src/lib/cc/tests/data_unittests.cc
src/lib/config_backend/base_config_backend_mgr.h
src/lib/config_backend/constants.h
src/lib/dhcp/classify.h
src/lib/dhcp/packet_queue_mgr4.h
src/lib/dhcp/packet_queue_mgr6.h
src/lib/dhcpsrv/config_backend_dhcp4_mgr.h
src/lib/dhcpsrv/config_backend_dhcp6_mgr.h
src/lib/dhcpsrv/database_backends.dox
src/lib/dhcpsrv/dhcpsrv_messages.mes
src/lib/dhcpsrv/ip_range_permutation.h
src/lib/dhcpsrv/libdhcpsrv.dox
src/lib/dhcpsrv/pool.h
src/lib/process/tests/log_parser_unittests.cc
src/lib/util/bigints.h

index e4d370d6b0e640d1e339cd85b51be36202493dcd..b1edae2a727ba8784ba9e8a93e09339886378d12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,55 @@
+Kea 2.7.4 (development) released on October 30, 2024
+
+2301.  [func]          fdupont
+       Added support of DHCPv4 "cablelab-client-conf" (122) option
+       and its associated suboptions specified by RFC 3495, 3594
+       and 3634 in the "cablelabs-client-conf" space at the
+       exception of the suboption 3.
+       (Gitlab #3404)
+
+2300.  [build, func]           andrei
+       Standalone fuzz target binaries used in fuzz testing were added
+       to the "fuzz" directory.
+       (Gitlab #3605)
+
+2299.  [func]*         fdupont
+       Required classes are now evaluated in the same order as
+       for option data, i.e. (pd-)pool, subnet and shared network.
+       Before the order was reversed but this feature was not
+       used.
+       (Gitlab #3590)
+
+2298.  [bug]           fdupont
+       Fixed a bug where Kea did not return the value of
+       vendor-encapsulated-options when redefined in a client class.
+       (Gitlab #3582)
+
+2297.  [build]*                fdupont
+       Made the Botan boost TLS support mandatory. Changed
+       the configure argument to --with-botan using
+       the Botan pkg-config library name e.g. "botan-2".
+       (Gitlab #3552)
+
+2296.  [func]*         fdupont
+       Classes included in 'require-client-classes' that do
+       not have test expressions will now be unconditionally
+       added to the client's list of matching classes.
+       Previously they were ignored.
+       (Gitlab #3388)
+
+2295.  [func]          fdupont
+       Relaxed the lease, host and config database backend types
+       in the configuration syntax. This change is introduced to
+       better handle optional backends provided in hooks, such as
+       currently available MySQL or PostgreSQL hooks.
+       (Gitlab #3585)
+
+2294.  [func]          fdupont
+       Added support of DHCPv6 "ntp-server" (56) option
+       specified by RFC 5908 and its associated suboptions
+       in the "v6-ntp-server-suboptions" space.
+       (Gitlab #3390)
+
 2293.  [build]         razvan
        The library version numbers have been bumped up for the Kea 2.7.4
        development release.
diff --git a/changelog_unreleased/3390-ntp-server-option b/changelog_unreleased/3390-ntp-server-option
deleted file mode 100644 (file)
index e8c02bc..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-[func]         fdupont
-       Added support of DHCPv6 "ntp-server" (56) option
-       specified by RFC 5908 and its associated suboptions
-       in the "v6-ntp-server-suboptions" space.
-       (Gitlab #3390)
diff --git a/changelog_unreleased/3404-option122 b/changelog_unreleased/3404-option122
deleted file mode 100644 (file)
index 99bec80..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-[func]         fdupont
-       Added support of DHCPv4 "cablelab-client-conf" (122) option
-       and its associated suboptions specified by RFC 3495, 3594
-       and 3634 in the "cablelabs-client-conf" space at the
-       exception of the suboption 3.
-       (Gitlab #3404)
diff --git a/changelog_unreleased/3552-drop-botan-without-tls b/changelog_unreleased/3552-drop-botan-without-tls
deleted file mode 100644 (file)
index 1399efc..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-[build]*               fdupont
-       Made the Botan boost TLS support mandatory. Changed
-       the configure argument to --with-botan using
-       the Botan pkg-config library name e.g. "botan-2".
-       (Gitlab #3552)
-
diff --git a/changelog_unreleased/3582-vendor-options-in-classes b/changelog_unreleased/3582-vendor-options-in-classes
deleted file mode 100644 (file)
index 7b33d08..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-[bug]          fdupont
-       Fixed a bug where Kea did not return the value of
-       vendor-encapsulated-options when redefined in a client class.
-       (Gitlab #3582)
diff --git a/changelog_unreleased/3585-relax-backend-type b/changelog_unreleased/3585-relax-backend-type
deleted file mode 100644 (file)
index b552628..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-[func]         fdupont
-       Relaxed the lease, host and config database backend types
-       in the configuration syntax. This change is introduced to
-       better handle optional backends provided in hooks, such as
-       currently available MySQL or PostgreSQL hooks.
-       (Gitlab #3585)
diff --git a/changelog_unreleased/3588-required-no-test b/changelog_unreleased/3588-required-no-test
deleted file mode 100644 (file)
index f978c8f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-[func]*                fdupont
-       Classes included in 'require-client-classes' that do
-       not have test expressions will now be unconditionally
-       added to the client's list of matching classes.
-       Previously they were ignored.
-       (Gitlab #3388)
diff --git a/changelog_unreleased/3590-required-precedence b/changelog_unreleased/3590-required-precedence
deleted file mode 100644 (file)
index c8a4782..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-[func]*                fdupont
-       Required classes are now evaluated in the same order as
-       for option data, i.e. (pd-)pool, subnet and shared network.
-       Before the order was reversed but this feature was not
-       used.
-       (Gitlab #3590)
diff --git a/changelog_unreleased/3605-integrate-clusterfuzzlite-libfuzzer-oss-fuzz-in-the-main-core-kea-repo b/changelog_unreleased/3605-integrate-clusterfuzzlite-libfuzzer-oss-fuzz-in-the-main-core-kea-repo
deleted file mode 100644 (file)
index f4073f5..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-[build, func]          andrei
-       Standalone fuzz target binaries used in fuzz testing were added
-       to the "fuzz" directory.
-       (Gitlab #3605)
index 8ebe94ca595a1224f85c317ca26fcedfa6462eb8..9d22903b3565f036cc79f9e0a9e2bd973882d3bd 100644 (file)
@@ -26,7 +26,7 @@ import api2doc  # noqa  # pylint: disable=wrong-import-position
 # -- Project information -----------------------------------------------------
 
 project = 'Kea'
-copyright = '2019-2024, Internet Systems Consortium'  # pylint: disable=redefined-builtin
+copyright = '2019-2024, Internet Systems Consortium'
 author = 'Internet Systems Consortium'
 
 # get current kea version
index 4ceac072a34d2a55efffcdf50714d944a490a840..349b6ae469b75643181a0a6f4eb37485b969ce3d 100644 (file)
@@ -163,13 +163,13 @@ Messages printed on debuglevel 40
 - DDNS_TUNING6_SKIPPING_DDNS
 - DDNS_TUNING_SUBNET_EXPRESSION_PARSE
 - DDNS_TUNING_SUBNET_EXPR_CACHED
+- DHCP4_ADDITIONAL_CLASS_NO_TEST
+- DHCP4_ADDITIONAL_CLASS_UNDEFINED
 - DHCP4_BUFFER_RECEIVED
 - DHCP4_CLASSES_ASSIGNED
 - DHCP4_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION
 - DHCP4_CLASS_ASSIGNED
 - DHCP4_CLASS_UNCONFIGURED
-- DHCP4_CLASS_UNDEFINED
-- DHCP4_CLASS_UNTESTABLE
 - DHCP4_DHCP4O6_HOOK_SUBNET4_SELECT_DROP
 - DHCP4_DHCP4O6_HOOK_SUBNET4_SELECT_SKIP
 - DHCP4_DHCP4O6_PACKET_RECEIVED
@@ -188,13 +188,13 @@ Messages printed on debuglevel 40
 - DHCP4_PACKET_QUEUE_FULL
 - DHCP4_SHUTDOWN
 - DHCP4_SHUTDOWN_REQUEST
+- DHCP6_ADDITIONAL_CLASS_NO_TEST
+- DHCP6_ADDITIONAL_CLASS_UNDEFINED
 - DHCP6_BUFFER_RECEIVED
 - DHCP6_CLASSES_ASSIGNED
 - DHCP6_CLASSES_ASSIGNED_AFTER_SUBNET_SELECTION
 - DHCP6_CLASS_ASSIGNED
 - DHCP6_CLASS_UNCONFIGURED
-- DHCP6_CLASS_UNDEFINED
-- DHCP6_CLASS_UNTESTABLE
 - DHCP6_DHCP4O6_PACKET_RECEIVED
 - DHCP6_FLEX_ID
 - DHCP6_HOOK_BUFFER_SEND_SKIP
@@ -902,6 +902,7 @@ Messages printed on debuglevel 50
 
 - ALLOC_ENGINE_V6_EXTEND_LEASE
 - ASIODNS_READ_TIMEOUT
+- DHCP4_ADDITIONAL_CLASS_EVAL_RESULT
 - DHCP4_BUFFER_UNPACK
 - DHCP4_BUFFER_WAIT_SIGNAL
 - DHCP4_CLIENTID_IGNORED_FOR_LEASES
@@ -929,10 +930,10 @@ Messages printed on debuglevel 50
 - DHCP4_RELEASE_FAIL_NO_LEASE
 - DHCP4_RELEASE_FAIL_WRONG_CLIENT
 - DHCP4_REQUEST
-- DHCP4_REQUIRED_CLASS_EVAL_RESULT
 - DHCP4_RESPONSE_HOSTNAME_GENERATE
 - DHCP4_SUBNET_SELECTION_FAILED
 - DHCP4_UNKNOWN_ADDRESS_REQUESTED
+- DHCP6_ADDITIONAL_CLASS_EVAL_RESULT
 - DHCP6_ADD_GLOBAL_STATUS_CODE
 - DHCP6_ADD_STATUS_CODE_FOR_IA
 - DHCP6_BUFFER_UNPACK
@@ -964,7 +965,6 @@ Messages printed on debuglevel 50
 - DHCP6_PROCESS_IA_PD_REQUEST
 - DHCP6_PROCESS_IA_PD_SOLICIT
 - DHCP6_RAPID_COMMIT
-- DHCP6_REQUIRED_CLASS_EVAL_RESULT
 - DHCP6_SUBNET_SELECTION_FAILED
 - DHCPSRV_DHCP_DDNS_NCR_SENT
 - DHCPSRV_EVAL_RESULT
index f2c7a45923844524c7313d5985e40338a3c046b2..256bb72138d3c227e9c8ac3b653a4ba7eef6f93e 100644 (file)
@@ -337,11 +337,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
                        | cipher_list
                        | unknown_map_entry
 
-     database_type ::= "type" ":" db_type
-
-     db_type ::= "memfile"
-            | "mysql"
-            | "postgresql"
+     database_type ::= "type" ":" STRING
 
      user ::= "user" ":" STRING
 
@@ -509,6 +505,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
                   | id
                   | client_class
                   | require_client_classes
+                  | evaluate_additional_classes
                   | reservations
                   | reservations_global
                   | reservations_in_subnet
@@ -560,6 +557,8 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
 
      require_client_classes ::= "require-client-classes" ":" list_strings
 
+     evaluate_additional_classes ::= "evaluate-additional-classes" ":" list_strings
+
      reservations_global ::= "reservations-global" ":" BOOLEAN
 
      reservations_in_subnet ::= "reservations-in-subnet" ":" BOOLEAN
@@ -600,6 +599,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
                          | reservations_out_of_pool
                          | client_class
                          | require_client_classes
+                         | evaluate_additional_classes
                          | valid_lifetime
                          | min_valid_lifetime
                          | max_valid_lifetime
@@ -707,6 +707,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
                       | option_data_never_send
                       | user_context
                       | comment
+                      | option_data_client_classes
                       | unknown_map_entry
 
      option_data_name ::= name
@@ -723,6 +724,8 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
 
      option_data_never_send ::= "never-send" ":" BOOLEAN
 
+     option_data_client_classes ::= "client-classes" ":" list_strings
+
      pools_list ::= "pools" ":" "[" pools_list_content "]"
 
      pools_list_content ::= 
@@ -745,6 +748,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
                | option_data_list
                | client_class
                | require_client_classes
+               | evaluate_additional_classes
                | user_context
                | comment
                | unknown_map_entry
@@ -840,6 +844,7 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
                        | client_class_test
                        | client_class_template_test
                        | only_if_required
+                       | only_in_additional_list
                        | option_def_list
                        | option_data_list
                        | next_server
@@ -861,6 +866,8 @@ This grammar is generated from ``dhcp4_parser.yy``. See :ref:`dhcp4` for more de
 
      only_if_required ::= "only-if-required" ":" BOOLEAN
 
+     only_in_additional_list ::= "only-in-additional-list" ":" BOOLEAN
+
      dhcp4o6_port ::= "dhcp4o6-port" ":" INTEGER
 
      control_socket ::= "control-socket" ":" "{" control_socket_params "}"
index 22d8402329b22d46ca0b5e77204216fb9ba9e49a..63c33e391a2c51976c4f14f5449c00590b3b99cb 100644 (file)
@@ -314,11 +314,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
                        | cipher_list
                        | unknown_map_entry
 
-     database_type ::= "type" ":" db_type
-
-     db_type ::= "memfile"
-            | "mysql"
-            | "postgresql"
+     database_type ::= "type" ":" STRING
 
      user ::= "user" ":" STRING
 
@@ -512,6 +508,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
                   | rapid_commit
                   | client_class
                   | require_client_classes
+                  | evaluate_additional_classes
                   | reservations
                   | reservations_global
                   | reservations_in_subnet
@@ -551,6 +548,8 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
 
      require_client_classes ::= "require-client-classes" ":" list_strings
 
+     evaluate_additional_classes ::= "evaluate-additional-classes" ":" list_strings
+
      reservations_global ::= "reservations-global" ":" BOOLEAN
 
      reservations_in_subnet ::= "reservations-in-subnet" ":" BOOLEAN
@@ -589,6 +588,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
                          | reservations_out_of_pool
                          | client_class
                          | require_client_classes
+                         | evaluate_additional_classes
                          | preferred_lifetime
                          | min_preferred_lifetime
                          | max_preferred_lifetime
@@ -700,6 +700,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
                       | option_data_never_send
                       | user_context
                       | comment
+                      | option_data_client_classes
                       | unknown_map_entry
 
      option_data_name ::= name
@@ -716,6 +717,8 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
 
      option_data_never_send ::= "never-send" ":" BOOLEAN
 
+     option_data_client_classes ::= "client-classes" ":" list_strings
+
      pools_list ::= "pools" ":" "[" pools_list_content "]"
 
      pools_list_content ::= 
@@ -738,6 +741,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
                | option_data_list
                | client_class
                | require_client_classes
+               | evaluate_additional_classes
                | user_context
                | comment
                | unknown_map_entry
@@ -774,6 +778,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
                   | option_data_list
                   | client_class
                   | require_client_classes
+                  | evaluate_additional_classes
                   | excluded_prefix
                   | excluded_prefix_len
                   | user_context
@@ -862,6 +867,7 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
                        | client_class_test
                        | client_class_template_test
                        | only_if_required
+                       | only_in_additional_list
                        | option_data_list
                        | user_context
                        | comment
@@ -881,6 +887,8 @@ This grammar is generated from ``dhcp6_parser.yy``. See :ref:`dhcp6` for more de
 
      only_if_required ::= "only-if-required" ":" BOOLEAN
 
+     only_in_additional_list ::= "only-in-additional-list" ":" BOOLEAN
+
      server_id ::= "server-id" ":" "{" server_id_params "}"
 
      server_id_params ::= server_id_param
index fd14d4e15bdc277789fe2494da70bbd132428974..12b49cfd61739538799a77e610e55df6105cc6db 100644 (file)
@@ -3623,6 +3623,52 @@ cached version.
 DHCP4
 *****
 
+DHCP4_ADDITIONAL_CLASS_EVAL_ERROR
+=================================
+
+.. code-block:: text
+
+    %1: Expression '%2' evaluated to %3
+
+This error message indicates that a problem was encountered while
+evaluating the expression of an additional client class.
+A description of the problem is printed.
+
+DHCP4_ADDITIONAL_CLASS_EVAL_RESULT
+==================================
+
+.. code-block:: text
+
+    %1: Expression '%2' evaluated to %3
+
+Logged at debug log level 50.
+This debug message indicates that the expression of an additional client class has
+been successfully evaluated. The client class name and the result value of the
+evaluation are printed.
+
+DHCP4_ADDITIONAL_CLASS_NO_TEST
+==============================
+
+.. code-block:: text
+
+    additional class %1 has no test expression, adding it to client's classes unconditionally
+
+Logged at debug log level 40.
+This debug message informs that a class was listed for additional evaluation but
+its definition does not include a test expression to evaluate. The class is
+unconditionally added to the query.
+
+DHCP4_ADDITIONAL_CLASS_UNDEFINED
+================================
+
+.. code-block:: text
+
+    additional class %1 has no definition
+
+Logged at debug log level 40.
+This debug message informs that a class is listed for additional evaluation but
+has no definition. The class is ignored.
+
 DHCP4_ALREADY_RUNNING
 =====================
 
@@ -5506,52 +5552,6 @@ about the address that the client would like to have allocated.
 If there is no hint, the argument should provide the text indicating
 that the hint hasn't been sent.
 
-DHCP4_REQUIRED_CLASS_EVAL_ERROR
-===============================
-
-.. code-block:: text
-
-    %1: Expression '%2' evaluated to %3
-
-This error message indicates that there a problem was encountered while
-evaluating an expression of a required client class that was marked as required.
-A description of the problem is printed.
-
-DHCP4_REQUIRED_CLASS_EVAL_RESULT
-================================
-
-.. code-block:: text
-
-    %1: Expression '%2' evaluated to %3
-
-Logged at debug log level 50.
-This debug message indicates that the expression of a required client class has
-been successfully evaluated. The client class name and the result value of the
-evaluation are printed.
-
-DHCP4_REQUIRED_CLASS_NO_TEST
-============================
-
-.. code-block:: text
-
-    required class %1 has no test expression, adding it to client's classes unconditionally
-
-Logged at debug log level 40.
-This debug message informs that a class was listed for required evaluation but
-its definition does not include a test expression to evaluate. The class is
-unconditionally added to the query.
-
-DHCP4_REQUIRED_CLASS_UNDEFINED
-==============================
-
-.. code-block:: text
-
-    required class %1 has no definition
-
-Logged at debug log level 40.
-This debug message informs that a class is listed for required evaluation but
-has no definition. The class is ignored.
-
 DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED
 =======================================
 
@@ -5900,6 +5900,52 @@ expected: the erroneous response is dropped, the request query is displayed.
 DHCP6
 *****
 
+DHCP6_ADDITIONAL_CLASS_EVAL_ERROR
+=================================
+
+.. code-block:: text
+
+    %1: Expression '%2' evaluated to %3
+
+This error message indicates that a problem was encountered while
+evaluating the expression of an additional client class.
+A description of the problem is printed.
+
+DHCP6_ADDITIONAL_CLASS_EVAL_RESULT
+==================================
+
+.. code-block:: text
+
+    %1: Expression '%2' evaluated to %3
+
+Logged at debug log level 50.
+This debug message indicates that the expression of an additional client class has
+been successfully evaluated. The client class name and the result value of the
+evaluation are printed.
+
+DHCP6_ADDITIONAL_CLASS_NO_TEST
+==============================
+
+.. code-block:: text
+
+    additional class %1 has no test expression, adding it to client's classes unconditionally
+
+Logged at debug log level 40.
+This debug message informs that a class was listed for additional evaluation but
+its definition does not include a test expression to evaluate. The class is
+unconditionally added to the query.
+
+DHCP6_ADDITIONAL_CLASS_UNDEFINED
+================================
+
+.. code-block:: text
+
+    additional class %1 has no definition
+
+Logged at debug log level 40.
+This debug message informs that a class is listed for additional evaluation but
+has no definition. The class is ignored.
+
 DHCP6_ADD_GLOBAL_STATUS_CODE
 ============================
 
@@ -7790,52 +7836,6 @@ client and transaction identification information. The second and third
 argument identify the prefix. The fourth and fifth argument hold the
 expected IAID and IAID found respectively.
 
-DHCP6_REQUIRED_CLASS_EVAL_ERROR
-===============================
-
-.. code-block:: text
-
-    %1: Expression '%2' evaluated to %3
-
-This error message indicates that there a problem was encountered while
-evaluating an expression of a required client class that was marked as required.
-A description of the problem is printed.
-
-DHCP6_REQUIRED_CLASS_EVAL_RESULT
-================================
-
-.. code-block:: text
-
-    %1: Expression '%2' evaluated to %3
-
-Logged at debug log level 50.
-This debug message indicates that the expression of a required client class has
-been successfully evaluated. The client class name and the result value of the
-evaluation are printed.
-
-DHCP6_REQUIRED_CLASS_NO_TEST
-============================
-
-.. code-block:: text
-
-    required class %1 has no test expression, adding it to client's classes unconditionally
-
-Logged at debug log level 40.
-This debug message informs that a class was listed for required evaluation but
-its definition does not include a test expression to evaluate. The class is
-unconditionally added to the query.
-
-DHCP6_REQUIRED_CLASS_UNDEFINED
-==============================
-
-.. code-block:: text
-
-    required class %1 has no definition
-
-Logged at debug log level 40.
-This debug message informs that a class is listed for required evaluation but
-has no definition. The class is ignored.
-
 DHCP6_REQUIRED_OPTIONS_CHECK_FAIL
 =================================
 
@@ -8648,7 +8648,7 @@ DHCPSRV_EVAL_ERROR
 
     %1: Expression '%2' evaluated to %3
 
-This error message indicates that there a problem was encountered while
+This error message indicates that a problem was encountered while
 evaluating an expression of a client class.
 A description of the problem is printed.
 
@@ -9669,6 +9669,18 @@ This warning message is issued when the current server configuration specifies
 no interfaces that the server should listen on, or when the specified interfaces are not
 configured to receive the traffic.
 
+DHCPSRV_ONLY_IF_REQUIRED_DEPRECATED
+===================================
+
+.. code-block:: text
+
+    The parameter 'only-if-required' is deprecated. Use 'only-in-additional-list' instead
+
+This warning message is emitted when configuration parsing detects
+the use of the deprecated 'only-if-required' parameter. It has
+been replaced by 'only-in-additional-list'.  Users should migrate
+to the new parameter.
+
 DHCPSRV_OPEN_SOCKET_FAIL
 ========================
 
@@ -9720,6 +9732,18 @@ reverse update is disabled for this lease or the DNS updates are disabled
 in the configuration. The first argument includes the client identification
 information. The second argument includes the leased address.
 
+DHCPSRV_REQUIRE_CLIENT_CLASSES_DEPRECATED
+=========================================
+
+.. code-block:: text
+
+    The parameter 'require-client-classes' is deprecated. Use 'evaluate-additional-classes' instead
+
+This warning message is emitted when configuration parsing detects
+the use of the deprecated 'require-client-classes' parameter. It has
+been replaced by 'evaluate-additional-classes'.  Users should migrate
+to the new parameter.
+
 DHCPSRV_SUBNET4O6_SELECT_FAILED
 ===============================
 
@@ -9837,7 +9861,7 @@ DHCPSRV_TEMPLATE_EVAL_ERROR
 
     %1: Expression '%2' evaluated to %3
 
-This error message indicates that there a problem was encountered while
+This error message indicates that a problem was encountered while
 evaluating an expression of a template client class.
 A description of the problem is printed.
 
index c31bcb4cf085934a1fff8eaa3cc064bcb0545d92..0fb695255e8dd7c45d61f4d0c242f2f63637d278 100644 (file)
@@ -1,5 +1,5 @@
 ..
-   Copyright (C) 2020-2023 Internet Systems Consortium, Inc. ("ISC")
+   Copyright (C) 2020-2024 Internet Systems Consortium, Inc. ("ISC")
 
    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
index 675fda3db67e3b89d6517eced3f8ed66be400883..d8b28bb8fc3dc2ce36f684163b7c2bbc7cb1c470 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index f0a88b70b19661990adc643a7f745902a99396d5..3b572a9ef5b6caf4893352459142bc1d564abf29 100644 (file)
@@ -1,6 +1,6 @@
-#line 2 "dhcp4_lexer.cc"
+#line 1 "dhcp4_lexer.cc"
 
-#line 4 "dhcp4_lexer.cc"
+#line 3 "dhcp4_lexer.cc"
 
 #define  YY_INT_ALIGNED short int
 
@@ -2265,7 +2265,7 @@ using namespace isc::dhcp;
 
 /* To avoid the call to exit... oops! */
 #define YY_FATAL_ERROR(msg) isc::dhcp::Parser4Context::fatal(msg)
-#line 2269 "dhcp4_lexer.cc"
+#line 2268 "dhcp4_lexer.cc"
 /* noyywrap disables automatic rewinding for the next file to parse. Since we
    always parse only a single string, there's no need to do any wraps. And
    using yywrap requires linking with -lfl, which provides the default yywrap
@@ -2291,8 +2291,8 @@ using namespace isc::dhcp;
    by moving it ahead by yyleng bytes. yyleng specifies the length of the
    currently matched token. */
 #define YY_USER_ACTION  driver.loc_.columns(yyleng);
+#line 2294 "dhcp4_lexer.cc"
 #line 2295 "dhcp4_lexer.cc"
-#line 2296 "dhcp4_lexer.cc"
 
 #define INITIAL 0
 #define COMMENT 1
@@ -2620,7 +2620,7 @@ YY_DECL
     }
 
 
-#line 2624 "dhcp4_lexer.cc"
+#line 2623 "dhcp4_lexer.cc"
 
        while ( /*CONSTCOND*/1 )                /* loops until end-of-file is reached */
                {
@@ -5788,7 +5788,7 @@ YY_RULE_SETUP
 #line 2504 "dhcp4_lexer.ll"
 ECHO;
        YY_BREAK
-#line 5792 "dhcp4_lexer.cc"
+#line 5791 "dhcp4_lexer.cc"
 
        case YY_END_OF_BUFFER:
                {
index 15f8b417f8f1ba2d4b6c7758687d2492942f066e..08aa14a56c59ae2be002bad497f04d72232a35ac 100644 (file)
@@ -6,6 +6,28 @@
 
 $NAMESPACE isc::dhcp
 
+% DHCP4_ADDITIONAL_CLASS_EVAL_ERROR %1: Expression '%2' evaluated to %3
+This error message indicates that a problem was encountered while
+evaluating the expression of an additional client class.
+A description of the problem is printed.
+
+% DHCP4_ADDITIONAL_CLASS_EVAL_RESULT %1: Expression '%2' evaluated to %3
+Logged at debug log level 50.
+This debug message indicates that the expression of an additional client class has
+been successfully evaluated. The client class name and the result value of the
+evaluation are printed.
+
+% DHCP4_ADDITIONAL_CLASS_NO_TEST additional class %1 has no test expression, adding it to client's classes unconditionally
+Logged at debug log level 40.
+This debug message informs that a class was listed for additional evaluation but
+its definition does not include a test expression to evaluate. The class is
+unconditionally added to the query.
+
+% DHCP4_ADDITIONAL_CLASS_UNDEFINED additional class %1 has no definition
+Logged at debug log level 40.
+This debug message informs that a class is listed for additional evaluation but
+has no definition. The class is ignored.
+
 % DHCP4_ALREADY_RUNNING %1 already running? %2
 This is an error message that occurs when the DHCPv4 server encounters
 a pre-existing PID file which contains the PID of a running process.
@@ -968,28 +990,6 @@ about the address that the client would like to have allocated.
 If there is no hint, the argument should provide the text indicating
 that the hint hasn't been sent.
 
-% DHCP4_ADDITIONAL_CLASS_EVAL_ERROR %1: Expression '%2' evaluated to %3
-This error message indicates that a problem was encountered while
-evaluating the expression of an additional client class.
-A description of the problem is printed.
-
-% DHCP4_ADDITIONAL_CLASS_EVAL_RESULT %1: Expression '%2' evaluated to %3
-Logged at debug log level 50.
-This debug message indicates that the expression of an additional client class has
-been successfully evaluated. The client class name and the result value of the
-evaluation are printed.
-
-% DHCP4_ADDITIONAL_CLASS_NO_TEST additional class %1 has no test expression, adding it to client's classes unconditionally
-Logged at debug log level 40.
-This debug message informs that a class was listed for additional evaluation but
-its definition does not include a test expression to evaluate. The class is
-unconditionally added to the query.
-
-% DHCP4_ADDITIONAL_CLASS_UNDEFINED additional class %1 has no definition
-Logged at debug log level 40.
-This debug message informs that a class is listed for additional evaluation but
-has no definition. The class is ignored.
-
 % DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first.
 This is a message informing that host reservations lookup is performed before
 lease lookup when multi-threading is enabled overwriting configured value.
index 7538b78f554b9a8d2055707d3fc5d23159010f91..af577ab71087707f0bccd1fc32bfb527231092c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 813a64f268371e1e182dfb9b679314db2f8234cc..2a3209b8bb1003d5ca51495ed185db81c15070c6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 9c95b2ff69ee5a412e03e8d3b7ab34fc65623791..c7229ace040e03b970c955927e6a075081b68538 100644 (file)
@@ -1,6 +1,6 @@
-#line 2 "dhcp6_lexer.cc"
+#line 1 "dhcp6_lexer.cc"
 
-#line 4 "dhcp6_lexer.cc"
+#line 3 "dhcp6_lexer.cc"
 
 #define  YY_INT_ALIGNED short int
 
@@ -2240,7 +2240,7 @@ using namespace isc::dhcp;
 
 /* To avoid the call to exit... oops! */
 #define YY_FATAL_ERROR(msg) isc::dhcp::Parser6Context::fatal(msg)
-#line 2244 "dhcp6_lexer.cc"
+#line 2243 "dhcp6_lexer.cc"
 /* noyywrap disables automatic rewinding for the next file to parse. Since we
    always parse only a single string, there's no need to do any wraps. And
    using yywrap requires linking with -lfl, which provides the default yywrap
@@ -2266,8 +2266,8 @@ using namespace isc::dhcp;
    by moving it ahead by yyleng bytes. yyleng specifies the length of the
    currently matched token. */
 #define YY_USER_ACTION  driver.loc_.columns(yyleng);
+#line 2269 "dhcp6_lexer.cc"
 #line 2270 "dhcp6_lexer.cc"
-#line 2271 "dhcp6_lexer.cc"
 
 #define INITIAL 0
 #define COMMENT 1
@@ -2597,7 +2597,7 @@ YY_DECL
     }
 
 
-#line 2601 "dhcp6_lexer.cc"
+#line 2600 "dhcp6_lexer.cc"
 
        while ( /*CONSTCOND*/1 )                /* loops until end-of-file is reached */
                {
@@ -5804,7 +5804,7 @@ YY_RULE_SETUP
 #line 2536 "dhcp6_lexer.ll"
 ECHO;
        YY_BREAK
-#line 5808 "dhcp6_lexer.cc"
+#line 5807 "dhcp6_lexer.cc"
 
        case YY_END_OF_BUFFER:
                {
index 0dedfbc3b050265b1ffd80b66193fc73f5311072..37205de87f5fed0007ed72e3a3516e98d8aa6a32 100644 (file)
@@ -15,6 +15,28 @@ kea-dhcp4 is using hook libraries (e.g. radius) that implement the
 "subnet6_select" callout and client queries are arriving faster than
 those callouts can fulfill them.
 
+% DHCP6_ADDITIONAL_CLASS_EVAL_ERROR %1: Expression '%2' evaluated to %3
+This error message indicates that a problem was encountered while
+evaluating the expression of an additional client class.
+A description of the problem is printed.
+
+% DHCP6_ADDITIONAL_CLASS_EVAL_RESULT %1: Expression '%2' evaluated to %3
+Logged at debug log level 50.
+This debug message indicates that the expression of an additional client class has
+been successfully evaluated. The client class name and the result value of the
+evaluation are printed.
+
+% DHCP6_ADDITIONAL_CLASS_NO_TEST additional class %1 has no test expression, adding it to client's classes unconditionally
+Logged at debug log level 40.
+This debug message informs that a class was listed for additional evaluation but
+its definition does not include a test expression to evaluate. The class is
+unconditionally added to the query.
+
+% DHCP6_ADDITIONAL_CLASS_UNDEFINED additional class %1 has no definition
+Logged at debug log level 40.
+This debug message informs that a class is listed for additional evaluation but
+has no definition. The class is ignored.
+
 % DHCP6_ADD_GLOBAL_STATUS_CODE %1: adding Status Code to DHCPv6 packet: %2
 Logged at debug log level 50.
 This message is logged when the server is adding the top-level
@@ -973,28 +995,6 @@ client and transaction identification information. The second and third
 argument identify the prefix. The fourth and fifth argument hold the
 expected IAID and IAID found respectively.
 
-% DHCP6_ADDITIONAL_CLASS_EVAL_ERROR %1: Expression '%2' evaluated to %3
-This error message indicates that a problem was encountered while
-evaluating the expression of an additional client class.
-A description of the problem is printed.
-
-% DHCP6_ADDITIONAL_CLASS_EVAL_RESULT %1: Expression '%2' evaluated to %3
-Logged at debug log level 50.
-This debug message indicates that the expression of an additional client class has
-been successfully evaluated. The client class name and the result value of the
-evaluation are printed.
-
-% DHCP6_ADDITIONAL_CLASS_NO_TEST additional class %1 has no test expression, adding it to client's classes unconditionally
-Logged at debug log level 40.
-This debug message informs that a class was listed for additional evaluation but
-its definition does not include a test expression to evaluate. The class is
-unconditionally added to the query.
-
-% DHCP6_ADDITIONAL_CLASS_UNDEFINED additional class %1 has no definition
-Logged at debug log level 40.
-This debug message informs that a class is listed for additional evaluation but
-has no definition. The class is ignored.
-
 % DHCP6_REQUIRED_OPTIONS_CHECK_FAIL %1: %2 message received from %3 failed the following check: %4
 Logged at debug log level 40.
 This message indicates that received DHCPv6 packet is invalid.  This may be due
index c2402ccec7e5cb4a67122bacead9f1a6b7980d25..15529c9e6094df1a7eea998bba0dbb57c81f83b7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 17e1b19b056e9a5412b42da1420ae59e36f9882e..5ae8035e475b849abb3683927d5de61d674d7a63 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 3e57c51e9fa661a66c9bb982777b65dfccd62195..c9ec050df0a198e15a9d8198ead98e3eb660dc83 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index c55504d468aa2f1c8e12ff87c02d6f07672bf6f3..782b3671508d18b34afb67f4457764e43ba83a3b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 0653997a77e47d167a3a66d8845571d449c8f868..22b9f615a7824bcba62923a33984c284be4d8f5b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 1177720d9764a915f8197b8b13592c176d4561f2..d86cb570418f3fd00f3e533cffd2beb15529fdc6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 024f30d0b9534fcfe70c8b28097a47dadd4080cb..82f4b3639c77ea1074e0093a11c2bcf9739b7fd8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 8cca192ce1ba714786610af4f57c98788f2883d4..0572cb83ec5bd4c3970292b824c1f22de6788b20 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 83f2be01bc4a1e2808215ecb631eec66a305da5a..ccbf8e58ba3a243049a1c717aa0045ed63848fd9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 7b9552c19fa4307ec9f646515d55a63b0a701dd0..affdacb785b6ada4d1b9d92b6f5d3c5fbcb83b19 100644 (file)
@@ -43,4 +43,3 @@ TLS is not used.
 Logged at debug log level 40.
 A debug message issued when a new MySQL connected is created with TLS.
 The TLS cipher name is logged.
-
index 2177df4fcdb4273e030578557e70e4a3ea26c842..dbf7a35172475905e25a9ed740ccf7a3fac8d4b4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 7e6a49d46040935f69a3882aa955b07714dbb468..868add3d532045a0ef9979da900179c230b03e5f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 00b804b9b699c4391a9a6c97f5102793fe040934..f6a3873f20d0bb32facdba83575e51ec6800d6b1 100644 (file)
@@ -6,12 +6,6 @@
 
 $NAMESPACE isc::dhcp
 
-% MYSQL_LB_DB opening MySQL lease database: %1
-This informational message is logged when a DHCP server (either V4 or
-V6) is about to open a MySQL lease database. The parameters of the
-connection including database name and username needed to access it
-(but not the password if any) are logged.
-
 % MYSQL_DEINIT_OK unloading MySQL hooks library successful
 This informational message indicates that the MySQL Backend hooks
 library has been unloaded successfully.
@@ -36,6 +30,24 @@ The code has issued a commit call. All outstanding transactions will be
 committed to the database. Note that depending on the MySQL settings,
 the commit may not include a write to disk.
 
+% MYSQL_LB_DB opening MySQL lease database: %1
+This informational message is logged when a DHCP server (either V4 or
+V6) is about to open a MySQL lease database. The parameters of the
+connection including database name and username needed to access it
+(but not the password if any) are logged.
+
+% MYSQL_LB_DB_RECONNECT_ATTEMPT_FAILED database reconnect failed: %1
+An error message issued when an attempt to reconnect has failed.
+
+% MYSQL_LB_DB_RECONNECT_ATTEMPT_SCHEDULE scheduling attempt %1 of %2 in %3 milliseconds
+An info message issued when the server is scheduling the next attempt to reconnect
+to the database. This occurs when the server has lost database connectivity and
+is attempting to reconnect automatically.
+
+% MYSQL_LB_DB_RECONNECT_FAILED maximum number of database reconnect attempts: %1, has been exhausted without success
+An error message issued when the server failed to reconnect. Loss of connectivity
+is typically a network or database server issue.
+
 % MYSQL_LB_DELETED_EXPIRED_RECLAIMED deleted %1 reclaimed leases from the database
 Logged at debug log level 50.
 A debug message issued when the server has removed a number of reclaimed
@@ -204,18 +216,6 @@ Logged at debug log level 50.
 A debug message issued when the server is about to obtain schema version
 information from the MySQL database.
 
-% MYSQL_LB_DB_RECONNECT_ATTEMPT_FAILED database reconnect failed: %1
-An error message issued when an attempt to reconnect has failed.
-
-% MYSQL_LB_DB_RECONNECT_ATTEMPT_SCHEDULE scheduling attempt %1 of %2 in %3 milliseconds
-An info message issued when the server is scheduling the next attempt to reconnect
-to the database. This occurs when the server has lost database connectivity and
-is attempting to reconnect automatically.
-
-% MYSQL_LB_DB_RECONNECT_FAILED maximum number of database reconnect attempts: %1, has been exhausted without success
-An error message issued when the server failed to reconnect. Loss of connectivity
-is typically a network or database server issue.
-
 % MYSQL_LB_NEGATIVE_LEASES_STAT recount of leases returned a negative value
 This warning message is issued when the recount of leases using counters
 in the MySQL database returned a negative value. This shows a problem
@@ -277,4 +277,3 @@ Logged at debug log level 50.
 A debug message issued when the server upgrades IPv6 lease extended info.
 The page number and started address, and the count of already updated leases
 are displayed.
-
index 11dd9c0c6da700755c628d3fc23d70e454b0fbc5..bfdd98579de391fb3e98967d337d73e030f50ee5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index fe94b556bce307972f3401b023fd78658db4676b..28107d03580937efe60b5b5389f898993f9bc253 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index fe1252f21c493872dd4aa18f667a3c50cb793808..f0e39b05646a877fe47c81a0b82ef10e6ea60eaf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index b25f04793a746cc80bc6ded1494277f6a9ed8d40..b1ff472b0ff7b83918399a6e3268f1e070b07e75 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 8e3e3e4eb2e2cd1bbc4fc0a8ba5c55a805c64083..7e0104604a238beb10fcda2961a071937fa5d90a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2021-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 9f78faca73d9e96f0ffc70483a6c54b7602b19d0..056d722bfb151bf14346f3af2e9fe0a793330cd5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2022-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 64522d9b25cbe0956a593ad520f2d2b837acb193..24bdfc6c6394a2a16306922e3c79e174fd6a7bb6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2021-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index c2db08535e502fc677b72b5c2ad2a450e2b50cf7..d468b3acba996e6d613ba4b417a4e5a97904357f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2021-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index a75061cbcda8e1679275aa65b43328cea4a4ea3b..54522a52580b2b2a6d3ed9bc89a5f7433f2844ce 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 007cc274ef7d1e8613866f7a036628ffe04cd872..2d993ee8bd8941cfc778b6bbd953c82a809ac3aa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index b3e21991a7697d3204821e6ac00f29c7ea618f4d..e9ac3d75d38d5eb6f0c6957770f77871352f80ec 100644 (file)
@@ -45,4 +45,3 @@ This informational message is printed when TLS support was required in
 the Kea configuration: The TLS support in PostgreSQL will be initialized but
 its configuration is fully managed outside the C API.
 The parameters of the connection are logged.
-
index ae3c022d60b4a3a58291f6c4ec2a136c2b52f0ea..02d9f9839f5e3f14fee9208826b8b552ce7739c0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index faf8ce3585d70d9a392b1314fd2cf7eb95b43e42..fe0d49e6f0c5afccd7b663920cb2253404d6d78b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 54037c0f147609041f33b638bfd9be870b8528ae..fd97bf14b534be58daf31a3b6439cbb003ed2f1d 100644 (file)
@@ -6,12 +6,6 @@
 
 $NAMESPACE isc::dhcp
 
-% PGSQL_LB_DB opening PostgreSQL lease database: %1
-This informational message is logged when a DHCP server (either V4 or
-V6) is about to open a PostgreSQL lease database. The parameters of the
-connection including database name and username needed to access it
-(but not the password if any) are logged.
-
 % PGSQL_DEINIT_OK unloading PostgreSQL hooks library successful
 This informational message indicates that the PostgreSQL Backend hooks
 library has been unloaded successfully.
@@ -36,6 +30,24 @@ The code has issued a commit call. All outstanding transactions will be
 committed to the database. Note that depending on the PostgreSQL settings,
 the commit may not include a write to disk.
 
+% PGSQL_LB_DB opening PostgreSQL lease database: %1
+This informational message is logged when a DHCP server (either V4 or
+V6) is about to open a PostgreSQL lease database. The parameters of the
+connection including database name and username needed to access it
+(but not the password if any) are logged.
+
+% PGSQL_LB_DB_RECONNECT_ATTEMPT_FAILED database reconnect failed: %1
+An error message issued when an attempt to reconnect has failed.
+
+% PGSQL_LB_DB_RECONNECT_ATTEMPT_SCHEDULE scheduling attempt %1 of %2 in %3 milliseconds
+An info message issued when the server is scheduling the next attempt to reconnect
+to the database. This occurs when the server has lost database connectivity and
+is attempting to reconnect automatically.
+
+% PGSQL_LB_DB_RECONNECT_FAILED maximum number of database reconnect attempts: %1, has been exhausted without success
+An error message issued when the server failed to reconnect. Loss of connectivity
+is typically a network or database server issue.
+
 % PGSQL_LB_DELETE_ADDR4 deleting lease for address %1
 Logged at debug log level 50.
 A debug message issued when the server is attempting to delete a lease for
@@ -198,18 +210,6 @@ Logged at debug log level 50.
 A debug message issued when the server is about to obtain schema version
 information from the PostgreSQL database.
 
-% PGSQL_LB_DB_RECONNECT_ATTEMPT_FAILED database reconnect failed: %1
-An error message issued when an attempt to reconnect has failed.
-
-% PGSQL_LB_DB_RECONNECT_ATTEMPT_SCHEDULE scheduling attempt %1 of %2 in %3 milliseconds
-An info message issued when the server is scheduling the next attempt to reconnect
-to the database. This occurs when the server has lost database connectivity and
-is attempting to reconnect automatically.
-
-% PGSQL_LB_DB_RECONNECT_FAILED maximum number of database reconnect attempts: %1, has been exhausted without success
-An error message issued when the server failed to reconnect. Loss of connectivity
-is typically a network or database server issue.
-
 % PGSQL_LB_NEGATIVE_LEASES_STAT recount of leases returned a negative value
 This warning message is issued when the recount of leases using counters
 in the PostgreSQL database returned a negative value. This shows a problem
@@ -273,4 +273,3 @@ Logged at debug log level 50.
 A debug message issued when the server upgrades IPv6 lease extended info.
 The page number and started address, and the count of already updated leases
 are displayed.
-
index 138addee3fa7fc3e082357c1d9d742677ee5f574..429fca0f1ee83c63108ed70a55fe9fcd4a6073f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2021-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 5eb0df57432475e983a74b5d02583ced1cd0c66f..07ef63c45fbcfa4faa653d7109d76db1f22e557e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2022-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index cb2b699b1edf021009d48fb547633fc8b2726e82..4e73fd48c7fe721e60341151bc3d7a4086c9a9b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2022-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 6e1d12e204015d0f9dcb9c4a99468dc8123547b6..d5e6ad7e0d1501af4a0222092951ec6131bb57b8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2021-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 256c476707bcb4c91718327923b9ad3917010ada..7a8979ea9dca4cae3f22844e21c0ada49e616761 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2021-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 2d69dc52ccf9913154d4a4817cd78b1700d87c3a..ac0ad4eb6f2b96d725f0c4a3546817ada94aa076 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2009-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 8fc6cfc21df9b9e0ef01d6433575aba2d9dcc34f..bc13bbec756e5db3f8ce6f0a8004bfd6eb6586b3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2021 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 1378d54fc0f5354906c4ca876fdd3fb662982daf..8a8d6ca520d8ddaf6724b270814709d4fd488833 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 91e42da980031197a2f9e3eb8bebc035de1c6453..d617952690750b6a042e6de169eed9906f269344 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 181671b63eb978035a7e68274c63f8169fe06499..4c353b5f0f5cdebed35440031cd89a8f23ce66dd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index b2fff345e16a662e496f0650cb8cbb21b8bc3e17..e86b3deda95ca1dd6e3c7932184cb471ad1a71c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 96671b44f7ffc5710ab4120ab57341802f027fd7..53ef4a2288e3558bf5164f4118212f4880346e9a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2018-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 7b99574099e496523800792dbbff156820afd0ae..b542d09936a1d19bed7c5aa81c4968544a6d1cb2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2019-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 860c8e5ccfc67ba758282490e3a0a982e63e04e0..6ef66cb9d7f94e76e12fece9e611a051f8276a16 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2022 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index e9627632fd0f85983af2d52e922b814d23498ef2..e07a05bf97b7da1a2184a87df59292dca2e62f96 100644 (file)
@@ -808,6 +808,12 @@ This warning message is issued when the current server configuration specifies
 no interfaces that the server should listen on, or when the specified interfaces are not
 configured to receive the traffic.
 
+% DHCPSRV_ONLY_IF_REQUIRED_DEPRECATED The parameter 'only-if-required' is deprecated. Use 'only-in-additional-list' instead
+This warning message is emitted when configuration parsing detects
+the use of the deprecated 'only-if-required' parameter. It has
+been replaced by 'only-in-additional-list'.  Users should migrate
+to the new parameter.
+
 % DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: %1
 A warning message issued when IfaceMgr fails to open and bind a socket.
 The reason for the failure is appended as an argument of the log message.
@@ -835,6 +841,12 @@ reverse update is disabled for this lease or the DNS updates are disabled
 in the configuration. The first argument includes the client identification
 information. The second argument includes the leased address.
 
+% DHCPSRV_REQUIRE_CLIENT_CLASSES_DEPRECATED The parameter 'require-client-classes' is deprecated. Use 'evaluate-additional-classes' instead
+This warning message is emitted when configuration parsing detects
+the use of the deprecated 'require-client-classes' parameter. It has
+been replaced by 'evaluate-additional-classes'.  Users should migrate
+to the new parameter.
+
 % DHCPSRV_SUBNET4O6_SELECT_FAILED Failed to select any subnet for the DHCPv4o6 packet
 Logged at debug log level 40.
 A debug message issued when the server was unable to select any subnet for the
@@ -945,15 +957,3 @@ included in the message.
 % DHCPSRV_UNKNOWN_DB unknown database type: %1
 The database access string specified a database type (given in the
 message) that is unknown to the software. This is a configuration error.
-
-% DHCPSRV_REQUIRE_CLIENT_CLASSES_DEPRECATED The parameter 'require-client-classes' is deprecated. Use 'evaluate-additional-classes' instead
-This warning message is emitted when configuration parsing detects
-the use of the deprecated 'require-client-classes' parameter. It has
-been replaced by 'evaluate-additional-classes'.  Users should migrate
-to the new parameter.
-
-% DHCPSRV_ONLY_IF_REQUIRED_DEPRECATED The parameter 'only-if-required' is deprecated. Use 'only-in-additional-list' instead
-This warning message is emitted when configuration parsing detects
-the use of the deprecated 'only-if-required' parameter. It has
-been replaced by 'only-in-additional-list'.  Users should migrate
-to the new parameter.
index 9bd69e860713db3bace8d62b6eb42892d9c921c6..65e59ad399e71d46d44ab3e9f11a9c3144091fb3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2020-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 423f1b680ea059737ee58bc81d87d8c500bab25e..46f03028940749c7c417ae016da96071c59d9dcc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index e85c32c9fdfaaebd2146d475885e8368c239523e..85301790c3bc4ae97ecea47af51758c52bdae99b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 448c471551abebf99625c6a0e0ee75494a4a67dc..a09c4c2fa4d706a64ba91e884a114edfea7a01d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index 227a180798d20ead5fd2dfc1b8118f81eea6e23e..f351304dff5f0ef1eb5319c745b0cce6ca5df113 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2023-2024 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this