Marcin Siodelski
08a8b17cb6
[#796,!504] Avoid memory allocation in signal handler.
2019-09-09 11:46:18 +02:00
Thomas Markwalder
f858d9d0b6
[#821,!501] Rebased, updated ChangeLog
2019-09-06 09:31:02 -04:00
Thomas Markwalder
60baf65d0c
[#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
2019-09-06 09:29:48 -04:00
Thomas Markwalder
83d5b63334
[#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
2019-09-06 09:29:48 -04:00
Marcin Siodelski
8d8ededef9
[#755,!503] Added ChangeLog entry for #755 .
2019-09-06 12:54:03 +02:00
Marcin Siodelski
9a7a92f1e9
[#755,!503] Address outstanding review comments.
...
This checks that selected packet statistics is set to 0 before the test.
2019-09-06 12:49:09 +02:00
Marcin Siodelski
bf06ef741e
[#755,!503] Removed spurious whitespace.
2019-09-06 12:38:03 +02:00
Marcin Siodelski
bd42957457
[#755,!503] Small editorial changes in the stats.rst.
2019-09-06 12:28:29 +02:00
Marcin Siodelski
92ffc5bc80
[#755,!502] Removed duplicated test after the rebase.
2019-09-06 11:56:06 +02:00
Franciszek Gorski
3e5d57870f
[755-Kea-DHCP-servers-observations-should-be-reset] resolve threads
2019-09-06 11:34:54 +02:00
Franciszek Gorski
c331f01090
[755-Kea-DHCP-servers-observations-should-be-reset] add to AUTHORS
2019-09-06 11:34:54 +02:00
Franciszek Gorski
3a92d22727
[755-Kea-DHCP-servers-observations-should-be-reset] implement required changes to dhcp4 and dhcp6 servers
2019-09-06 11:34:54 +02:00
Franciszek Gorski
61cda1b5e1
[755-Kea-DHCP-servers-observations-should-be-reset-to-some-initial] changes to way of initial values
2019-09-06 11:34:54 +02:00
Franciszek Gorski
b56fa9d491
[755-Kea-DHCP-servers-observations-should-be-reset-to-some-initial-values-upon-restart-or-reconfiguration] add initialization of all statistisc during set up
2019-09-06 11:34:54 +02:00
Razvan Becheriu
f0238d1b6e
updated ChangeLog
2019-09-06 12:01:09 +03:00
Razvan Becheriu
9d00177413
rebased and updated ChangeLog
2019-09-06 09:31:01 +03:00
Razvan Becheriu
e5b68fb226
[#729,!434] consitency between v4 and v6 unit tests
2019-09-06 09:08:55 +03:00
Razvan Becheriu
d16cbce551
[#729,!434] fixed rebase
2019-09-06 09:08:55 +03:00
Razvan Becheriu
cfd5a7ea4f
[#729,!434] change order of functions in file
2019-09-06 09:08:55 +03:00
Razvan Becheriu
cc990f8876
[#729,!434] fixed missing commit of runtime option defs on v4
2019-09-06 09:08:55 +03:00
Tomek Mrugalski
4c71dcc491
[ #201 ] Migrated script to /bin/sh, addresses shellcheck problems
2019-09-02 08:05:05 -04:00
Michal Nowikowski
5bb6bb24cf
[#871,!497] hammer: switch from from kea-admin lease-init to db-init
2019-09-02 05:19:46 -04:00
Michal Nowikowski
50cd9d24da
[#870,!496] bumped kea version in configure.ac to 1.7.0-git
2019-09-02 10:00:13 +02:00
Francis Dupont
53bbaec735
[master] regen flex
2019-08-31 12:53:08 +00:00
Wlodek Wencel
52e5a58712
configure.ac version changed
2019-08-30 21:51:18 +02:00
Wlodek Wencel
a7b52c6f56
[v1_6_0] pre release changes
Kea-1.6.0
2019-08-26 22:27:39 +02:00
Thomas Markwalder
91f908baf3
[ #853 , !26-p] Updated ChangeLog
2019-08-26 09:40:35 -04:00
Thomas Markwalder
6665c3b6d0
Apply suggestion to doc/sphinx/arm/admin.rst
2019-08-26 09:39:05 -04:00
Thomas Markwalder
1dcd6b85ad
Apply suggestion to doc/sphinx/arm/admin.rst
2019-08-26 09:39:05 -04:00
Thomas Markwalder
2d57ebe640
[ #853 , !26-p] Updated ARM
...
doc/sphinx/arm/admin.rst
2019-08-26 09:39:05 -04:00
Thomas Markwalder
b1642240f9
[ #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.
2019-08-26 09:39:05 -04:00
Marcin Siodelski
0b167b27cf
[ #853 , !26-p] Fixed a query selecting pd pool specific options.
...
The options must be ordered by pd option id.
2019-08-26 09:39:05 -04:00
Thomas Markwalder
2777d40ed2
[ #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
2019-08-26 09:39:05 -04:00
Thomas Markwalder
52447dc880
[ #853 , !26-p] Added ChangeLog entry
2019-08-26 09:39:05 -04:00
Thomas Markwalder
de2c8708db
[ #853 , !26-p] Update MySQL CB SQL statements
...
src/hooks/dhcp/mysql_cb/mysql_query_macros_dhcp.h
Changed column names to is_array
2019-08-26 09:39:05 -04:00
Thomas Markwalder
3efe07d261
[ #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
2019-08-26 09:39:05 -04:00
Suzanne Goldlust
d4bc9ecad3
Changed hooks library name in table from user_chk to User Check to maintain consistency
2019-08-26 08:09:18 -04:00
Suzanne Goldlust
e6d3647b28
Changed duplicate reference from kea-dhcp4.options to kea-dhcp6.options
2019-08-26 08:09:18 -04:00
Razvan Becheriu
0bcf0ca9c4
[ #840 , !27-p] fixed freebsd unittests
2019-08-24 10:42:21 +03:00
Marcin Siodelski
bf962d02ef
[#851,!24-p] Added ChangeLog for #851 .
2019-08-23 15:04:58 +02:00
Tomek Mrugalski
2002087794
[#851,!24-p] Make sure we're not trying to dereference after vector end
2019-08-23 14:25:47 +02:00
Marcin Siodelski
a877be126b
[#851,!24-p] Make sure that string is null terminated after strncpy.
2019-08-22 20:40:27 +02:00
Marcin Siodelski
8e9b4b312b
[#851,!24-p] Address issue in use of strcpy.
2019-08-22 17:48:39 +02:00
Marcin Siodelski
10fe55ce89
[#851,!24-p] Avoid referencing out of bounds vector element in MySQL conn.
2019-08-22 10:29:27 +02:00
Marcin Siodelski
1c23dba39c
[#851,!24-p] Avoid referencing out of bounds element of binding array.
...
MySQL host manager issue.
2019-08-21 21:33:20 +02:00
Marcin Siodelski
ba070e7fde
[#851,!24-p] Avoid accessing out of bound vector value in DUID factory.
2019-08-21 20:59:09 +02:00
Marcin Siodelski
434ebd0811
[#851,!24-p] Avoid using empty buffer in the MySQL binding.
...
Prior to this change, the out of bound vector element would be referenced
and could lead to undefined behavior.
2019-08-21 20:33:27 +02:00
Marcin Siodelski
3e4ee74d5e
[#851,!24-p] Created unit test for MySQL binding holding empty string.
2019-08-21 17:34:01 +02:00
Marcin Siodelski
4b1d6ffc5a
[#847,!23-p] Added ChangeLog for #847 .
2019-08-20 19:54:19 +02:00
Marcin Siodelski
9e5bafd1cc
[#847,!23-p] Fixed example of the remote-option6-pd-pool-set command.
2019-08-20 18:20:55 +02:00