From: Francis Dupont Date: Fri, 16 Oct 2015 11:29:41 +0000 (+0200) Subject: [master] Finished merge of trac3516 (trac3516) X-Git-Tag: trac3874_base~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0dea9af8efb38477f030c272e236c9fda101e561;p=thirdparty%2Fkea.git [master] Finished merge of trac3516 (trac3516) --- 0dea9af8efb38477f030c272e236c9fda101e561 diff --cc ChangeLog index c8f4fa658d,42ac0c0645..f267885ee2 --- a/ChangeLog +++ b/ChangeLog @@@ -1,749 -1,3 +1,753 @@@ ++1031. [build] fdupont ++ Rewrote the system_messages tool from Python to C++. ++ (trac #3516, git xxx) ++ +1030. [bug] marcin + Fixed failing 'reclaimExpiredLeasesTimeout' unit tests on + some virtual machines. + (trac #4075, git c3a2487f53ecf69edc0a38f574fce17c4332162c) + +1029. [func] tomek + A new hook point lease6_decline has been added. It is called when + the DHCPv6 server is about to decline a lease as a result of + processing incoming DECLINE message. + (Trac #3986, git b6e3f1bbe3595aeba769d627d571e2eeee38a397) + +1028. [func] marcin + Expired leases are processed periodically according to the + server configuration. + (Trac #3975, git 3bd8891c0b9cb7dc504fa69251610996775cefbf) + +1027. [func] tomek + Expired declined IPv6 leases can now be reclaimed (returned to the + available pool) after probation period elapses. + (Trac #3985, git 9aadfa902d898ce1f52b773152a5b34519a9a9fe) + +1026. [doc] stephen + Added documentation for the kea-dhcp4.commands and + kea-dhcp6.commands loggers. + (Trac #3952, git 3eb5d3185683e05494c1d84ed7195627fce4b6c1) + +1025. [func] tomek + A new hook point lease4_decline has been added. It is called when + the DHCPv4 server is about to decline a lease as a result of + processing incoming DHCPDECLINE message. + (Trac #3986, git 39bde93fe25e4aff52623d4df7fd55c64e0a9c21) + +1024. [func]* tomek + Boolean Skip flag in Hooks API has been replaced by enum status. + This is backward incompatible change if you developed hook + library that takes advantage of the skip flag. See Hooks + Developer Guide for easy steps necessary for migration. + (Trac #3499, git 99ca398d4d042a098b5c491368733220db8cdd08) + +1023. [func] tmark + kea-admin now supports upgrading from MySQL schema version 3.0 + to 4.0. In addition, the lease6 data dump now contains the + text label for lease_hwaddr_source column rather than its + numeric value. + (Trac #3967, git 2e13ac3b0b278faabe338b00ffee8259c13f5342) + +1022. [func] fdupont + Added support for the V4 link selection sub-option (RFC 3527). If + present in an incoming packet, the server will allocate an address + in the subnet identified in the option. If this is impossible, no + address will be allocated and the request refused. + (Trac #4057, git 8c02cec5ec8e311a9d23fd582d8e9e8647667abb) + +1021. [bug] stephen + Added missing address parameter to ALLOC_ENGINE_V4_REQUEST_OUT_OF_POOL + message. + (Trac #3996, git 680233550747209a1707e8f920179479b980aa2a) + +1020. [func] kalmus + A general purpose base class for MySQL connection has been + implemented. + (Trac #3681, git 884d8bb4a55d3d7b1b8f3f01efb312bd8dec399b) + +1019. [func] marcin + Added new configuration parameters controlling processing of the + expired leases in the DHCPv4 and DHCPv6 server. + (Trac #3974, git c998d36c40cc46ffe9f888e615bbcfa0a311d40d) + +1018. [func] sar + Added support for several options for use by PXE. + From RFC4578 (for DHCPv4) these are: 93 - client-system, + 94 - client-ndi, 97 - uuid-guid. + From RFC5970 (for DHCPv6) these are: 59 - bootfile-url, + 60 - bootfile-param, 61 - client-arch-type, 62 - nii. + (trac #3576, git fdcc73afe7e26bd427817fd771567b1c44713b06) + +1017. [func] tmark + Lease dump SQL logic, used by kea-admin, is now supplied via stored + procedures rather than external text files. Files of the form + lease_dump_.sh will no longer be installed under + /share/kea/scripts. + (Trac #3916, git 09cdd86a5e284250d7657a93a36df2e2705947d2) + +1016. [bug] fdupont + Fixed problems when --enable-static-link is specified as a + "configure" option. With this switch present, all Kea + executables (servers, tools, unit tests, etc) are linked + to the static (vs. shared) version of Kea libraries. + However, note that they can still be linked to dynamic + system libraries. + (Trac #4004, git 760a343efbd241f5ed333cfff088124378f69115) + +1015. [func] tomek + Expired declined leases can now be reclaimed (returned to the + available pool) after probation period elapses. + (Trac #3984, #3976, git 32a8ec68e0e5ea93991915812158d7628d2b4709) + +1014. [func] marcin + Implemented lease4_expire and lease6_expire hooks in libdhcpsrv. + (Trac #3972, git 8a8547aec1caf2a8d1c7ca206f68534f3c03f1d9) + +1013. [func] marcin + New mechanism for scheduling lease file cleanup is used in the + DHCPv4 and DHCPv6 servers. + (Trac #3971, git 431d515fc3d64aa82369c8eaf48d03339f12dc69) + +1012. [bug] stephen + Replace #include of message_dictionary.h in message_initializer.h + with a declaration of the MessageDictionary class, avoing the need + to include message_dictionary.h in the set of header files installed. + (Trac #4046, git 9f1801b4326f62632a7c9f0aa939d58f120c10e8) + +1011. [func] fdupont + Added definitions and tests for the options from secure DHCPv6. + This protocol is still experimental. The option and other protocol + codes are for testing, they will be updated when IANA assigns + official values. + (Trac #4015, git 95f8c0d0af45807c1f303b9bbbb08f82b3bfc343) + +1010. [bug] tmark + Fixed test failures occuring for some tests after + IfaceMgr::closeSockets was called. + (Trac #4067, git 9161867dc6a354659ae8b5115ee437ec76c1771e) + +1009. [bug] fdupont + Now libutil blocks all signals when creating a new thread + (so signals are delivered only to the main thread). + (Trac #4065, git a4a8e422e613e4378f0a0641e4c480b73d67ebeb) + +1008. [build] fdupont + Removed the included header-only ASIO code. Kea is now built + against the installed copy of Boost. The build by default + attempts to use the header-only error code (ASIO dependency), but + may also use the version in the boost system library. The + location of this library can be specified. + (Trac #4009, git 8c293bc0d1804a512964621f114e64fcba0abcb9) + +1007. [func] tomek + DECLINE message in DHCPv6 is now supported. The server is able + to receive it, check its correctness and move the lease to + DECLINED state. Currently there is no way to recover the lease + before 'decline-probation-period' time. + (Trac #3982, git 11e2c4366d8624601172c01e95cff6a8b95833b3) + +1006. [bug] marcin + Fixed issues with threads concurrency in the TimerMgr. + (Trac #4047, git 48297af6e0443808a482536b61436a42bc6a5b38) + +1005. [func] tomek + DHCPDECLINE message in DHCPv4 is now supported. The server is able + to receive it, check its correctness and move the lease to + DECLINED state. Currently there is no way to recover the lease + before 'decline-probation-period' time. + (Trac #3981, git c14a63c0d3a56ea3e880e874f854adc0077de75e) + +1004. [bug] fdupont + Incoming Confirm, Rebind and Information-Request messages are + now more thoroughly checked against presence of client-id + and server-id options. + (Trac #3773, git fd2889b9de45e2822b6713663bee06b75259c6dc) + +1003. [build] fdupont + Updated Makefiles to ensure that all required dynamic libraries + are included in the link command line as some systems are unable + handle implied library dependencies. + (Trac #3911, git 4d13f5234da33df03c0989829a0e1c1056e53a4e) + +1002. [func] marcin + MySQL lease database backend has been extended with new + functions to obtain expired leases and to delete expired + reclaimed leases. + (Trac #3966, git 419832a6279c70b5db04b1cab10737e31f2c99f9) + +1001. [build] fdupont + Fixed critical C++ issues in the Kea code. This does not cover + auto_ptr warnings (just ignore them) or the gtest 1.7.0 bug with + EXPECT_TRUE() and ASSERT_TRUE() macros (we recommend to download + last subversion souces at http://googletest.googlecode.com/svn/trunk + and use the --with-gtest-source configuration argument when + you'd like to build unit tests). + (Trac #4024, git 55afd98fead0c16bb81107dfc1a5f49a5e295aa6) + +1000. [func] marcin + Implemented Timer Manager which holds the pool of interval + timers used by the DHCP servers. + (Trac #3970, git bc8503055338da36d07a2b67c64087f645c9a9e3) + +999. [func]* tmark + The DHCPv4 server will now honor DHCPRELEASEs for leased addresses + which cannot be matched to subnet. This allows leases to be + released after configuration changes have eliminated their subnet. + Prior to this the server would reject the release and emit a + DHCP4_RELEASE_FAIL_NO_SUBNET log message. + (Trac #2615, git eeebf9f68cf5be6a0f7eefc78832d664361c4990) + +998. [func] tomek + 'decline-probation-period' parameter has been added to DHCPv4 + and DHCPv6 configuration. It can be configured, but is not yet + used, as the DECLINE message support is still pending implementation. + (Trac #3983, git 6b10d119c89685476335f268181c9982f6fa6161) + +997. [build] jreed + Removed obsolete Python coverage build options. + (Trac #3483, git a08cbbecbd3b11d0b73f68a40986a353b22ed3be) + +996. [func] marcin + Memfile lease database backend has been extended with new + functions to obtain expired leases and to delete expired + reclaimed leases. + (Trac #3965, git dd5b95453528416f22e961e6ebb3051bc2ae788c) + +995. [build] fdupont + Removed additional files left over from BIND 10 (headers, + src/lib/{asiodns,testutils,asiolink}). + (Trac #40{28,29,31}, git 78ff0fb0a97731a8b3c055b1cbb4faebcd115f7c) + +994. [func]* marcin + DHCPv6 server fully supports RFC 7550. + (Trac #3947, git c06ab97a4e068c4b4b11f4685c56dd402b2385dc) + +993. [bug] fdupont + The logging spec file was searched in the build tree when it + was in the source tree so distcheck (where they differ) failed. + (Trac #4026, git 5eb213647d7ac0a707530d57af2c6dbd725ac1b3) + +992. [func] fdupont + A 'flush' parameter has been added to logging configuration. It is + now possible to disable automatic immediate flushing to achieve + better logging performance. + (Trac #3752, git 16c4c2b6d95c45864ec3e2b27e0d320e386b2c0b) + +991. [build] fdupont + Removed partial function template ordering macros to allow Kea to + build with Boost 1.59 and later. Also removed some + compiler-dependent code. + (Trac #4006, git e06934f211436eea37439128ff6f388709f01101) + +990. [bug] tomek + Improved child process signal handling. Improved number of + exception handling routines in DHCPv4 and DHCPv6. + (Trac #4000, git bf5e48f2cf80b5263cc89f445795bc8c5b8f011d) + +Kea 0.9.2 released on July 28, 2015 + +989. [bug] tmark + Fixed a bug in both DHCPv4 and DHCPv6 servers that could cause + them to crash during sever shutdown when DNS updates are enabled. + (Trac #3997, git ce91bdd78f420f64324c573a952ec804bc25e0d8) + +988. [bug] fdupont + keactrl no longer returns an error when the "status" command is + issued and the Kea configuration file doesn't exist. + (Trac #3785, git a27d72ef3cb7640a41dca26c8728a9cbd9ad1ca9) + +987. [bug] marcin + Fixed textual representation of the options containing an array + of 1 byte long unsigned numbers. + (Trac #3959, git 9045fd9d6d282184cce10a622c0108abab029d5b) + +986. [bug] marcin + Fixed the failing lease allocation from the large address and + prefix pools. + (Trac #3958, git c86b6a68725e2f57679598ff4890fc82f4482c20) + +985. [bug] marcin + Eliminated extraneous debug-level DHCP6_RESPONSE_DATA entry from the + DHCPv6 server log output. Prior to this the server was logging + each response twice. + (Trac #3949, git 023973cbce44e5fb92a2bc45e69f2786d5152091) + +984. [bug] tmark + Replaced used of "kill -0" with "ps -p" in keactrl when + checking of servers are alive. This makes it possible for + non-root users to use keactrl to monitor server status. + (Trac #3954, git f7f22b244343a3dc2d06645a47c2c65a5134326e) + +983. [bug] fdupont + Enforce numeric month values in Posix date printing. + (Trac #3944, git fdbe74b0235055057a37c6ce2b0aaf88f0cc7891) + +982. [bug] marcin + Fixed the typo in the name of the D2 logger. + (Trac #3951, git 92305b2a1774df1cf1bdfeb93d787fea0ab27f74) + +981. [bug] tmark + keactrl now uses PID files to identify and control server instances. + Prior to this it relied on the system command, "ps", which could lead + to it misinterpreting which processes are or are not running. + (Trac #3939, git 93a720ed7ffdffe66bd835cd64f78e4ad601637a) + +980. [doc] marcin + Updated Developer's Guide. + (Trac #3484, git 220c337c31a592311363eca981c7f1578abbe15d) + +979. [bug] fdupont + Fixed two cases of public variables in a base class being + hidden by variables in a derived class. + (Trac #3920, git bd42a66fb67aab3fe397523c6fdbf14a939587c8) + +978. [func] tmark + DHCPv4, DHCPv6, and DHCP_DDNS now all create PID files upon + startup. The PID file pathname is formed from: + /..pid + If a server's PID file exists and contains the PID of a + live process, it will emit a log message and exit. + (Trac #3769, git cdce632add025aaadbcdc89078f5bd3e19cfb5ca) + +977. [doc] tomek + Frequently Asked Questions section added to the Kea User's Guide. + (Trac #3873, #3847, git 95683c9d3c3dd7024269df1904b6cbe5817741a2) + +976. [build] tomek + Included missing Doxygen documentation images in the tarball. + (Trac #3928, git 2fb63a18897b93b12a5fc4635d4ac29e0bf82841) + +975. [doc] marcin + Updated the list of standard DHCPv4 options in the User's Guide + with the information of whether they are returned by the server + even when they are not requested. + (Trac #3578, git b361b28ce53729a5f2d59f79670a36cf1a4a0352) + +974. [bug]* marcin + Corrected invalid format of the DHCPv4 option 5 (name-servers). + The corrected format comprises a list of IPv4 addresses, + rather than a single IPv4 address. + (Trac #3887, git 54d1dbe6138e74c5efacfbaf85b77c87aea9ddf1) + +973. [doc] marcin + Added new section to the User's Guide to describe the issues + with unicast responses to the DHCPINFORM messages when ARP + traffic is blocked. + (Trac #3740, git 22bcb060ceca544dfa1779815321155668bf19dc) + +972. [doc] marcin + Updated sections of User's Guide concerning creation of + the option definitions and Vendor Specific Information + options for both DHCPv4 and DHCPv6. + (Trac #3846, git 6aebe0867ca9cf6fb09a289d80051125db7fa34b) + +971. [func] fdupont + Changed all occurrences of unlink() to the more portable remove() + to avoid problems on operating systems where the former is not + available. + (Trac #3841, git 3752529ed3d72137f6899ef8225a0b231db5b1f0) + +970. [bug] fdupont + Refactored some code to suppress cppcheck warnings. + (Trac #3919, git 26be6ac4cefde012ca8ef12607b6beaadca13eed) + +Kea 0.9.2-beta released on June 30, 2015 + +969. [func] tomek + KEA_SOCKET_TEST_DIR environment variable can be used to specify + the directory for opening Unix sockets during tests. That may + be used to avoid path length limitations when running unit-tests + in deeply nested directories. + (Trac #3918, git 9cfd502e8d4605eaf34f8744f90272dc3e8a3e34) + +968. [bug] marcin + DHCPv6 server extends the lifetime of the client's lease + in the database when the client sends the Request message. + This prevents premature lease expiration before the client + renews the lease, according to the timers and lifetimes + returned by the server. + (Trac #3913, git 1d64829a3f1a8288dc833ed388d9ffc9fe4cf491) + +967. [doc] tomek + Management API section added in the DHCPv6 chapter of the Kea + User's Guide + (Trac #3917, git 21305d2da26090e3fad1ff9fb242a2bbb6b7e56b) + +966. [func] fdupont + Include database software details in extended version information. + (Trac #3882, git b0e166c4d8b0383ebd6e2f51d55eed68a2bcafa8) + +965. [func] sar + Per IPv6 subnet statistics (subnet[id].assigned-nas, + subnet[id].total-nas, subnet[id].assigned-pds, and + subnet[id].total-pds) has been implemented. + (Trac #3799, git 4aa4808268bbc54290578f60ba60ed33cf344712) + +964. [doc] tomek + User's Guide and Developer's Guide updated with statistics and + control channel description. + (Trac #3800, git 7ce8ca560370ec5f9bd4d5199a177b441f08a47e) + +963. [func] tmark + DHCPv6 server now supports a control channel, implemented over + a UNIX socket. Currently supported commands are: statistic-get, + statistic-reset, statistic-remove, statistic-get-all, + statistic-reset-all, statistic-remove-all, and shutdown. + (Trac #3797, git f49828612d9030c9f3441acaf4b3a9f60b492a3e) + +962. [func] fdupont + Make the parsing of options and vendor options more consistent + between v4 and v6. In addition make the parsing more robust + against malformed packets. + (Trac #3618, git f4066793c5e034386c689fd72d2a91a70ffb6d5f) + +961. [func] fdupont + Improved error messages when handling invalid or malformed + configuration file. File and line number are printed, when + available. + (Trac #3697, git 70fc36e164e988c251bdaaee7e27c5f6407e0f4c) + +960. [build] fdupont + Get rid of the last bundy pieces of code. + (Trac #3732, git 6b7da42f902fabb6855e54a19ea472c18ba82a93) + +959. [build] fdupont + Removed no longer used logging in cc and config libraries. + (Trac #3732, git 8d0324f4786900db953489ebaa9e018b1238543f) + +958. [func] tomek + DHCPv4 server now supports control channel, implemented over UNIX + socket. Currently supported commands are: statistic-get, + statistic-reset, statistic-remove, statistic-get-all, + statistic-reset-all, statistic-remove-all, shutdown. + (Trac #3880, git 688658395518f0b97d5384af81ceab5206691ad5) + +957. [func] tomek + Per IPv4 subnet statistics (subnet[id].assigned-addresses and + subnet[id].total-addresses) has been implemented. + (Trac #3798, git bab2030f56bbf390959f9f9238a8acc62d583c70) + +956. [func] marcin + Improved log messages emitted by the allocation engine, + which now uses a dedicated logger. + (Trac #3852, git 923928774f4f59c887d768cf155b5978e838a6f2) + +955. [func] tmark + Added unit tests to kea-admin for testing the lease-dump command + with a PostgreSQL backend. Updated PostgreSQL database installation + instructions in Kea Administrator's guide to include use of kea-admin + tool. + (Trac #3884, git 0772b7df2a89e1019141be1d0ddec30d53c4b919) + +954. [func] fdupont + Enhance the versioning information printed by the executables and + make it more consistent across all of the executables. "-v" is for + basic Kea version information, "-V" provides more detailed + versioning and versions for external dynamic libraries, finally + "-W" provides the configure report from the configuration step + during the build of Kea. + (Trac #3513, git 584cf666e101c6cb5c9af76175ddd867ece85764) + (Trac #3859, git 384e6c6225de18fc97d606e4a1972baeef598ba4) + +953. [bug] fdupont + Corrected the setting of string characters to values above 127 + in HMAC tests. + (Trac #3829, git 54f4ec64e513fea1547631122dc1af8579fae3db) + +952. [bug] fdupont + Made some loop indexes an unsigned type to avoid compiler warnings + where the termination condition is comparison with an unsigned + value. + (Trac #3833, git 3db9f1d78f59856b982a1ff84c3b5a1ba7ea39df) + +951. [build] fdupont + Removed BUNDY configuration backend. + (Trac #3732, git 96364cbbb15318c8f55d5b287cda0990d3eaae32) + +950. [doc] marcin + Updated section about logging in the User Guide. Also, + updated Hooks Developer's Guide with the recommendations for + the developers about use of logging in hooks libraries. + (Trac #3805, git b403de1f335a2fb5098c9abc0858b8137892f868) + +949. [func] tmark + kea-admin now supports dumping MySQL and PostgreSQL lease tables + to CSV file, via a new command "lease-dump". This is primarily + intended for use as a diagnostic tool. + (Trac #3802, git 6ec774e8523e7f8415d6cd18c34062489e127847) + +948. [bug] fdupont + libdhcpsrv: check if new host reservation tries to use an already + reserved address. + (Trac #3652, git 4f10b78341b197bd321fbf2ec71db7420e40718d) + +947. [func] marcin + DHCPv6 server now supports Rapid Commit option. + (Trac #3070, git a6b6156aaa95ab74c69a537e90483f82e9fbe4a2) + +946. [doc] tmark + Added doucmentation for kea-admin "lease-dump" command to the + Kea Admininstrator's Guide and kea-admin man page. + (Trac #3803, git 54b59b7ef02f6428405794066ea779e9bd4c0b6e) + +945. [func] marcin + Improved log messages emitted by the DHCPv6 server. Also, + the server is now using multiple distinct loggers for logging + messages pertaining to different functional parts of the + code, e.g. packet transmission, lease allocation, DDNS etc. + (Trac #3807, git c95ebdaf39c3d8d78d83d53db15824c60078f566) + +944. [func] tmark + kea-admin commands lease-init, lease-version, and lease-upgrade + now support PostgreSQL. Note that at this time the PostgreSQL + backend only supports Kea schema version 1.0, so there are no + upgrades available. + (Trac #3883, git 990a0d72fa247e4a12e2608994204c48274e4cd6) + +943. [func] sar + Split the DHCP-DDNS logging messages amongst several loggers to + allow the administrator finer control over debugging messages. + Messages pertaining to the name change requests processing include + an ID, currently the DHCID, to identify the transactions. + (Trac #3808, git 4fbe08234049de6ef67bb5cdb244d180a7a4c3a9) + +942. [func] tomek + 18 new statistics added in DHCPv4 server: generic packet counters, + per packet type counters, parsing failure and packet drops. + (Trac #3794, git a61f40c44910a09699a9a566a5ec35ab758564ba) + +941. [bug] marcin + Configuration parser for host reservations returns an error + when an unsupported parameter is specified. + (Trac 3810, git 54ee0f6328a303c366dd8239e768dfc4a23a5d9b) + +940. [bug] fdupont + DHCPv4 server drops DHCPRELEASE messages sent from a bad + location (i.e., no subnet can be selected) + (Trac 3504, git f0f13ac74779f76ed7af91bd5dab3d11ba00be79) + +939. [bug] fdupont + Small fix in HooksDhcpv4SrvTest.subnet4SelectSimple unit-test. + (Trac 3881, git a21afdffec41fceb61e6760d4108d670b2eabe75) + +938. [build] fdupont + Removed Python from the log library (code, message compiler and + documentation) + (Trac #3734, git d24b7c9716c6eb7a3e9dd2cb3fd2d1bfe4e1201f) + +937. [bug] fdupont + The log ID LOG_UNRECOGNISED_DIRECTIVE was changed to + LOG_UNRECOGNIZED_DIRECTIVE to follow US English spelling. + (Trac #3762, git 235e3304746352e9341008225f9f2392586a9f66) + +936. [bug] fdupont + Added an ASSERT to avoid a crash in HooksDhcpv4SrvTest + subnet4SelectSimple unit test. Fixed out of bounds vector accesses + in perfdhcp (which should not be able to handle links + with long (i.e., more than 6 bytes) link-layer addresses). + (Trac #3868, git c20f47e19d6060605c0611754db7b66b08553caa) + +935. [bug] fdupont + Fixed 3 out of bounds accesses on vectors in DHCP++ code. + (Trac #3854, git de263ad0008f3494a85592f78db1ec662b68e689) + +934. [bug] fdupont + Renamed the DHCP-DDNS constant INVALID_SOCKET to SOCKET_NOT_VALID + to avoid conflicting with a constant of that name defined on some + operating systems. + (Trac #3861, git 28205225ceed03ff3126e43cd06cedbaa7d8d657) + +933. [func]* marcin + DHCPv4 server by default identifies a client using the + client-identifier, if present. The new configuration + parameter 'match-client-id' allows for disabling this + behavior, i.e. 'chaddr' field is used to identify the + client instead. + (Trac #3747, git b9dc6ffd0f3396e9da8e0c83fd82164b8b8af011) + +932. [func] kalmus + MySQL schema has been extended with tables that can store + host reservation. This ticket updates database schema only, + the tables are not in use yet. + (Trac #3567, git d2cd5d53b3f31422a342c9bb8946dad9ed1ea032) + +931. [func] marcin + Improved log messages emitted by the DHCPv4 server. Also, + the server is now using multiple distinct loggers for logging + messages pertaining to different functional parts of the + code, e.g. packet transmission, lease allocation, DDNS etc. + For complete list of logger names see User Guide. + (Trac #3806, git 7b148c2dd5e2696a541883223ce1efd2de81f143) + +930. [func] tomek + Statistics Manager is now implemented. There is a new library + libkea-stats that governs statistics collection. Its usage will + be added in the upcoming tickets. + (Trac #3793, git 68e9554ecabfc2a79731eeec1c706522e4d39332) + +929. [build] fdupont + Corrected problem in build system whereby specifying an + installation directory on the "configure" command line that + included a "+" in the name caused the build to fail. + (Trac #3713, git 741ff09b743307bad28ae13db440e5e0f402d319) + +928. [build] fdupont + A CONFIG_H_WAS_INCLUDED define has been added to provide + a way in source files to check whether config.h has been included. + (Trac #3812, git cbb135d5f217b0692dcdbc9cfcc04f6a0dbc3922) + +927. [bug] tmark + DHCPv4 no longer attempts to update the lease database with the + generated FQDN when processing DHCPDISCOVERs. + (Trac #3779, git 0b413ee8aba1afa1643b216a1e8c35103c6c975b) + +926. [bug] marcin + Fixed the crash during the logging deinitialization. + (Trac #3823, git 435b958860ec7b921645bd5923fff96ea4341f19) + +925. [func] marcin + libkea-hooks logs when the callouts execution begins or ends + for the particular hook. It also logs the execution time of + individual callouts and the total time for all callouts. + (Trac #3804 git dd1432d7807e7d3b54c87dd4b3155d3110619fbd) + +924. [bug] marcin + Removed shell warning about the "missing format character" + in the keactrl usage. + (Trac #3784, git aa683395a4cd75af5340eb8603fe46b7b0dd8f4e) + +923. [func] tmark + The DHCPv4 server now logs packets it has either dropped as invalid + or to which it has replied with a NAK to a separate logger, + "kea_dhcp4.bad_packet". + (Trac #3743, git cb91ca851099423e1b6c39cca3f3e2ba29795a51) + +922. [build] fdupont + The config.h file should never be included by another include file. + Copy missing header files to the install directory. + (Trac #3782, git ea6e9d166faa54b1f9781bc56d7d8fee6c87b1f9) + +921. [func] marcin + libdhcpsrv: Added log traces to the host manager. + (Trac #3699, git 75b75c89db88eb1a81e76f5550f2a5b3155ce42d) + +920. [bug] marcin + Corrected issues with logging initialization in hooks + libraries. The dynamically loaded hooks libraries may now + define their own loggers which are configurable using Kea + configuration file. + (Trac #3198, git 8216a6b1a2ed6e2b38919280809ee21fc4107fd6) + +Kea 0.9.1 released on March 31, 2015 + +919. [doc] stephen + Corrected some configuration examples in the documentation. + (Trac #3772, git e9f084525bc1eec1cca635c00f33228bf7fac6a4) + +918. [func] tomek,tmark + DHCPv6 server now supports static reservations of hostnames + for clients. Note this resolves #3708 by reducing the number + of calls to selectSubnet to once per client request. + (Trac #3689, git c13c824d9948f7e3f71a65ed43798f3b5c14042c) + +917. [bug] marcin + DHCPv4 server may allocate lease for the client which is + using a non-unique identifier (HW address or client id), + if the other identifier is unique. + (Trac #3768, git 0f7a029e2a2a7652d49a0bcd9f49e879fac9136f) + +916. [func] sar + Add a log message that indicates when the v4, v6 or + DHCP-DDNS server has completed processing its + configuration and is about to enter the loop to process + messages. + (Trac #3755, git c71c7836804842bae51fe79fd599c57f5b3d007d) + +915. [func] tomek, marcin + The DHCPv6 server now supports the Relay-Supplied Options + option, as defined in RFC 6422. The relay can insert options + in the relay forward message that the server will send back + to the client if certain criteria are met. + (Trac #3705, git 4772ee589712f5359ecbd79ebf71fbc7bb68741b) + +914. [bug] marcin + DHCPv4 server: corrected the logging message issued when + the server could not allocate or offer the lease for the + client. The corrected message contains the client-id, + hardware address, ciaddr and requested-ip-address. + (Trac #3737, git 4c56e1348c5d50eaa5b3083a0a8c346966e1b603) + +913. [bug] sar + Handle recovery properly should the LFC crash while + manipulating files after completing processing. + (Trac #3759, git bb3b4d14119392261a1766da2b406fa46d4c0f21) + +912. [doc] sar + Added sections on LFC to the administrators and developers + guides. + (Trac #3720, git 828b801e6a4616de331588076ab9c4c35677595) + +911. [func]* marcin + libdhcp++: the C++ objects representing network interfaces + (Iface objects) are now non-copyable. As a result, the API + of the Interface Manager functions returning the pointers + to the Iface objects has changed. + (Trac #3715, git 7415c74e38e13385a75e7200cb23b7d6ca86df7f) + +910. [func] marcin + DHCPv4 server supports static reservations of the hostnames + for the clients. + (Trac #3688, git b5c50e2aff64da05b439da8d5fa4913fc8a704ca) + +909. [bug] marcin + Removed many cppcheck errors in the code. Also removed the + dhcp-ubench test tool. + (Trac #3736, git 552aea126e968b78292ae80c1c6a03c9ef4dcdcd) + +908. [bug] marcin + Handle overflows during time conversions in the MySQL and + PostgreSQL lease database backends. + (Trac #3673, git 27b4e4590fdee507f0e877d7b771dc6c6457a4b5) + +907. [doc] tmark + Corrected depictions of kea-admin command line options for + database-name in Kea Administrator Reference. Prior to this + the document showed "-d" as the database name option, when + in fact it is "-n". + (Trac #3742, git ec427e4c9d008abc800f87eda3c0024b35e4c2e2) + +906. [doc] tmark + Added description of a restriction on extracting a MAC + address from an IPv6 link-local address to the Kea + Administrator Reference, section 8.8, item "ipv6-link-local". + (Trac #3691, git ca9f5541cb36f815ac614c5c21088d545eafcac6) + +905. [func] marcin + DHCPv4 server assigns an address from the dynamic address + pool if the reserved address is in use by another client. + (Trac #3694, git 95b09ff53b941691cba172c933de0682b05a0d85) + +904. [bug] marcin + FreeBSD-only change: Disabled unit test expecting the death + of the process when conditional variable was destroyed when + the thread was still waiting for the variable. This is due + invalid behavior of the pthread_cond_destroy on FreeBSD + which should return EBUSY in such case, whereas it returns + success error code. + (Trac #3710, git bdb442402ef023055715baf597c401c9974a7fb2) + +903. [bug] stephen + Corrected arithmetical error in the rate control module of + perfdhcp which led to the incorrect calculation of the rate + at which packets should be sent. + (Trac #3729, git bb5bca3d9b68abc4b83abdd204bfb075dda630ac) + +902. [bug] marcin + Fixed the bug in the DHCPv4 server whereby the server + reconfiguration (using the SIGHUP signal) failed because + of sockets remaining open since the previous configuration. + (Trac #3730, git 3ceb0cd97cf5e44e8fc151d0a38db553530dd3ed) + Kea 0.9.1beta released on February 18, 2015 901. [bug] tomek diff --cc Makefile.am index dd29bf3242,12bf76b326..20b2235555 --- a/Makefile.am +++ b/Makefile.am @@@ -2,7 -2,7 +2,7 @@@ ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL # ^^^^^^^^ This has to be the first line and cannot come later in this # Makefile.am due to some bork in some versions of autotools. - SUBDIRS = compatcheck doc . ext src m4macros -SUBDIRS = compatcheck tools doc . ext src tests m4macros ++SUBDIRS = compatcheck tools doc . ext src m4macros USE_LCOV=@USE_LCOV@ LCOV=@LCOV@ GENHTML=@GENHTML@ diff --cc configure.ac index 9b2efe4b5d,0eda398d2e..038d2dce12 mode 100755,100644..100755 --- a/configure.ac +++ b/configure.ac @@@ -1478,7 -1473,10 +1478,8 @@@ AC_CONFIG_FILES([compatcheck/Makefil src/lib/util/threads/Makefile src/lib/util/threads/tests/Makefile src/lib/util/unittests/Makefile + tools/Makefile tools/path_replacer.sh - tests/Makefile - tests/tools/Makefile ]) AC_CONFIG_COMMANDS([permissions], [