]>
git.ipfire.org Git - thirdparty/kea.git/log
Wlodek Wencel [Mon, 28 Dec 2015 12:25:05 +0000 (13:25 +0100)]
Merge master branch into v1_0_0 for 1.0.0 release
Conflicts:
ChangeLog
configure.ac
Tomek Mrugalski [Wed, 23 Dec 2015 19:35:57 +0000 (20:35 +0100)]
[master] ChangeLog commit-id updated.
Tomek Mrugalski [Wed, 23 Dec 2015 18:37:32 +0000 (19:37 +0100)]
[github17] Update ChangeLog, AUTHORS file.
Jiri Popelka [Wed, 23 Dec 2015 12:12:36 +0000 (13:12 +0100)]
Use unsigned long for dhcp_identifier_length
fixes:
mysql_host_data_source.cc:236:33: error: invalid conversion from 'size_t* {aka unsigned int*}' to 'long unsigned int*' [-fpermissive]
bind_[1].length = &dhcp_identifier_length_;
^
mysql_host_data_source.cc:243:33: error: invalid conversion from 'size_t* {aka unsigned int*}' to 'long unsigned int*' [-fpermissive]
bind_[1].length = &dhcp_identifier_length_;
^
mysql_host_data_source.cc:344:25: error: invalid conversion from 'size_t* {aka unsigned int*}' to 'long unsigned int*' [-fpermissive]
bind_[1].length = &dhcp_identifier_length_;
Tomek Mrugalski [Wed, 23 Dec 2015 18:32:48 +0000 (19:32 +0100)]
[master] ChangeLog commit-id corrected.
Thomas Markwalder [Wed, 23 Dec 2015 13:04:50 +0000 (08:04 -0500)]
[master] Document and log message typo corrections
Merges in branch 'trac3872'
Francis Dupont [Tue, 22 Dec 2015 17:05:59 +0000 (18:05 +0100)]
[master] Finised merge of trac4234 (doxygen warnings)
Marcin Siodelski [Mon, 21 Dec 2015 18:22:30 +0000 (19:22 +0100)]
[master] Added ChangeLog entry for #4249.
Marcin Siodelski [Mon, 21 Dec 2015 17:30:15 +0000 (18:30 +0100)]
[master] Merge branch 'trac4249'
Francis Dupont [Mon, 21 Dec 2015 15:31:57 +0000 (16:31 +0100)]
[4234] Fixed qa conflict
Thomas Markwalder [Mon, 21 Dec 2015 15:14:10 +0000 (10:14 -0500)]
[4249] Fixed naming issue in dhcp_test_lib.sh.in
src/lib/testutils/dhcp_test_lib.sh.in
renamed kill_processes to kill_processes_by_name
replaced call to kill_pids with call to kill_processes_by_name
Francis Dupont [Mon, 21 Dec 2015 15:03:44 +0000 (16:03 +0100)]
[4234] Updated Doxyfile and addressed comments
Marcin Siodelski [Fri, 18 Dec 2015 16:40:00 +0000 (17:40 +0100)]
[4249] Fixed race conditions when killing kea-lfc.
Marcin Siodelski [Thu, 17 Dec 2015 16:45:04 +0000 (17:45 +0100)]
[master] Merge branch 'trac4230'
Thomas Markwalder [Thu, 17 Dec 2015 16:41:20 +0000 (11:41 -0500)]
[master] Added ChangeLog entry 1073 for Github #16,Trac #4237,#4238
Marcin Siodelski [Thu, 17 Dec 2015 14:53:28 +0000 (15:53 +0100)]
[4230] Updated User's Guide per review comment.
Explained that the "duid" parameter is accepted for DHCPv4
reservations but shouldn't be used because will be
misinterpreted.
Thomas Markwalder [Thu, 17 Dec 2015 14:20:18 +0000 (09:20 -0500)]
[master] Fixes MySQL InnoDB engine issue, MySQL version bump to 4.1
Merges branch 'trac4237'
Thomas Markwalder [Thu, 17 Dec 2015 14:05:32 +0000 (09:05 -0500)]
[4237] Addressed review comments
AUTHORS
Added pull submitter,https://github.com/isc-projects/kea/pull/16,
Sebastien Couture.
src/bin/admin/scripts/mysql/dhcpdb_create.mysql
Fixed "FROm"
Marcin Siodelski [Thu, 17 Dec 2015 12:34:19 +0000 (13:34 +0100)]
[4230] Updated Kea guide that client id based reservations aren't supported.
Marcin Siodelski [Wed, 16 Dec 2015 22:15:51 +0000 (23:15 +0100)]
[master] Added ChangeLog entry for #4236.
Marcin Siodelski [Wed, 16 Dec 2015 21:39:30 +0000 (22:39 +0100)]
[master] Merge branch 'trac4236'
Thomas Markwalder [Wed, 16 Dec 2015 19:44:16 +0000 (14:44 -0500)]
[4237] Fixes #4238, adds lease dump order by, bumps MySQL schema to 4.1
Bumps MySQL schema version from 4.0 to 4.1.
Fixes the issue spelled out in 4238 by adding an entry for hardware
address source of zero. This change was added here to limit the
number of schema version bumps.
Changes the MySQL lease dump functions to order by the lease address.
This ensures the dumps always ordered in a predictable manner.
src/bin/admin/scripts/mysql/upgrade_4.0_to_4.1.sh.in
New file to upgrade from 4.0 to 4.1
configure.ac
Added entry for mysql/upgrade_4.0_to_4.1.sh
src/bin/admin/scripts/mysql/Makefile.am
Added entry form upgrade_4.0_to_4.1.sh
src/bin/admin/scripts/mysql/dhcpdb_create.mysql
Added insert of HWADDR_SOURCE_UNKNOWN into lease_hwaddr_source
Added order by clauses to lease4DumpData and lease6DumpData
Updated schema version from 4.0 to 4.1
src/bin/admin/tests/mysql_tests.sh.in
mysql_upgrade_test()
Added test for 4.0 to 4.1 upgrade
Changed final version check to 4.1
Wlodek Wencel [Wed, 16 Dec 2015 19:28:09 +0000 (20:28 +0100)]
[master] version update
Marcin Siodelski [Wed, 16 Dec 2015 18:44:30 +0000 (19:44 +0100)]
[4236] Updated license text in src/lib/dhcp/dhcp4.h.
Marcin Siodelski [Wed, 16 Dec 2015 18:40:37 +0000 (19:40 +0100)]
[master] Added ChangeLog entry for #4224.
Marcin Siodelski [Wed, 16 Dec 2015 17:41:45 +0000 (18:41 +0100)]
[master] Merge branch 'trac4224'
Marcin Siodelski [Wed, 16 Dec 2015 17:40:23 +0000 (18:40 +0100)]
[4224] Addressed review comments.
Minor updates to the commentary for get_pid function.
Marcin Siodelski [Wed, 16 Dec 2015 13:45:33 +0000 (14:45 +0100)]
[4236] Updated copyright dates in all files.
Wlodek Wencel [Wed, 16 Dec 2015 13:46:21 +0000 (14:46 +0100)]
[v1_0_0] release version change
Marcin Siodelski [Wed, 16 Dec 2015 13:03:21 +0000 (14:03 +0100)]
[4236] Regenerated bison files after license replacement.
Tomek Mrugalski [Wed, 16 Dec 2015 12:50:24 +0000 (13:50 +0100)]
[master] ChangeLog updated after trac4102 merge.
Tomek Mrugalski [Wed, 16 Dec 2015 12:44:34 +0000 (13:44 +0100)]
[master] Merge branch 'trac4102' (Dev guide updated with client classification)
Marcin Siodelski [Tue, 15 Dec 2015 20:37:34 +0000 (21:37 +0100)]
[4236] Replaced license text in all files containing it.
Thomas Markwalder [Wed, 16 Dec 2015 12:27:57 +0000 (07:27 -0500)]
[master] Added ChangeLog entry 1072 for Trac #4247
Thomas Markwalder [Wed, 16 Dec 2015 12:11:59 +0000 (07:11 -0500)]
[master] Pk6 MAC extraction code now populates HwAddr::source_
Merges in branch 'trac4247'
Francis Dupont [Tue, 15 Dec 2015 23:17:42 +0000 (00:17 +0100)]
[4102] Fixed the substring description
Francis Dupont [Tue, 15 Dec 2015 23:14:09 +0000 (00:14 +0100)]
[4102] Fixed 4 in DHCPv6 doc and 6 in v4
Marcin Siodelski [Tue, 15 Dec 2015 19:42:36 +0000 (20:42 +0100)]
[4224] Removed get_pids function and updated get_pid documentation.
Thomas Markwalder [Tue, 15 Dec 2015 19:19:50 +0000 (14:19 -0500)]
[4247] Pkt6 MAC extraction now sets HWAddr::source_ to the appropriate value
src/lib/dhcp/pkt.cc
Pkt::getMAC(uint32_t hw_addr_src)
sets HwAddr.source_ to HWADDR_SOURCE_RAW if appropriate
Pkt::getMACFromIPv6(const isc::asiolink::IOAddress& addr)
sets HwAddr.source_ to HWADDR_SOURCE_IPV6_LINK_LOCAL
src/lib/dhcp/pkt6.cc
Pkt6::getMACFromDUID()
sets HwAddr.source_ to HWADDR_SOURCE_DUID
Pkt6::getMACFromIPv6RelayOpt()
sets HwAddr.source_ to HWADDR_SOURCE_CLIENT_ADDR_RELAY_OPTION;
Pkt6::getMACFromDocsisModem() sets HwAddr.source_ to HWADDR_SOURCE_DOCSIS_MODEM;
Pkt6::getMACFromDocsisCMTS()
sets HwAddr.source_ to HWADDR_SOURCE_DOCSIS_CMTS;
Pkt6::getMACFromRemoteIdRelayOption()
sets HwAddr.source_ to HWADDR_SOURCE_REMOTE_ID;
src/lib/dhcp/tests/pkt6_unittest.cc
Added checks for correct HWAddr::source_ values to the following tests:
TEST_F(Pkt6Test, getMAC)
TEST_F(Pkt6Test, getMAC)
TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_direct)
TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_singleRelay)
TEST_F(Pkt6Test, getMACFromIPv6LinkLocal_multiRelay)
TEST_F(Pkt6Test, getMACFromIPv6RelayOpt_singleRelay)
TEST_F(Pkt6Test, getMACFromIPv6RelayOpt_multipleRelay)
TEST_F(Pkt6Test, getMACFromDUID)
TEST_F(Pkt6Test, getMACFromDUID)
TEST_F(Pkt6Test, getMAC_DOCSIS_Modem)
TEST_F(Pkt6Test, getMAC_DOCSIS_CMTS)
TEST_F(Pkt6Test, getMACFromRemoteIdRelayOption)
Tomek Mrugalski [Tue, 15 Dec 2015 18:42:56 +0000 (19:42 +0100)]
[4102] Removed obsolete enabled_features in configure.ac
- this was used in bind10 for enabling SQLite in auth DNS
Tomek Mrugalski [Tue, 15 Dec 2015 18:33:18 +0000 (19:33 +0100)]
[4102] Configuration backend info removed from configure.ac
Tomek Mrugalski [Tue, 15 Dec 2015 18:32:59 +0000 (19:32 +0100)]
[4102] Described client classification in detail
- split classification into several subsections
- removed text explaining configuration backends
Tomek Mrugalski [Tue, 15 Dec 2015 18:30:49 +0000 (19:30 +0100)]
[4102] Extended libeval documentation a bit.
Tomek Mrugalski [Tue, 15 Dec 2015 18:30:28 +0000 (19:30 +0100)]
[4102] Fixed typo in classify.xml
Marcin Siodelski [Fri, 11 Dec 2015 14:26:44 +0000 (15:26 +0100)]
[4224] Shell tests now use pid files to check if process is running.
Thomas Markwalder [Tue, 15 Dec 2015 14:24:49 +0000 (09:24 -0500)]
[master] Added ChangeLog entry 1071 for Trac #4216.
Thomas Markwalder [Tue, 15 Dec 2015 13:32:30 +0000 (08:32 -0500)]
Merge branch 'trac4216'
Jeremy C. Reed [Mon, 14 Dec 2015 23:18:20 +0000 (17:18 -0600)]
[3872] comment out "DHCP Performance Guide" add dhcpd.8 to See Also
Performance Guide is gone. See ticket #4077.
Also this tool is not kea specific, so reference legacy man page too.
Jeremy C. Reed [Mon, 14 Dec 2015 23:11:22 +0000 (17:11 -0600)]
[3872] add commas to See Also list and also mention the Guide
Jeremy C. Reed [Mon, 14 Dec 2015 19:45:53 +0000 (13:45 -0600)]
[3872] remove duplicate word
Jeremy C. Reed [Mon, 14 Dec 2015 19:43:23 +0000 (13:43 -0600)]
[3872] fix some misspellings
Jeremy C. Reed [Mon, 14 Dec 2015 19:40:22 +0000 (13:40 -0600)]
[3872] fix another misspelled word
Jeremy C. Reed [Mon, 14 Dec 2015 19:39:36 +0000 (13:39 -0600)]
[3872] remove some doubled words
Jeremy C. Reed [Mon, 14 Dec 2015 19:33:07 +0000 (13:33 -0600)]
[3872] fix misspellings
note some misspellings are in the short description but the log ID
itself is not changed (no spelling issue there)
Shawn Routhier [Mon, 14 Dec 2015 19:22:47 +0000 (11:22 -0800)]
[master] Update change log entry number and commit tag
Shawn Routhier [Mon, 14 Dec 2015 19:21:01 +0000 (11:21 -0800)]
[master] Correct v6 classification examples to use the correct option tag
Jeremy C. Reed [Mon, 14 Dec 2015 19:18:30 +0000 (13:18 -0600)]
[3872] fixed many misspelled words
also added a couple commas or missing spaces
Jeremy C. Reed [Mon, 14 Dec 2015 16:35:33 +0000 (10:35 -0600)]
remove double words
Francis Dupont [Fri, 11 Dec 2015 23:06:37 +0000 (00:06 +0100)]
[4234] Fixed stats_mgr.h
Francis Dupont [Fri, 11 Dec 2015 22:50:51 +0000 (23:50 +0100)]
[4234] cleanup
Francis Dupont [Fri, 11 Dec 2015 21:50:44 +0000 (22:50 +0100)]
[4234] Made UnixCommandSocket::receiveHandler visible to doxygen
Francis Dupont [Fri, 11 Dec 2015 21:36:50 +0000 (22:36 +0100)]
[4234] Added doc/images directory
Francis Dupont [Fri, 11 Dec 2015 21:27:43 +0000 (22:27 +0100)]
[4234] Fixed the doxygen issue in asiolink
Francis Dupont [Fri, 11 Dec 2015 20:13:00 +0000 (21:13 +0100)]
[4234] Qualified Type in Lease6 constructor
Francis Dupont [Fri, 11 Dec 2015 20:07:45 +0000 (21:07 +0100)]
[4234] Missing doxygen fix
Thomas Markwalder [Fri, 11 Dec 2015 19:51:18 +0000 (14:51 -0500)]
[4237] Added MySQL ENGINE to all table creates, fixed hosts table not dropping
All MySQL text to create tables sets ENGINE to INNODB
MySQL unit tests now reliably drop the "hosts" table
src/bin/admin/scripts/mysql/dhcpdb_create.mysql
Added "ENGINE = INNODB" table creates where needed
src/bin/admin/scripts/mysql/upgrade_1.0_to_2.0.sh.in
src/bin/admin/scripts/mysql/upgrade_2.0_to_3.0.sh.in
Added "ENGINE = INNODB" table creates where needed
src/bin/admin/tests/data/mysql.lease6_dump_test.reference.csv
Reversed order of reference file to match INNODB result
src/bin/admin/tests/dhcpdb_create_1.0.mysql
Added "ENGINE = INNODB" table creates where needed
src/bin/admin/tests/mysql_tests.sh.in
Removed unnecessary explicit drop of ipv6_reservations
src/lib/dhcpsrv/tests/mysql_schema.cc
Added MySQL error output on statement failures
src/lib/dhcpsrv/tests/schema_mysql_copy.h
const char* destroy_statement[]
Added statement to turn off referential integrity checks, so all
tables will get dropped. "hosts" table was being left behind.
const char* create_statement[]
Added "ENGINE = INNODB" table creates where needed
Francis Dupont [Fri, 11 Dec 2015 19:21:06 +0000 (20:21 +0100)]
[4234] doxygen fixes last pass
Marcin Siodelski [Fri, 11 Dec 2015 15:26:17 +0000 (16:26 +0100)]
[4206b] Fixed two typos in the Pkt4 and Pkt6 methods.
Marcin Siodelski [Fri, 11 Dec 2015 15:13:18 +0000 (16:13 +0100)]
[4206b] Added unit tests for malfromed client id in getLabel.
Marcin Siodelski [Fri, 11 Dec 2015 15:11:26 +0000 (16:11 +0100)]
[4206b] Minor updates to the Pkt4::getLabel method.
The warning about malformed client-id is separated by a single
space character from the actual label. Also, used stream object
to concatenate label with suffix to be consistent with the
convention used in makeLabel.
Francis Dupont [Fri, 11 Dec 2015 14:50:55 +0000 (15:50 +0100)]
[4234] doxygen cleanup second pass
Francis Dupont [Fri, 11 Dec 2015 14:23:36 +0000 (15:23 +0100)]
[4234] doxygen cleanup first pass
Thomas Markwalder [Fri, 11 Dec 2015 14:03:44 +0000 (09:03 -0500)]
[4216] Fixed up log message
Added mention of hosts db to message text for DHCPSRV_MYSQL_HOST_DB_GET_VERSION
Tomek Mrugalski [Fri, 11 Dec 2015 14:00:43 +0000 (15:00 +0100)]
[4206b] Added unit-tests for too long client-id/DUID.
Tomek Mrugalski [Fri, 11 Dec 2015 14:00:15 +0000 (15:00 +0100)]
[4206b] Pkt{4,6}::getLabel() methods are now exception safe.
Thomas Markwalder [Fri, 11 Dec 2015 12:00:18 +0000 (07:00 -0500)]
[4216] Addressed review comments
src/lib/dhcpsrv/host_data_source_factory.cc
HostDataSourceFactory::create(const std::string& dbaccess)
- Removed logging from exception throwing conditions
- Minor clean up of the method itself
src/lib/dhcpsrv/dhcpsrv_messages.mes
Removed obsoleted error messages:
DHCPSRV_HOSTDB_NOTYPE
DHCPSRV_UNKNOWN_HOST_DB
Marcin Siodelski [Thu, 10 Dec 2015 21:54:57 +0000 (22:54 +0100)]
Revert "[master] Merge branch 'trac4106'"
This reverts commit
8f2a1f8a7a0e27a8c584186cfda089cd88ec6153 , reversing
changes made to
ed7edadcbd2bde368fdde86e1c997ea225b456f5 .
This merge introduced regressions in our build farm and revealed
issues in the DHCP4o6 IPC code. It also revealed some differences
in sockets handling under Linux and BSD. Rather than continue
patching this here, we should work on the branch to resolve all
issues and then merge 1.1.
Marcin Siodelski [Thu, 10 Dec 2015 15:57:52 +0000 (15:57 +0000)]
[master] Fix compilation issue on RHEL6.
Added missing fctnl.h include. Okayed on jabber.
Tomek Mrugalski [Thu, 10 Dec 2015 13:59:45 +0000 (14:59 +0100)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 10 Dec 2015 12:58:19 +0000 (13:58 +0100)]
[master] Merge branch 'trac4206' (empty DUID/client-id fix)
Tomek Mrugalski [Thu, 10 Dec 2015 12:56:38 +0000 (13:56 +0100)]
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Tomek Mrugalski [Thu, 10 Dec 2015 12:55:19 +0000 (13:55 +0100)]
[master] Compilation fix after 4106
Marcin Siodelski [Thu, 10 Dec 2015 11:44:25 +0000 (12:44 +0100)]
[master] Added Changelog entry for #4228.
Marcin Siodelski [Thu, 10 Dec 2015 11:42:54 +0000 (12:42 +0100)]
[master] Merge branch 'trac4228'
Marcin Siodelski [Thu, 10 Dec 2015 11:24:15 +0000 (12:24 +0100)]
[master] Merge branch 'trac4106'
Marcin Siodelski [Thu, 10 Dec 2015 11:20:57 +0000 (12:20 +0100)]
[4106] Fixed a typo.
Shawn Routhier [Thu, 10 Dec 2015 03:27:57 +0000 (19:27 -0800)]
[trac4222] Correct v6 classificaiton examples to use client-id (1).
Marcin Siodelski [Wed, 9 Dec 2015 21:15:53 +0000 (22:15 +0100)]
[4106] Renamed DHCPv4 and DHCPv6 specific IPC classes.
Marcin Siodelski [Wed, 9 Dec 2015 20:13:11 +0000 (21:13 +0100)]
[4106] Minor updates as a result of the review.
Removed debug leftover and changed 'responds' to 'answers'.
Thomas Markwalder [Wed, 9 Dec 2015 19:51:36 +0000 (14:51 -0500)]
[4216] Eliminated reuse of log message IDs in hosts database related logging
src/lib/dhcpsrv/dhcpsrv_messages.mes
Added hosts database specific messages
src/lib/dhcpsrv/host_data_source_factory.cc
src/lib/dhcpsrv/mysql_host_data_source.cc
Updated log statements with hosts database messages
Thomas Markwalder [Wed, 9 Dec 2015 16:22:06 +0000 (11:22 -0500)]
[4206] Fixed Dhcp4 unit test failure under OS-X
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
TEST_F(Dhcpv4SrvTest, emptyClientId)
Added code to set up test interfaces
Marcin Siodelski [Wed, 9 Dec 2015 15:14:22 +0000 (16:14 +0100)]
[4228] Added s-messages to gitignore file.
Marcin Siodelski [Wed, 9 Dec 2015 14:29:09 +0000 (15:29 +0100)]
[4228] Renamed 'message' to 'kea-msg-compiler' in Makefiles and docs.
Tomek Mrugalski [Tue, 8 Dec 2015 15:35:35 +0000 (16:35 +0100)]
[4206] Unit-tests implemented for empty duid/client-id.
Tomek Mrugalski [Mon, 7 Dec 2015 16:48:47 +0000 (17:48 +0100)]
[4206] Fix for empty client-id in v4
Tomek Mrugalski [Mon, 7 Dec 2015 16:48:28 +0000 (17:48 +0100)]
[4206] Fix for empty DUID in v6
Francis Dupont [Mon, 7 Dec 2015 14:55:25 +0000 (15:55 +0100)]
[master] Added timestamps (cf #4210)
Wlodek Wencel [Thu, 3 Dec 2015 13:48:14 +0000 (14:48 +0100)]
[v1_0_0b] reorder .mes files
Wlodek Wencel [Thu, 3 Dec 2015 14:41:59 +0000 (15:41 +0100)]
[v1_0_0] differences.txt file removed
Wlodek Wencel [Thu, 3 Dec 2015 14:40:55 +0000 (15:40 +0100)]
[v1_0_0] AUTHORS file update