]>
git.ipfire.org Git - thirdparty/kea.git/log
Stephen Morris [Tue, 6 Aug 2019 13:01:25 +0000 (14:01 +0100)]
[#640,!351] Implemented consistent nameing convention for example fuzzing seed packets
Stephen Morris [Tue, 6 Aug 2019 10:58:16 +0000 (11:58 +0100)]
[#640,!351] Make code changes suggested by review
Stephen Morris [Tue, 6 Aug 2019 10:20:16 +0000 (11:20 +0100)]
[#640,!351] Fix errors in documentation and comments identified by review
Stephen Morris [Thu, 4 Jul 2019 09:58:14 +0000 (10:58 +0100)]
[#640,!351] Add developer documentation
Add a doxygen file describing the fuzzing - how to build and
run it, and a brief description of the changes made to the code.
Stephen Morris [Wed, 31 Jul 2019 14:36:20 +0000 (15:36 +0100)]
[#640,!351] Add example packet files for DHCPv4
Stephen Morris [Tue, 2 Jul 2019 17:20:57 +0000 (18:20 +0100)]
[#640,!351] Backout changes to environment variable names
It makes more sense to keep Kea fuzzing divorced from the
ISC fuzzing framework.
Stephen Morris [Tue, 2 Jul 2019 14:34:30 +0000 (15:34 +0100)]
[#640,!351] Access port from value given on the command line
The "-p" command-line switch (a debug option) tells Kea what port
to listen on. This is easily accessible by the Fuzz object, so
get the port from this instead of an environment variable (which
had to be equal to the value given to the -p switch anyway.)
Stephen Morris [Mon, 1 Jul 2019 12:14:32 +0000 (13:14 +0100)]
[#640,!351] Drastic simplification
Instead of using a separate thread to read input from the fuzzer,
the input is now read in the main thread and transferred to the
interface on which Kea is expecting it to appear.
Stephen Morris [Tue, 25 Jun 2019 19:15:10 +0000 (20:15 +0100)]
[#640,!351] Restrict size of data that will be sent to Kea
Kea will only accept up to about 64k or data (set by the size of a UDP
datagram). However, AFL can send much larger data packets, which may cause
problems in synchronization between the two threads used to implement
fuzzing in Kea.
Stephen Morris [Tue, 25 Jun 2019 16:18:25 +0000 (17:18 +0100)]
[#640,!351] Don't log EOF received from AFL
There seemed to be a lot of them and they were just filling up the log.
Stephen Morris [Tue, 25 Jun 2019 15:36:12 +0000 (16:36 +0100)]
[#640,!351] Correct naming of member variables
Ensure that all member variable names are now suffixed with an underscore.
Stephen Morris [Sun, 16 Jun 2019 17:14:01 +0000 (18:14 +0100)]
[#640,!351] Change names of fuzzing environment variables
The variables are now named FUZZ_AFL_ to match those in the ISC fuzz
testing framework.
Stephen Morris [Thu, 13 Jun 2019 13:14:36 +0000 (14:14 +0100)]
[#640,!351] Add the generated fuzz message .h and .cc files to git
Stephen Morris [Thu, 13 Jun 2019 13:13:54 +0000 (14:13 +0100)]
[#640,!351] Move from a static class to an instance class
Stephen Morris [Thu, 13 Jun 2019 09:56:57 +0000 (10:56 +0100)]
[#640,!351] Extended fuzzing to kea-dhcp4.
Stephen Morris [Wed, 12 Jun 2019 17:30:52 +0000 (18:30 +0100)]
[#640,!351] Fuzzing dhcp6 with a physical interface is now working.
Stephen Morris [Wed, 12 Jun 2019 13:35:07 +0000 (14:35 +0100)]
[#640,!351] Fixed problem in synchronization between threads.
Stephen Morris [Wed, 12 Jun 2019 09:22:02 +0000 (10:22 +0100)]
[#640,!351] Convert fuzzing code to C++ class
Also add logging via Kea logging subsystem.
Stephen Morris [Wed, 29 May 2019 08:54:07 +0000 (09:54 +0100)]
[#640,!351] Move the fuzzing files to a common directory.
The files will be modified to support the fuzzing of both the DHCPv4
and DHCPv6 servers.
Mukund Sivaraman [Mon, 20 Mar 2017 23:45:25 +0000 (16:45 -0700)]
Fix fuzzing
Tomek Mrugalski [Wed, 23 Nov 2016 12:24:30 +0000 (13:24 +0100)]
[expriments/fuzz] Added timestamps in logs, gentle shutdown support
Tomek Mrugalski [Mon, 21 Nov 2016 12:30:43 +0000 (13:30 +0100)]
[expriments/fuzz] Doc updated.
Tomek Mrugalski [Mon, 21 Nov 2016 12:22:58 +0000 (13:22 +0100)]
[experiments/fuzz] Documentation updated.
Tomek Mrugalski [Mon, 21 Nov 2016 11:10:23 +0000 (12:10 +0100)]
[experiments/fuzz] Debug message added.
Tomek Mrugalski [Mon, 21 Nov 2016 11:05:43 +0000 (12:05 +0100)]
[experiments/fuzz] Several seed packets added.
Tomek Mrugalski [Mon, 21 Nov 2016 10:55:32 +0000 (11:55 +0100)]
[experiments/fuzz] A sketchy documentation added.
Tomek Mrugalski [Mon, 21 Nov 2016 10:53:04 +0000 (11:53 +0100)]
[experiments/fuzz] Initiall fuzzing code added for Kea6
Michal Nowikowski [Tue, 1 Oct 2019 04:12:53 +0000 (06:12 +0200)]
hammer: fixed ccache for alpine
Michal Nowikowski [Mon, 30 Sep 2019 09:13:02 +0000 (11:13 +0200)]
hammer: fixed missing variable repository_url
Michal Nowikowski [Thu, 26 Sep 2019 13:20:05 +0000 (15:20 +0200)]
[hammer] added support for building kea on alpine and producing apk packages
Francis Dupont [Fri, 27 Sep 2019 09:09:30 +0000 (11:09 +0200)]
[907-remove-kea-thread-library] Added ChangeLog entry for util thread final removal
Francis Dupont [Fri, 27 Sep 2019 09:05:01 +0000 (11:05 +0200)]
[907-remove-kea-thread-library] Fixed typo left by a previous MR review
Francis Dupont [Thu, 26 Sep 2019 13:12:04 +0000 (15:12 +0200)]
[907-remove-kea-thread-library] Addressed comments
Francis Dupont [Sat, 21 Sep 2019 12:55:05 +0000 (14:55 +0200)]
[907-remove-kea-thread-library] Finished netconf
Francis Dupont [Sat, 21 Sep 2019 06:52:27 +0000 (08:52 +0200)]
[907-remove-kea-thread-library] Checkpoint (todo finish netconf)
Francis Dupont [Fri, 27 Sep 2019 08:29:13 +0000 (10:29 +0200)]
[918-check-c-11-thread-support-in-configure] Added ChangeLog entry for thread & co checks
Francis Dupont [Thu, 26 Sep 2019 12:48:56 +0000 (14:48 +0200)]
[918-check-c-11-thread-support-in-configure] Added check for condition variable
Francis Dupont [Mon, 23 Sep 2019 09:56:15 +0000 (11:56 +0200)]
[918-check-c-11-thread-support-in-configure] Ran tabify
Francis Dupont [Sat, 21 Sep 2019 13:50:29 +0000 (15:50 +0200)]
[918-check-c-11-thread-support-in-configure] Added checks for C++11 thread, mutex and atomic
Thomas Markwalder [Thu, 26 Sep 2019 13:34:26 +0000 (09:34 -0400)]
[#917,!518] Updated ChangeLog
Thomas Markwalder [Thu, 26 Sep 2019 13:31:54 +0000 (09:31 -0400)]
[#917,!518] Fixed links in new ARM note.
doc/sphinx/arm/config-backend.rst
Thomas Markwalder [Thu, 26 Sep 2019 13:08:13 +0000 (09:08 -0400)]
[#917,!518] Added ChangeLog entry
Thomas Markwalder [Fri, 20 Sep 2019 14:03:24 +0000 (10:03 -0400)]
[#917,!518] Added note in ARM about manually admining cb data
doc/sphinx/arm/config-backend.rst
Michal Nowikowski [Thu, 26 Sep 2019 11:27:55 +0000 (13:27 +0200)]
bumped kea version to 1.7.1
Franciszek [Mon, 23 Sep 2019 15:10:45 +0000 (17:10 +0200)]
[915_time_unit_of_duration_parameter_is_not_defined] define time unit of `duration` parameter
Vicky Risk [Tue, 24 Sep 2019 17:44:17 +0000 (13:44 -0400)]
Update CONTRIBUTING.md - remove references to Jenkins
Thomas Markwalder [Tue, 24 Sep 2019 17:19:47 +0000 (13:19 -0400)]
[#924,!526] Updated ChangeLog entry
Thomas Markwalder [Tue, 24 Sep 2019 15:39:17 +0000 (11:39 -0400)]
[#924,!526] Added ChangeLog entry
Thomas Markwalder [Tue, 24 Sep 2019 15:04:42 +0000 (11:04 -0400)]
[#924,!526] Bumped library version numbers for 1.7.0
Michal Nowikowski [Mon, 23 Sep 2019 13:12:26 +0000 (15:12 +0200)]
updated ChangeLog and copyright dates
Michal Nowikowski [Mon, 23 Sep 2019 13:05:32 +0000 (15:05 +0200)]
ARM: updated list of supported systems
Francis Dupont [Fri, 20 Sep 2019 14:47:04 +0000 (16:47 +0200)]
[master] Fixed typo
Francis Dupont [Fri, 20 Sep 2019 06:38:27 +0000 (08:38 +0200)]
[914-move-to-c-11-thread-library-in-core-library-code] Addressed a comment
Francis Dupont [Thu, 19 Sep 2019 14:18:15 +0000 (16:18 +0200)]
[914-move-to-c-11-thread-library-in-core-library-code] Upgraded thread/mutex code in the core library to C++11
Francis Dupont [Wed, 18 Sep 2019 13:52:03 +0000 (15:52 +0200)]
[168-config-manager-clear-does-not-clear-the-d2-client-config-full-clear] Fixed unit tests using previous CfgMgr clear() behavior
Francis Dupont [Wed, 18 Sep 2019 13:22:23 +0000 (15:22 +0200)]
[168-config-manager-clear-does-not-clear-the-d2-client-config-full-clear] Changed CfgMgr clear() to reset D2ClientConfig
Razvan Becheriu [Thu, 19 Sep 2019 12:00:44 +0000 (15:00 +0300)]
[#766, !449] updated ChangeLog
Razvan Becheriu [Thu, 1 Aug 2019 09:42:00 +0000 (12:42 +0300)]
[#766, !449] addressed gitlab ci indications
Razvan Becheriu [Thu, 1 Aug 2019 08:48:55 +0000 (11:48 +0300)]
[#766, !449] detect sysrepo version
Michal Nowikowski [Tue, 17 Sep 2019 10:23:22 +0000 (12:23 +0200)]
[hammer] updated freeradius-client isc version in dependencies
Francis Dupont [Fri, 13 Sep 2019 14:10:26 +0000 (16:10 +0200)]
[345-drop-botan-1-x-support] Added ChangeLog entry for Botan 1.x support removal
Francis Dupont [Mon, 2 Sep 2019 12:41:14 +0000 (14:41 +0200)]
[345-drop-botan-1-x-support] Removed Botan 1.x support
Marcin Siodelski [Mon, 9 Sep 2019 13:37:11 +0000 (15:37 +0200)]
[#796,!504] Added ChangeLog entry for #796.
Marcin Siodelski [Mon, 9 Sep 2019 09:21:01 +0000 (11:21 +0200)]
[#796,!504] Avoid memory allocation in signal handler.
Thomas Markwalder [Fri, 6 Sep 2019 13:31:02 +0000 (09:31 -0400)]
[#821,!501] Rebased, updated ChangeLog
Thomas Markwalder [Fri, 6 Sep 2019 13:27:22 +0000 (09:27 -0400)]
[#821,!501] Addressed review comments
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
Cleaned up failure text
src/lib/testutils/gtest_utils.h
Replaced array with vector
Thomas Markwalder [Wed, 4 Sep 2019 15:38:07 +0000 (11:38 -0400)]
[#821,!501] kea-dhcp4 now sanity checks inbound messages
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processRequest()
Dhcpv4Srv::processRelease()
Dhcpv4Srv::processDecline()
Dhcpv4Srv::processInform() - now all call sanityCheck()
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
TEST_F(Dhcpv4SrvTest, sanityCheckDiscover)
TEST_F(Dhcpv4SrvTest, sanityCheckRequest)
TEST_F(Dhcpv4SrvTest, sanityCheckDecline)
TEST_F(Dhcpv4SrvTest, sanityCheckRelease)
TEST_F(Dhcpv4SrvTest, sanityCheckInform) - new tests
src/lib/testutils/gtest_utils.h
New file with handy new test macros:
EXPECT_THROW_MSG()
ASSERT_THROW_MSG()
src/lib/testutils/Makefile.am
Added new file gtest_utils.h
Added a ChangeLog entry
Marcin Siodelski [Fri, 6 Sep 2019 10:54:03 +0000 (12:54 +0200)]
[#755,!503] Added ChangeLog entry for #755.
Marcin Siodelski [Fri, 6 Sep 2019 10:49:09 +0000 (12:49 +0200)]
[#755,!503] Address outstanding review comments.
This checks that selected packet statistics is set to 0 before the test.
Marcin Siodelski [Fri, 6 Sep 2019 10:38:03 +0000 (12:38 +0200)]
[#755,!503] Removed spurious whitespace.
Marcin Siodelski [Fri, 6 Sep 2019 10:28:29 +0000 (12:28 +0200)]
[#755,!503] Small editorial changes in the stats.rst.
Marcin Siodelski [Fri, 6 Sep 2019 09:56:06 +0000 (11:56 +0200)]
[#755,!502] Removed duplicated test after the rebase.
Franciszek Gorski [Thu, 5 Sep 2019 15:24:45 +0000 (17:24 +0200)]
[755-Kea-DHCP-servers-observations-should-be-reset] resolve threads
Franciszek Gorski [Thu, 5 Sep 2019 07:45:31 +0000 (09:45 +0200)]
[755-Kea-DHCP-servers-observations-should-be-reset] add to AUTHORS
Franciszek Gorski [Thu, 5 Sep 2019 07:35:19 +0000 (09:35 +0200)]
[755-Kea-DHCP-servers-observations-should-be-reset] implement required changes to dhcp4 and dhcp6 servers
Franciszek Gorski [Wed, 4 Sep 2019 12:49:33 +0000 (14:49 +0200)]
[755-Kea-DHCP-servers-observations-should-be-reset-to-some-initial] changes to way of initial values
Franciszek Gorski [Mon, 26 Aug 2019 09:54:48 +0000 (11:54 +0200)]
[755-Kea-DHCP-servers-observations-should-be-reset-to-some-initial-values-upon-restart-or-reconfiguration] add initialization of all statistisc during set up
Razvan Becheriu [Fri, 6 Sep 2019 09:01:09 +0000 (12:01 +0300)]
updated ChangeLog
Razvan Becheriu [Fri, 6 Sep 2019 06:31:01 +0000 (09:31 +0300)]
rebased and updated ChangeLog
Razvan Becheriu [Tue, 6 Aug 2019 20:24:17 +0000 (23:24 +0300)]
[#729,!434] consitency between v4 and v6 unit tests
Razvan Becheriu [Tue, 6 Aug 2019 17:27:21 +0000 (20:27 +0300)]
[#729,!434] fixed rebase
Razvan Becheriu [Wed, 24 Jul 2019 05:48:19 +0000 (08:48 +0300)]
[#729,!434] change order of functions in file
Razvan Becheriu [Tue, 23 Jul 2019 16:51:33 +0000 (19:51 +0300)]
[#729,!434] fixed missing commit of runtime option defs on v4
Tomek Mrugalski [Thu, 8 Aug 2019 14:45:17 +0000 (16:45 +0200)]
[#201] Migrated script to /bin/sh, addresses shellcheck problems
Michal Nowikowski [Fri, 30 Aug 2019 15:13:04 +0000 (17:13 +0200)]
[#871,!497] hammer: switch from from kea-admin lease-init to db-init
Michal Nowikowski [Fri, 30 Aug 2019 15:08:59 +0000 (17:08 +0200)]
[#870,!496] bumped kea version in configure.ac to 1.7.0-git
Francis Dupont [Sat, 31 Aug 2019 12:53:08 +0000 (12:53 +0000)]
[master] regen flex
Wlodek Wencel [Fri, 30 Aug 2019 19:51:18 +0000 (21:51 +0200)]
configure.ac version changed
Wlodek Wencel [Mon, 26 Aug 2019 20:27:39 +0000 (22:27 +0200)]
[v1_6_0] pre release changes
Thomas Markwalder [Mon, 26 Aug 2019 13:40:35 +0000 (09:40 -0400)]
[#853, !26-p] Updated ChangeLog
Thomas Markwalder [Mon, 26 Aug 2019 13:26:56 +0000 (09:26 -0400)]
Apply suggestion to doc/sphinx/arm/admin.rst
Thomas Markwalder [Mon, 26 Aug 2019 13:26:53 +0000 (09:26 -0400)]
Apply suggestion to doc/sphinx/arm/admin.rst
Thomas Markwalder [Mon, 26 Aug 2019 12:55:03 +0000 (08:55 -0400)]
[#853, !26-p] Updated ARM
doc/sphinx/arm/admin.rst
Thomas Markwalder [Mon, 26 Aug 2019 11:54:10 +0000 (07:54 -0400)]
[#853, !26-p] Addressed review comments
src/bin/admin/kea-admin.in
Fixed printfs
mysql_can_create() - removed logic to
skip test based on MySQL version.
Marcin Siodelski [Mon, 26 Aug 2019 10:06:03 +0000 (12:06 +0200)]
[#853, !26-p] Fixed a query selecting pd pool specific options.
The options must be ordered by pd option id.
Thomas Markwalder [Sun, 25 Aug 2019 19:23:35 +0000 (15:23 -0400)]
[#853, !26-p] Added user permissions check to kea-admin
src/bin/admin/kea-admin.in
mysql_can_create() - new function to verify user's ability
to create functions
mysql_init()
mysql_upgrade() - modified to call mysql_can_create
Thomas Markwalder [Fri, 23 Aug 2019 16:08:26 +0000 (12:08 -0400)]
[#853, !26-p] Added ChangeLog entry
Thomas Markwalder [Fri, 23 Aug 2019 14:45:02 +0000 (10:45 -0400)]
[#853, !26-p] Update MySQL CB SQL statements
src/hooks/dhcp/mysql_cb/mysql_query_macros_dhcp.h
Changed column names to is_array
Thomas Markwalder [Fri, 23 Aug 2019 14:11:57 +0000 (10:11 -0400)]
[#853, !26-p] Update schema scripts and tests
src/bin/admin/tests/mysql_tests.sh.in
Updated expected column names
Added check of column names for 8.0 to 8.2 upgrade
src/share/database/scripts/mysql/dhcpdb_create.mysql
Changed array column to is_array in dhcp4/6_option_def tables
src/share/database/scripts/mysql/dhcpdb_drop.mysql
Added missing drops for createOptionAuditDHCP4/6
src/share/database/scripts/mysql/upgrade_6.0_to_7.0.sh.in
Changed array column to is_array in dhcp4/6_option_def tables
src/share/database/scripts/mysql/upgrade_8.1_to_8.2.sh.in
Added logic to conditionally change column names
Suzanne Goldlust [Thu, 22 Aug 2019 16:35:51 +0000 (12:35 -0400)]
Changed hooks library name in table from user_chk to User Check to maintain consistency