| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Everything except parsers, UTs to test
deprecation, and doc.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
/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
|
|
|
|
|
|
|
|
|
| |
/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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|