summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [#3587] Bulk of the code changesThomas Markwalder2024-10-2825-299/+344
| | | | | Everything except parsers, UTs to test deprecation, and doc.
* [#3605] fixed fuzz on BSD-like systemsRazvan Becheriu2024-10-241-2/+1
|
* [#3605] Integrate a new fuzzing solution in KeaAndrei Pavel2024-10-236-52/+73
| | | | | | | | | | The solution is based on clusterfuzzlite, libfuzzer, and oss-fuzz technologies. - Add the .clusterfuzzlite directory. - Add the fuzz CI stage and fuzzing CI jobs. - Add the fuzzing targets in the fuzz directory. - Document fuzzing in doxygen.
* [#3605] Remove extra semisAndrei Pavel2024-10-2323-59/+59
|
* [#3605] Prepare existing code for fuzzingAndrei Pavel2024-10-236-77/+82
| | | | | | | | | | | | | | - Separate ENABLE_AFL into ENABLE_FUZZING and HAVE_AFL. - Add the --disable-unicode flag required in the oss-fuzz container. - Add checking of support for C++17. - Make Kea compile with afl++. - Rotate ports in `getServerPort()` functions under an env var. - Fix some destruction issues that would result in crashes when fuzzing. - Add some checks in the UnixControlClient that prevent some crashes when fuzzing. - Add `isc::util::isSocket()` function. - Change `isc::util::file::Path` to not append a trailing slash to allow chained calls of `parentPath()`. - Add `isc::util::file::TemporaryDirectory` useful when fuzzing.
* [#3582] Extended option-data toElementFrancis Dupont2024-10-234-5/+87
|
* [#3583] Addressred review commentsThomas Markwalder2024-10-157-17/+37
| | | | | | | | | | | | | | | | | | | modified: doc/sphinx/arm/classify.rst src/bin/dhcp4/dhcp4_srv.cc src/bin/dhcp4/tests/config_parser_unittest.cc src/bin/dhcp6/tests/config_parser_unittest.cc src/hooks/dhcp/mysql/mysql_cb_dhcp4.cc src/lib/dhcp/classify.cc src/lib/dhcp/classify.h src/lib/dhcp/tests/classify_unittest.cc src/lib/dhcpsrv/cfg_option.cc src/lib/dhcpsrv/cfg_option.h src/lib/dhcpsrv/parsers/option_data_parser.cc src/lib/dhcpsrv/parsers/simple_parser4.cc src/lib/dhcpsrv/parsers/simple_parser6.cc src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc src/lib/dhcpsrv/testutils/generic_backend_unittest.cc
* [#3583] MySQL CB V6 supports option class taggingThomas Markwalder2024-10-152-96/+27
| | | | | | | | | | /src/hooks/dhcp/mysql_cb/mysql_cb_dhcp6.cc /src/hooks/dhcp/mysql_cb/mysql_query_macros_dhcp.h /src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc /src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc Add classes to test options, change how test options are added to preserve client_classes and user_context
* [#3583] MySQL CB V4 supports option class taggingThomas Markwalder2024-10-151-4/+5
| | | | | | | | | /src/hooks/dhcp/mysql_cb/mysql_cb_dhcp4.cc /src/hooks/dhcp/mysql_cb/mysql_cb_impl.cc /src/hooks/dhcp/mysql_cb/mysql_cb_impl.h /src/hooks/dhcp/mysql_cb/mysql_query_macros_dhcp.h /src/lib/config_backend/constants.h /src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc
* [#3583] kea-dhcp4 now supports option class taggingThomas Markwalder2024-10-153-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /src/bin/dhcp4/dhcp4_srv.cc Dhcpv4Srv::appendServerID() - modified to use the standard option defintion when appending a generated server id. Dhcpv4Srv::appendRequestedOptions() Dhcpv4Srv::appendRequestedVendorOptions() Dhcpv4Srv::appendBasicOptions() - modified to OptionDescriptor::allowedForClientClasses() /src/bin/dhcp4/tests/classify_unittest.cc TEST_F(ClassifyTest, requestedOptionClassTagTest) TEST_F(ClassifyTest, vendorOptionClassTagTest) TEST_F(ClassifyTest, vivcoOptionClassTagTest) TEST_F(ClassifyTest, vivsoOptionClassTagTest) TEST_F(ClassifyTest, basicOptionClassTagTest) - new tests /src/bin/dhcp4/tests/dhcp4_srv_unittest.cc TEST_F(Dhcpv4SrvTest, appendServerID) - updated test /src/bin/dhcp4/tests/dhcp4_test_utils.* Dhcpv4SrvTest::checkServerIdentifier() - new function /src/lib/dhcpsrv/cfg_option.* OptionDescriptor::allowedForClientClasses() - new function /src/lib/dhcpsrv/tests/cfg_option_unittest.cc TEST(OptionDescriptorTest, allowedForClientClassesTest) - new test
* [#3583] Added client-class to OptionDescriptorThomas Markwalder2024-10-157-29/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | option-data.client-classes can be parsed and stored in OptionDescriptor. /src/bin/dhcp4/dhcp4_lexer.ll /src/bin/dhcp4/dhcp4_parser.yy /src/bin/dhcp6/dhcp6_lexer.ll /src/bin/dhcp6/dhcp6_parser.yy /src/lib/dhcp/classify.* Added ClientClasses copy and equality operators /src/lib/dhcp/tests/classify_unittest.cc Udpated unit tests /src/lib/dhcpsrv/cfg_option.cc Added OptionDecription::client_classes_ and supporting funcs /src/lib/dhcpsrv/parsers/option_data_parser.cc OptionDataParser::createOption() - modified to parse 'client-classes' /src/lib/dhcpsrv/parsers/simple_parser4.cc Added 'client-classes' to OPTION4_PARAMETERS /src/lib/dhcpsrv/parsers/simple_parser6.cc Added 'client-classes' to OPTION6_PARAMETERS /src/lib/dhcpsrv/tests/cfg_option_unittest.cc Updated tests /src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc TEST_F(ParseConfigTest, optionDataClientClasses4) TEST_F(ParseConfigTest, optionDataClientClasses6) TEST_F(ParseConfigTest, optionDataClientClassesEmpty4) TEST_F(ParseConfigTest, optionDataClientClassesEmpty6) - new tests
* [#3586] updated documentationRazvan Becheriu2024-10-094-10/+15
|
* [#3536] fix check-messagesRazvan Becheriu2024-10-032-18/+18
|
* [#3536] addressed review commentsRazvan Becheriu2024-10-031-12/+40
|
* [#3536] moved log messages and loggersRazvan Becheriu2024-10-034-863/+15
|
* [#3536] refactor getDBVersionsRazvan Becheriu2024-10-036-24/+35
|
* [#3536] addressed commentsRazvan Becheriu2024-10-031-1/+5
|
* [#3536] wrap long linesRazvan Becheriu2024-10-031-1/+3
|
* [#3536] remove InitializerRazvan Becheriu2024-10-034-12/+18
|
* [#3536] implement getDBVersionRazvan Becheriu2024-10-039-36/+148
|
* [#3536] enable unittestsRazvan Becheriu2024-10-037-4/+70
|
* [#3536] remove HAVE_MYSQL and HAVE_PGSQLRazvan Becheriu2024-10-035-68/+1
|
* [#3536] added hook calloutsRazvan Becheriu2024-10-033-38/+0
|
* [#3599] release changesKea-2.7.3Marcin Godzina2024-09-2311-24/+24
|
* [#3597] bump up library versions for 2.7.3 releaseRazvan Becheriu2024-09-201-1/+1
|
* [#3506] Checkpoint: renamed get/set ControlSocketInfoFrancis Dupont2024-09-202-3/+3
|
* [#3536] moved lease and host backendsRazvan Becheriu2024-09-1620-7492/+11
|
* [#3536] move lease and host backendsRazvan Becheriu2024-09-169-19685/+0
|
* [#3419] SpellingFrancis Dupont2024-09-164-6/+6
|
* [#3419] Added a DB test modeFrancis Dupont2024-09-164-0/+18
|
* [#3536] addressed review commentsRazvan Becheriu2024-09-111-6/+9
|
* [#3536] addressed review commentsRazvan Becheriu2024-09-117-28/+34
|
* [#3536] implemented register and deregister in lease mgr factoryRazvan Becheriu2024-09-1112-33/+393
|
* [#3504] fix Kea not being able to find exec paths in custom sbindirAndrei Pavel2024-09-091-1/+1
|
* [#1387] Addressed commentsFrancis Dupont2024-09-043-12/+21
|
* [#1387] Added unit testsFrancis Dupont2024-09-047-22/+180
|
* [#1387] Checkpoint: fixesFrancis Dupont2024-09-041-63/+66
|
* [#1387] Checkpoint: database host codeFrancis Dupont2024-09-042-47/+180
|
* [#1387] Checkpoint: added PDExclude UTsFrancis Dupont2024-09-043-92/+338
|
* [#1387] Checkpoint: added PPexcludeFrancis Dupont2024-09-045-19/+151
|
* [#3549] bump up library versions for 2.7.2 releaseRazvan Becheriu2024-08-261-1/+1
|
* [#1945] log EVAL_RESULT messages only at debug levelAndrei Pavel2024-08-224-22/+41
| | | | | | - Split the 15 occurrences of EVAL_RESULT into one message for each log call in code. - Log all these messages only on debug level 50. - Remove bad practice `catch (...)` and the message logged on that if-branch.
* [#3502] Additional updatesFrancis Dupont2024-08-211-1/+1
|
* [#3502] Updated misc UTsFrancis Dupont2024-08-211-1/+1
|
* [#3477] Typos (Razvan's proposals)Francis Dupont2024-08-011-4/+4
|
* [#3477] Introduced a new config classFrancis Dupont2024-08-013-9/+12
|
* [#3477] Moved to control-socketsFrancis Dupont2024-08-016-35/+86
|
* [#3477] Checkpoint before regenFrancis Dupont2024-08-011-0/+1
|
* [#3477] Updated dhcp4 syntaxFrancis Dupont2024-08-011-0/+1
|
* [#3520] release changesKea-2.7.1Wlodek Wencel2024-07-293-3/+3
|