]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Wed, 14 Mar 2018 00:50:52 +0000 (00:50 +0000)]
[master] Merge branch 'trac5484' (Cassandra docs update)
Tomek Mrugalski [Wed, 14 Mar 2018 00:46:45 +0000 (00:46 +0000)]
[5484] Changes after review:
- unit-test improvements
- examples changes to tcp-keepalive 1200 seconds
Thomas Markwalder [Tue, 13 Mar 2018 13:01:32 +0000 (09:01 -0400)]
[master] Fixed db_lost_callback default to NULL build issue
Replaced = NULL with = 0 in dhcpsrv header files altered for 5477.
Francis Dupont [Fri, 9 Mar 2018 21:24:31 +0000 (21:24 +0000)]
[5484] regen flex/bison
Francis Dupont [Fri, 9 Mar 2018 21:22:54 +0000 (22:22 +0100)]
[5484] Updated copyrith years
Francis Dupont [Fri, 9 Mar 2018 21:18:20 +0000 (22:18 +0100)]
[5484] Adding missing
Tomek Mrugalski [Wed, 7 Mar 2018 12:55:13 +0000 (13:55 +0100)]
[5484] cql_config description updated.
Tomek Mrugalski [Wed, 7 Mar 2018 12:50:50 +0000 (13:50 +0100)]
[5484] Bison grammar regenerated.
Tomek Mrugalski [Wed, 7 Mar 2018 12:50:04 +0000 (13:50 +0100)]
[5484] Documentation updated.
Tomek Mrugalski [Wed, 7 Mar 2018 12:48:41 +0000 (13:48 +0100)]
[5484] Grammar updated to handle new Cassandra parameters
Tomek Mrugalski [Mon, 12 Mar 2018 19:07:38 +0000 (19:07 +0000)]
[master] ChangeLog, AUTHORS updated after github70 merge.
Tomek Mrugalski [Mon, 12 Mar 2018 19:03:44 +0000 (19:03 +0000)]
[github70] Minor hwaddr test tweak.
Tomek Mrugalski [Mon, 12 Mar 2018 18:02:29 +0000 (18:02 +0000)]
[master] Merge branch 'github70' (missing CQL backend features)
- host delete
- user-contexts
- DHCPv4 fixed fields
- also PostgreSQL now stores hwaddr type and hwaddr source
# Conflicts:
# src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
Tomek Mrugalski [Mon, 12 Mar 2018 17:52:22 +0000 (17:52 +0000)]
[github70] Changes after review:
- comments added
- line wraps tweaked a bit
Francis Dupont [Sat, 10 Mar 2018 16:57:29 +0000 (17:57 +0100)]
[master] LOG_ERROR -> DB_LOG_ERROR
Francis Dupont [Sat, 10 Mar 2018 16:52:28 +0000 (17:52 +0100)]
[master] LOG_ERROR -> DB_LOG_ERROR
Thomas Markwalder [Fri, 9 Mar 2018 15:54:00 +0000 (10:54 -0500)]
[master] Added ChangeLog entry 1373 for #5551
Thomas Markwalder [Fri, 9 Mar 2018 15:51:31 +0000 (10:51 -0500)]
[master] kea-dhcp4/6 now attempt to process packets with bad vendor options
Merge branch 'trac5551'
Marcin Siodelski [Fri, 9 Mar 2018 09:17:56 +0000 (10:17 +0100)]
[5551] Fixed some minor errors in commentrary.
Thomas Markwalder [Thu, 8 Mar 2018 20:19:43 +0000 (15:19 -0500)]
[master] Added ChangeLog entry 1372 for #5477
Thomas Markwalder [Thu, 8 Mar 2018 20:16:42 +0000 (15:16 -0500)]
[master] kea-dhcp4/6 now support Postgresql automatic reconnect
Merges branch 'trac5477'
Thomas Markwalder [Thu, 8 Mar 2018 19:40:56 +0000 (14:40 -0500)]
[5477] Addressed further review comments
src/lib/dhcpsrv/tests/database_connection_unittest.cc
Fixed compiler complaint in unit test.
Marcin Siodelski [Thu, 8 Mar 2018 19:14:32 +0000 (20:14 +0100)]
[5477] Fixed some weird american spelling in database unit tests.
Thomas Markwalder [Thu, 8 Mar 2018 11:47:05 +0000 (06:47 -0500)]
[master] Fixed build error under FreeBSD in unit test code
src/bin/dhcp4/tests/get_config_unittest.cc
added "std::" to to_string invocation
Francis Dupont [Thu, 8 Mar 2018 08:58:58 +0000 (09:58 +0100)]
[master] Fixed spelling and doxygen
Thomas Markwalder [Wed, 7 Mar 2018 16:10:34 +0000 (11:10 -0500)]
[5477] Addressed review comments
src/bin/dhcp4/ctrl_dhcp4_srv.*
src/bin/dhcp6/ctrl_dhcp6_srv.*
Changed dbReconnect() to accept ReconnectCtlPtr
Added commentary for dbReconnect and dbLostCallback
src/lib/dhcpsrv/database_connection.h
Removed extraneous typedef
many files:
Changed DatabaseConnection::Callback to ::DbLostCallback
src/lib/dhcpsrv/tests/database_connection_unittest.cc
Added commentary to text fixture and tests
Marcin Siodelski [Wed, 7 Mar 2018 10:16:36 +0000 (11:16 +0100)]
[master] Added ChangeLog entry for #5466.
Marcin Siodelski [Wed, 7 Mar 2018 10:12:45 +0000 (11:12 +0100)]
[master] Merge branch 'trac5466'
Marcin Siodelski [Wed, 7 Mar 2018 09:47:01 +0000 (10:47 +0100)]
[5466] Addressed review comments.
Changes in lease parsing from JSON - moved validation of IP address and
HW address to derived classes.
Marcin Siodelski [Tue, 6 Mar 2018 18:20:57 +0000 (19:20 +0100)]
[master] Added ChangeLog entry for #5457.
Marcin Siodelski [Tue, 6 Mar 2018 18:19:19 +0000 (19:19 +0100)]
[master] Merge branch 'trac5457'
# Conflicts:
# src/bin/dhcp4/tests/callout_library_1.cc
# src/bin/dhcp4/tests/callout_library_2.cc
Francis Dupont [Tue, 6 Mar 2018 15:59:27 +0000 (16:59 +0100)]
[master] Updated git tag
Francis Dupont [Tue, 6 Mar 2018 15:58:46 +0000 (16:58 +0100)]
[master] Finishing merge of trac5513 (feed JSON does not handle strings)
Francis Dupont [Tue, 6 Mar 2018 15:55:18 +0000 (16:55 +0100)]
[master] Merged trac5513 (feed JSON does not handle strings)
Thomas Markwalder [Tue, 6 Mar 2018 15:00:45 +0000 (10:00 -0500)]
[5551] Addressed review comments
Added commentary, updated sub-options unpacking,
and added support for skip logic to kea-dhcp6.
src/lib/dhcp/option.h
Added detail to SkipRemainingOptionsError commentary
src/lib/dhcp/libdhcp++.cc
LibDHCP::unpackVendorOptions4()
LibDHCP::unpackVendorOptions6()
src/lib/dhcp/tests/pkt4_unittest.cc
TEST_F(Pkt4Test, unpackVendorMalformed) - updated for
new exception type
TEST_F(Pkt4Test, truncatedVendorLength) - removed
extraneous byte streams
src/lib/dhcp/tests/pkt6_unittest.cc
TEST_F(Pkt6Test, unpackVendorMalformed) - updated for
new exception type
TEST_F(Pkt6Test, truncatedVendorLength) - new test for
truncated vendor options
src/lib/dhcp/tests/pkt_captures.h
src/lib/dhcp/tests/pkt_captures.cc
isc::dhcp::Pkt6Ptr captureSolicitWithVIVSO()
isc::dhcp::Pkt6Ptr captureSolicitWithTruncatedVIVSO() -
new captured packets
src/bin/dhcp6/dhcp6_messages.mes
DHCP6_PACKET_OPTIONS_SKIPPED - new log message
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processPacket() - added explicit catch of
SkipRemainingOptionsError to allow processing the packet
src/bin/dhcp6/tests/dhcp6_srv_unittest.cc
TEST_F(Dhcpv6SrvTest, truncatedVIVSO) - new test to verify
server's ability to handle SkipRemainingOptionsError
Thomas Markwalder [Mon, 5 Mar 2018 20:04:28 +0000 (15:04 -0500)]
[master] Added ChangeLog entry 1368 for 5522.
Thomas Markwalder [Mon, 5 Mar 2018 20:01:29 +0000 (15:01 -0500)]
[master] subnet_id column types now consistent in schemas
Merges in branch 'trac5522'
Tomek Mrugalski [Mon, 5 Mar 2018 13:56:47 +0000 (14:56 +0100)]
Merge branch 'cassandra_improvements' of https://github.com/razvan-becheriu/kea into github70
Marcin Siodelski [Fri, 2 Mar 2018 19:59:58 +0000 (20:59 +0100)]
[master] Added ChangeLog entry for #5437.
Marcin Siodelski [Fri, 2 Mar 2018 19:30:29 +0000 (20:30 +0100)]
[master] Merge branch 'trac5437'
Marcin Siodelski [Fri, 2 Mar 2018 19:29:13 +0000 (20:29 +0100)]
[5437] Added a todo requested in review.
Marcin Siodelski [Fri, 2 Mar 2018 17:03:50 +0000 (18:03 +0100)]
[5477] Corrected some typos and updated copyrights as a result of review.
Tomek Mrugalski [Fri, 2 Mar 2018 15:06:13 +0000 (16:06 +0100)]
[5437] Changes after review
- some comments added
- unit-tests renamed
- using C++11 syntax to simplify things.
Marcin Siodelski [Fri, 2 Mar 2018 09:15:38 +0000 (10:15 +0100)]
[5522] Removed accidentally inserted character.
Marcin Siodelski [Fri, 2 Mar 2018 09:03:47 +0000 (10:03 +0100)]
[5522] Removed whitespace errors in a couple of files.
Marcin Siodelski [Thu, 1 Mar 2018 17:14:37 +0000 (18:14 +0100)]
[5551] Added missing dot.
Thomas Markwalder [Thu, 1 Mar 2018 15:41:29 +0000 (10:41 -0500)]
[master] Added ChangeLog entry 1366 for 5553.
Thomas Markwalder [Thu, 1 Mar 2018 15:39:27 +0000 (10:39 -0500)]
[master] kea-dhcp4 explicitly logs packets without option 53
Merges in branch 'trac5553'
Thomas Markwalder [Thu, 1 Mar 2018 15:13:16 +0000 (10:13 -0500)]
[5553] Removed a debug cout
Francis Dupont [Thu, 1 Mar 2018 15:07:37 +0000 (16:07 +0100)]
[master] Merged trac3745 (cross compiling)
Thomas Markwalder [Thu, 1 Mar 2018 15:06:46 +0000 (10:06 -0500)]
[5553] Addressed review comments
Adjusted for addition DHCP types, changed log
message to INFO level.
Francis Dupont [Thu, 1 Mar 2018 14:40:51 +0000 (15:40 +0100)]
[master] Cosmetic fixes in ChangeLog references
Thomas Markwalder [Thu, 1 Mar 2018 13:25:51 +0000 (08:25 -0500)]
[5477] kea-dhcp6 now supports db reconnect
kea-dhcp6
added support for max-reconnect-tries and reconnect-wait-time
to lease and host db parsers
Added a callback for when DB backends detect loss of connectivity
Added a self-rescheduling method to attempt to reconnect to the
backends if retries are enabled
dhcpsrv
PgSqlConnection::checkStatementError() - Modified "fatal" logic
to throw after invoking db_lost_callback.
Misc. cleanup
Thomas Markwalder [Wed, 28 Feb 2018 20:29:23 +0000 (15:29 -0500)]
[5477] dhcpsrv/postgres and kea-dhcp4 now support db reconnect
kea-dhcp4
added support for max-reconnect-tries and reconnect-wait-time
to lease and host db parsers
Added a callback for when DB backends detect loss of connectivity
Added a self-rescheduling method to attempt to reconnect to the
backends if retries are enabled
dhcpsrv
Added a callback that DatabaseConnection derivations should invoke
when they lose connectivity.
Added an optional callback parameter from CfgDbAccess::createManagers()
all the way down to DatabaseConnection ctor.
pgsql_connection.cc
PgSqlConnection::~PgSqlConnection() - Added logic to close the
connection only when the connect state is still OK.
Otherwise it likes to core dump.
PgSqlConnection::checkStatementError() - Modified to invoke the
connectivity lost callback on "fatal" errors
pgsql_lease_mgr_unittest.cc
pgsql_host_data_source_unittest.cc
Added tests to verify that the lost callback is NOT invoked on an
open failure
Marcin Siodelski [Wed, 28 Feb 2018 10:24:51 +0000 (11:24 +0100)]
[5437] Optimize lease searches for a DHCPv6 client.
Razvan Becheriu [Wed, 28 Feb 2018 09:37:22 +0000 (11:37 +0200)]
fixed merge
Razvan Becheriu [Wed, 28 Feb 2018 08:48:23 +0000 (10:48 +0200)]
minor changes
Razvan Becheriu [Wed, 28 Feb 2018 08:29:23 +0000 (10:29 +0200)]
Merge remote-tracking branch 'isc-kea/master' into cassandra_improvements
Marcin Siodelski [Tue, 27 Feb 2018 20:06:28 +0000 (21:06 +0100)]
[5437] Replaced index by iaid_subnet_id_duid with duid_iaid_subnet_id.
Thomas Markwalder [Tue, 27 Feb 2018 19:46:40 +0000 (14:46 -0500)]
[5551] kea-dhcp4 now attempts to process packets with truncated VIVSO
src/lib/dhcp/option.h
SkipRemainingOptionsError - new error to signal
that unpacking skipped options
src/lib/dhcp/option_vendor.cc
OptionVendor::unpack() - modified to throw
SkipRemainingOptions on truncated length
src/lib/dhcp/option_definition.cc
OptionDefinition::optionFactory()
Added catch-rethrow of SkipRemainginOptionsError
src/bin/dhcp4/dhcp4_messages.mes
Added DHCP4_PACKET_OPTIONS_SKIPPED log message
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processPacket() - added explicit catch
of SkipRemainingOptionsError which logs the error
but allows the processing to continue.
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
TEST_F(Dhcpv4SrvTest, truncatedVIVSOOption) -
new test to verify skip-options logic for truncated
vendor option
src/lib/dhcp/tests/pkt4_unittest.cc
TEST_F(Pkt4Test, truncatedVendorLength) - new
test that verifies Pkt4 unpacking of truncated VIVSO
src/lib/dhcp/tests/pkt_captures4.cc
Pkt4Ptr PktCaptures::discoverWithValidVIVSO()
Pkt4Ptr PktCaptures::discoverWithTruncatedVIVSO() -
new captured discovers
Marcin Siodelski [Tue, 27 Feb 2018 18:52:10 +0000 (19:52 +0100)]
[5437] Select last used subnet for new allocations in DHCPv6.
Marcin Siodelski [Tue, 27 Feb 2018 17:20:17 +0000 (18:20 +0100)]
[5437] HR_DISABLED option handling moved to subnet level.
Marcin Siodelski [Tue, 27 Feb 2018 14:13:43 +0000 (15:13 +0100)]
[5437] Added unit test for selecting preferred subnet.
Marcin Siodelski [Tue, 27 Feb 2018 13:38:42 +0000 (14:38 +0100)]
[5437] Support for HR_OUT_OF_POOL mode in DHCPv4 added.
Francis Dupont [Fri, 6 Mar 2015 17:45:45 +0000 (18:45 +0100)]
[3745] Handle better cross compiling
Marcin Siodelski [Tue, 27 Feb 2018 11:39:14 +0000 (12:39 +0100)]
[5437] Created tests for reservation-mode set to "disabled" in DHCPv4.
Marcin Siodelski [Tue, 27 Feb 2018 09:48:53 +0000 (10:48 +0100)]
[5437] Optimized lease search in INIT_REBOOT case.
Marcin Siodelski [Tue, 27 Feb 2018 08:19:23 +0000 (09:19 +0100)]
[5437] Optimized client lease search in the allocation engine.
Marcin Siodelski [Mon, 26 Feb 2018 16:03:45 +0000 (17:03 +0100)]
[5437] Corrected unit tests for classes in pools within shared network.
Marcin Siodelski [Mon, 26 Feb 2018 12:34:37 +0000 (13:34 +0100)]
[5437] Updated copyright dates after recent fixes.
Marcin Siodelski [Mon, 26 Feb 2018 12:30:52 +0000 (13:30 +0100)]
[5437] Optimized preferred subnet selection within shared network.
Marcin Siodelski [Sat, 24 Feb 2018 12:41:48 +0000 (13:41 +0100)]
[5437] Do not fetch reservations for subnets for which HR_DISABLED is set.
Marcin Siodelski [Sat, 24 Feb 2018 08:52:12 +0000 (09:52 +0100)]
[5437] Optimized the number of queries for host reservations.
Thomas Markwalder [Fri, 23 Feb 2018 14:15:33 +0000 (09:15 -0500)]
[5553] Added specific log for possible BOOTP packets
src/bin/dhcp4/dhcp4_messages.mes
Added DHCP4_PACKET_DROP_0009 for possible bootp packets
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::acceptMessageType()
rearranged a bit to test explicitly for DHCP_NOTYPE
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
TEST_F(Dhcpv4SrvTest, acceptMessageType)
Added tests for packets with no option 53 and for
type > DHCPLEASEQUERYDONE
Francis Dupont [Thu, 22 Feb 2018 23:08:46 +0000 (00:08 +0100)]
[master] Updated git hash
Francis Dupont [Thu, 22 Feb 2018 23:04:10 +0000 (00:04 +0100)]
[master] Finishing merge of trac5524 (RADIUS skeleton)
Francis Dupont [Thu, 22 Feb 2018 22:59:59 +0000 (23:59 +0100)]
[master] Merged trac5524 (RADIUS skeleton)
Thomas Markwalder [Thu, 22 Feb 2018 18:13:34 +0000 (13:13 -0500)]
[5522] Fixed subnet_id column types in MySQL and Postgres schemas
new file:
src/share/database/scripts/mysql/upgrade_5.1_to_5.2.sh.in
renamed:
src/share/database/scripts/mysql/upgrade_5.1_to_6.0.sh.in
-> src/share/database/scripts/mysql/upgrade_5.2_to_6.0.sh.in
new file:
src/share/database/scripts/pgsql/upgrade_3.2_to_3.3.sh.in
renamed:
src/share/database/scripts/pgsql/upgrade_3.2_to_4.0.sh.in
-> src/share/database/scripts/pgsql/upgrade_3.3_to_4.0.sh.in
src/lib/dhcpsrv/pgsql_host_data_source.cc
changed OID_INT4 to OID_INT8 for subnet_id inputs in
TaggedStatements
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.h
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc
Added new tests to verify maxium value for subnet_id works
src/share/database/scripts/mysql/dhcpdb_create.mysql
Added 5.1 to 5.2 changes
src/share/database/scripts/pgsql/dhcpdb_create.pgsql
Added 3.2 to 3.3 changes
Francis Dupont [Thu, 22 Feb 2018 17:01:29 +0000 (18:01 +0100)]
[5524] Report FreeRADIUS
Razvan Becheriu [Thu, 22 Feb 2018 14:30:27 +0000 (16:30 +0200)]
Merge remote-tracking branch 'isc-kea/master' into cassandra_improvements
Razvan Becheriu [Thu, 22 Feb 2018 13:46:57 +0000 (15:46 +0200)]
minor changes
Francis Dupont [Thu, 22 Feb 2018 12:10:00 +0000 (13:10 +0100)]
[master] Updated git hash
Francis Dupont [Thu, 22 Feb 2018 12:08:10 +0000 (13:08 +0100)]
[master] Finishing merge of trac5502 (Cassandra vs OpenSSL)
Francis Dupont [Thu, 22 Feb 2018 12:06:47 +0000 (13:06 +0100)]
[master] Merged trac5502 (Cassandra vs OpenSSL)
Razvan Becheriu [Thu, 22 Feb 2018 11:51:10 +0000 (13:51 +0200)]
fixed unit tests - added constraints in cql host data source
Razvan Becheriu [Wed, 21 Feb 2018 17:45:24 +0000 (19:45 +0200)]
disable read only database as it needs further discussions
Razvan Becheriu [Wed, 21 Feb 2018 17:40:37 +0000 (19:40 +0200)]
fixed unit tests
Razvan Becheriu [Wed, 21 Feb 2018 15:38:13 +0000 (17:38 +0200)]
fixed unit tests
Francis Dupont [Wed, 21 Feb 2018 13:59:55 +0000 (14:59 +0100)]
[master] Merged github69 (PR#69 "symbol typo")
Francis Dupont [Wed, 21 Feb 2018 13:57:14 +0000 (14:57 +0100)]
[github69] Merge branch 'master' of git://github.com/Yoshy/kea into github69
Francis Dupont [Wed, 21 Feb 2018 13:49:59 +0000 (14:49 +0100)]
[master] Merged github53 (PR#53 "replace another "test" with "expr")
Francis Dupont [Wed, 21 Feb 2018 13:45:27 +0000 (14:45 +0100)]
[github53] Merge branch 'configure_test_expr' of git://github.com/eest/kea into github53
Francis Dupont [Tue, 20 Feb 2018 15:32:45 +0000 (16:32 +0100)]
[5502] Added FNV-1a 64 bit hash and replaced MD5 in CQL host dats source
Francis Dupont [Mon, 19 Feb 2018 20:12:49 +0000 (21:12 +0100)]
[master] with-dhcp-xxxsql -> with-xxxsql
Razvan Becheriu [Mon, 19 Feb 2018 19:02:33 +0000 (21:02 +0200)]
minor changes
Razvan Becheriu [Mon, 19 Feb 2018 18:50:14 +0000 (20:50 +0200)]
minor changes
Razvan Becheriu [Mon, 19 Feb 2018 18:37:15 +0000 (20:37 +0200)]
fixed unit tests
Razvan Becheriu [Mon, 19 Feb 2018 17:55:20 +0000 (19:55 +0200)]
minor changes
Razvan Becheriu [Mon, 19 Feb 2018 17:28:03 +0000 (19:28 +0200)]
minor changes
Francis Dupont [Mon, 19 Feb 2018 17:18:26 +0000 (18:18 +0100)]
[master] Updated git hash