1Kea 2.0.1 (stable) released on December 15, 2021 2 31954. [build] razvan 4 Library version numbers bumped for Kea 2.0.1 stable version. 5 (Gitlab #2234) 6 71953. [func] razvan, fdupont 8 Finish the GSS-TSIG hook library implementation. 9 (Gitlab #2228, #2122, #2173, #2175, #2177, #2138, #2174, #2121, 10 #2127, #2170, #2128, #2082, #2088, #2125, #2124, #2129, #2113, 11 #2089, #2056, #2120, #2095, #2092, #2109, #2114, #2115) 12 13Kea 2.0.0 (stable) released on September 29, 2021 14 151952. [build] razvan 16 Library version numbers bumped for Kea 2.0.0 stable version. 17 (Gitlab #2104) 18 191951. [doc] tomek 20 A new appendix for configuration templates added to Kea ARM. 21 the first of which is a home power user. 22 (Gitlab #2050) 23 241950. [doc] slawek 25 Added a description and an example of the usage of the "include" 26 statement in the Kea configuration file to the ARM. 27 (Gitalb #2080) 28 291949. [bug] tmark 30 kea-dhcp6 now correctly determines DNS update flags when 31 the allocation engine dynamically changes the selected 32 network subnet. 33 (Gitlab #1622) 34 351948. [func] tmark 36 HTTP library will now emit a warning log when the queue of 37 pending client requests for a given URL exceeds a threshold. 38 (Gitlab #2085) 39 401947. [bug] marcin 41 Corrected a bug in the High Availablity hooks library that could 42 cause a standby server not to synchronize its lease database 43 after a temporary communication interruption with its partner. 44 (Gitlab #1959) 45 461946. [bug] marcin 47 Fixes a bug in MySQL configuration backend schema. DHCP options 48 associated with deleted client classes are now automatically 49 deleted. 50 (Gitlab #2094) 51 521945. [build] andrei 53 Reverted qa#261 changes, which forced linking with OpenSSL 1.1 54 when available. This caused a segfault, when Kea's crypto library 55 used OpenSSL 1.1, but the MySQL library it linked against, used 56 OpenSSL 1.0. 57 (Gitlab #2081) 58 591944. [bug] tmark 60 kea-dhcp4 and kea-dhcp6 both now support a global parameter, 61 parked-packet-limit, that can be used to limit the number 62 of client responses the server may park pending completion 63 of hook library callouts. 64 (Gitlab #1307) 65 661943. [bug] marcin 67 Fixed a bug in fetching client classes from the Config Backend. 68 The bug resulted in failures during attempts to evaluate the 69 classes for a received packet. 70 (Gitlab #2077) 71 721942. [func] fdupont 73 Added basic statistics to the DHCP-DDNS server. 74 (Gitlab #2040) 75 761941. [func] fdupont 77 Per DNS server TSIG keys are now supported in the DHCP-DDNS 78 (aka D2) server configuration. A new callout point 'select_key' 79 gives access to the selected TSIG key before sending DNS updates. 80 (Gitlab #2011) 81 82Kea 1.9.11 (development) released on Aug 30, 2021 83 841940. [build] razvan 85 Library version numbers bumped for Kea 1.9.11 development 86 version. 87 (Gitlab #2053) 88 891939. [bug] tmark 90 Removed all MultiThreadingCriticalSections from lease_cmds 91 hooks library which can cause a dead-lock when running HA+MT. 92 The commands simply try to acquire the resource lock and fail 93 if the resource is unavailable also logging an error message. 94 (Gitlab #2051) 95 961938. [bug] razvan 97 Fix dead locks caused by commands with CS on http listener 98 threads and CS on main thread racing with CS on other threads. 99 (Gitlab #2041, #2043) 100 1011937. [bug] razvan 102 The Config Backend is now capable of reestablishing database 103 connection after a failure. 104 (Gitlab #1982) 105 1061936. [build] andrei 107 Kea attempts to first link with compatibility library OpenSSL 1.1 108 (usually found on CentOS 7) before falling back to the system 109 OpenSSL (1.0 on CentOS 7 which is out of support). 110 (Gitlab qa#261) 111 1121935. [func] andrei 113 The store-extended-info config entry was added to Kea YANG 114 modules at root-level and at subnet-level. 115 (Gitlab #1944) 116 1171934. [func] tmark 118 Kea-dhcp6 now supports specifying valid-lifetime and 119 preferred-lifetime values in client classes (via both 120 configuration file and Config Backend). Prior to this 121 it could only be specified at the global, shared-network, 122 and subnet scopes. 123 (Gitlab #1710) 124 1251933. [doc] fdupont, tomek 126 Added a new ARM section about GSS-TSIG. Currently it describes 127 how to build Kea with GSS-API support. It will be expanded in 128 the future. 129 (Gitlab #2018) 130 1311932. [func] tmark 132 MySQL indexing of leases database has been improved. It now 133 behaves better on older MySQL versions. In particular, the lease 134 reclamation no longer causes full scans to be performed. This 135 fix introduces MySQL schema update to 11.0. This should reduce 136 the periodic performance slowdowns. 137 (Gitlab #2030) 138 1391931. [bug] tomek 140 Two hook messages HOOKS_CALLOUT_ERROR and HOOKS_CALLOUT_MESSAGES 141 are now printing the hook name and index properly. Thank you to 142 Shawn Routhier for reporting the issue. 143 (Gitlab #2020) 144 1451930. [doc] razvan 146 Extended documentation section about setting up the timezones in 147 MySQL and PostgreSQL databases. 148 (Gitlab #1978) 149 1501929. [build] andrei 151 Compatibility with upcoming boost 1.77 has been improved. 152 Thanks to Brad Smith for the patch! 153 (Gitlab #1980) 154 1551928. [bug] tmark 156 Modified kea-dhcp4 and kea-dhcp6 to only append the 157 ddns-qualifying-suffix if the input name does not 158 already end with that suffix. Prior to this the 159 suffix was always added which could lead to names 160 including the suffix twice. 161 (Gitlab #1529) 162 163Kea 1.9.10 (development) released on Jul 30, 2021 164 1651927. [build] razvan 166 Library version numbers bumped for Kea 1.9.10 development 167 version. 168 (Gitlab #1984) 169 1701926. [func]* marcin 171 Server tags in the MySQL database are now represented as strings 172 with a maximum length of 64 characters. Previously, the server 173 tags could be up to 256 characters long, and it could cause 174 database migrations to fail on the systems with UTF-8 encoding 175 configured for MySQL. Shorter server tags avoid hitting the 176 limitation on the maximum length of an indexed table column. 177 (Gitlab #1976) 178 1791925. [build] fdupont 180 Updated parsers to bison 3.3 or later. 181 (Gitlab #453) 182 1831924. [bug] razvan 184 The MultiThreadingCriticalSection is now thread-safe and can be 185 called from http client or http listener processing threads. 186 (Gitlab #1964) 187 1881923. [func] andrei 189 Integrate with Sysrepo v1.x branch. Building with support for 190 Sysrepo now requires the latest v1.x versions: 191 sysrepo v1.4.140 + libyang v1.0.240. 192 Support for legacy Sysrepo versions v0.x has been dropped. 193 (Gitlab #1077) 194 1951922. [func] marcin 196 Added support for storing client classes in the MySQL config 197 backend. 198 (Gitlab #1920, #1928, #1965, #1972, #1977) 199 2001921. [func] fdupont 201 The D2 d2_srv_configured hook point used DROP status to notify 202 the D2 server that an error has occurred and the configuration 203 is rejected. The error message is passed to the D2 server 204 through the new 'error' hook parameter. 205 (Gitlab #1950) 206 207Kea 1.9.9 (development) released on June 30, 2021 208 2091920. [build] andrei 210 Bump library versions for the Kea 1.9.9 development release. 211 (Gitlab #1947) 212 2131919. [bug] razvan 214 Fix the run script hook library leaving behind defunct processes. 215 (Gitlab #1878) 216 2171918. [bug] razvan 218 When parsed, PSID was incorrectly ignoring the PSID value when 219 psid-len was 16 instead of ignoring it when the values is 0 as 220 per the RFC. 221 (Gitlab #1858) 222 2231917. [func] tomek 224 DHCPv4 and DHCPv6 are now more consistent when logging the 225 reasons why a packet was dropped. This information is now 226 available on debuglevel 15. Also added a section in the ARM 227 discussing the debug levels. The subnet selection failed log 228 message now provides more useful information about the subnet. 229 (Gitlab #1915, #1916) 230 2311916. [func] razvan 232 The Kea DHCPv4 server accepts requests using server identifier 233 configured at client class level. 234 (Gitlab #1836) 235 2361915. [func] andrei 237 DOCSIS options are no longer offered to any vendor other than 238 Cable Labs (vendor-id == 4491). This was not an explicit check 239 previously and the match to the vendor relied on a technicality 240 such that other vendors could have received these options under 241 certain conditions. 242 (Gitlab #1894) 243 2441914. [func]* tomek 245 The Cassandra (CQL) support is being deprecated, both for 246 leases and host backends. For the time being the features 247 will produce a warning, but will otherwise function normally. 248 However, the functionality will be removed in the future 249 Kea releases. 250 (Gitlab #1892) 251 2521913. [doc] tomek 253 Kea adopted Developer Certificate of Origin for incoming 254 contributions. Please see the CONTRIBUTING.md file for details. 255 (Gitlab #1895) 256 2571912. [doc] fdupont, tomek 258 The Kea configuration syntax is now documented in BNF notation. 259 See new appendix in the ARM. 260 (Gitlab #504, #745) 261 2621911. [bug] andrei 263 Fixed a minor regression where kea-admin and keactrl would output 264 technical errors like "unbound variable" instead of more helpful 265 messages like "missing backend" because of the undefined variable 266 checks introduced in 1.9.4. Added tests to further prevent it. 267 (Gitlab #1653) 268 2691910. [func] andrei 270 Extended perfdhcp to send v4 DHCPRELEASE messages via -F flag. 271 (Gitlab #1119) 272 2731909. [build] fdupont 274 Experimental support for Heimdal implementation of GSS-API 275 with Kerberos 5 added. 276 (Gitlab #1909) 277 2781908. [func] razvan 279 Added export for V4 option 82 (DHO_DHCP_AGENT_OPTIONS) and 280 respective suboptions 1 (RAI_OPTION_AGENT_CIRCUIT_ID) and 281 suboption 2 (RAI_OPTION_REMOTE_ID) in the run script hooks 282 library. 283 (Gitlab #1840) 284 2851907. [doc] peterd, andrei, razvan 286 Many Kea ARM corrections and updates. 287 (Gitlab #1917) 288 2891906. [func] fdupont 290 Added support for the TKEY DNS resource record. 291 (Gitlab #1880) 292 2931905. [build] fdupont 294 Added an optional --with-gssapi switch to the configure 295 script. It checks for the presence and suitability of 296 packages pertinent to GSS-TSIG. This has been added in 297 anticipation of future work and does not add any 298 functionality to Kea. 299 (Gitlab #1884) 300 301Kea 1.9.8 (development) released on May 26, 2021 302 3031904. [build] wlodek 304 Library version numbers bumped for Kea 1.9.8 development 305 version. 306 (Gitlab #1882) 307 3081903. [func] andrei 309 Kea now recognizes requests sent from vendors that include their 310 information in DHCPv6 Vendor Class option (code 16) for the 311 purpose of offering custom options in the response. Previously, 312 only the Vendor-specific Information option (code 17) was 313 searched for a vendor ID. For the purpose of classification, both 314 options are looked into, now, just as before. 315 (Gitlab #1837) 316 3171902. [func] andrei, fdupont 318 All logs that expose configuration, either in full or in snippets 319 now have the values of "password" and "secret" entries replaced 320 with asterisks "*****". 321 (Gitlab #1721) 322 3231901. [bug] marcin 324 Corrected a bug in DHCPv4 subnet selection. The server ignored 325 the Subnet Selection option supplied by a client if its query 326 contained a Relay Agent Information (RAI) option without a Link 327 Selection option. After this change, the server respects the 328 Subnet Selection option when RAI lacks the Link Selection 329 option. If RAI includes it, it takes precedence over the Subnet 330 Selection option. 331 (Gitlab #1816) 332 3331900. [bug] tmark 334 Fixed a sporadic failure caused by a wrong assertion in 335 unit test, testMtHttpClientTest.workPauseResumeShutdown, 336 introduced by #1818. 337 (Gitlab #1876) 338 3391899. [func] tmark,razvan 340 In HA+Mt mode, the HA hook library now pauses and resumes 341 its worker threads when Kea core enters and exits critical 342 sections, respectively. This eliminates race conditions 343 during core processing such as reconfiguration, shutdown, 344 and certain RESTful API commands. 345 (Gitlab #1818) 346 3471898. [func] fdupont 348 The DROP class may now depend on the KNOWN or UNKNOWN classes 349 and may be used after the host reservation lookup. 350 (Gitlab #1815) 351 3521897. [func] andrei 353 Kea has a new configuration section called "compatibility" geared 354 towards non-compliant clients. The only boolean parameter added 355 for now called "lenient-option-parsing" changes the way DHCPv6 356 option 16's vendor-class-data field is parsed. When enabled, 357 instead of complaining that a length exceeds the rest of the 358 option's buffer, the value is considered to be the rest of the 359 buffer. This also applies to custom options defined with the 360 tuple type for both DHCPv4 and DHCPv6. 361 (Gitlab #1860) 362 3631896. [func] wlodek 364 Perfdhcp extended to send v6 traffic from multiple networks. 365 (Gitlab #1416) 366 3671895. [func] razvan 368 Added additional evaluation tokens to extract and print data: 369 addrtotext, int8totext, int16totext, int32totext, uint8totext, 370 uint16totext, uint32totext. 371 (Gitlab #1680) 372 3731894. [func] fdupont 374 Implemented 'auth' logger, dedicated to logging access 375 control information, such as basic HTTP authentication. 376 (Gitlab #1590) 377 3781893. [func] fdupont 379 Botan 2.14 or later can now be used as a crypto library for 380 the TLS/HTTPS support in Kea. 381 (Gitlab #1665) 382 3831892. [func] fdupont 384 Added + operator as an convenient alias to concat() function 385 in expressions. 386 (Gitlab #1824) 387 388Kea 1.9.7 (development) released on Apr 28, 2021 389 3901891. [build] razvan 391 Library version numbers bumped for Kea 1.9.7 development 392 version. 393 (Gitlab #1820) 394 3951890. [doc] fdupont 396 Added a new section to the ARM, Kea Security, which describes 397 various security related topics and how to address them. 398 (Gitlab #1587) 399 4001889. [func] fdupont 401 Accept comments (shell '#', C++ '//' and C '/*...*/') in 402 JSON commands sent via the control channel or the Control 403 Agent. 404 (Gitlab #1652) 405 4061888. [func] tmark 407 Added a new operational mode, HA+MT, to the HA hook library. 408 HA+MT provides direct, multi-threaded HTTP communication 409 between peers for the exchange HA protocol commands and 410 responses. 411 (Gitlab #1736) 412 4131887. [build] andrei, fdupont 414 Migrated autoconf macros, which became warningly deprecated 415 since autoconf 2.70, to supported macros. 416 (Gitlab #1632, #1651) 417 4181886. [doc] tomek 419 Added a section in the ARM explaining the relationship between 420 keactrl and systemd scripts. 421 (Gitlab #1759) 422 4231885. [func] andrei 424 kea-admin is now able to interactively ask for a password if no 425 parameter follows the -p or the --password parameters. This 426 requires the user to give it as the last parameter. The entered 427 password is not echoed back to the terminal in order to prevent 428 over-the-shoulder snooping or other social engineering 429 techniques. Alternatively, you can set the password via the 430 KEA_ADMIN_DB_PASSWORD environment variable. 431 (Gitlab #1675) 432 4331884. [doc] fdupont 434 HTTP_CONNECTION_HANDSHAKE_FAILED log message got a 435 description. 436 (Gitlab #1779) 437 438Kea 1.9.6 (development) released on March 31, 2021 439 4401883. [build] andrei 441 Bump library versions for Kea 1.9.6 release. 442 (Gitlab #1772) 443 4441882. [func] razvan 445 Implemented database connection recovery for forensic logging. 446 To achieve this, the "on-fail" connection parameter has been 447 added to control the action performed on connection loss. 448 The supported values are "stop-retry-exit", "serve-retry-exit" 449 and "serve-retry-continue". They indicate if the server should 450 disable the service on connection loss ("stop-retry-exit") or if 451 on recovery failure the server should shut down 452 ("stop-retry-exit" and "serve-retry-exit") or continue 453 ("serve-retry-continue"). The default value used (if not 454 configured) is "stop-retry-exit" for lease, host and config 455 backends, and "serve-retry-continue" for forensic log. 456 (Gitlab #1621) 457 4581881. [func] fdupont 459 Moved errors about URLs using names (vs addresses) or 460 https (vs http) scheme in High Availability hook 461 configuration from connection opening time to 462 configuration time. 463 (Gitlab #1758) 464 4651880. [build] fdupont 466 TLS support is now reported by configure in the 467 cryptographic backend section. 468 (Gitlab #1774) 469 4701879. [func] fdupont 471 The Control Agent now supports TLS/HTTPS. This works with 472 OpenSSL and there are known problems with Botan, which will 473 be addressed in the future. 474 (Gitlab #1662) 475 4761878. [bug] razvan 477 Request enabling DHCP service when the HA hooks library is 478 unloaded. It may remain disabled if it had been disabled 479 outside of the HA hooks library. Prior to this change, if 480 the HA hooks library disabled the DHCP service it would 481 always remain disabled after the hooks library was unloaded. 482 (Gitlab #1697) 483 4841877. [func] fdupont 485 kea-shell supports TLS/HTTPS. This is limited to the python 3 486 version i.e. if kea-shell is configured with python 2 it still 487 works in 1.9.6 but raises an error if a new TLS/HTTPS argument 488 is specified. 489 (Gitlab #1663) 490 4911876. [doc] fdupont 492 Added documentation for TLS/HTTPS support. 493 (Gitlab #1664) 494 4951875. [func] fdupont 496 TLS/HTTPS support was added to asiolink and http libraries. 497 (Gitlab #1661) 498 4991874. [doc] marcin 500 Added notes in the ARM highlighting that the address and 501 delegated prefix pools must be split when HA load-balancing 502 mode is used. 503 (Gitlab #1726) 504 5051873. [func] andrei 506 kea-admin now accepts the -P|--port parameter with a custom 507 port used to connect to the database. 508 (Gitlab #1674) 509 510Kea 1.9.5 (development) released on Feb 24, 2021 511 5121872. [build] razvan 513 Library version numbers bumped for Kea 1.9.5 development 514 version. 515 (Gitlab #1713) 516 5171871. [bug] andrei 518 The cache threshold feature introduced in 1.9.4 modified 519 previously versioned schema 9.5. This caused problems for people 520 who had already upgraded to 9.5 which in Kea versions means 1.9.2 521 and 1.9.3. 522 In this change, the upgrade commands were moved to schema 9.6 and 523 are only applied if the database does not contain the required 524 columns. Affected Kea installments can now be upgraded to 1.9.5 525 and above seamlessly. 526 (Gitlab #1698) 527 5281870. [bug] razvan 529 Fixed a crash when using the Kea Legal Log Hooks Library with 530 multi-threading. This bug was affecting only database backends. 531 The log file backend was not affected by this bug. 532 (Gitlab #1711) 533 5341869. [func] tmark 535 Kea-dhcp4 now supports specifying valid-lifetime in client 536 classes. Prior to this it could only be specified at the 537 global, shared-network, and subnet scopes. 538 (Gitlab #1635) 539 5401868. [func] andrei 541 The forensic log hook library has gained an auto-increment 542 primary key column in it's logs table. It is now able to function 543 in a MySQL Percona cluster which requires a primary key for all 544 it's tables when configured with pxc_strict_mode = ENFORCING 545 which is also the default value. 546 (Gitlab #1709) 547 5481867. [bug] andrei 549 MySQL connection unit tests have been modified to work with 550 Percona cluster. This change doesn't fix all problems, but it 551 improves the situation sufficiently to be able to run unit tests 552 with positive results on a Percona cluster. 553 (Gitlab #1708) 554 5551866. [func] marcin 556 Added new log messages issued when a dynamic lease allocation 557 fails. The new messages provide comprehensive information about 558 the circumstances in which the failure occurred. In particular, 559 they state whether the client is connected to a shared network 560 or not. If it is, the shared network name is provided. Otherwise, 561 the client's subnet id is logged. The new messages also inform 562 from how many subnets the server attempted to allocate a lease 563 and how many subnets could not be used because of non-matching 564 client classes. 565 (Gitlab #1701) 566 5671865. [func] razvan 568 Implemented the Run Script hooks library which can be used to 569 run external scripts for specific packet processing hook points. 570 There are several exported environment variables available for 571 the script. Currently the implementation is nonblocking and 572 Kea will not wait for the script to finish execution before 573 continuing to the next step. For this reason, the next step 574 provided by the script is ignored. 575 (Gitlab #899) 576 5771864. [func] fdupont 578 New parameters to handle TLS support added in Control Agent 579 config: "trust-anchor", "cert-file", "key-file" and 580 "cert-required". They can be configured, but their values are 581 not yet used. 582 (Gitlab #1662) 583 5841863. [func] andrei 585 The perfdhcp tool now supports the -x l option that exports the 586 assigned leases to stdout in CSV format. This new capability is 587 very useful for the ongoing DB cluster experiments, where we need 588 to correlate leases between multiple Kea instances sharing the 589 same cluster. 590 (Gitlab #1703) 591 5921862. [build] andrei 593 Added execution permissions to the upgrade scripts in Kea's 594 installation. Previously kea-admin db-upgrade would fail with a 595 permission denied error. It started manifesting in 1.9.3 and 596 affected 1.9.4 as well. Additionally, now, when running make in 597 the source repository to recreate scripts e.g. kea-admin, after a 598 change to the .in files e.g. kea-admin.in, they maintain the 599 execution permissions granted in the initial build. This makes 600 development more seamless. 601 (Gitlab #1681) 602 6031861. [bug]* tmark 604 kea-dhcp4 now uses the value for each fixed field (e.g. 605 next-server, server-hostname, boot-file-name) from the 606 first class in query's list of classes that specifies the 607 field. Prior to this it used the value from the last class 608 which specified the field. It may be necessary to revise 609 existing configurations to get the desired values. 610 (Gitlab #1672) 611 612Kea 1.9.4 (development) released on Jan 27, 2021 613 6141860. [build] razvan 615 Library version numbers bumped for Kea 1.9.4 development 616 version. 617 (Gitlab #1666) 618 6191859. [doc] wlodek 620 Added example files with configured Vendor Specific Information 621 option (code 43) and Vendor-Identifying Vendor-specific 622 Information option (code 125) with several suboptions each. 623 (Gitlab #1546) 624 6251858. [bug] razvan 626 The DHCP service can be independently enabled or disabled by 627 the user command, by the database connection mechanics or 628 by the HA library. The DHCP service is disabled when any 629 of those originators disables the service, and it is enabled 630 when all those who previously disabled the service enable it. 631 The 'dhcp-enable' and 'dhcp-disable' commands accept 'origin' 632 parameter with valid values of 'user' (which is the default) 633 indicating a user generated command and 'ha-partner' which is 634 used internally by the HA library. 635 (Gitlab #1601) 636 6371857. [build] andrei 638 Code format styles meant to be as close as possible to the 639 recommended coding guidelines are now included with the Kea 640 source repository in the form of .clang-format and 641 .uncrustify.cfg. The clang-format.sh and uncrustify.sh scripts in 642 the tools directory can be used to apply these styles to chosen 643 files. See coding guidelines in CONTRIBUTING.md for more details. 644 (Gitlab #1455) 645 6461856. [bug] razvan 647 When using the config backend, the server converts the old 648 'reservation-mode' global parameter internally to new 649 reservation flags. The new flags are listed when issuing the 650 config-get command. 651 (Gitlab #1598) 652 6531855. [func] marcin 654 Improved failover procedure in Kea High Availability library 655 by introducing new communication-recovery state. In this 656 state the load balancing servers remain responsive to DHCP 657 queries when the communication between them is interrupted. 658 The new feature is controlled using the delayed-updates-limit 659 configuration parameter. 660 (Gitlab #1402) 661 6621854. [func, perf] fdupont 663 Implemented "lease caching", a feature similar to ISC 664 DHCP's dhcp-cache-threshold. Lease caching is configured 665 through two new parameters: cache-max-age and cache-threshold, 666 and is supported by both kea-dhcp4 and kea-dhcp6. When enabled, 667 lease-caching allows the server to skip updating lease storage, 668 when a client is requesting it's own pre-existing lease whose 669 age falls under the cache threshold and for which there are no 670 substantive changes to lease values such as the hostname. 671 (Gitlab #1418) 672 6731853. [func] fdupont 674 Populated the space field of option definitions. This solved 675 reported bugs where a specific standard option processing 676 was applied to an option from another space but sharing the 677 same code. In particular, this fixes the problem reported 678 with vendor suboption 125. 679 (Gitlab #1585) 680 6811852. [bug] razvan 682 Corrected the value of unacked-clients-left returned in response 683 to the status-get command and the corresponding log messages. 684 The previously returned value was too low by 1. 685 (Gitlab #1578) 686 6871851. [func] fdupont 688 Removed methods fetching leases by both client identifier 689 and hardware addresses from the API. 690 (Gitlab #1540) 691 6921850. [build] andrei 693 Add two scripts to help with code aesthetics, insight on how Kea 694 is built or minor build optimizations: 695 * ./tools/check-for-duplicate-includes.sh: warns you if 696 there is a source file that includes the same header twice. 697 While this wouldn't normally result in any errors, it is an 698 unusual practice. If you feel that a header should be included 699 twice in a file, add the file under "# Exceptions:" in the 700 script. 701 * ./tools/print-generated-files.sh: prints all the files 702 that are generated which may or may not be part of the 703 repository. These consist of messages, parser files, and "built 704 sources" (as called in Makefile.am files). 705 (Gitlab #1602) 706 7071849. [doc] tomek 708 Two known DHCPv4 RFC violations are now documented in the ARM. 709 They are both cases where Kea deliberately deviates from the 710 RFC to accommodate some common broken-client behaviors. 711 (Gitlab #1608, #1615) 712 7131848. [bug] razvan 714 The cql upgrade script from schema v3.0 to v4.0 was broken in 715 Kea-1.9.3 and has been fixed also enabling the unittest. 716 (Gitlab #1616) 717 718Kea 1.9.3 (development) released on Dec 16, 2020 719 7201847. [bug] andrei 721 Harden shell scripts and fix some of the resulted test failures. 722 * #!/bin/sh for all scripts 723 * set -eu in all scripts 724 * shellcheck all scripts, and fix all shellcheck warnings 725 * and more... 726 (Gitlab #1574) 727 7281846. [build] razvan 729 Library version numbers bumped for Kea 1.9.3 development 730 version. 731 (Gitlab #1605) 732 7331845. [func] marcin 734 Kea configuration now allows for using database passwords 735 which include whitespace. 736 (Gitlab #692) 737 7381844. [bug] marcin 739 Corrected a bug in Kea Control Agent error responses when a 740 malformed command was sent. In some cases a map with an error 741 response was returned instead of a list. 742 (Gitlab #432) 743 7441843. [func] andrei 745 Allow perfdhcp to request options via option 55 PRL. perfdhcp 746 adds option 55 with a few requested options by default so in 747 order to allow `perfdhcp -o 55,abcd` special logic to merge all 748 the buffers of option 55 was implemented. Works with multiple 749 `-o` arguments. 750 (Gitlab #1508) 751 7521842. [func] razvan 753 Fixed the db connection reconnect implementation to honor 754 each connection backend configuration. The most important 755 improvement is that only the affected manager will be 756 recreated when a connection is lost. Previously, even 757 managers which were not affected had to be recreated on 758 any connection loss. Also fixed an issue with recovery 759 when multi-threading is enabled. 760 (Gitlab #1375) 761 7621841. [bug] marcin 763 Corrected issues with inheritance of the DHCPv6 interface-id 764 parameter. When interface-id is set at shared network level 765 but not at the subnet level this setting is properly propagated 766 to the config backend and reported when responding to the 767 config-get command. Prior to this change, if the interface-id 768 was set for a shared network, it was always returned for the 769 subnets belonging to this shared network, even when subnet 770 specific value was not specified. 771 (Gitlab #652) 772 7731840. [bug] fdupont 774 Fixed the inheritance of the triple min-valid-lifetime, 775 valid-lifetime and max-valid-lifetime parameters from 776 the global scope, and fixed it for preferred-lifetime too. 777 Added a sanity check refusing incorrect settings, e.g. 778 the lifetime not being between min and max values. 779 (Gitlab #1456) 780 7811839. [bug] tmark 782 kea-dhcp4 and kea-dhcp6 now calculate the DDNS TTL value 783 based on RFC 4702, Section 5 which suggests that the 784 TTL value be 1/3 of the lease's valid life time with a 785 minimum value of 10 minutes. Prior to this the servers 786 set the TTL to equal to the lease's valid life time. 787 (Gitlab #936) 788 7891838. [bug] fdupont 790 The DHCPv6 sent multiple instances of an option or a 791 sub-option when it seems to be requested more than once 792 directly by the client or using the always-send flag. 793 (Gitlab #1449) 794 7951837. [doc] cstrotm 796 Several Kea ARM corrections. 797 (Gitlab #1514) 798 799Kea 1.9.2 (development) released on Nov 25, 2020 800 8011836. [build] razvan 802 Library version numbers bumped for Kea 1.9.2 development 803 version. 804 (Gitlab #1555) 805 8061835. [doc] peterd 807 Several Kea ARM corrections. 808 (Gitlab #1536) 809 8101834. [func] fdupont 811 Added two new callouts (hook points) in the control agent. 812 The "auth" callout is executed after the basic authentication 813 (if configured) and the command processing. The "response" 814 callout is executed after the command processing and before 815 the HTTP response is returned. 816 (Gitlab #1421) 817 8181833. [doc] sgoldlust 819 Many documentation corrections. 820 (Gitlab #1539) 821 8221832. [func] tomek, wlodek 823 Perfdhcp extended with functionality to gradually 824 increase elapsed time in solicit and secs field in offer. 825 (Gitlab #1332) 826 8271831. [bug] razvan 828 Fixed the DHCPv6 server implementation of the 829 reservations-out-of-pool flag to match the DHCPv4 one. When the 830 flag is true: 831 * the server assumes that all reserved address do not belong to 832 the dynamic pool. 833 * the server will not assign reserved addresses that are inside 834 the dynamic pool to the respective clients. 835 * addresses matching the respective reservations from inside 836 the dynamic pools (if any) can be dynamically assigned to any 837 client. 838 (Gitlab #1550) 839 8401830. [func] fdupont, razvan 841 Added new configuration options reservations-global, 842 reservations-in-subnet and reservations-out-of-pool to replace 843 the old reservation-mode parameter. The new flags can be 844 configured independently, adding support for new configuration 845 scenarios when global and in subnet reservations are both 846 active. 847 (Gitlab #1405) 848 8491829. [bug] fdupont, razvan 850 Fixed a bug in the hasAddressReservation function which was 851 causing the search for reservations to end as soon as no global 852 reservation was found when configuring a subnet or shared 853 network with global reservations enabled. 854 (Gitlab #1405) 855 8561828. [bug] andrei, razvan 857 Fix trivial logic error in handling the "lease4-update" command 858 manifesting itself on v4 if multi-threading is enabled. 859 Notable affected environment is a HA with the 860 "send-lease-updates" configuration setting explicitly set to 861 true. Prior to this fix, lease updates would not go through to 862 other HA nodes, even though some log lines would say they would. 863 A simple workaround prior to this fix is to disable 864 multi-threading. 865 (Gitlab #1542) 866 8671827. [build] andrei 868 Add `tools/add-config-h.sh` script that can add 869 `#include <config.h>` lines to non-generated source files that 870 are missing it. 871 (Gitlab #1453) 872 873Kea 1.9.1 (development) released on Oct 28, 2020 874 8751826. [build] razvan 876 Library version numbers bumped for Kea 1.9.1 development 877 version. 878 (Gitlab #1481) 879 8801825. [doc] andrei 881 Examples for option definitions, option data, standardized option 882 spaces other than "dhcp[46]", custom option spaces, option 883 embedding under doc/examples/kea[46]/all-options.json. 884 (Gitlab #1298) 885 8861824. [func] tmark 887 Added a new parameter, ddns-use-conflict-resolution, to 888 kea-dhcp4 and kea-dhcp6. This parameter is passed per request 889 to kea-dhcp-ddns which uses it to determine whether or not 890 conflict resolution rules (see RFC 4703) are followed for that 891 request. The default value is true. Disabling conflict 892 resolution should only be used after careful consideration. 893 (Gitlab #1386) 894 8951823. [doc] tomek 896 Updated options documentation for DHCPv4 and DHCPv6. 897 (Gitlab #1436, #1460) 898 8991822. [func] fdupont 900 When multi-threading is enabled the status-get command displays 901 the average length of the multi-threading packet queue for last 902 10, 100 and 1000 packets. 903 (Gitlab #1306) 904 9051821. [func] anonymous, fdupont 906 The forensic log hook library now logs release and decline 907 events. 908 (Gitlab #1445) 909 9101820. [bug] razvan 911 Fixed lease update when using HA and lease_cmds hooks with 912 database backend. Previously, HA updates were rejected because 913 the database backend rejects operations on the lease if the old 914 expiration time is different than what it is already stored, to 915 act as a protection mechanism for parallel updates from several 916 threads or processes. 917 (Gitlab #1434) 918 9191819. [func] fdupont 920 Improved error messages for bad escapes in JSON strings. 921 (Gitlab #151) 922 9231818. [doc] andrei 924 Add to the reservation documentation: 925 * instructions on how to choose "reservation-mode" 926 * priority of "reservation-mode" specified at all levels 927 * priority of file reservations vs database reservations 928 (Gitlab #1299) 929 9301817. [func] fdupont 931 Redact control agent logs to hide basic HTTP authentication 932 passwords from the configuration files. Note that when HTTP 933 headers are logged credentials are present in clear text. 934 (Gitlab #1459) 935 9361816. [func] fdupont 937 The message logged when basic HTTP authentication succeed is 938 now informative (was DEBUG, is INFO now). 939 (Gitlab #1450) 940 9411815. [bug] marcin 942 Fixed libdhcpsrv build failures when building without database 943 backends. 944 (Gitlab #1468) 945 9461814. [func] marcin 947 Added ip-reservations-unique global parameter which controls 948 whether or not it is allowed to create multiple host reservations 949 for the same IP address or delegated prefix. By default, it is 950 not allowed to create multiple reservations for the same lease 951 within the same subnet. This change facilitates the use case 952 in which a single host can communicate with the DHCP server over 953 multiple network interfaces but should be assigned the same 954 reserved lease regardless of which interface is used. 955 (Gitlab #1428) 956 9571813. [func] tmark 958 A new parameter, ddns-update-on-renew, has been added to 959 kea-dhcp4 and kea-dhcp6 configuration. When true, the server 960 will always update DNS when a lease is renewed even if the DNS 961 information for the lease has not changed. The prior, and now 962 default, behavior is for the server to only update DNS for a 963 renewing lease if its DNS information has changed. 964 (Gitlab #1385) 965 9661812. [doc] andrei 967 Document how MAC addresses can be formatted for use as attributes 968 in RADIUS authentication 969 (Gitlab #1441) 970 9711811. [func] fdupont 972 Two new parameters were added: cache-threshold and cache-max-age 973 to the DHCPv4 and DHCPv6 global scopes. They will govern the 974 upcoming cache threshold feature. The parameters can be set and 975 retrieved, but they're not used yet. 976 (Gitlab #1418) 977 978Kea 1.9.0 (development) released on Sep 30, 2020 979 9801810. [build] fdupont, razvan 981 Bump up libs version for Kea 1.9.0 release. 982 (Gitlab #1400) 983 9841809. [func] razvan 985 Added csv-format option to flex_option hook to be able to insert 986 option data in csv format. The implicit value is false, 987 maintaining compatibility with the previous default raw format. 988 (Gitlab #1373) 989 9901808. [func] razvan 991 Support for new IPv6-only-preferred option for DHCPv4 has been 992 added. It lets Kea to signal to compatible devices that the 993 IPv6 connectivity is available and they can disable their 994 IPv4 stack. This implements support for draft-ietf-dhc-v6only-08, 995 which is expected to be soon published by IETF as an RFC. 996 (Gitlab #1351) 997 9981807. [doc] tomek 999 Added separate table with DHCPv4 options that are governed by Kea 1000 itself, rather than configured by administrator. 1001 (Gitlab #1323, #1398) 1002 10031806. [bug] tmark 1004 The DNS update code behaving better when there is a shared 1005 network and the code initially selected one subnet, but then 1006 later determined that a different subnet will be used. There 1007 is still a corner-case in DHCPv6 if the client requests multiple 1008 addresses or multiple prefixes and some of them is serviced from 1009 one subnet and some from another. 1010 (Gitlab #1389) 1011 10121805. [doc] tomek 1013 API documentation for lease4-get-* and lease6-get-* commands 1014 has been updated. 1015 (Gitlab #1392) 1016 10171804. [func] fdupont 1018 Added a new reservation-get-by-id command to retrieve all host 1019 reservations with an identifier value and type. Made the 1020 subnet-id optional in the reservation-get-page command. 1021 (Gitlab #1163) 1022 10231803. [doc] fdupont 1024 Corrected Kea ARM sections describing how to send DHCPv6 1025 Vendor-specific Information Option (code 17) with sub-options. 1026 (Gitlab #1025) 1027 10281802. [bug] fdupont 1029 Removed the bug which allowed for repeating the same 1030 configuration parameter multiple times in the same scope. 1031 The second occurrence of the parameter overwrote the first 1032 occurrence causing server misconfiguration. Starting from 1033 this change an error is raised when the same parameter occurs 1034 multiple times in a given scope the location of the first value. 1035 (Gitlab #1102) 1036 10371801. [doc] fdupont 1038 Moved JSON files describing commands to the share directory 1039 and adding a new access entry taking read or write values. 1040 (Gitlab #1240) 1041 10421800. [func] fdupont 1043 Added support of basic HTTP authentication in HTTP library, 1044 control agent, kea shell and high availability hook. 1045 (Gitlab #1304) 1046 10471799. [bug] fdupont 1048 Checked execution of queries to get schema versions of MySQL 1049 and PostgreSQL database in kea-admin. 1050 (Gitlab #828) 1051 10521798. [bug] tmark 1053 kea-dhcp4 now correctly updates DNS when a client 1054 returns for lease after the lease has expired. Prior 1055 to this, the server would remove the entries but then 1056 fail to add them unless the hostname (or FQDN) changed. 1057 This change also eliminates redundant DNS removes when 1058 expired leases are reclaimed and given to different clients. 1059 (Gitlab #1409) 1060 1061Kea 1.8.0 (stable) released on Aug 26, 2020 1062 10631797. [build] razvan 1064 Bump up libs version for Kea 1.8.0 release. 1065 (Gitlab #1395) 1066 10671796. [bug] marcin 1068 Kea HTTP client re-establishes connection with the HTTP server 1069 when timeout occurs. Prior to this change the client tried to 1070 reuse the connection after timeout often getting subsequent 1071 timeouts. Re-establishing the connection may help avoid further 1072 timeouts during the High Availability operation. 1073 (Gitlab #1390) 1074 10751795. [bug] razvan 1076 Added check for 'renew-timer' value to be lower than or equal to 1077 'rebind-timer' value at subnet and shared network level. 1078 (Gitlab #505) 1079 10801794. [func] razvan 1081 The 'status-get' command send to DHCPv4 or DHCPv6 servers will return 1082 information about multi threading settings ('multi-threading-enabled', 1083 and only if this setting is active, 'thread-pool-size' and 1084 'packet-queue-size'). 1085 (Gitlab #1305) 1086 10871793. [doc] tmark 1088 Added Leasequery hook library to the list of available hook 1089 libraries in the ARM. 1090 (Gitlab #1372) 1091 10921792. [doc] tmark 1093 Added the Database Connectivity section to the ARM which explains 1094 how Kea servers respond to back end database connectivity issues. 1095 (Gitlab #1284) 1096 10971791. [doc] tmark 1098 Updated the ARM section for the Lease Commands hook library 1099 which incorrectly stated that a command return value of 2 would 1100 be returned when no lease(s) matched the command. The value 1101 returned is actually 3. 1102 (Gitlab #1384) 1103 11041790. [bug] marcin 1105 Fixed a bug in Kea Configuration Backend observed when using certain 1106 MariaDB database versions. As a result of this bug the Kea servers were 1107 unable to fetch configurations stored in the database upon startup. The 1108 bug was related to the usage of timestamps which in MariaDB must be 1109 set to 1970-01-01 00:00:01 UTC or later. In some cases the Kea CB used 1110 out of bounds timestamp values. This bug was observed when using MariaDB 1111 10.4.13. 1112 (Gitlab #1382) 1113 11141789. [bug] razvan 1115 Fixed a bug in the lease reclaim process which would not reschedule the 1116 timer if the operation failed. 1117 (Gitlab #1335) 1118 11191788. [bug]* fdupont 1120 When a host reservation in a subnet reserves an address, the 1121 address must be within the subnet. This check was previously 1122 only done by the host command hook library. Note it does not 1123 apply to prefix delegation. 1124 (Gitlab #1254) 1125 11261787. [bug] razvan 1127 The recount leases functions consider leases in 'declined' state as 1128 'assigned' so that when the lease is reclaimed or reused, no negative 1129 counters are generated. The 'subnet[X].reclaimed-leases' and 1130 'reclaimed-leases' are now cumulative counters and are never 1131 decremented or reset until server restart. Removed references to non 1132 existent 'declined-reclaimed-addresses' counters. 1133 (Gitlab #1336) 1134 11351786. [bug] razvan 1136 Update lease stats when using commands from lease-cmds hook. 1137 (Gitlab #1065) 1138 11391785. [func] fdupont 1140 If enabled, the default value for queue capacity in congestion control 1141 has been trimmed down from 500 to 64. The feature continues to be disabled 1142 by default. 1143 (Gitlab #285) 1144 11451784. [build] wlodek 1146 Socket path in kea ddns default config was changed to 1147 /tmp/kea-ddns-ctrl-socket. 1148 (Gitlab #1379) 1149 11501783. [doc] tomek 1151 Installation instructions for RADIUS hook updated. 1152 (Gitlab #1310) 1153 11541782. [bug] tmark 1155 Corrected a bug that causes kea-dhcp4/kea-dhcp6 servers to crash after 1156 losing connectivity to a configuration backend database. The servers 1157 now correctly honor the max-reconnect-tries parameter. 1158 (Gitlab #1369) 1159 11601781. [bug] razvan 1161 Reject invalid declined state for PD prefix in add and update 1162 commands in lease-cmds hook. 1163 (Gitlab #1349) 1164 1165Kea 1.7.10 (development) released on Jul 29, 2020 1166 11671780. [doc] wlodek 1168 Added a section to Kea ARM about tuning performance for kea-dhcp4 1169 and kea-dhcp6. 1170 (Gitlab #1285) 1171 11721779. [build] tmark 1173 Library version numbers bumped for release. 1174 (Gitlab #1346) 1175 11761778. [func]* fdupont 1177 Changed the order of subnets to follow ascending subnet identifier. 1178 (Gitlab #1265) 1179 11801777. [doc] fdupont 1181 Added in the Developer's Guide an example about how to cross 1182 compile Kea for a Raspberry Pi. 1183 (Gitlab #1221) 1184 11851776. [func] fdupont 1186 DHCP servers now log a fatal error message when a reconfiguration 1187 attempt left a no longer working server. Documentation was 1188 updated tp propose remedy actions. 1189 (Gitlab #507,#1166) 1190 11911775. [doc] vicky 1192 A Code of Conduct has been added. 1193 (Gitlab #1143) 1194 11951774. [func] tmark 1196 leaseX-del commands now support a new parameter, update-ddns, 1197 which instructs the server to remove DNS entries for a 1198 lease after it has been deleted. 1199 (Gitlab #544) 1200 12011773. [perf] fdupont 1202 Kea statistics now uses standard c++11 chrono library instead 1203 of POSIX time library from boost. 1204 (Gitlab #1174) 1205 12061772. [perf] fdupont 1207 Set kea-lfc process priority to lower than default. 1208 This change should alleviate CPU utilization spikes caused 1209 by LFC process observed on some systems. 1210 (Gitlab #1311) 1211 12121771. [func] fdupont 1213 Duplicate ChangeLog entry removed. 1214 12151770. [func] fdupont 1216 Added kea-admin lease-stat-recount command which recounts cached 1217 statistics in MySQL and PostgreSQL lease databases. 1218 (Gitlab #1196) 1219 12201769. [build] fdupont 1221 Added detection of the musl libc which implements dlclose() as 1222 a no-operation: this behavior breaks Kea expectations for 1223 hook library unloading. 1224 (Gitlab #771) 1225 12261768. [func]* fdupont 1227 Removed the support of the Logging toplevel entry. Now loggers must 1228 be defined in each server toplevel entry. 1229 (Gitlab #916) 1230 12311767. [bug] fdupont 1232 Fixed unit tests failing on systems where an interface is named eth0. 1233 (Gitlab #1043) 1234 12351766. [func] fdupont 1236 Optimized the interface manager code and removed the 16 bit limit 1237 to interface indexes. 1238 (Gitlab #553) 1239 12401765. [bug] fdupont 1241 Corrected a bug in MySQL Config Backend which occasionally caused 1242 the DHCP servers to overlook some configuration changes. This 1243 issue could occur when the server fetched configuration changes 1244 within one second after they they were applied in the database. 1245 (Gitlab #1247) 1246 12471764. [doc] fdupont 1248 Added thread safety consideration sections to library documentations 1249 in the developer guide. 1250 (Gitlab #996,#1264) 1251 12521763. [bug] fdupont 1253 Changed the way hook libraries are unloaded. Now unload is done 1254 in two phases: the first phase calls unload() entry points and 1255 removes callouts, the second phase unmaps hook library memory 1256 spaces. This should lead to fewer problems including fewer crashes 1257 at exit time. On the other hand, incorrect libraries can stay 1258 in memory until exit and prevent any (re)load. 1259 (Gitlab #1282) 1260 1261Kea 1.7.9 (development) released on June 24, 2020 1262 12631762. [bug] fdupont 1264 Fixed the control command execution: either it was deferred by 1265 DHCP packet processing or a spurious error message was logged. 1266 (Gitlab #1234) 1267 12681761. [bug] fdupont 1269 Found and fixed a possible source of incorrect statistics cached 1270 in MySQL and PostgreSQL lease databases which in some cases 1271 made servers fail to start. 1272 (Gitlab #944,#1196) 1273 12741760. [bug] razvan 1275 Fixed log message on DHCPv6 IA_NA lease renew. 1276 (Gitlab #1276) 1277 12781759. [bug]* fdupont 1279 Fixed the way configuration global entries are parsed in DHCPv4 1280 and DHCPv6 servers. We expect that the change will not be visible 1281 for sane configurations. 1282 (Gitlab #1245) 1283 12841758. [func]* fdupont 1285 Earlier Kea versions converted "comment" entries to "user-context" 1286 scope in the configuration when using config-get. This backwards 1287 compatibility has now been removed. This may affect users who use 1288 config-get or config-write commands and use comments in their 1289 configurations. 1290 (Gitlab #1100) 1291 12921757. [bug] fdupont 1293 config-backend-pull commands were fixed to be applied to the 1294 current configuration 1295 (Gitlab #1189) 1296 12971756. [bug] fdupont 1298 Made the parking lot API generic thread safe. 1299 (Gitlab #1255) 1300 13011755. [func]* fdupont 1302 Implemented various race avoidance mechanisms in the multi-threaded 1303 packet processing: only one query from the same client is processed, 1304 subsequent queries from the same client are dropped at the exception 1305 of the most recent which will be processed after. When picking 1306 a free address or prefix from a pool the resource is considered 1307 as not free for other threads. This is used by the lease commands 1308 hooks library to avoid conflicts with a minimal overhead. 1309 Finally individual lease reclamation is exclusive of multi-threaded 1310 packet processing. 1311 (Gitlab #1147) 1312 1313Kea 1.7.8 (development) released on May 27, 2020 1314 13151754. [func] marcin 1316 Improved the procedure of restarting the servers in the terminated 1317 HA state. The servers can now be restarted sequentially without the 1318 risk of returning to the terminated state right after restart. 1319 Previously, the servers had to be both shutdown before being 1320 restarted to avoid returning to the terminated state. 1321 (Gitlab #1205) 1322 13231753. [func]* marcin 1324 Extended the response to the status-get command to include 1325 information about the progress of the failover procedure 1326 while the active servers are in the communication interrupted 1327 state. The new data allow for monitoring the number of clients 1328 attempting to communicate with the partner which is presumably 1329 offline, total number of packets sent to the partner and so on. 1330 The syntax of the response was modified and is incompatible with 1331 previous Kea versions. 1332 (Gitlab #1087) 1333 13341752. [doc] tmark 1335 Added documentation for the Leasequery premium 1336 hook library to the ARM. 1337 (Gitlab #1180) 1338 13391751. [perf] marcin 1340 Corrected performance issue occurring while loading large configurations 1341 via the MySQL Config Backend. Improper database indexing caused long 1342 server startup time as well as long time to respond to various 1343 commands, such as subnet4-list or subnet6-list. 1344 (Gitlab #1242) 1345 13461750. [func] razvan 1347 Refactored HooksManager so that no lazy initialization is possible 1348 from dhcp processing functions. The function getHooksManager is now 1349 private. 1350 (Gitlab #1227) 1351 13521749. [func] fdupont 1353 When the version is a development (vs. stable) one (second 1354 number is odd, e.g. in 1.7.x) a server or agent logs a 1355 warning to dissuade use in production. 1356 (Gitlab #1184) 1357 13581748. [func] marcin 1359 Added two extensions to the HA hooks library. Firstly, the active 1360 servers no longer wait for the lease update acknowledgments from 1361 the backup servers. Secondly, the new passive-backup mode allows 1362 for running a single active server with a number of backup 1363 servers. 1364 (Gitlab #999) 1365 13661747. [bug] fdupont 1367 Multi-threading and congestion handling were made incompatible: 1368 when both are enabled by a configuration the dhcp-queue-control is 1369 silently disabled, when packet-queue-size is not 0 and the 1370 multi-threading packet queue is full the oldest packet is dropped 1371 to make room for a new received one. 1372 (Gitlab #1173) 1373 13741746. [bug] fdupont 1375 lease4-add and lease6-add commands now return an error when the 1376 lease already exists. 1377 (Gitlab #1170) 1378 13791745. [bug] fdupont 1380 Made state model and external sockets thread safe. 1381 (Gitlab #1095) 1382 13831744. [func] razvan 1384 Stopping packet processing when changing or reloading configuration. 1385 (Gitlab #1188) 1386 1387Kea 1.7.7 (development) released on Apr 29, 2020 1388 13891743. [doc] tomek 1390 ISC now provides a dashboard solution for Kea. Added documentation 1391 pointers about the ISC Stork project. 1392 (Gitlab #1191) 1393 13941742. [func] fdupont 1395 Added new cumulative statistics: for each assigned IPv4 address, 1396 IPv6 NA address or IPv6 PD prefixes cumulative-assigned-addresses, 1397 cumulative-assigned-nas or cumulative-assigned-pds global and 1398 per subnet is increased. A spelling error in the result-set of 1399 the stat-lease4-get of the stat cmds hook library was fixed. 1400 (Gitlab #816) 1401 14021741. [func] fdupont 1403 When the MySQL InnoDB reports a deadlock (very rare event) 1404 the failed query is rerun. 1405 (Gitlab #1160) 1406 14071740. [bug] fdupont 1408 Incorrect signal handling in the process library (used for 1409 control agent, d2 and netconf server but not by DHCPv4 or 1410 DHCPv6 servers) was replaced by the boost ASIO signal set. 1411 (Gitlab #1096) 1412 14131739. [func] razvan 1414 Added multi threading configuration parameters which can be used 1415 to adjust server performance according to setup resources and needs: 1416 enable-multi-threading, thread-pool-size and packet-queue-size. 1417 There is also an automatic detection implemented by using 1418 thread-pool-size set to 0. However, the packet-queue-size must be 1419 manually configured and does not scale automatically. 1420 The temporary -N command line option was removed. 1421 The multi threading is disabled by default. 1422 (Gitlab #893) 1423 14241738. [func] fdupont 1425 Added new global parameters statistic-default-sample-count and 1426 statistic-default-sample-age to set the default values used 1427 for sample keeping limits. 1428 (Gitlab #1005) 1429 14301737. [func] tmark 1431 Added store-extended-info parameter to kea-dhcp4 and kea-dhcp6 1432 which enables the storage of additional information per lease. 1433 This has been added in anticipation of supporting LeaseQuery. 1434 (Gitlab #1010) 1435 14361736. [doc] fdupont 1437 A default logging syntax has been updated to reflect recently added 1438 multi-threading capabilities. The process is now identified by 1439 name/process-id.thread-id, e.g. kea-dhcp4.dhcpsrv/8475.12345, where 1440 12345 is the thread-id. Its exact syntax is OS dependent. The 1441 logging syntax can be tweaked using `pattern` option for logging. 1442 (Gitlab #1150) 1443 1444Kea 1.7.6 (development) released on Mar 25, 2020 1445 14461735. [func] wlodek 1447 Added clean output mode to perfdhcp with configurable separator 1448 for periodic reports. 1449 (Gitlab #1046) 1450 14511734. [doc] vicky 1452 A list of supported OSes is now described in a separate 1453 platforms.rst file. 1454 (Gitlab #1055) 1455 14561733. [func] tmark 1457 Added lease4-resend-ddns and lease6-resend-ddns commands to 1458 the Lease Commands hook library. These commands may be used to 1459 instruct kea-dhcp4 or kea-dhcp6 to resend a request to update a 1460 lease's DNS entries to kea-dhcp-ddns. 1461 (Gitlab #1106) 1462 14631732. [func] marcin 1464 Client classes specified within host reservations can be used 1465 to influence subnet choice within a shared network and pool 1466 selection within a subnet. 1467 (Gitlab #1139) 1468 14691731. [func] razvan 1470 The NameChangeSender class is thread safe, making DNS updates 1471 compatible with multi-threading packet processing. 1472 (Gitlab #1148) 1473 14741730. [func] razvan 1475 Added -N command line switch that enables experimental multi-threading 1476 support. Number of threads can be specified (e.g. -N8) or Kea can be 1477 told to autodetect number of CPU threads (-N0). This feature is 1478 experimental. It hasn't been tested extensively and is known to cause 1479 problems with DDNS and HA. Do not use in production! 1480 (Gitlab #893) 1481 14821729. [func] razvan 1483 The RAII MultiThreadingCriticalSection class is now able to 1484 automatically stop and start the packet thread pool in order to 1485 perform server configuration and avoid race conditions in non 1486 thread safe code. 1487 (Gitlab #1016) 1488 14891728. [bug] tmark 1490 Memfile now supports commas in the hostname and user-context 1491 columns. Commas in either column now escaped as "," when 1492 written out, and unescaped when read back in. 1493 (Gitlab #608) 1494 14951727. [bug] tmark 1496 When shutting down due to lost backend database connectivity, 1497 kea-dhcp4 and kea-dhcp6 processes will exit with a non-zero value. 1498 This was temporarily altered by #1108. In addition, the "shutdown" 1499 command now supports an "exit-value" argument. 1500 (Gitlab #1115) 1501 15021726. [func] razvan 1503 Handling SKIP and DROP state in hooks so that the same operation 1504 is not performed multiple times. Some hooks will throw exceptions 1505 if the pktX_receive or pktX_send is handled by other hooks, in 1506 such case, the configuration order of the hooks must be changed. 1507 (Gitlab #1088) 1508 1509Kea 1.7.5 (development) released on Feb 26, 2020 1510 15111725. [func] wlodek 1512 Added perfdhcp command option to enable checking address 1513 and/or prefix uniqueness. 1514 (Gitlab #1021) 1515 15161724. [func] razvan 1517 Added packet thread pool in dhcpv4 and dhcpv6 servers. It adds 1518 the ability to handle processPacket function on multiple threads. 1519 When enabled, parked packets are also added to the queue of items 1520 to be handles by the thread pool. The packet thread pool is 1521 currently disabled and there is no option to enable it yet. 1522 (Gitlab #892) 1523 15241723. [func] tmark 1525 Hostname sanitizing is now globally enabled by default. Prior 1526 to this it was disabled. 1527 (Gitlab #1048) 1528 15291722. [bug] razvan 1530 Compilation fix for MySQL/MariaDB on Ubuntu 19.10. 1531 (Gitlab #1071) 1532 15331721. [func]* fdupont 1534 Added multi_threading_compatible function in hooks to retrieve 1535 the compatibility with multi-threading. This function is called 1536 when the library is loaded and if it reports 0 (incompatible) and 1537 multi-threading is enabled, then the configuration will be 1538 rejected. The absence of this function from the library defaults 1539 to incompatibility with multi-threading. All hooks and premium 1540 hooks must be updated to be able to be used with multi-threading. 1541 However, not all libraries are (or will ever be) compatible. 1542 (Gitlab #947) 1543 15441720. [func]* tomek 1545 The next step status in pkt4_send hook point now is able to 1546 distinguish between SKIP (Kea will skip packing the packet with 1547 the assumption that a hook already did that) and DROP (Kea will 1548 drop the packet). Previously both SKIP and DROP were interpreted 1549 as skip packing. 1550 (Gitlab #1090) 1551 15521719. [func] razvan 1553 Prepared CalloutManager to be used in multi-threading by moving 1554 the current library index and hook index to the CalloutHandle. 1555 This change removes the CallountHandle::getLibraryHandle, along 1556 with the possibility of dynamically registering/deregistering 1557 callouts inside callouts. 1558 (Gitlab #957) 1559 15601718. [bug] tmark 1561 kea-dhcp4 and kea-dhcp6 now shutdown gracefully by executing 1562 the shutdown command, if connectivity with a backend database 1563 has been lost and retries are either disabled or have been 1564 exhausted. Prior to this they simply invoked exit() which 1565 could orphan control socket files or cause segfaults unloading 1566 the CB Cmds hook library. 1567 (Gitlab #1108) 1568 15691717. [func] razvan 1570 Prepared PgSqlHostMgr to be used with multi-threading by using a 1571 connection pool with thread context. 1572 (Gitlab #1074) 1573 15741716. [func] razvan 1575 Implemented thread safe stats manager and stats context. 1576 (Gitlab #891) 1577 15781715. [bug] tmark 1579 Kea servers now detect and remove orphaned control channel 1580 sockets. This corrects a failure of the servers to restart 1581 with an error of "address already in use" following a fatal 1582 loss of database connectivity. 1583 (Gitlab #1097) 1584 1585Kea 1.7.4 (development) released on Jan 29, 2020 1586 15871714. [build] razvan 1588 Bumped up library version numbers for Kea 1.7.4 release. 1589 (Gitlab #1101) 1590 15911713. [bug]* tmark 1592 Code added under #35 to permit scoping of DDNS behavioral parameters 1593 was refactored to improve performance. 1594 (Gitlab #981) 1595 15961712. [bug] tmark 1597 Corrected an issue in the MySQL CB hook library which could 1598 cause subnet and shared-network options, properly added to 1599 the CB database, to be discarded when fetched from the backend. 1600 (Gitlab #1093) 1601 16021711. [func] razvan 1603 Prepared MySqlHostMgr to be used with multi-threading by using a 1604 connection pool with thread context. 1605 (Gitlab #1073) 1606 16071710. [bug] fdupont 1608 The code that handles default parameters and parameters 1609 inheritance, such as applying global values to subnet level, 1610 has been updated slightly. Although unlikely, there is small 1611 possibility this may affect boot-file-name, client-class, 1612 interface, match-client-id, authoritative, next-server, 1613 reservation-mode, and server-hostname values in Subnet4 and 1614 client-class, interface, interface-id, rapid-commit, and 1615 reservation-mode in Subnet6. 1616 (Gitlab #724) 1617 16181709. [func] fdupont 1619 MySQL Configuration Backend now allows for storing DDNS related 1620 configuration in the database. 1621 (Gitlab #946) 1622 16231708. [doc] tomek 1624 Clarified the relationship between comments and user context. 1625 (Gitlab #1079) 1626 16271707. [func] marcin 1628 High Availability hooks library supports controlled maintenance 1629 of the servers. The new ha-maintenance-start command puts one 1630 of the servers in the partner-in-maintenance state and causes 1631 this server to take over the entire DHCP traffic directed to the 1632 HA service. The second server in the in-maintenance state can be 1633 safely shutdown for the maintenance. This new mechanism solves 1634 the problem present in earlier versions of Kea when the 1635 administrator had to rely on the failover mechanism to promote 1636 one of the servers to handle the DHCP traffic while the other 1637 server was down. 1638 (Gitlab #1024) 1639 16401706. [bug] fdupont 1641 Fixed BOOTP hook. It now properly handles BOOTP packets and sends 1642 valid responses. 1643 (Gitlab #1064) 1644 16451705. [bug] fdupont 1646 Modified option 43 parsing to interpret sub-option codes 0 and 255 1647 as PAD and END when no sub-option with these codes are defined. 1648 This adds control of illegal but common use of these reserved 1649 code points in option 43. 1650 (Gitlab #950) 1651 16521704. [func] fdupont 1653 Prepared memfile lease manager to be used with multi-threading. 1654 (Gitlab #894) 1655 16561703. [bug] niclas rozenvik 1657 A fix in the --with-gtest option. It is now able to detect the 1658 libgtest.a. Thank you to Niclas Rozenvik for reporting the issue 1659 and proposing a fix! 1660 (Gitlab #1080) 1661 16621702. [func] razvan 1663 Update and delete operations on database back-ends use lease old 1664 expire value (internal storage) to detect concurrent actions on 1665 the same lease. 1666 (Gitlab #1040) 1667 16681701. [func] razvan 1669 Initialize all option definitions at program startup instead of 1670 using lazy initialization to make access thread safe and lock-less. 1671 (Gitlab #889) 1672 16731700. [func] godfryd 1674 Enabled checking Kea merge request in GitLab CI by Danger tool 1675 (see https://danger.systems/guides/dangerfile.html). 1676 (Gitlab #672) 1677 1678Kea 1.7.3 (development) released on Nov 18th, 2019 1679 16801699. [func] fdupont, marcin 1681 Implemented status-get command which returns general status 1682 information about a Kea server status and optionally 1683 HA specific information if the HA hooks library is present. 1684 (Gitlab #1041) 1685 16861698. [doc] wlodek 1687 Avalanche scenario for perfdhcp is now documented. 1688 (Gitlab #876) 1689 16901697. [doc] wlodek 1691 Forensic logging documentation now mentions database 1692 configuration. 1693 (Gitlab #943) 1694 16951696. [func] fdupont 1696 A new hook library libdhcp_bootp has been implemented. Once 1697 loaded, this hook will provide support for BOOTP packets, as 1698 defined in RFC1497. Please see the "BOOTP support" Section in the 1699 ARM for details. 1700 (Gitlab #898) 1701 17021695. [func] fdupont 1703 Added support of BOOTP leases with infinite valid lifetime. 1704 This includes representation of such leases in MySQL and 1705 PostgreSQL databases which the expire date can be a 32 bit 1706 integer. 1707 (Gitlab #897) 1708 17091694. [doc] marcin 1710 Described the usage of the ha-heartbeat command to check the 1711 states of the HA enabled DHCP servers. 1712 (Gitlab #998) 1713 17141693. [func] fdupont 1715 Client supplied ciaddr is now sent back when responding to 1716 DHCPINFORM 1717 (Gitlab #992) 1718 17191692. [build] fdupont 1720 Better support for google test 1.10.0. 1721 (Gitlab #954) 1722 17231691. [build] tomek 1724 Google test version detection improved. 1725 (Gitlab #206) 1726 17271690. [func] fdupont, razvan 1728 As a preparation for upcoming multi-threading, the PgSQL 1729 connection pool has been implemented. This code is not 1730 usable on its own yet, but it will allow all threads 1731 to share a pool of connections in the future. This 1732 should improve the overall PgSQL lease backend performance. 1733 Fixed some log messages that were missing lease type details 1734 in DHCPv6 PostgreSQL lease manager actions. 1735 (Gitlab #1044) 1736 1737Kea 1.7.2 (development) released on Nov 27, 2019 1738 17391689. [bug]* fdupont 1740 The default Kea Control Agent's configuration file uses port 8000 1741 instead of 8080 for the agent. This corrects the mismatch between 1742 the default port number used by the kea-shell and the agent. 1743 (Gitlab #793) 1744 17451688. [func] fdupont 1746 Added a new callout (hook point) executed when the server has 1747 completed a configuration update using the Config Backend. 1748 (Gitlab #596) 1749 17501687. [doc] fdupont 1751 Described for developers the way for a hook library to be loadable 1752 only for specific server(s) and applied as an example to ha. 1753 (Gitlab #50) 1754 17551686. [func] razvan 1756 Added a generic ThreadPool class which can be used to process 1757 functor work items in parallel, on multiple threads. It uses 1758 a queue container to manage the work items. 1759 (Gitlab #883) 1760 17611685. [build] fdupont 1762 Small build improvement. The fcntl.h header is included in more 1763 portable way. This should make it easier to build on Alpine systems and 1764 possibly other systems. 1765 (Gitlab #765) 1766 17671684. [func] fdupont 1768 As a preparation for upcoming multi-threading, the MySQL 1769 connection pool has been implemented. This code is not 1770 usable on its own yet, but it will allow all threads 1771 to share a pool of connections in the future. This 1772 should improve the overall MySQL lease backend performance. 1773 (Gitlab #960) 1774 17751683. [bug] wlodek 1776 Perfdhcp is able to parse incoming packet and determine 1777 if included IA_NA/IA_PD options are correct, counter 1778 of rejected leases is introduced for all DHCP v6 message 1779 exchanges. Perfdhcp will no longer send Request/Renew/Release 1780 message without proper IA_NA/IA_PD included. 1781 (Gitlab #572) 1782 17831682. [bug]* tmark 1784 Added logic to core code and HA hook lib to allow HA peers 1785 to detect and handle out of bandwidth socket events. This 1786 corrects a defect introduced in Kea 1.6.0 that can cause 1787 an HA server to become unresponsive when an HA socket has 1788 been closed by a peer. Note that there is a change to the 1789 signature of the external socket callback handler invoked 1790 by IfaceMgr. Custome hook libraries happen register external 1791 sockets with IfaceMgr will require modification and 1792 recompilation. 1793 (Gitlab #964) 1794 1795Kea 1.7.1 (development) released on Oct 30, 2019 1796 17971681. [func] fdupont 1798 Added new command config-backend-pull which forces the server 1799 to immediately poll the configuration updates from the 1800 configuration backend 1801 (Gitlab #904) 1802 18031680. [bug,build] Kristoffer Larsen 1804 A bug in Makefile has been fixed. The changes made to 1805 src/lib/dhcpsrv/alloc_engine_messages.mes are now picked up 1806 properly. 1807 (Gitlab #752) 1808 18091679. [func] fdupont 1810 Added new commands to the lease_cmds hooks library to search for 1811 leases by hardware address, client-id, DUID and hostname. Now 1812 hostnames are stored in lower case within the lease database. 1813 (Gitlab #393) 1814 18151678. [build] fdupont 1816 The arguments passed to configure are now stored and are available 1817 using -W command line option. 1818 (Gitlab #869) 1819 18201677. [doc] wlodek 1821 Sample configs now all use the same paths for control sockets. 1822 (Gitlab #795) 1823 18241676. [func] fdupont 1825 A new hook - flex-option - has been developed. It allows setting 1826 up DHCPv4 and DHCPv6 option values dynamically, using expression. 1827 This capability is very useful when you want to generate option 1828 value procedurally. For details, see new section "Flexible Option 1829 for Option value settings" in the Kea Administrator Reference 1830 Manual. 1831 (Gitlab #219,!523, git 2bf854c029b9b07ee6161bc1fcb4dfdc9846ee42) 1832 18331675. [func] fdupont 1834 Both DHCPv4 and DHCPv6 can now listen on and send responses 1835 to a custom UDP port, as specified with the -p command line 1836 option. This capability is mostly useful for testing. 1837 (Gitlab #677,!548, git 47e709fb7b89464d4473e8c7cb138f539042d68b) 1838 18391674. [perf] fdupont 1840 Added a Multi Threading Manager singleton class in the util library. 1841 (Gitlab #962,!566, git 66b090e54b45bdeefda266ddd62e42b46ed48d1d) 1842 18431673. [bug] tmark 1844 Fixed a bug introduced in Kea 1.6.0 (see #539) that caused 1845 kea-dhcp4 and kea-dhcp6 to discard inbound packets containing 1846 string options that consist solely of nulls. The servers 1847 will now quietly omit empty or all-null string options from 1848 inbound packets. 1849 (Gitlab #900,!561, git c75a7c10bde74f59d481a7717b4e03b9cb2268a6) 1850 18511672. [build] fdupont 1852 Deprecated bind1st and bind2nd templates were replaced with 1853 lambda expressions or plain bind templates. 1854 (Gitlab #919,!521, git b12fa3374454c9c0d749557d5532aab55dbc58d9) 1855 18561671. [bug] tmark 1857 Corrected an issue in kea-dhcp6 where the server would fail 1858 to extend the expiry of a existing dynamic lease assigned to 1859 client with host reservation. 1860 (Gitlab #754,!558, git c223380012b82c93292528b593002c2b80b5361b) 1861 18621670. [func] fdupont 1863 Added searches for host reservations by hostname and by hostname 1864 and subnet. 1865 (Gitlab #392,!529, git 50068ada6b277c9251de9062501d8c478a8f5529) 1866 18671669. [func] tmark 1868 Rather than within the 'dhcp-ddns' section, DDNS behavioral 1869 parameters may now be specified at global, shared-network, 1870 and subnet scopes. Implemented for both kea-dhcp4 and 1871 kea-dhcp6. Not yet supported by Config Backend or Netconf. 1872 (Gitlab #35,!517, git 49ce6286f5d00f99c1c890f12cbc0fd633c9dbf6) 1873 18741668. [build] fdupont 1875 The Kea util thread library was removed. 1876 (Gitlab #907,!519, git 1b27dc52aae23753643461086f0950b125bf9c93) 1877 18781667. [build] fdupont 1879 The availability of C++11 thread, mutex, condition variable and 1880 atomic libraries is now checked by ./configure. 1881 (Gitlab #918,!520, git baf4097520c1cd38366ee4f33a95dde040906e9e) 1882 18831666. [doc] tmark 1884 Added note in ARM about manually admining cb data being possible 1885 but not supported. 1886 (Gitlab #917,!518, git f242e5c2e0e14331172671477dce3a6597691b55) 1887 1888Kea 1.7.0 (development) released on Sep 25, 2019 1889 18901665. [build] tmark 1891 Bumped up library version numbers for Kea 1.7.0 final release. 1892 (Gitlab #924,!526, git c4061d0fdd660c8e375b4e1317603935ccc00b39) 1893 18941664. [build] razvan 1895 Make sysrepo_config detect installed sysrepo version. 1896 (Gitlab #766,!449, git e1a236fa4f4680d3eadade6b5f5a6a6065620a5b) 1897 18981663. [build] fdupont 1899 Dropped support for Botan 1.x crypto library in Kea as these 1900 versions are now end of life. 1901 (Gitlab #345,!498, git ba028eee986c0da963754c6fcb74790081557bec) 1902 19031662. [bug] marcin 1904 Prevent deadlock in the Kea DHCP servers caused by allocating 1905 memory in the system signal handler. The issue was found on 1906 CentOS 7.6, but could possibly affect Kea running on any other 1907 OS. 1908 (Gitlab #796,!504, git f858d9d0b63a18370ebb8bd7d1b8250d0c5a1cb5) 1909 19101661. [bug] tmark 1911 kea-dhcp4 now rejects inbound client messages that have 1912 neither a hardware address nor a client identifier. 1913 (Gitlab #821,!501, git 60baf65d0c9de384b0da147b50b7fc3180fc54dd) 1914 19151660. [func] franek 1916 Statistics of the DHCP packets are now initialized upon the 1917 server startup. This makes the statistics available for fetching 1918 via control channel immediately after the server is started. 1919 (Gitlab #755,!503, git f0238d1b6e88dfedaa91029ec3b65e06c14cab34) 1920 19211659. [bug] razvan 1922 Corrected an issue in the DHCPv4 server logic whereby the user-defined 1923 option definitions were not committed which could result in 1924 configuration failures when values for such options were specified. 1925 (Gitlab #729, !434, git e5b68fb226161dcdef0e4d2d9d03d9bdb95af5e2) 1926 1927Kea 1.6.0 (stable) released on Aug 28, 2019 1928 19291658. [bug] tmark 1930 Renamed the column "array" in option definition tables 1931 in MySQL schema to "is_array" to avoid a reserved word 1932 conflict introduced by MySQL 8.0.17. 1933 (Gitlab #853,!26-p, git 6665c3b6d0f9f2a45b7710e8e9a36fff8f99bf7f) 1934 19351657. [bug] marcin, tomek 1936 Corrected multiple occurrences of out of bounds vector reads. 1937 These could cause server to assert when GLIBCXX_ASSERTIONS 1938 was enabled during compilation. Also, eliminated overflows as 1939 a result of strncpy. 1940 (Gitlab #851,!24-p, git 4b1d6ffc5ae4f1e1fa5990a644c9786e7f6afea6) 1941 19421656. [bug] marcin 1943 Corrected a bug in the Kea MySQL Configuration Backend which 1944 caused the Kea DHCPv6 server to incorrectly require the server 1945 tag to be provided with the remote-subnet6-option-set command. 1946 In addition, corrected issues with setting and deleting 1947 pool specific DHCP options via the Configuration Backend. 1948 (Gitlab #847,!23-p, git 578bc6c997679c507c2f9e419783d34de77816cd) 1949 19501655. [bug] marcin 1951 Corrected a bug in the Kea MySQL Configuration Backend which 1952 prevented the DHCP servers from discovering and fetching the 1953 changes applied with the new commands. The new commands set 1954 and delete the options embedded within the subnets, shared 1955 networks and pools. 1956 (Gitlab #845,!22-p, git 7fb2255b212e4e98ff4dbf6d8e2e0ada78701110) 1957 19581654. [sec] tmark 1959 kea-dhcp4 Memfile logic now ensures during reading and writing 1960 that leases which are not in the declined state, have either 1961 a hardware address, client id, or both. kea-dhcp6 Memfile logic 1962 now ensures leases which are not declined have a non-empty DUID. 1963 CVE:2019-6474 1964 (Gitlab #805,!6-p, git 9705445210cf2a5c4bbe86fde4ce010c45b7aac1) 1965 19661653. [sec] tmark 1967 Added a new parameter, "max-row-errors", to Memfile lease database 1968 configuration for kea-dhcp4 and kea-dhcp6. This parameter can be 1969 used to limit the number of rows discarded due to error during 1970 lease file loading after which the server will abandon the effort 1971 and exit. The default value of 0 disables the limit. 1972 CVE:2019-6474 1973 (Gitlab #805,!5-p git af7393c517cea37a7091075e5d0d24793bccf013) 1974 19751652. [sec] tmark 1976 Prevent the DHCP servers from asserting when malformed 1977 hostname or FQDN options are received. Now the servers will 1978 drop the DHCP packets containing the malformed options. 1979 CVE:2019-6473 1980 (Gitlab #730,!2-p git a2a98c421bb400a81218bd28d6a6f62accd31b1f) 1981 19821651. [sec] tmark 1983 Added logic to kea-dhcp6 to catch values for client or 1984 server DUIDs that exceed 128 bytes to inbound packet 1985 sanity checking. 1986 CVE:2019-6472 1987 (Gitlab #722,!1-p git bb1a64b8945950f4439121ce4fef566d37c8630c) 1988 19891650. [build] marcin 1990 Bumped up library version numbers for Kea 1.6.0 final release. 1991 (Gitlab #841,!490, git 2e88e2554905dd66b9974c9fc513ee7e7b825a46) 1992 19931649. [doc] sgoldlust 1994 API documentation updated and cleaned up. 1995 (Gitlab #810,!471, git f1ae84186beb54d45f8455236827108289b0b0d6) 1996 19971648. [func] fdupont,marcin 1998 Client classification information (client-class, 1999 require-client-classes) and excluded prefix (excluded-prefix, 2000 excluded-prefix-len) may now be specified in the MySQL 2001 Configuration Backend. 2002 (Gitlab #659,!387, git 1f2cae397b48e2a28a7a7e61f6392691b9d32c13) 2003 20041647. [doc] marcin 2005 Updated "Local and Relayed Traffic in Shared Networks" sections 2006 of the Kea ARM. Explained that all subnets within a shared 2007 network should have the same subnet selector, i.e. interface 2008 name or relay IP address. 2009 (Gitlab #496,!483, git 1335e5643cc142c65bfc49c13280e9aaf3eeec21) 2010 20111646. [func] fdupont 2012 YANG models updated to cover the latest parameters: 2013 pattern and max-row-errors. 2014 (Gitlab #823,!477, git 79d0d45ec0c791560e297ca77fc88842b0a33868) 2015 20161645. [func] tmark 2017 Binary option data may now be specified as a single-quoted 2018 text string, within double quotes: "'some text'". This is 2019 handy for binary options that convey text such as urls or 2020 file names. 2021 (Gitlab #761,!447, git 215d84f00208ac8a2710c28abc3386d6b765ede6) 2022 20231644. [doc] marcin, fdupont 2024 Added a warning about class dependence on built-in classes. 2025 (Gitlab #727,!466, git 9977d2927cf9b9cf1cd13de30aa5551ca900165b) 2026 20271643. [build] godfryd 2028 Added an optional --with-site-packages switch to configure 2029 script. It allows python package installation in a separate 2030 directory (mostly useful on Debian systems when building native 2031 packages). 2032 (Gitlab #721,#480, git 66332000ff618fbb41656981c7bbf3bb940066fe) 2033 20341642. [doc] fdupont, marcin 2035 User documentation for remote-option{4,6}-* commands. 2036 (Gitlab #826,!479, git 9b469ab63a9627e377a219cf8f83033e4e613b11) 2037 20381641. [func] tmark 2039 Added a new Logger output option, 'pattern', which can be 2040 used to customize log message content and layout. 2041 (Gitlab #665,!460, git 2add51ecf0d91d2a9ac797594c38472190c18460) 2042 20431640. [func] fdupont 2044 Added sub-option expression for client classification and flex-id. 2045 Users can access sub-option with option[12].option[34].hex or 2046 option[12].option[34].exist 2047 (Gitlab #150,!385, git 70bb412f20b706484538680906d6fcfd7ee6da68) 2048 20491639. [func] fdupont 2050 Updated YANG models with the latest changes in kea-dhcp4 and 2051 kea-dhcp6. 2052 (Gitlab #433,!473, git c46e8da1561e7d0c6c6f481d2e32cc9ae398324c) 2053 20541638. [bug] franek, razvan 2055 Kea statistics improvements: Correct statistic-get{all} commands. 2056 (Gitlab #756,!470, git 59fb24794af8a9ca8ee3621bc01dfd507350b2c1) 2057 20581637. [bug] tmark 2059 Corrected an issue in kea-dhcp6 where the server would assign 2060 a different lease each time a client with a dynamic host 2061 reservation returned via a SOLICIT. 2062 (Gitlab #754,!440, git c548d9330e6f626e538343c5e6361457057efdd7) 2063 20641636. [bug] razvan 2065 Http request and response parser now accepts 0 for Content-Length. 2066 (Gitlab #708,!423, git 09d75804e050083b502a96c8e77b0e98c735ae3d) 2067 20681635. [doc] godfryd, tomek 2069 Converted API documentation to Sphinx format. 2070 (Gitlab #777,!464, git 3ba1a265537330308c313a38b85e84cbe02704ae) 2071 20721634. [func] franek, razvan 2073 Kea statistics improvements: Added commands for set sample age and 2074 set sample count. 2075 (Gitlab #731,!459, git dde1b96b33ed20dbe2c815f1168e62b66635e39f) 2076 20771633. [bug] fdupont 2078 Added missing YANG Kea test module in distributions. 2079 (Gitlab #747,!436, git a800e79c7917acc723cbc71b626adc360e15a8d7) 2080 20811632. [doc] razvan, tmark 2082 Fixed doc examples. 2083 (Gitlab #649,!381, git e14b90735ff57be0776270364064952d353d7e3a) 2084 20851631. [bug] marcin 2086 Corrected the bug in mysql_cb hooks library which in some cases 2087 caused the pools to be orphaned and left in the database after 2088 the subnet has been updated. 2089 (Gitlab #632,!438, git ea15b537d62c66e03923b5fdce91db8795f436b4) 2090 20911630. [build] fdupont 2092 Added support for sysrepo 0.7.8 (and libyang 1.0-r3). 2093 (Gitlab #742,!430, git 6776a829f90768225ea794145e522560d26fe959) 2094 20951629. [func] tmark 2096 High Availability logging now also emits server and partner system 2097 times when reporting clock skew issues. Prior to this it reported 2098 only the skew between the two servers. 2099 (Gitlab #174,!414, git 9715ddecb0143d997a57edea564f5c180a7f8577) 2100 21011628. [bug] fdupont 2102 Improved the error message from MySQL CB -set commands when 2103 a specified server does not exist. 2104 (Gitlab #732,!429, git 82f34e60363eec72a117939a5526bdb1ececb53c) 2105 21061627. [func] fdupont 2107 Added new command server-tag-get to DHCPv4 and DHCPv6 servers. 2108 (Gitlab #470,!386, git 3cb43f112662ba3f9d2fc7152dfa1639401b1491) 2109 21101626. [bug] marcin 2111 Automatically delete embedded options as a result of deleting 2112 a subnet, pool or shared network from the MySQL Configuration 2113 Backend. Prior to this change, the options were unnecessarily 2114 left in the database. The database schema version was affected 2115 and its version bumped up to 8.2. 2116 (Gitlab #680,!426, git 03f0af3900bdd9eaa951b23cc9508f0618d3f1bb) 2117 2118Kea 1.6.0-beta2 (development) released on July 24, 2019 2119 21201625. [build] tmark, marcin 2121 Bumped up libraries version numbers for Kea 1.6.0 beta2 release. 2122 (Gitlab #740,!427, git 359fe51531e802f052bd4172d4e295378155dbd5) 2123 21241624. [doc] marcin 2125 Documented a usage of the server tags with the Kea Configuration 2126 Backend in the Kea ARM. 2127 (Gitlab #643,!421, git 4c60b02e619bce2c434bbf9ee0e775d8776b2d74) 2128 21291623. [bug] fdupont 2130 Eliminated the issue whereby the DHCP server could terminate as a 2131 result of the remote-network4-del and remote-network6-del commands. 2132 (Gitlab #738,!425, git b34151b647aae8690fe0996090e13403a8e3ad55) 2133 21341622. [bug] fdupont 2135 Corrected server tags returned with the metadata when fetching 2136 option definitions from the MySQL configuration backend 2137 (Gitlab #737,!424, git 1cc95ae2a66102427e583b4924383fd414e24f0f) 2138 21391621. [func] fdupont 2140 Both kea-dhcp4 and kea-dhcp6 now support a special class, 'DROP'. 2141 When the class is defined, inbound client packets that match the 2142 class's match expression will be dropped without further processing. 2143 Each such drop is logged at DEBUG level and accounted for in 2144 drop statistics. 2145 (Gitlab #606,!375, git bfa5b2c50324e9d2339daa8309774f49a5e7bf3c) 2146 21471620. [func] franek, razvan 2148 Kea statistics improvements: Support for storing more than one 2149 sample. 2150 (Gitlab #696,!418, git c7b8c275758c96f56081e02da429f5dd9d653b87) 2151 21521619. [func] marcin 2153 Add support for associating subnets with the server tags in the 2154 mysql_cb hooks library. 2155 (Gitlab #717,!417, git e121ec4e0a04bc5bebdbfecf9cc1606b50e71263) 2156 21571618. [func] marcin 2158 Add support for associating the shared networks with the server 2159 tags in the mysql_cb hooks library. 2160 (Gitlab #716,!412, git 326fdbeb51dc1f6eebbdbbdcce78cfac87a61bd9) 2161 21621617. [bug] fdupont 2163 During the application of the config backend the external config 2164 is initialized to the default values so when a global parameter 2165 is changed and deleted it gets back a sane value. 2166 (Gitlab #630,!355, git 237afd3c512ed4d05ae76de76cce21dca643a889) 2167 21681616. [func] fdupont 2169 Renamed kea-admin lease-init, lease-version and lease-upgrade 2170 commands to db-init, db-version and db-upgrade. Only the lease-* 2171 command is now lease-dump. 2172 (Gitlab #466,!393, git cbd2ed23f2ea0649ccf608fe818197d2923108f0) 2173 21741615. [func] fdupont 2175 Added check for keyword name and type in parsers of objects 2176 managed by the config backend (options, option definitions, 2177 subnets and shared networks). 2178 (Gitlab #575,!358, git c9d87afad8db924da0aadc1b8ab40638bd0a6738) 2179 21801614. [func] marcin 2181 Add support for associating the DHCP option definitions with 2182 the server tags in the mysql_cb hooks library. 2183 (Gitlab #715,!411, git 5511725555138213de4f48dc1091d65b5db47034) 2184 21851613. [func] marcin 2186 Add support for associating the global DHCP options with the 2187 server tags in the mysql_cb hooks library. 2188 (Gitlab #714,!409, git 711c1dca9de388b786942fe5bedb8b8cf63b85ba) 2189 21901612. [bug] razvan 2191 Fixed crash caused by unloading premium libraries which use 2192 custom host cache containers. 2193 (Gitlab #639,!410, git d3f7e9d9a18d93fb014c8e637e15c6ae9ca9269e) 2194 21951611. [doc] fdupont 2196 Clarified how Kea handles subnet prefixes in server configuration. 2197 (Gitlab #419,!333, git f260b51148b4f7584165e13fcf2320fdd5992a74) 2198 21991610. [build] fdupont 2200 Removed the obsolete compatcheck top directory. 2201 (Gitlab #667,!391, git 8cb113a52f0cf56fbdb5cb0e87464135234c2ac1) 2202 22031609. [bug] fdupont 2204 Fixed the implementation of authentication keys in DHCPv6 2205 host reservations. Please note this includes a PostgreSQL 2206 schema update. 2207 (Gitlab #550,!297, git f45511f0445cd4204671771175f7f0d34df54b0e) 2208 22091608. [bug] fdupont 2210 Missing debug DHCP6_PACKET_SEND logging message was added. 2211 (Gitlab #699,!401, git ac96edbe30be5c93f5e3d2512961f1bc99c3253a) 2212 22131607. [bug] tmark 2214 Corrected an initialization issue which caused lease sanity 2215 checking to be enabled inside the Lease File Cleanup (LFC) 2216 process. The LFC cannot meaningfully perform sanity checking 2217 as it does not have access to the full server configuration. 2218 (Gitlab #686,!403 git 68b2cb0385779ef0c520164e418dee124d7cb364) 2219 22201606. [bug] tmark 2221 Corrected an error with retrieving DHCPv6 leases, whose IAID 2222 values are larger than int32_t max, from Postgresql lease 2223 databases. 2224 (Gitlab #651,!384, git 67e047df61d56558d474514a21ed0db96152557a) 2225 22261605. [func] marcin 2227 Extended mysql_cb hooks library to support new API calls for 2228 managing the DHCP servers in the database. In addition, added 2229 support for associating the global parameters with the server 2230 tags. 2231 (Gitlab #642,!373, git 8ca1021809a6c44cf8a6589a959e94ca9ca76c29) 2232 22331604. [bug] fdupont 2234 Improved configuration failure messages when the problem is 2235 from the configuration backend and not the configuration file. 2236 (Gitlab #616,!379, git 637e9f03cc502068822ab0310f2e070d4a4da339) 2237 22381603. [perf] tmark 2239 High Availability now registers its HTTP sockets with Interface 2240 Manager's main thread allowing the thread can monitor them for 2241 IO readiness. This should improve the responsiveness of HA peers 2242 to each other. 2243 (Gitlab #691,!395, git 4a0b024bc6d83b26fe702d95ee7ce0c914b37d8e) 2244 22451602. [func] fdupont 2246 Added more information to sanity-checker log messages. 2247 (Gitlab #685,!392, git 5367cd1196662739bbff5e99072ab6a55cfb0489) 2248 22491601. [func] fdupont 2250 Kea servers now add the lease validity lifetime to informational 2251 lease allocation log messages. 2252 (Gitlab #694,!399, git cb29b532cf1f8790f9752d7e8253b0aa31ce05e6) 2253 22541600. [bug] fdupont 2255 Fixed prefixLengthFromRange() routine. 2256 (Gitlab #583.!377, git 10bd31217d8a0a77345c4cba7a59314f70c1b509) 2257 22581599. [perf] marcin 2259 Improved performance of the DHCPv6 server running with High 2260 Availability by aggregating multiple lease updates in a single 2261 lease6-bulk-apply command instead of generating multiple 2262 lease6-update commands, one for each allocated lease. 2263 (Gitlab #689,!394, git 65021b840b94da3d118e541fba5469c8ed15175b) 2264 22651598. [bug] razvan 2266 Added unittests for long (> 65536 chars) tokens in parsed configs 2267 so any crash related to parsers could be detected. 2268 (Gitlab #604,!376, git 811735b67fcdb5592c3e020792c154f2f454259c) 2269 22701597. [func] fdupont 2271 Added new configuration parameters for handling user lease 2272 time hints to kea-dhcp4: min-valid-lifetime and max-valid-lifetime; 2273 and to kea-dhcp6: min-preferred-lifetime, max-preferred-lifetime, 2274 min-valid-lifetime, and max-valid-lifetime. 2275 (Gitlab #295,!325, git 8641448c4106bf28ea32df72e5e0ad520d3946ae) 2276 22771596. [func] marcin 2278 Implemented lease6-bulk-apply command in the lease_cmds hooks 2279 library. 2280 (Gitlab #683,!390, git 122473c18b632ddfa22b8a48f6d9399bc18e2598) 2281 22821595. [func] fdupont 2283 Removed unused t1_ and t2_ members from internal lease class. 2284 (Gitlab #567,!357, git 6072db5f4ca6cfa9573152c255f97dd170acbd57) 2285 22861594. [bug] fdupont 2287 Kea no longer uses the .../var/kea directory, for instance pid 2288 files are now in .../var/run/kea. 2289 BEWARE this applies to the kea-dhcp6-serverid file so if the 2290 server will not find the file at its new location it will believe 2291 it is the first time it is being started and will generate a new 2292 server DUID. If that happens, clients will keep trying to get to 2293 the old server and be confused. 2294 (Gitlab #538,!334, git 928b9ae57452aae1dff92ad689ba180fa975381c) 2295 22961593. [bug] marcin 2297 Fixed a bug in the Kea Control Agent which caused a sporadic crash 2298 after a timeout while sending the HTTP response to the controlling 2299 client. 2300 (Gitlab #491,!363, git ff204dfe4dd80702f8bb2edf83f8486e019a7e04) 2301 23021592. [build] tmark 2303 Files related to YANG and netconf are now only installed 2304 when the build is configured with --with-syspro. 2305 (Gitlab #584,!364, git 350ae513ed4e8e8e07b159658f88ec7d70b644d3) 2306 23071591. [doc] razvan 2308 Fixed classify and pd-exclude documentation examples. 2309 (Gitlab #590,!380, git 26b04d2d2d2a88be6abc5879a2fb48e05f0003fd) 2310 23111590. [func] fdupont 2312 It is now possible to specify hostname-char-set and 2313 hostname-char-replacement at the global scope allowing to sanitize 2314 host names without requiring a dhcp-ddns entry. 2315 (Gitlab #540,!374, git 0a5979369902070ee0c4faf3b713627455b99489) 2316 23171589. [bug] razvan 2318 Fixed configuring kea with tools/cql_config when using --with-cql 2319 from source. 2320 (Gitlab #522,!261, git bf7debc182e094a8b34f1f2df99cf4e9f84c8906) 2321 23221588. [func] marcin 2323 Extended APIs of the DHCPv4 and DHCPv6 configuration backends with 2324 the management functions for the server tags. 2325 (Gitlab #641,!352, git 022d2266e71ced7ec79e0717298ca8e88330a7e7) 2326 23271587. [bug] razvan 2328 Fixed IPv6 prefix delegation pools retrieval from the MySQL 2329 Configuration Backend. 2330 (Gitlab #637,!349, git 483273734e8608ed68624d7a868f20672c859c95) 2331 2332Kea 1.6.0-beta (development) released on May 29, 2019 2333 23341586. [build] razvan, marcin 2335 Bumped up libraries version numbers for Kea 1.6.0 beta release. 2336 (Gitlab #617,!340, git c0434bf882b6ec483120e39f6b70b5a40fe7c711) 2337 23381585. [bug, func] marcin 2339 MySQL Configuration Backend supports DHCPv6 interface-id parameter. 2340 (Gitlab #628,!341, git 3a07c636ba4c7fceabe59ec597c44a9c8e3367eb) 2341 23421584. [doc] marcin 2343 Documented Kea Configuration Backend in the Kea Administrator 2344 Reference Manual. 2345 (Gitlab #71,!314, git 3a65b7a9104f2a988dacf1acc26312b4259e958d) 2346 23471583. [bug] fdupont, marcin 2348 Corrected a bug which caused failures to merge a subnet from the 2349 Configuration Backend into the DHCP server's configuration 2350 when subnet identifier was modified. 2351 (Gitlab #492,!252, git c9aba2b5e915c27a8539e6b8f0498179ba896da4) 2352 23531582. [bug] tmark 2354 Input values for DHCPv4 and DHCPv6 options of type 'string' 2355 will now be trimmed of any trailing null bytes (0x0). 2356 (Gitlab #539, !330, git b126558e9e39e9bff517dceac25a00e96d150085) 2357 2358 23591581. [bug] marcin 2360 Corrected a bug whereby the DHCPv6 server did not take into 2361 account a relay address specified at the shared network level 2362 during the subnet selection. 2363 (Gitlab #620,!332, git c2383e404a5227f6b55655c09ccdc03930815500) 2364 23651580. [bug] jonatan.raudsepp 2366 Compilation fix for Alpine linux in Perfdhcp code. Thanks to 2367 Jonatan Raudsepp for sending a patch! 2368 (Gitlab #624,!337, git 19321df9e4490b75ac7b322afec9d231bcb6ffe3) 2369 23701579. [bug] razvan 2371 Fixed a bug which caused setting dhcp4o6-port to not function via 2372 Kea configuration backend. 2373 (Gitlab #577,!331, git 98c24fe1873795bbc94d426c54c588b05d79406f) 2374 23751578. [func] fdupont 2376 The configuration syntax has changed. The Logging scope that used 2377 to be shared between all servers has been deprecated. Each daemon 2378 is supposed to define its own loggers using 'loggers' array. The 2379 old configuration syntax is still accepted, but is considered 2380 deprecated. Kea 1.6 will accept it, but that capability will be 2381 removed in the future. Please migrate your configuration to new 2382 syntax. 2383 (Gitlab #208,!196, git 37b8ec6c2c4b64681059f8fad26d112adbb7ee2b) 2384 23851577. [func] razvan 2386 Implemented host reservations page retrieval for Cassandra. 2387 (Gitlab #511,!278, git 152e82b49f5e5abd9d3a2a4825ed8620973f5ef1) 2388 23891576. [doc] fdupont 2390 New commands cache-get-by-id and cache-size are now documented. 2391 (Gitlab #594,!324, git 3753008cc77f71457b5d777560d8e36dc56e7acd) 2392 23931575. [bug] razvan 2394 Fixed issue with keactrl logging error when trying to stop running 2395 services. 2396 (Gitlab #534,!327, git 6ddee0a93ec4ad692cc385150c159d9e8da5232d) 2397 23981574. [bug] razvan 2399 Add logging to the MySQL config backend. 2400 (Gitlab #398,!315, git bc46fd3420afdf60ae8841866e8458f7f6e072e8) 2401 24021573. [bug] razvan 2403 Fixed build sysrepo from sources using sysrepo_config. 2404 (Gitlab #523,!262, git b86864a9b058a18eaaded2273dc5f40a9ec97c78) 2405 24061572. [bug] tmark 2407 Corrected an issue where kea-dhcp6 was incorrectly scheduling DNS 2408 entry removals when renewing leases with generated FQDNs. 2409 (Gitlab #577,!310, git 362f40bebbdbe083ec6420a43ee1c050edf6bba6) 2410 24111571. [bug] marcin 2412 The mysql_cb hooks library registers the MySQL backend for the 2413 DHCPv6 server. 2414 (Gitlab #603,!322, git 1ede298fcdc7a9b7018b6e300e2d759e33f73645) 2415 24161570. [bug] marcin 2417 Corrected the bug in the Kea HTTP library which could cause a server 2418 to assert when system clock was modified during the transaction. 2419 (Gitlab #599,!320, git 958abe5063b6e602c0070e336524e313c3a87671) 2420 24211569. [perf] fdupont 2422 Improved performance of the DHCPv4 server in cases when 2423 match-client-id set disabled by removing unnecessary query to the 2424 lease database." 2425 (Gitlab 509,!272, git 2ad41651c1118fe6f7dfb918df0694dd254706f1) 2426 24271568. [bug] tmark 2428 kea-dhcp6 now properly skips sanity checking prefix leases. 2429 Prior to this it was incorrectly subjecting them to sanity 2430 checks during memfile lease file reloads and then flagging 2431 the leases as incorrect. 2432 (Gitlab #591,!#313, git 12262c5df19673652be73cf1dd62d07527bee95d) 2433 24341567. [bug] marcin 2435 Kea HTTP client now always includes Host header in all HTTP requests. 2436 The Host header is required in all HTTP/1.1 requests. This corrects 2437 the problem whereby HA peers were unable to communicate via reverse 2438 HTTP proxy because the proxy was responding with Bad Request status 2439 when no Host header was included. 2440 (Gitlab #360,!305, git ddb6dbf4cf63e98d3954c5d46e0311abc4fd6cfc) 2441 24421566. [func] tmark 2443 kea-dhcp6 can now be configured to calculate values to 2444 send to clients for T1 and T2 times. Prior to this 2445 it was only possibly to specify explicit values. 2446 (Gitlab #365,!296, git 144b83a84c836d6ff17620b35cb74f830b13c2eb) 2447 24481565. [func] marcin 2449 MySQL Config Backend returns server tags associated with the 2450 configuration elements. 2451 (Gitlab #579,!309, git 1e2648df047fe964e8ad3e9deb1c85eea32b1219) 2452 24531564. [func] fdupont 2454 Implemented two new commands to manage subnets: subnet4-update and 2455 subnet6-update. They allow an update of existing subnets 2456 configuration. 2457 (Gitlab #465,!265, git 71eb9188033f81dab56fc5a847a39f5497398b62) 2458 24591563. [bug] razvan 2460 Fixed compilation of google benchmarks. 2461 (Gitlab #520,!260, git 11aa890d30ecce5518b9f0bad389feea6be78167) 2462 24631562. [bug] marcin 2464 Corrected a bug whereby the DHCP server would trigger a segfault 2465 upon termination when MySQL configuration backend was in use. 2466 (Gitlab #571,!306, git 705e7bb6dd27ec90dd2807d4aac0905e3cb13de4) 2467 24681561. [func] tmark 2469 kea-dhcp6 now automatically deletes configuration elements 2470 that have been deleted from configuration backends. 2471 (Gitlab #566,!304, git 2e85376f1b57187b822c662144380e04372cffff) 2472 24731560. [bug] fdupont 2474 kea-dhcp4 now permits option code values of 0 and 255 for 2475 options defined in option spaces other than the "dhcp4" space. 2476 (Gitlab #564,!300, git 7a0a0b84d91893f08c0ee6f236daa05bede65166) 2477 24781559. [func] fdupont 2479 Added DHCPv6 support to the MySQL Config Backend hook. 2480 (Gitlab #397,!244, git 980091ecd717e41a61f0d7f6808213e450647d8e) 2481 24821558. [func] tmark 2483 In addition to a continuous string of digits, hexadecimal 2484 literals may now be a series of one or more octets separated 2485 by either colons or spaces. 2486 (Gitlab #484, git 251efcd5f518a215173845b22555276df0e0ffc6) 2487 24881557. [bug] marcin 2489 Added support for "reservation-mode" parameter in the shared network 2490 configuration parsers. It corrects a bug in Configuration Backend 2491 whereby host reservation mode was not stored in the database when 2492 specified via remote-network4-set command. 2493 (Gitlab #517,!301, git e6533001e9d850432254d3cfe995a4f7abcee6e2) 2494 24951556. [bug] fdupont 2496 Corrected parser for option definitions to refuse definitions with 2497 duplicate code or name. 2498 (Gitlab #503,!246, git 0befb653277463cd8f88740119fe90a93dbb1466) 2499 25001555. [bug] fdupont 2501 Corrected parsers for option definitions to prevent setting out of 2502 range option code values. 2503 (Gitlab #500,!247, git 5c139602d7656df74060fee63461ffba4f290547) 2504 25051554. [func] tmark 2506 kea-dhcp6 now uses globals, option definitions, options, 2507 share-networks, and subnets from configuration back ends. 2508 (Gitlab #413,!288, git ff367e273ed8763b354db272c5955a78203d865e) 2509 25101553. [func] marcin 2511 DHCPv4 server automatically fetches incremental configuration updates 2512 from the configuration backends. 2513 (Gitlab #103,!277, git 319f7709edb40d6c01390a34942b9d4a200b333e) 2514 (Gitlab #103,!289, git 80087e2d0f90f9ba6623860fed4f4d33ee935ad0) 2515 25161552. [bug] marcin 2517 Corrected inheritance of the subnet and shared network specific 2518 parameters in the MySQL Configuration Backend. 2519 (Gitlab #552,!295, git 4812e4227a57b29bfa3995e71588233424a3abb1) 2520 25211551. [func] razvan 2522 Added consistency and serial-consistency parameters to CQL 2523 connection. Fixed all statements. 2524 (Gitlab #16,!287, git 56a9b6a860899274f9cafe2366a6731a46490e92) 2525 25261550. [func] marcin 2527 Implemented inheritance of the DHCPv4 global and shared network 2528 specific configuration parameters when using configuration 2529 backend. 2530 (Gitlab #490,!284, git 2508f942e879ef74b20c07ffdba37d187d6ea932) 2531 25321549. [func] tmark 2533 kea-dhcp6 can now be configured to fetch data from configuration 2534 back ends. It does not yet utilize the data fetched. 2535 (Gitlab #104,!290, git d8a25c1ecd17ad24bdce6af19e7a42ce66d4c4f2) 2536 25371548. [func] razvan 2538 Added consistency and serial-consistency parameters to CQL 2539 connection. 2540 (Gitlab #16,!266, git 5771173d721464d879869fad6456211031858d6c) 2541 25421547. [bug, doc] fdupont 2543 Option value for sip-ua-cs-domains has been corrected in the 2544 Kea User's Guide. Thanks to Shawn Routhier from Infoblox for 2545 reporting this issue. 2546 (Gitlab #536,!281, git c128fd9a6b7bffc36ba4fe9a0badebe55441d673) 2547 25481546. [func] tmark 2549 kea-dhcp4 now uses options fetched from configured backends. 2550 (Gitlab #401,!254, git 6a33a6f1810f5899ff9c8bc79d0093eebad5c728) 2551 25521545. [func] fdupont 2553 A new parameter "data-directory" has been added to DHCPv6. 2554 If specified, it allows DHCPv6 server to store lease and 2555 server-id files in non-standard locations. 2556 (Gitlab #430,!263, git 1f094e18a21124abcaf846cab52c8cba65ca36bc) 2557 25581544. [build] fdupont 2559 Message compiler is no longer needed during compilation and 2560 generated message files are part of the distribution. They can be 2561 regenerated using --enable-generate-messages switch passed to 2562 configure script. 2563 (Gitlab #441,!233, git 499b7c36454bcac2553f7bf304d48d7d80f4d4ca) 2564 25651543. [bug] fdupont 2566 Corrected behavior of the remote-subnet4-set so as it is now 2567 possible to set the subnet using both an ID or a subnet prefix. 2568 (Gitlab #481,!251, git 9ef651950fde16e258e4b03dd21bbf6dd07d5231) 2569 25701542. [test] tmark 2571 MySQL, PostgreSQL, and CQL unit tests will now attempt to wipe 2572 the unit test data, rather than the (re)create the schema between 2573 each test. This reduces test execution time appreciably. The 2574 behavior may be overridden by defining environment variable: 2575 KEA_TEST_DB_WIPE_DATA_ONLY="false". This will cause the schema 2576 to be recreated before each test but may dramatically increase 2577 test execution time. 2578 (Gitlab #526,!269, git 7e81d7bea27e919b652351880872aae68ad1b209) 2579 (Gitlab #531,!279, git 7f8c4fc535df3019789aea1881b7bb3bd539963a) 2580 25811541. [bug] fdupont 2582 Empty Relay Agent Information option is no longer sent in server 2583 responses. Thanks to Geoffrey Huang from Qingdao Agricultural 2584 University, and Jiaqi Liu from Qingdao WuKeSong Company 2585 Communication Limited, Shandong, PRC for reporting this issue. 2586 (Gitlab #519,#510,!271, git f3563396d2227e48e96a5d65587406d8d1868db5) 2587 25881540. [func] fdupont 2589 Added a new method deleteSharedNetworkSubnets4 in the config 2590 backend API to delete all subnets belonging to a shared network. 2591 (Gitlab #512,!256, git 76991c42d115641c7fdcd0f215137be578fb39a0) 2592 25931539. [build] fdupont 2594 Obsolete dns++.pc file for pkg-config was removed. 2595 (Gitlab #498,!274, git 93cd62c99f69cc379c08cd06791db522c1fb0aca) 2596 25971538. [func] marcin 2598 DHCP configuration parsers correctly handle unspecified parameters. 2599 This change was required for the MySQL Config Backend to record 2600 unspecified parameters as NULL in the database. 2601 (Gitlab #488,!259, git d3b33058651036be34200f16d2da230267415056) 2602 26031537. [func] godfryd 2604 Improved handling unix sockets in unit tests. Now by default 2605 they are created in temporary folder under /tmp folder. This 2606 fixes the issue with creating sockets with too long path 2607 in the case when source folder is deeply nested. 2608 (Gitlab #357,!258, git a45e2f68d7d1848adb0cf755954a3d76c9dff338) 2609 26101536. [build] tomek 2611 Many changes in keactrl, kea-admin, cql_config and sysrepo_config 2612 scripts. ISC is now using shellcheck to verify portability of 2613 our scripts. 2614 (Gitlab #480,!245, git 8818ba0260ba36710b88db6401069f9fe4f3a73a) 2615 26161535. [func] godfryd 2617 Added checking required Vagrant version by Hammer. 2618 Removed Hammer from EXTRA_DIST. 2619 (Gitlab #518,!257, git ea0006f6eb948d7d4a034b413c5086cbe483eb75) 2620 26211534. [func] marcin 2622 MySQL config backend correctly handles the optional values for 2623 subnets and shared networks. Also, updated the MySQL config 2624 backend to store and fetch T1 and T2 percentage settings. 2625 (Gitlab #489,!250, git 01fc4d5bb4105b90c7025e8ca8131c3c15203848) 2626 26271533. [doc] sgoldlust,stephen 2628 Kea User's Guide significantly updated. 2629 (Gitlab #362,!182, git 4b7a8df6054d18f2c90fe61d93533466f89e6324) 2630 26311532. [func]* marcin 2632 Renamed OptionalValue C++ object to Optional and modified its 2633 API. This object is now used to represent optional values in 2634 subnets and shared networks. This is an internal Kea logic 2635 change but it may impact existing user hooks libraries. 2636 (Gitlab #487,!232, git 1c58e0ce9b9fd6fc8864dbfb2335bc5841c78ff3) 2637 26381531. [func] tmark 2639 When fetching configuration data from configured backends, 2640 kea-dhcp4 will now merge option definitions. 2641 (Gitlab #400,!243, git 0c5d1417031e49bd0c247889989e187db2dd8f4b) 2642 26431530. [bug] adwol 2644 Potential syntax error in keactrl fixed. Thanks to Adam Osuchowski 2645 from Silesian University of Technology for providing a patch. 2646 (Gitlab #162,!241, git b1a1137f252432aa956ed6fea3da21c740857333) 2647 26481529. [func] tmark 2649 When fetching configuration data from configured backends, 2650 kea-dhcp4 will now merge global parameters. 2651 (Gitlab #402,!224, git dadaf76f8dd61b8bb3405aa5dc80029f09b2d4ec) 2652 26531528. [func] fdupont 2654 Aligned DHCPv4 and DHCPv6 specific tables used by the MySQL Config 2655 Backend. Extended MySQL schema to implement audit trail for the 2656 DHCPv6 Config Backend. 2657 (Gitlab #460,!232,!236, git 57f945f917db522773281c9e95ec8027afae6205) 2658 26591527. [build] adwol,fdupont,tomek 2660 Default Kea installation directory has been changed to 2661 ${prefix}/lib/kea/hooks. 2662 (Gitlab #161,!240, git cfaf16cf02191bf5b7172cade3f58a626288b5f0) 2663 26641526. [func] tmark 2665 In addition to subnets, when fetching configuration data from 2666 configured backends, kea-dhcp4 will now merge shared-networks. 2667 (Gitlab #399,!215, git 6b57b6b5d678c91b6b380fbe08beafd06b0e7b1d) 2668 26691525. [func] fdupont 2670 Defined API for the DHCPv6 Configuration Backend. 2671 (Gitlab #458,!231, git f16e03d9bf1c10903c16b2614223b10880f73d50) 2672 26731524. [func] tomek 2674 Support for vendor options improved in DHCPv4 and DHCPv6. Kea is now 2675 able to send back vendor suboptions, even if the client packet didn't 2676 include DHCPv4 vivso (125) or DHCPv6 vendor (17) option. Usage of client 2677 classification in such a case is required, though. 2678 (Gitlab #464,!238, git 5c79da9358862657a631a9a8fc2ce79ae26b762e) 2679 26801523. [bug] fdupont 2681 IfaceMgr::send method now returns proper status that matches 2682 its documentation. Thanks to Matthias Stoeckl from Secunet 2683 for reporting this issue. 2684 (Gitlab #417,!221, git 4be58523f38097cea81ea06161aead58e00aeb2a) 2685 26861522. [bug] marcin 2687 The "unspecified" DHCP timer values (e.g. renew-timer) are 2688 represented as NULL values in the database. This corrects 2689 a bug whereby the unspecified timers defaulted to 0 which 2690 prevented the DHCP server from calculating the timers to 2691 be sent to the client. Instead a value of 0 was sent. 2692 (Gitlab #451,!227, git 5ec9a55528fbcfff4e0c808f9a745b9fd3a5dfae) 2693 26941521. [func] marcin 2695 Removed subsecond precision for the timestamps in MySQL config 2696 backend. It caused issues on systems with MySQL version prior 2697 to 5.6.4 which don't support subsecond timestamp values. 2698 (Gitlab #444,!229, git 71200e98f5a862908240a0d2e269b5da23290af9) 2699 27001520. [build] fdupont 2701 Made perfdhcp build optional and off by default: to build it 2702 please use the new --enable-perfdhcp configure flag. 2703 (Gitlab #340,!220, git b2d9a5559c348e82d6730809ccf1429097a9872c) 2704 27051519. [bug] Brent Bloxam 2706 A bug in kea-admin that always assumed the PostgreSQL database is 2707 always local has been fixed. Thank you to Brent Bloxam from 2708 Beanfield Metroconnect for submitting a patch! 2709 (Gitlab #423,!216, git d14e2f34c7d544aeb5e1e219f305fac9ab18c498) 2710 27111518. [func] marcin 2712 Extended MySQL schema to include the types of the global DHCP 2713 parameters in the database. The Kea servers will use this 2714 information to cast the values fetched from the database into 2715 their actual types. The supported types are: string, integer, 2716 boolean and real. 2717 (Gitlab #429,!217, git edd745c507ce5a888461df1489311de0c22cd312) 2718 27191517. [func] tmark 2720 kea-dhcp4 will now connect to and fetch configuration data from 2721 configured backends. At this point, only fetched subnet data is 2722 merged and used. 2723 (Gitlab #101,!202, git c572f8aea94349ff5fb4afee13a88ba811cc6459) 2724 27251516. [func] marcin 2726 Implemented audit trail for MySQL Configuration Backend. It allows 2727 for tracking incremental changes in the servers' configurations. 2728 Both mysql_cb hooks library and the MySQL schema have been updated 2729 to facilitate this feature. 2730 (Gitlab #396,!205, git 6d40db07ef641eef29405c42e718979e7a1e8675) 2731 27321515. [func] fdupont 2733 Changes required for new host commands that retrieve all host 2734 reservations from a given subnet (reservation-get-all, 2735 reservation-get-page) added. Also added documentation. 2736 (Gitlab #313,!199, git 991b2fadcb9e8171a78e27f95e4bfba6393d7824) 2737 27381514. [func] fdupont 2739 Control Agent and DHCP-DDNS daemons now support config-reload 2740 command, that instruct a given server to load again its 2741 configuration from a file on disk. 2742 (Gitlab #375,!192, git 93648a3a4918225e2c4413ae220fccc59eaea99a) 2743 27441513. [func] godfryd 2745 Fixed perfdhcp that now it keeps requested rate during performance 2746 testing. Previously it was always about 20% lower than expected. 2747 (Gitlab #283,!135, git 329f54bb151ec35888e9a8070cc5fa368d6f1f5e) 2748 27491512. [func] tmark 2750 kea-dhcp4 will now ignore empty Host Name (option code 12) values 2751 received from clients. While an empty value for this option is 2752 not RFC-compliant, some clients do send them. Prior to the this 2753 server would drop the entire packet. In the spirit of being liberal 2754 in what we accept, the server will now simply omit the option. 2755 (Gitlab #40,!203, git f41bd35c3e7a3bdc1f31c5602fd91d5c84c60163) 2756 27571511. [func] fdupont 2758 Obsolete experimental secure DHCPv6 options (701-704) removed. 2759 (Gitlab #386,!196, git 1114527652615fb730e323946cafaf1c7ca72b42) 2760 27611510. [bug] fdupont 2762 DHCPv4 and DHCPv6 no longer crash if badly broken configuration 2763 is received. 2764 (Gitlab #381,!193, git f45fe7b7e3916d36d017b4ec5b50588fbf517d86) 2765 27661509. [func] tmark 2767 kea-dhcp4 can now be configured to calculate values to 2768 send to clients for for T1 and T2 (options 58 and 59 2769 respectively). Prior to this it was only possibly to 2770 specify explicit values. 2771 (Gitlab #365,!194, git 67944844a40436cd69e0e5b4962f5c9cba89ef6f) 2772 27731508. [func] fdupont 2774 Implemented the management API using a control socket for the 2775 DHCP DDNS (D2) server. D2 now supports the following commands: 2776 build-report, config-get, config-set, config-test, config-write, 2777 list-commands, shutdown and version-get. Also, extended Control 2778 Agent (CA) to support one additional command: config-set. 2779 (Gitlab #30,!183, git ab27550cec365f42289eb5fa1bc39f33f01b19c2) 2780 27811507. [func] tmark 2782 kea-dhcp4 now ensures that the message type option (53) is 2783 the first option in outbound DHCPv4 packets. This was done 2784 to accommodate non-compliant clients that require the option 2785 to be first. 2786 (Gitlab #363,!177, git 34f40035bf7a7849083138cacee440a9f0991d67) 2787 2788Kea 1.5.0 released on Dec 14, 2018 2789 27901506. [build] marcin 2791 Bumped up libraries version numbers for Kea 1.5.0 final release. 2792 (Gitlab #338,!168, git 551c5d704804d0ab2ea276e95dbae66b9d0f5561) 2793 27941505. [bug] marcin 2795 Corrected an issue in the lease_cmds hooks library which caused 2796 errors while adding leases with high lease expiration time value 2797 to the database. Many thanks to Shawn Routhier from Infoblox for 2798 finding and reporting the issue. 2799 (Gitlab #337,!167, git 3fcdc28814310ac93b3903897e952b3b60cfa0bc) 2800 28011504. [bug] fdupont 2802 Created separate control buffers for reception and transmission 2803 over UDP sockets. 2804 (Gitlab #327,!166, git cbb573858d7b1a4d2ba2316db457aa55ab037fc3) 2805 28061503. [doc] fdupont, marcin 2807 Updated "JSON Configuration" section of the Kea User's Guide. 2808 (Gitlab #198,!160, git 94c66b3c071d7bbf4b247bf57cd75ddcc343177e) 2809 28101502. [bug] fdupont 2811 Unicode parser for JSON structures has been improved. It now 2812 handles escape sequences better. 2813 (Gitlab #45,!40, git ba9b18cf2af66f8fb80e3dbbe13da11c99764588) 2814 28151501. [func] fdupont 2816 keactrl now supports kea-netconf. The new daemon is disabled by 2817 default. Please edit keactrl.conf (netconf=yes) if you want to 2818 start using it. 2819 (Gitlab #186,!163, git 8f7d556456891e7c675082f7e6cc88da71a92fee) 2820 28211500. [func, doc] tmark 2822 Streamlined the isc::dhcp::PacketQueue interface and 2823 added a section on Congestion Handling to the developer's guide. 2824 (Gitlab #278,!162, git 0ce615f5da993ac90f675c5315ba7cb5c2ef3e1c) 2825 28261499. [func] tmark 2827 For Kea 1.5.0, congestion handling has been disabled by 2828 default. 2829 (Gitlab #277,!164, git 8d87c46a3cc7b7be4dd5f751b48449e92ee62d84) 2830 28311498. [bug] marcin 2832 Corrected behavior of the DHCP servers with respect to the 2833 "reconnect-wait-time" parameter setting. This parameter is 2834 specified in milliseconds, but the servers used to interpret 2835 it as specified in seconds. 2836 (Gitlab #173,!154, git 377f49e84ad6ebc91cbeac4116d24a15571c522d) 2837 28381497. [func] fdupont 2839 All YANG modules now have a revision specified. When starting, 2840 kea-netconf daemon will now check if the required modules are 2841 installed and have a proper revision. This should help spotting 2842 issues when migrating from older YANG modules. 2843 (Gitlab #204,!121, git 9e772e1472e073ee85924cfc706cb57a5e70a0b1) 2844 28451496. [doc] marcin 2846 Updated Kea documentation to reference RFC 8415, which is the 2847 new DHCPv6 specification. It obsoletes a number of RFCs: 2848 RFC 3315 (previous DHCPv6 specification), RFC 3633, RFC 3736, 2849 RFC 4242, RFC 7083, RFC 7283 and RFC 7550. Kea documentation 2850 now refers to RFC 8415 where appropriate instead of obsoleted 2851 RFCs. 2852 (Gitlab #288,!158, git 974b033a8de7a8e671156c33efeb13d4ac847c96) 2853 28541495. [bug] marcin 2855 Corrected an issue in the Memfile lease backend which caused 2856 errors while reading leases with very long lifetimes. Many 2857 thanks to Shawn Routhier from Infoblox for finding and reporting 2858 the issue. 2859 (Gitlab #303,!151, git ab92ab6fcd414f1efc7c5de6a641274da7c04e92) 2860 28611494. [bug] marcin 2862 Kea servers reject commands with unsupported parameters. 2863 (Gitlab #253,!147, git 7fc55489887c0e8f32db5c1fe9f46fa1cc2a4407) 2864 28651493. [bug] marcin 2866 Names carried in DHCPv4 Client FQDN option, Hostname option and 2867 stored in the lease database are case insensitive. 2868 (Gitlab #86,!152, git d9e23e2a6a3114b1c87de9c881ef10cdb1e00c61) 2869 2870Kea 1.5.0-beta2 released on Nov 30, 2018 2871 28721492. [doc] fdupont 2873 Added a step by step netconf operation example in the 2874 Kea Administrator's Guide. 2875 (Gitlab #195,!131, git 994a826caf3c1a9f5f84d8b703a3b202120e91b6) 2876 28771491. [build] tomek 2878 coroutine.hpp from Boost 1.68 has been added the Kea source. 2879 It is used only if the Boost library provided by the system 2880 is very old and does not include that header. This effectively 2881 reverts the change done in Kea 1.4.0. 2882 (Gitlab #293,!45, git df0f507b8b750c8dff1f537cad5b5748b7841852) 2883 28841491. [build] marcin 2885 Bumped up libraries version numbers for Kea 1.5.0 beta2 release. 2886 Also, generated logger message files are now installed with Kea. 2887 (Gitlab #62,!144, git 7dc8d73a58504fd81a49b1c54651388d53d98d53) 2888 28891490. [bug] marcin 2890 Applied fixes in Cassandra Host Manager which prevents Kea 2891 crash during an attempt to delete non-existing reservation. 2892 In particular, this crash was observed as a result of sending 2893 reservation-del command over RESTful API. 2894 (Gitlab #27,!138, git 8666ed4754ffd27f3aa46a2cf3e4b161a1d877ee) 2895 28961489. [doc] fdupont 2897 Added examples of global host reservations. 2898 (Gitlab #136, !143, git bee8b8620f849f6bcaf2b31c3b130bb371c6312c) 2899 29001488. [doc] marcin 2901 Added stat_cmds to the list of available hooks libraries. 2902 (Gitlab #85,!142, git 08615372b4f869fe61b13559efa33d0d9794d79b) 2903 29041487. [doc] marcin 2905 Corrected broken links and various typos in Kea documentation 2906 which had been identified during Kea 1.5.0 beta1 release 2907 process. 2908 (Gitlab #263,!137, git 79a224288efa1e1c51b0f2ec11ff646563b306e1) 2909 29101486. [func] tmark 2911 For Kea 1.5.0-beta2, congestion handling has been enabled by 2912 default. This was done to expose the feature to more testing. 2913 We will finalize the default setting prior to releasing Kea 1.5.0. 2914 (Gitlab #276,!132, git fda1f985997412a58d3b4eee4a1ca0588d3f3beb) 2915 29161485. [func] fdupont 2917 Simplified and updated Kea YANG models. For instance the list of 2918 loggers was moved from the removed logging container to global 2919 config parameters. 2920 (Gitlab #204, !97, git 1de6c2987ec9067b7c1baa577c6dcd6ddd1b30fb) 2921 29221484. [bug] marcin 2923 Resolved issues with MySQL backend failing to insert a lease 2924 to the MariaDB database on OpenSUSE. This fix may also 2925 improve stability of the MySQL backend on other systems running 2926 MariaDB. 2927 (Gitlab #53,!125, git 038eddbc7b904289e4b74b5ef2406cb57f79a646) 2928 29291483. [func] tmark 2930 Use of congestion handling is now optional via the 'enable-queue' 2931 flag added to 'dhcp-queue-control'. It is disabled by default. 2932 When disabled Kea's DHCPv4 and DHCPv6 servers will consume packets 2933 directly from interface sockets in the main thread (i.e. employs 2934 pre Kea 1.5 technique). 2935 (Gitlab #260, !120, git 9e304fae48d0d0658fd39a21aba9da528b4cc6f4) 2936 29371482. [func] fdupont 2938 The configuration parameter "reservation-mode" can be specified 2939 at global (new), subnet and shared network levels. 2940 (Gitlab #268,!126, git c72d381c39868308c7d11c7d4def3bdae0a0e04e) 2941 29421481. [func] fdupont 2943 Cleaned up the keatest-module YANG test module. 2944 (Gitlab #204,!98, git a830adcefd9306969216d35c51306df3610278bb) 2945 29461480. [func] fdupont 2947 The unused configuration parameter "always-include-fqdn" 2948 was removed. Configurations using it will be rejected as 2949 it is no longer recognized. 2950 (Gitlab #182,!128, git cafeba167e7c64370dd39eca4551f61acd89d3da) 2951 29521479. [build] fdupont 2953 Support for sysrepo 0.7.6 (and libyang 0.16-r2) was added. 2954 Previous versions of sysrepo (and libyang) are still supported. 2955 (Gitlab #176, !107, git 4304a10b21708afb2a7599c77bc7508a600333cb) 2956 29571478. [bug] marcin 2958 Performance improvements in the HTTP client code used in the 2959 Kea High Availability. 2960 (Gitlab #57,!122, git 7bd97af1f3d7670cd64cadf0d0cb9ddbe4e74909) 2961 2962Kea 1.5.0-beta1 released on Nov 9, 2018 2963 29641477. [build] marcin 2965 Bumped up libraries version numbers for Kea 1.5.0 beta release. 2966 (Gitlab #261,!119, git 54d63139048e7fe2dd0384b547ed6f8b96ff0e8f) 2967 29681476. [func] tmark 2969 Added initial implementation of congestion handling to kea-dhcp4 2970 and kea-dhcpt6. This adds a new top level element to the server 2971 configurations, "dhcp-queue-control". Both servers will now 2972 read client packets from interface sockets in a separate thread 2973 queueing them for server level processing. For Kea 1.5-Beta 2974 this feature is always on. 2975 (Gitlab #42, !103, git 09d5ffebc8f9bfab2ab99c384eec9c3a3c915f39) 2976 29771475. [func] sebschrader 2978 Add authoritative feature for DHCPv4 from ISC DHCP: requests from 2979 unknown clients are dropped (default/previous behavior) or 2980 answered with DHCPNAK (new behavior with new authoritative flag 2981 set to true for the subnet). Patch proposed by Sebastian Schrader. 2982 (Gitlab #66, !115, git 0fc1b767826f214475025d8631227970de368de5) 2983 29841474. [doc] godfryd 2985 Updated list of supported operating systems. 2986 (Gitlab #205, !109, git 73253af554cf48434798282f8440a99b1494fd04) 2987 29881473. [doc] tomek 2989 Outdated FAQ section removed from the User's Guide. 2990 (Gitlab #118, !113, git 7d079384bd5f49e0e36a571ee964bfd7d6ebd25d) 2991 29921472. [bug] marcin 2993 Timeout is now reported by the HTTP client when connecting to the server 2994 takes too long. This eliminates HTTP client hangs when firewall is 2995 misconfigured and causes connection to never be established. This issue 2996 was found during Kea High Availability testing. 2997 (Gitlab #26,!106, git 9724823f160af0ef5e8ccdf779087ff08a04457a) 2998 29991471. [bug] lmasarati 3000 Fixed a bug in kea-admin that ignored specified remote hostname. 3001 Thank you to lmasarati and Thorsten Krohn for reporting it and 3002 proposing a patch! 3003 (Gitlab #61, #138, !114, git 901cac7dc85ad8dacf631bf3a5c266eefeb3e6a1) 3004 30051470. [func] marcin 3006 Improved lease database synchronization mechanisms in High 3007 Availability hooks library. The new implementation uses 3008 lease4-get-page and lease6-get-page commands to fetch leases 3009 from the partner server. This prevents timeouts occurring 3010 during long synchronizations as well as decreases CPU and 3011 memory consumption on the HA enabled servers during lease 3012 database synchronization. 3013 (Gitlab #78,!85, git c54ea216463dcc6df693c96c4a5f82c0fbec2ff6) 3014 30151469. [doc] marcin, fdupont 3016 Documented new class_cmds premium library which is used 3017 to modify client class configuration of the DHCP servers. 3018 (Gitlab #64,!41, git c1c1d0b71496d81b330a8c1eb95996bbf634ada0) 3019 30201468. [build] wlodek 3021 make distcheck fix. 3022 (Gitlab #202, !111, git 5d8fb5f7af5fa36f4cb2b89f10631683b2e230d5) 3023 30241467. [doc] fdupont, tomek 3025 Doxygen errors fixed. 3026 (Gitlab #180,!93, git d12fb04d71c3b2d0e84ebb2c957334454b5705c4) 3027 30281466. [func] fdupont 3029 Added random number generation in services provided by 3030 the crypto library (and ultimately by the crypto backend, 3031 i.e. Botan or OpenSSL). 3032 (Gitlab #29,!9, git 609ddc69613dc828b3d93673d61a2c259c3944aa) 3033 30341465. [build] marcin 3035 Removed libkea-process dependency on MySQL, Postgres and 3036 Cassandra libraries. 3037 (Gitlab #194,!104, git bcce7d3c2226c10218d537c4688344c3b7f8c84a) 3038 30391464. [build] marcin 3040 Exclude mysql_cb hooks library from the Kea 1.5.0 release. This 3041 library will be added back in Kea 1.6.0 release. 3042 (Gitlab #93,!105, git 49572aa300ea2b25712d7e8cea0dd0df34faf7ee) 3043 30441463. [bug] tmark 3045 Added missing parsing logic for the reservation-mode value, 3046 "global", to kea-dhcp6. The parsing logic was somehow omitted 3047 and caused kea-dhcp6 configuration parsing to fail on values 3048 of "global". 3049 (Gitlab #129,!55, git 00352d701f61274f0993b468a413af6c5623af3d) 3050 30511462. [build,doc] tomek,sgoldlust,vicky 3052 Kea REST API is now documented. Thanks to Suzanne Goldlust for 3053 providing descriptions for great majority of commands and to 3054 Vicky Risk for review and corrections. Also, docgen, a new 3055 tool for documentation generation has been written. 3056 (Gitlab #10,!3, git 5d2e4d6fcc182a19eafa895abc35b1aee599fd23) 3057 30581461. [doc] marcin, fdupont 3059 Added new sample configurations providing all parameters at 3060 the exception of host reservations for DHCPv4 and DHCPv6 servers 3061 for testing of configuration managers. 3062 (Gitlab #130,!89, git 4bc7e0dbe4804f63c51d100a8f724327e3d3a936) 3063 30641460. [func] tmark 3065 While kea-dhcp4 and kea-dhcp6 configuration parsing supports 3066 configuration backend elements "server-tag" and "config-control", 3067 use of these parameters has been disabled. Development of this 3068 feature will resume after Kea 1.5 release. 3069 (Gitlab #101,!87, git 4292a7ef7ab268826f846812e7320e1fe1fc46ef) 3070 30711459. [func] marcin 3072 Implemented libdhcp_mysql_cb hooks library which provides 3073 Configuration Backend functionality for MySQL. 3074 (Gitlab #93, git 98456608056b3361352b3127767138845eeb5d00) 3075 30761458. [func] fdupont 3077 Control sockets for kea-netconf has been implemented. The code is 3078 not functional yet, but the capability of the kea-netconf daemon 3079 to communicate with CA, D2, DHCPv4 and DHCPv6 daemons is there. 3080 (Gitlab #153,!60, git 11486e255aef704114645f8e7c5fee9c3abf9e76) 3081 30821457. [func] tmark 3083 Both kea-dhcp4 and kea-dhcp6 configuration parsing support new, 3084 server-level configuration elements "server-tag" and "config-control". 3085 While these elements will parse, they are not yet used by the servers. 3086 (Gitlab #32,!23, git c0727407da8d749d9fb51d873a725369800c967b) 3087 30881456. [build] tomek 3089 Extended Kea version is now stored in a separate file for 3090 build performance reasons. 3091 (Gitlab #137,!42, git 87479e979ca3d3025cb4129ace991a59e32e0f62) 3092 30931455. [func] fdupont 3094 Implemented hexstring(value, separator) operator that can be used 3095 in any expression, such as client classification, flex-id or 3096 RADIUS attribute. 3097 (Gitlab #67,!34, git 004d9a29db09b1c203c52e23585bd275c52095fa) 3098 30991454. [func] fdupont 3100 Unused interface-id and rapid-commit parameters removed from 3101 DHCPv4 parser. 3102 (Gitlab #116,!24, git 7e47292f10acb9179241c991d3591e9bfa47c37d) 3103 31041453. [func] marcin 3105 Updated MySQL schema to facilitate Kea Configuration Backend 3106 feature. 3107 (Gitlab #89,!22, git e28c0c7b3e7a7729167cdad993f634ed1f0ac53b) 3108 31091452. [func] marcin 3110 Implemented libkea-cb library which includes basic class 3111 hierarchy for the Kea Configuration Backend. 3112 (Gitlab #28,!20, git fb5c031ecaf4182e56f62874e9a6bd4c1d755a77) 3113 31141451. [build] tmark 3115 Resolved a namespace issue with std::distance() in libdhcp++.cc 3116 when building with Boost 1.68. Thanks to Huy Vu and Khem Raj 3117 for reporting and suggesting a fix. 3118 (Gitlab #109,!21, git 1fd301f998129e9926ffa35eac27768ae150633d) 3119 31201450. [build] tomek 3121 Dependencies improved. libkea-process no longer requires libkea-dhcpsrv. 3122 As a result, D2 and CA are no longer linked with libkea-dhcpsrv. 3123 (Gitlab #25,!14, git cdb3a6f2d98a303b80433df7e0d5698c77897b7f) 3124 31251449. [func] tmark 3126 Modified Kea 1.5.0 database upgrade scripts to convert 3127 subnet ID values of 0, to either null (MySQL and Postgres) 3128 or 0xFFFFFFFF (CQL), in existing host reservations. This 3129 is done to accommodate support for global host reservations. 3130 (Gitlab #15,!11, git 25b54fd9ced4c6d3a2c8ceff9cc7c866b56da2c1) 3131 31321448. [build]* marcin 3133 Created new Kea libraries: libkea-database, libkea-mysql, 3134 libkea-pgsql and libkea-cql. Some database specific code was 3135 moved from libkea-dhcpsrv to those new libraries. 3136 (Gitlab #92,!13, git 5feb6b8a53675c27715e9e8fbeb312bd6eb17547) 3137 31381447. [doc] tmark 3139 Updated Kea Administrator's Guide with discussions of the 3140 use of subnet ID parameters in hook library commands. 3141 (Gitlab #14,!15 git# 4a7da8069feab1e21132689a9368f8ccb4174683) 3142 31431446. [func] tmark 3144 kea-dhcp6 now supports global host reservations and a new 3145 global reservations-mode . Prior to this reservations could 3146 only be specified per subnet. This is supported by by Memfile, 3147 MySQL, PostgreSQL, and Cassandra host data sources. 3148 (Gitlab #13,!6, git# a5484c4d8852662be7da1e6e8b1d4c1a19e6502f) 3149 31501445. [func] tomek 3151 Implemented initial skeleton version of the kea-netconf tool. 3152 Currently it can't do anything, but the build system is now 3153 capable of detecting sysrepo (use --with-sysrepo in configure), 3154 there's a very basic documentation and unit-tests. 3155 (gitlab !1, git 89ff2093811d65220d99dc2a6516375c4ec953dc) 3156 31571444. [bug] tomek 3158 keactrl version tests now work properly on macOS. 3159 (Gitlab !5, git a8c385e1507ffd101f65b445783b0355b01decce) 3160 31611443. [func] tmark 3162 kea-dhcp4 now supports global host reservations and a new 3163 global reservations-mode . Prior to this reservations could 3164 only be specified per subnet. This is supported by by Memfile, 3165 MySQL,PostgreSQL,and Cassandra host data sources. 3166 (Trac #5705, git f991cffd06add941f8bf2937232f51d597623e21) 3167 31681442. [func] MayyaSunil 3169 Implemented new queries for IPv6 leases by DUID. 3170 (Github #99, git c20b5248da1283e596e35ad057ae242f4d613965) 3171 31721441. [func] marcin 3173 Added log message indicating that the control socket has been 3174 opened by a server. 3175 (Gitlab #8, git 3dbaf4917bea112466f1ee5726870c545950e114) 3176 31771440. [func] tmark 3178 The internal representation of an "unused" subnet-id has been 3179 changed from zero to 0xFFFFFFFF. The largest, valid value for 3180 a subnet's ID is now 0xFFFFFFFE. Three new constants have been 3181 added so subnet_id.h: 3182 3183 isc::dhcp::SUBNET_ID_GLOBAL 3184 isc::dhcp::SUBNET_ID_UNUSED 3185 isc::dhcp::SUBNET_ID_MAX 3186 3187 which should be used in code/hooks in place of hard-coded values. 3188 (Trac #5704, git 90fe9ca2cd6f63bcc7168bdc3786677db57b65ec) 3189 31901439. [func] tomek 3191 keactrl and kea-admin tools can now report version. 3192 (Gitlab #9, git 4a00ab5d4b9ac9193fc5f924149aeaca7a88e2ef) 3193 31941438. [func] tomek 3195 subnet-id parameter is now optional in lease4-add, lease6-add, 3196 lease4-update and lease6-update commands. If not specified or 3197 its value is zero, Kea will attempt to figure out the correct 3198 value of subnet-id. If there is no matching subnet configured, 3199 the lease will be rejected. 3200 (Trac #5683, git a8ce7a78b5b294e6bce02de887552a1e4593db4e) 3201 32021437. [func] tomek 3203 DHCPv4 and DHCPv6 servers are now able to sanity check and 3204 possibly correct some inconsistencies in leases when loaded from 3205 disk (memfile). A new parameter to govern this behavior has been 3206 added. 3207 (Trac #5682, git 609bfa0a67caa91fac6834eb39260acfd19e3be4) 3208 32091436. [func] tmark 3210 Added two new configuration parameters to kea-dhcp4 and kea-dhcp6 3211 DhcpDdns sections: 'hostname-char-set' and 'hostname-char-replacement'. 3212 These values (when not empty) are used by the server to sanitize 3213 host name and FQDN domain names sent by clients prior to using them 3214 to construct DNS names. 3215 (Trac #5680, git 32466ab3d4688e66c8c2f9fd24d4a98fcc871ff6) 3216 32171435. [func] marcin 3218 Implemented ha-continue command in HA hooks library and 3219 updated the Kea User's Guide with the information how to 3220 pause and resume the HA state machine. 3221 (Trac #5675, git 98a9bd4f6766ff2f53681d84d55c56988be4d501) 3222 32231434. [func] MayyaSunil 3224 Code added to support storage of Authentication key host reservation. 3225 There is no way to use the code yet. 3226 (Github #88, git 66602af46b1a7d9f4197b1f285c928bd9f80ba2b) 3227 32281433. [func] marcin 3229 Implemented state HA state machine pausing in the high 3230 availability hooks library. 3231 (Trac #5674, git b9f3f082c7a88fe98fa4545b9649193ceb5e3ef5) 3232 32331432. [func] MayyaSunil 3234 Code added to handle Authentication option in DHCPv6. There 3235 is no way to use this code yet. 3236 (Github #93, git 022dae4393da9e714678d52886d4f478ba308ba9) 3237 32381431. [func] marcin 3239 Implemented lease4-get-page and lease6-get-page commands 3240 in lease_cmds hooks library. 3241 (Trac #5651, git b056828212f7b206ff8bd07c097fd6f427d22d71) 3242 32431430. [func] fdupont 3244 Lease objects and lease backends are now able to store user 3245 context. User context can store an arbitrary data as long 3246 as it is in JSON format. Database schemas updated. 3247 (Trac #5584, git b0b7a198b99fd417466708c80cb7cc2162ae480c) 3248 32491429. [bug] marcin 3250 Removed memory leak in the DHCPv4 and DHCPv6 servers which 3251 occurred when hooks libraries where loaded. 3252 (Trac #5664, git 2584b902d2617089bfa7238133490ddd855aa77a) 3253 32541428. [bug] marcin 3255 Corrected behavior of the standby server in the HA hot-standby 3256 mode, which failed to monitor delays in responses to the 3257 DHCP queries sent to the primary server after the primary 3258 server became unavailable. This resulted in transition of 3259 the standby server to the partner-down state immediately 3260 after detecting interruption in communication with the 3261 primary over the control channel. 3262 (Trac #5654, git 7a83f05fe40fb1b6812b055e2d6d633d9e00160c) 3263 3264Kea 1.4.0 released on June 15, 2018 3265 32661427. [bug] marcin 3267 Resolved multiple problems causing slow synchronization of 3268 leases in the HA hooks library, including adjusting 3269 timeouts in control channel and improving performance of 3270 responses sent by the Command Manager to Control Agent. 3271 Also, introduced 'sync-timeout' configuration parameter 3272 into HA hooks library to control lease database 3273 synchronization timeout. 3274 (Trac #5649, git cbc29128863916a13364749bf681586aea2aa51e) 3275 32761426. [func] fdupont 3277 Added KNOWN and UNKNOWN built-in client classes: after host lookup 3278 if a matching host entry is found the incoming packet is added to 3279 the KNOWN class, if none is found to the UNKNOWN class. Then 3280 expressions depending directly or indirectly on these classes are 3281 evaluated. Note these classes may be used to select a pool but 3282 they may not to select a subnet. 3283 (Trac #5549, git 6a856ed9722b918a65dca15ff44314e28897784e) 3284 32851425. [bug] marcin 3286 Improved performance of the DHCP server running in High 3287 Availability configuration by optimizing the management of 3288 CalloutHandle objects passed to the callouts. 3289 (Trac #5647, git eea88d5c8f4d8efb6c5bfdfbf4e070a90069db5d) 3290 32911424. [doc] marcin 3292 List of hooks libraries provided by ISC includes an 3293 information which Kea servers the libraries can be attached 3294 to. The detailed description of each supported hooks library 3295 also contains this information. 3296 (Trac #5613, git 9d6f8de3d988c42c413a7d628e31854e9c80d8c9) 3297 32981423. [bug] tmark 3299 kea-dhcp4 and kea-dhcp6 now retain and emit global, scalar 3300 parameters specified in their configuration. 3301 (Trac #5378, git 4d05122f03d00b10a888c768fe1725cae9d6aea6) 3302 33031422. [build] fdupont 3304 Commented out BOOST_ASIO_DISABLE_THREADS in configure to reflect 3305 the current use of threads by boost ASIO in Kea. 3306 (Trac #5615, git f3fc8b1a4257a42a97aaf88a36287bbe33d1f65b) 3307 33081421. [build] marcin 3309 Moved libdhcp_ha (High Availability) hooks library from 3310 premium to main Kea repository and changed its license to 3311 MPLv2.0. Future ChangeLog entries for this library will be 3312 tracked in the Kea ChangeLog file. 3313 (Trac #5645, git 19b2553d4869bdd52b63b6f7969052d8a724f78d) 3314 33151420. [doc] marcin 3316 Updated list of loggers in the Kea Administrator's Manual. 3317 The updated list contains all loggers, including those 3318 from supported hooks libraries. 3319 (Trac #5622, git bd94afc0af7183452c94f3b5768c6138f79d3b60) 3320 33211419. [doc] marcin 3322 Documented "sync-leases" configuration parameter of the HA 3323 hooks library in the Kea Administrator's Manual. 3324 (Trac #5621, git 4ebac3a411aa02d1cc3d74e7eaf3212ad208159a) 3325 33261418. [bug] marcin 3327 Corrected bug in the allocation engine which caused occasional 3328 lease allocation failures when a loaded hooks library set the 3329 callout status to non default value, e.g. "skip" rather than 3330 "continue". In such cases, the server reported that it failed 3331 to allocate a lease "after 0 attempts". 3332 (Trac #5638, git f2e9b686ae52e1b06f660e1b522588b1440e2620) 3333 33341417. [bug] marcin 3335 Improved logging in the HTTP library both for the server and 3336 the client. 3337 (Trac #5205, git fd0bec610c89084d5a5d43ef032c9875c3e6ad46) 3338 33391416. [bug] fdupont 3340 Added support of recent Botan 2.x crypto backend. 3341 Note that Botan 1.[9-11] is still supported but not recommended. 3342 (Trac #5382, git 22651b1935a2397edfbddb9b8873c353c090f18e) 3343 33441415. [bug] tmark 3345 kea-dhcp4 and kea-dhcp6 now validate the schema version 3346 of lease and host back ends after establishing a connection. 3347 If a schema version does not match the version the server 3348 expects, the server will emit an error log and close 3349 the connection. This applies to MySQL, PostgreSQL, and Cassandra. 3350 (Trac #5629, git 15c34afdba45be609e35284a209ad18ed66605f8) 3351 33521414. [bug] tmark 3353 kea-dhcp4 parsing now treats renew-timer and rebind-timer 3354 as optional with no defaults. The logic for sending them 3355 to the client was changed to: send rebind-timer only 3356 when it is less than the lease lifetime; and send renew-timer 3357 only when it less than either the rebind-timer if specified, 3358 or lease lifetime in the absence of rebind-timer. 3359 (Trac #5596, git 38426e16ec04a786e35a65d27cbcb7dbabfe79b5) 3360 33611413. [func] fdupont 3362 Removed getAll, get4 and get6 methods using both hardware address 3363 and DUID from host backend (aka host data source) APIs. 3364 This is an *incompatible* change. 3365 (Trac #5563, git db4c34b069f114f93d9f29cdeb02b536a0fbc982) 3366 33671412. [func]* marcin 3368 The client classes used by the High Availability hook library 3369 use upper case "HA_" prefix and they are now built-in classes. 3370 This means that those classes do not need to be declared in the 3371 server configuration. 3372 (Trac #5632, git 2d590bfd7d1b0eca377eb99eef83a3083a1d7399) 3373 33741411. [bug] fdupont 3375 Fixed warnings about lambda's not using captured variables. 3376 (Trac #5591, git f88a505823d39faec7dc5f647f40e6454e5dfc74) 3377 33781410. [bug] marcin 3379 Fixed multiple hanging Control Agent unittests. 3380 (Trac #5576, git 310af68101cba74220652ec2b403520fc5666dc0) 3381 33821409. [doc] marcin 3383 Documented in the User's Guide how Kea HA service behaves 3384 when the clock skew between active servers becomes too 3385 high. 3386 (Trac #5603, git ffaff4d2a03600bb4f81d335b49a840e31d03c8c) 3387 33881408. [func] tomek 3389 perfdhcp now supports -o option that adds DHCP options. 3390 This may be used to simulate various clients. 3391 (Github #77, git b81dedb7f0a2516130e7bd799d9084c63f0e844c) 3392 33931407. [bug] tmark 3394 Corrected an issue where the destruction of loggers 3395 prior to the destruction of the TimerMgr singleton 3396 caused unit tests to segfault. 3397 (Trac #5626, git 9f4e3f9cd8acf8e7d1d3e714d8f904754377c00f) 3398 33991406. [func] fdupont 3400 Added pkg-config alternative to configure --with-cql path so 3401 now you can use either pkg-config or cql_config. 3402 (Trac #5488, git 55498ca3455517132533a39002ebfc05d26c7e38) 3403 34041405. [bug] tmark 3405 Corrected missing "override" warning in cql_lease_mgr.h 3406 (Trac #5625, git df3068ba0e520df4d96dd38e2de679beb99f2e23) 3407 3408Kea 1.4.0-beta released on May 18, 2018 3409 34101404. [doc] tomek 3411 Hooks package installation instruction added to Kea 3412 User's Guide. 3413 (Trac #5427, git 7bc5e4297e8b2ccb87d5d5d79ae066fe32964841) 3414 34151403. [build] tomek 3416 Support for hook packages has been updated. The --with-tierX 3417 flags have been removed. Each hook library is now detected 3418 independently. 3419 (Trac #5619, git aa1f95d699dc664a5660db120ef71edee910a9b3) 3420 34211402. [bug] tomek 3422 Fixed a crash that was caused by hook library registering 3423 new hook points. This fixes unit-tests with forensic 3424 logging, but the problem was generic and could cause 3425 other libraries to segfault during unloading or reconfiguration. 3426 (Trac #5577, git 2f9d1aa95c16e12fabc50d581b966f20b6d8a950) 3427 34281401. [bug] tmark 3429 Corrected an issue which caused kea-dhcp4 and kea-dhcp6 servers 3430 to unload their hooks libraries upon receipt of the first client 3431 message following a dynamic reconfigure. 3432 (Trac #5564, git 5111f569bd251c2a98a2e6d958e8f6b640a1802d) 3433 34341400. [func] tmark 3435 A new hooks library, Stat Cmds, has been added to the open source 3436 distribution. This library provides commands for fetching lease 3437 allocation statistics using lease backend as the source for 3438 lease counts per state. This resolves an issue in deployments, 3439 where multiple Kea servers share a common lease backend, which made 3440 it difficult to obtain accurate lease statistics. 3441 (Trac #5589, git 36f20f1c8b28f629fe2896b817ac0f3c6026fe0e) 3442 34431399. [func] tmark 3444 Support for fetching lease allocation statistics by subnet-id 3445 or subnet-id range has been added to the Cassandra back end. This 3446 allows it to be used in conjunction with the Stat Cmds hooks 3447 library commands for fetching shared lease statistics. 3448 (Trac #5588, git 3fcfefdea5ac838936c2109ecbbbc32eabc8fdba) 3449 34501398. [bug] fdupont 3451 Fixed bug in configurations where "outbound-interface" parameter 3452 was set to "use-routing", which in some cases would reset outbound 3453 interface index to a negative value and cause the server to fail 3454 to respond to the clients. 3455 (Trac #5515, git 9d8d00f1f127ee606f09f7ff6006f0d142aac976) 3456 34571397. [bug] marcin 3458 A bug in http client library was fixed. The IPv6 address specified 3459 in brackets is now supported properly. 3460 (Trac #5620, git fe38c4368853e47bc993d6c3844cdddba5effde5) 3461 34621396. [bug] tmark 3463 The PostgreSQL schema was expanded to include two new tables: 3464 lease4-stat and lease6-stat and triggers to update them as leases 3465 are modified. This resolves an issue in deployments, where multiple 3466 Kea servers share a common PostgreSQL lease database, which made 3467 it difficult to obtain accurate lease statistics. Since these statistics 3468 are now tracked by the database, they do not have to be recalculated at 3469 startup or following reconfiguration. This may result in less 3470 processing overhead during these events. The new statistics will be 3471 accessible via a new Hooks library, being developed for Kea 1.4 3472 under #5589. 3473 (Trac #5587, git 36a0160de0df7789eea224954717be05c08638b7) 3474 34751395. [bug] tmark 3476 The MySQL schema was expanded to include two new tables: 3477 lease4-stat and lease6-stat and triggers to update them as leases 3478 are modified. This resolves an issue in deployments, where multiple 3479 Kea servers share a common MySQL lease database, which made it difficult 3480 to obtain accurate lease statistics. Since these statistics are now 3481 tracked by the database, they do not have to be recalculated at startup 3482 or following reconfiguration. This may result in less processing overhead 3483 during these events. The new statistics will be accessible via a new Hooks 3484 library, being developed for Kea 1.4 under #5589. 3485 (Trac #5586, git a070c327668c10de3b28f5e249f91d6d16a97ff5) 3486 34871394. [doc] marcin 3488 Documented High Availability hook library in the Kea 3489 Administrator Reference Manual. 3490 (Trac #5478, git 3db34400d0331e3d4fc208529eeb18f6abfb6562) 3491 34921393. [build] marcin 3493 Install new header files introduced since Kea 1.3 release. 3494 Also, bumped up libraries version numbers for Kea 1.4 beta 3495 release. 3496 (Trac #5590, git 64351229a30832735c5a81ac17ca1521aa2483b2) 3497 34981392. [func] fdupont, marcin 3499 Implemented new hook point "leases6_committed" in the DHCPv6 3500 server. It supports new next step status NEXT_STEP_PARK 3501 which causes the server to "park" the client's DHCP packet. 3502 (Trac #5458, git 04d6fb0a0ac5b9dff2a02764cc9265f9a2a05ae8) 3503 35041391. [func] tmark 3505 For both kea-dhcp4 and kea-dhcp6, the "ip-address" parameter 3506 in the "relay" element for both subnets and shared networks, 3507 has been replaced with a list form, "ip-addresses". Configuration 3508 parsing will continue to honor the singular form, but it should 3509 be considered deprecated. In addition, an omission in 1.3 that 3510 caused shared network parsing to ignore the "relay' element has 3511 been corrected. 3512 (Trac #5535, git f4601abdb657122a8ba5d7784eded773ec01d171) 3513 35141390. [doc] tomek 3515 User's Guide documentation for RADIUS and Host Cache written. 3516 (Trac #5538, git c73337a8ec691874b8ac0b2efcd8708f1a79acbb) 3517 35181389. [func] fdupont 3519 dhcp6_srv_configured hook point added. 3520 (Trac #5530, git 3bb521f6ec8b4e2a1e57ec84b17ee12b0ccf0f83) 3521 35221388. [build] tmark 3523 Modified configure script to support --with-dhcp-mysql and 3524 --with-dhcp-pgsql but emit a deprecation warning message 3525 encouraging their replacement with --with-mysql and --with-pgsql. 3526 (Trac #5567, git 53761069761ddde44636baa30185322debfe4186) 3527 35281387. [func] tmark 3529 perfdhcp no longer requires -r (rate) be specified in order to use 3530 -D<max-drop>, -n<num-request>, -p<test-period> and -t<report> options. 3531 (Trac #5115, git c3ba89c56882cac1080899ad201f0c02056eef38) 3532 35331386. [func] fdupont 3534 Extended comment / user-context support to DHCP-DDNS and 3535 Control Agent configuration syntax. 3536 (Trac #5495, git fe79959e3bc3c46ccb89661cb27696671a8508b8) 3537 35381385. [func] tomek 3539 lease4-wipe and lease6-wipe are now able to wipe all leases 3540 from all configured subnets if subnet-id specified is 0 3541 or the subnet-id parameter is omitted. 3542 (Trac #5543, git ecaf777dff4b8d1100c2a97c4fb1cf8f8e63566d) 3543 35441384. [func] fdupont 3545 Significant improvements to client classification introduced. 3546 The order of classes evaluation has changed from alphabetical 3547 to the order of appearance. New 'member' expression allows 3548 combination of classes. The new 'only-if-required' and 3549 'require-client-class' parameters controlling the scope of 3550 a class have been introduced. 3551 (Trac #5474, git 3f2d93f0731fc1858b20e831a7d1f090ea8841fe) 3552 35531383. [func] tmark 3554 kea-dhcp4 and kea-dhcp6 can now be configured to attempt to 3555 reconnect to MySQL backends if connectivity is lost. 3556 (Trac #5556, git b31da6f9a3545a2cac228eb17c59d72b6b4823f2) 3557 35581382. [func] fdupont 3559 Added support for generalized UDP Source Port for DHCP Relay 3560 (RFC 8357) for DHCPv4, DHCPv6 and DHCPv4-over-DHCPv6. Note 3561 this required changes to the inter-server protocol used by 3562 our 4o6 implementation, and is therefore not backward 3563 compatible. 3564 (Trac #5404, git 2a6049947ad4caaaa697dba8cb7669a09264f0bc) 3565 35661381. [bug] marcin 3567 Corrected a bug in the libkea-asiolink library which caused 3568 the DHCP servers to crash while processing commands over 3569 the unix domain socket on some systems. 3570 (Trac #5580, git cb5276a24436a9e9ce4d1ab4630e7193a4c2d803) 3571 35721380. [func] fdupont 3573 Implemented lease6-get-all command in lease_cmds hooks library. 3574 (Trac #5469, git a0bb7188df47a0f8020ff57739c5a6ab5f7e9828) 3575 35761379. [func, bug] marcin 3577 The network_state argument is provided to the callouts in 3578 the dhcp4_srv_configured hook point. Also, fixed a couple 3579 of minor bugs in the HTTP client classes. 3580 (Trac #5470, git 93e2b2198c3163afb81d51fdf5ec547602a12415) 3581 35821378. [doc] tomek 3583 New parameter subnets-action for network4-del and network6-del 3584 commands is now documented. 3585 (Trac #5441, git 8b2ffabb3d1ba709f319df2b34d0804ee824446b) 3586 35871377. [doc] tomek 3588 New parameters for Cassandra are now documented. 3589 (Trac #5484, git 56e7026ea2bfab99dbfa1a047dc920ec2f743540) 3590 35911376. [func] razvan 3592 Cassandra backend improvements: get all IPv4 leases, delete 3593 hosts, ability to store fixed DHCPv4 fields (next-server, 3594 server-hostname, boot-file-name) and user contexts in host 3595 reservations. Also, the ability to store MAC address details 3596 in DHCPv6 leases on PostgreSQL has been improved. 3597 (Github #70, git 8cd0c1ae416be88baf69c2243e83a429d6d5c965) 3598 (Trac #5506, git 8cd0c1ae416be88baf69c2243e83a429d6d5c965) 3599 (Trac #5507, git 8cd0c1ae416be88baf69c2243e83a429d6d5c965) 3600 (Trac #5508, git 8cd0c1ae416be88baf69c2243e83a429d6d5c965) 3601 (Trac #4530, git 8cd0c1ae416be88baf69c2243e83a429d6d5c965) 3602 36031375. [func] tmark 3604 When encountering errors unpacking vendor specific options, 3605 both kea-dhcp4 and kea-dhcp6 will now log the error, skip 3606 unpacking any remaining options, and then attempt to process 3607 the packet as is. Prior to this the servers would log the issue 3608 and then drop the packet. 3609 (Trac #5551, git 59ef33ee17672c55cee4ec86ff59737b361a3c21) 3610 36111374. [func] tmark 3612 kea-dhp4 and kea-dhcp6 can now be configured to attempt to 3613 reconnect to Postgresql backends if connectivity is lost. 3614 (Trac #5477, git 8e62a058382b2245d418cfbf829776934c638e5e) 3615 36161373. [func] marcin 3617 Implemented leases parsing from JSON in libkea-dhcpsrv. 3618 (Trac #5466, git 84c2a2084b0fb7c086fc6b9502f7ff58b708174e) 3619 36201372. [func] marcin 3621 Implemented new hook points "dhcp4_srv_configured" and 3622 "leases4_committed" in the DHCPv4 server. The latter supports 3623 new next step status NEXT_STEP_PARK which causes the server 3624 to "park" the client's DHCP packet. 3625 (Trac #5457, git af43f07b0e227ccabcdf07a046a64cebb11bdccf) 3626 36271371. [bug] fdupont 3628 Fixed a bug in JSONfeed tool which did not correctly handle 3629 strings and interpret their content. 3630 (Trac #5513, git 231e923a85db7fb8305c7baa4d15f766fdf60942) 3631 36321370. [bug] tmark 3633 Fixed a bug which prevented inserting multiple host reservations 3634 where IPv4 address was unspecified or when selected subnet identifier 3635 was not specified (5416). Corrected inconsistent data types for 3636 subnet id columns in both Postgres and MySQL schemas. Now both 3637 schemas support up to MAX UINT32 in all subnet id columns. Exiting 3638 databases may be updated without data migration. 3639 (Trac #5416, #5522, git d1dd0f2e27ffa49515c17cf68d54f162359b6384) 3640 36411369. [bug] marcin 3642 Multiple critical performance optimizations in the allocation 3643 engine for shared networks. 3644 (Trac #5437, git 9d8bcd39802795d48c737a05ef3de3634a28ca4e) 3645 36461368. [func] tmark 3647 kea-dhcp4 now explicitly logs packets dropped due to a lack 3648 message type as a log type DHCP4_PACKET_DROP_0009. Prior 3649 to this such packets were logged has having an unsupported 3650 message type of 0. 3651 (Trac #5553, git ff97e5ffb5f3478be71aae8130b6eff3208bd69a) 3652 36531367. [func] fdupont 3654 Added initial skeleton implementation for Radius hook library. 3655 (Trac #5524, git 832aa23b89eab71875bcbdb1e955eb92fdc0e01a) 3656 36571366. [func] fdupont 3658 Implemented FNV hashing function. Cassandra backend no longer 3659 explicitly depends on OpenSSL. 3660 (Trac #5502, git 71de75c3bb099f21fdef0d41806da281d6271287) 3661 36621365. [func] fdupont 3663 Both DHCPv4 and DHCPv6 servers can now listen on loopback 3664 interfaces. This capability requires setting socket type to UDP in 3665 DHCPv4. Note the feature has not been thoroughly tested. 3666 (Trac #5390, git f38cbd73581a7a0f8634a63cb17f9b60407e3acc) 3667 36681364. [func] fdupont 3669 Extended forensic (aka legal) logging with database capability. 3670 (Trac #5420, git 94bd3cc313e9f2a982ef8f8adf0cf44024c76499) 3671 36721363. [func] tmark 3673 Added support for automatically recalculating lease statistics 3674 to the CQL backend. 3675 (Trac #5487, git c807388d581ee1c3e479324f3c399f27feba1c96) 3676 36771362. [func] razvan, andrei 3678 A new parameter exit-wait-time has been added to perfdhcp. It is 3679 now possible to tell perfdhcp to wait certain amount of time after 3680 exit conditions are met before actually terminating. 3681 (Github #55, git 0cd1178ae092fa0c2f122d0e16fb673b4074a6e6) 3682 36831361. [func] razvan, andrei, tomek 3684 Support for Google Benchmark has been added. To compile 3685 benchmarking support, please use --with-benchmark option. 3686 (Github #36, git d6819971410b460d7742c762844e2e75ba580944) 3687 36881360. [build,bug] fdupont 3689 Cassandra build fixes for macOS. 3690 (Trac #5494, git cb0d735628aefd6bca2acc11b73d1f66b45d1c40) 3691 36921359. [bug] rcgoodfellow 3693 Fixed bug in kea-admin causing error on lease-dump. 3694 (Github #61, git 2c9454ec56edc8f3cff8a23329f53ced0d172280) 3695 36961358. [func] andreipavelQ,tomek 3697 The logging configuration is now applied early, which helps 3698 seeing errors in case the new configuration is faulty. 3699 (Github #41, git d77fbec5a003a69cab207aa741133015f2657878) 3700 37011357. [build] andreipavelQ 3702 --with-dhcp-mysql renamed to --with-mysql and 3703 --with-dhcp-pgsql renamed to --with-pgsql. These names were 3704 leftovers from old BIND10 times when Kea was part of bigger 3705 solution that also provided DNS services. Kea is now a stand-alone 3706 software, thus the -dhcp- doesn't make sense in those options any 3707 more. 3708 (Github #40, git 318c9e3d3db9bb938ced27932d8401172529a2ff) 3709 37101356. [doc] andreipavelQ 3711 Documentation has been upgraded to DocBook 5.0. 3712 (Github #39, git 9b6705bd6c534128ec18820ff0cbdd72b7fce9e9) 3713 37141355. [func] tomek 3715 Lightweight 4over6 options reinstantiated. Definitions for DHCPv6 3716 options 89 through 96 were added back. DHCPv4 v4 Parameters Option 3717 159 has its definition tweaked slightly. 3718 (Trac #5514, git 6a4aac2b3bfffe41460db6d1cd3c55b1430aa50c) 3719 37201354. [build] andrei 3721 Support for coverage tests has been improved. 3722 (Github #43, git 1949bb3abf71fb3997044d239eb683095166c39f) 3723 37241353. [build,bug] andrei, razvan 3725 Various small changes and bugfixes. Thank you to Andrei Pavel 3726 and Razvan Becheriu for submitting their patch. 3727 (Github #54, git 2efa7494228a1797dff8d9d74107a452c61e2386) 3728 37291352. [func] fdupont 3730 It is now possible to specify client classification restrictions 3731 on per pool basis. This capability will be useful for grouping 3732 certain types of devices into specific address and/or prefix 3733 pools. 3734 (Trac #5425, git 5f3a89d6e32e90cd9cbb2347c7b2208c3e1561e0) 3735 37361351. [build] andreipavelQ 3737 Compilation parameters unified (every file now includes config.h, 3738 several makefile tweaks). 3739 (Github #38, git 7206aa79c57be7466c4ab3dd558663c6c4f858b7) 3740 37411350. [func] fdupont 3742 Several hook points now support next step status DROP. This allows 3743 more flexibility with dropping packets from within hooks. 3744 (Trac #5443, git ff22a906915a34df327174f550f69a396a05bb2c) 3745 37461349. [func] marcin 3747 Implemented HTTP client classes in libkea-http. 3748 (Trac #5451, git 94267e252b372650e4235389251b49d6f5501322) 3749 37501348. [build] fdupont 3751 Modified configure.ac to include premium module m4 macros, if the 3752 module is present. Prior to this it relied on premium having it's 3753 own configure.ac script. 3754 (Trac #5400, git 38c4f2fb8fc8c8874a0e4671cc295a049acf675f) 3755 37561347. [build] fdupont 3757 Added support of boost 1.66.0 ASIO. 3758 (Github #60/Trac #5496, git bc2947de4296bd99b74e50e65f272c7ad5312429) 3759 37601346. [func] marcin 3761 Implemented lease4-get-all command in lease_cmds hooks library. 3762 (Trac #5468, git a378ec28489e98df64830d1f26c3bebd20e256b2) 3763 37641345. [func] marcin 3765 Implemented "force-create" parameter for lease4-update and 3766 lease6-update commands. 3767 (Trac #5472, git 369245e4c5308a701fd483123f2cb2fd7d3d0966) 3768 37691344. [func] andrei, razvan 3770 Support for host reservations stored in Cassandra added. The core 3771 functionality was added. There are some limitations (delete, 3772 client classes, fixed DHCPv4 fields, statistics recount, etc.) 3773 These will be addressed in upcoming tickets. 3774 (Github #37, git e37606fd2d0c02234a55f7445c52a12b2e7a82ec) 3775 37761343. [func] fdupont 3777 User-context and comments are now supported in many new scopes: 3778 global, shared-network, subnet, pool, host reservation, option, 3779 option definition, client-class, control-socket, dhcp-ddns, 3780 interfaces, loggers, and for DHCPv6 pd-pool and server-id. 3781 (Trac #5351, git 3405a8fa5d391d96cd15874fd3de3ac63ceb33b6) 3782 37831342. [bug] fdupont 3784 Fixed subnets and host reservations returned by config-get and 3785 config-write. 3786 (Trac #5452, git c24d057bed2692eaf3cdb6af889122eb582ffede) 3787 37881341. [func] razvan, andrei 3789 Significant update of Cassandra support. A lot of code for 3790 Cassandra Lease Manager has been updated and partially rewritten. 3791 (Github #35, git 41795494720cd9886c1e98d21eaeefd94d674e37) 3792 37931340. [func] marcin 3794 Added support for "dhcp-enable" and "dhcp-disable" commands in 3795 the DHCPv4 and DHCPv6 server. 3796 (Trac #5442, git 36dc68ff7aa8b3cfd265c4f982d10248590039bd) 3797 37981339. [doc] marcin 3799 Updated User's Guide describing how to selectively disable 3800 legal logging for a subnet. 3801 (Trac #5407, git 469080abd711f8e88a5133f76f4ab31a5549a858) 3802 38031338. [func] marcin 3804 Persistent HTTP/1.1 connections and HTTP/1.0 keep-alive 3805 are supported by RESTful API. 3806 (Trac #5448, git 05018f7cc0662d6956b9b7648646e0c17da948ba) 3807 38081337. [doc] marcin 3809 Added placeholder section for the libdhcp_ha hooks library. 3810 (Trac #5447, git d939b5b8bc4befb24daf863f2408d97493e4bfbf) 3811 38121336. [bug] marcin 3813 DHCPv6 server always sends prefixes with the lifetime of 0 for 3814 the prefix leases that should no longer be used, even if those 3815 prefixes are not included in the Renew/Rebind. 3816 (Trac #5403, git 91bb0855ff7ef86ff72b5a946ae716798d7bebc1) 3817 38181335. [bug] marcin 3819 Fixed a bug which prevented inserting multiple host reservations 3820 where IPv4 address was unspecified or when selected subnet 3821 identifier was not specified. This change affects both Postgres 3822 and MySQL backend. 3823 (Trac #5416, git 03fab8f7d5c2e8a5ea735b11ff75652aa31d791d) 3824 3825Kea 1.3.0 released on October 27, 2017 3826 38271334. [bug] marcin 3828 Fixed a bug in the DHCPv6 server whereby a lease with zero 3829 lifetimes could be mistakenly included in the server's 3830 response. 3831 (Trac #5387, git 140e7239096c0d5b9fc82b2c9c461476bf9d5729) 3832 38331333. [doc] tmark 3834 Added a discussion of conflict resolution to the DHCP-DDNS chapter 3835 of the Kea admin guide. 3836 (Trac #5275, git ce3fe30524cdc21a9cabeafbdcb2fc3cd2e86cff) 3837 38381332. [doc] tomek 3839 Clarified list of supported options, added examples for using 3840 hex notation to specify option values. 3841 (Trac #5068, git c942586172a68a7fac09e366383d996ade7f3840) 3842 38431331. [func] marcin 3844 Default "lfc-interval" value is now set to 3600. 3845 (Trac #5341, git dd1af78a49bfb68b88e8215dde65e40a470af81c) 3846 38471330. [bug] fdupont 3848 The option length checks were relaxed for the V-I Vendor Class 3849 option. 3850 (Trac #5391, Github #57, 3851 git 8c1ea6684a808e8d3af9ea7eccecd93adc801e8a) 3852 38531329. [func] marcin 3854 Added support for "client-id" identifier when querying for 3855 leases in the lease_cmds hooks library. Documentation 3856 updated accordingly. 3857 (Trac #5395, git aceafa67f4fbde55ed6724a7b7551ed251e4ee91) 3858 38591328. [doc] vicky 3860 Acknowledgements section updated. 3861 (Trac #5385, git fe0658896f3784cd8f59bd5158244d6975cfe4c1) 3862 38631327. [build] marcin 3864 Updated Kea libraries' version numbers and hooks version for 3865 the 1.3.0 release. 3866 (Trac #5375, git 70c0fc164c89716419b6ee42da3ca0d4be938a30) 3867 38681326. [func] fdupont 3869 server-hostname and boot-file-name are now allowed in global, 3870 subnet4 and shared network scopes in DHCPv4. 3871 (Trac #5277, git 5a2454ec063530867dca2c46a71e342ccd98a5bb) 3872 38731325. [bug] marcin 3874 Fixed a bug whereby a reserved address could be allocated to 3875 a different client when this client explicitly requested 3876 this address. 3877 (Trac #5393, git 0964c66d44516a04ec62c8e70be92f216fe3df5a) 3878 38791324. [doc] wlodek 3880 Added examples of configuration for iPXE boot with DHCPv6 Kea server 3881 (Trac #5356, git c68b9b381930d1e44fd5daa1b9d033035e32cff2) 3882 38831323. [doc] marcin 3884 Added new section to Kea Hooks Developer's Guide describing how 3885 to implement new control commands within hooks libraries. 3886 (Trac #5331, git b23f36ca4a410ba7bca7fd4a9f40c008c77e3c7c) 3887 38881322. [build] marcin 3889 Copy all header files from Kea libraries during "make install". 3890 (Trac #5372, git cb38d39a942351ec04a655a396dd7396ea20548b) 3891 38921321. [doc] marcin 3893 Better explained subnet selection within shared networks when 3894 client classification is in use. 3895 (Trac #5367, git 26b4d240c5a1ba73e5b61f45d5a832e52f6472dd) 3896 38971320. [doc] marcin 3898 Improved documentation of shared networks within Kea Administrator 3899 Reference Manual. 3900 (Trac #5381, git c4be6a71ed3705c182d7ba4417a06ed8fa59f2b5) 3901 39021319. [func] marcin 3903 Added support for DHCPv4 option 54 (dhcp-server-identifier). 3904 (Trac #5376, git aae2d91f101b8c61c0abfb3482de04a8dd074121) 3905 39061318. [doc] marcin 3907 Updated Kea Administrator's Manual with the information about 3908 new capability of flex-id hook library to use value derived from 3909 flexible identifier as a client identifier or DUID. 3910 (Trac #5384, git cce58fee4aa0476712209a7ed92fab587258b49b) 3911 39121317. [bug] fdupont 3913 The kea-admin script now behaves properly when -4 or -6 is missing 3914 while using lease-dump command. 3915 (Trac #5379, git 53870c07d1864faf2a25bdc4ed6c5cf2b0223f8d) 3916 39171316. [bug] marcin 3918 Corrected a bug which caused a returning DHCPv4 client performing 3919 4-way exchange to be assigned a different address from a shared 3920 network than previously allocated. 3921 (Trac #5388, git 601a387ba43d990947ee2e1a05e78851d8133a3c) 3922 39231315. [bug] marcin 3924 Created unit test for the case when there are several IPv6 subnets 3925 within a shared network and each subnet specifies the same 3926 DHCP option with a different value. This test verifies the fix 3927 applied with ticket #5364 which address the problem of assigning 3928 options from invalid subnet. 3929 (Trac #5366, git 112addd4619509c464dc051f4885e00dc1f69d26) 3930 39311314. [bug] marcin, tomek 3932 Improved unit tests for shared networks and corrected a bug 3933 in the allocation engine which caused wrong subnet id to be 3934 stored in the lease database and wrong subnet be used by the 3935 DHCPv6 server for options assignment. 3936 (Trac #5364, git 07ce52ee4ce65eeeea1890201812ac83a286658f) 3937 39381313. [bug] fdupont 3939 Empty output_options structure is no longer returned by config-get 3940 or config-write commands. 3941 (Trac #5267, git f2290503ed899f00c7f2f2b905b90bc360617340) 3942 39431312. [func] marcin, tomek 3944 Added new configuration parameter "outbound-interface", which 3945 controls how the outbound interface and source address is 3946 determined for the responses sent by DHCPv4 servers to relayed 3947 clients. The default setting is to use the same interface as 3948 the one over which the query has been received. The alternative 3949 is to use system routing to determine the right interface and 3950 source address. 3951 (Trac #5377, git d08088923ec1ea0d1cb8a947bd520174d874d25e) 3952 39531311. [build] fdupont 3954 Improvements in --enable-shell and other parameters passed while 3955 building dist tarball. 3956 (Trac #5210, #5339, #5352, 3957 git e531cda4e10114a8f14bcbf3d7e25b6584230875) 3958 39591310. [bug] marcin 3960 Documented "ia_pd" parameter for lease6_renew and lease6_rebind 3961 hook points. 3962 (Trac #5368, git 6842036714f84bf12529e1a43e12ac5a07e2e5c0) 3963 39641309. [func] fdupont 3965 Kea-shell script now has an optional --path parameter that allows 3966 using not empty URL path. 3967 (Trac #5361, git 9a31c417d52f1481185b0880a10a4b5f16d8462a) 3968 39691308. [func] fdupont 3970 Support for conditional token ifelse(condition, iftrue, iffalse) 3971 was added. It can be used in flex-id, client classification and 3972 possibly other expressions that may appear in the future. 3973 (Trac #5363, git 34c364abd23a1a745da79c10c69b94b8defad08b) 3974 39751307. [func] fdupont 3976 When an option is defined with a record type and the array 3977 flag is true the last record field is an array. All standard 3978 options supported by ISC DHCP and using this are now supported 3979 by Kea (so now there is no standard option supported only by 3980 ISC DHCP). 3981 (Trac #5226, git f66951dbda8f62122187ac3a99f0fdcc65b383d8) 3982 39831306. [bug]* marcin 3984 Respective Kea daemons now use their own default configuration 3985 files: kea-dhcp4.conf, kea-dhcp6.conf, kea-dhcp-ddns.conf and 3986 kea-ctrl-agent.conf. This change is aimed at eliminating the 3987 issue whereby 'config-write' command overrides configuration 3988 of all servers rather than just a configuration of the daemon 3989 to which this command has been sent. 3990 (Trac #5338, git 252e5e8a75fa42271b0cdb6edad3c152bbf3c515) 3991 39921305. [bug] tmark 3993 Corrected logic that was causing kea-dhcp4 to remove DNS entries 3994 when renewing leases with generated FQDN names. Prior to this 3995 the server was incorrectly scheduling DNS removal when configured 3996 to generate the client's FQDN. 3997 (Trac #5369, git 18f57f502f1b9fb5bf7ef5ab995ddda60006fd39) 3998 3999Kea 1.3.0-beta released on September 29, 2017 4000 40011304. [bug,func] fdupont 4002 The DHCPv4 Vendor Specific Information (code 43) option and 4003 private options (codes 224-254) can be redefined at the global 4004 scope or inside a client-class. This allows to support different 4005 definitions following the DHCPv4 Vendor Class Identifier (code 60) 4006 option or when defined as a binary option to accept with problems 4007 option 43 carrying a raw value. 4008 (Trac #5073, git b290b3cbaa926d4e9613f6607c5fcbae2301b266) 4009 40101303. [func] tmark 4011 The command handlers in the lease_cmds hook library are now 4012 implemented has hook callouts and registered with the Hooks 4013 manager. Prior to this they were registered as command handlers 4014 with the Command Mgr. 4015 (Trac #5332, git c902bda9f026720f6efbf2e5ad407302aeb5e466) 4016 40171302. [func] marcin, tomek 4018 DHCPv6 server supports shared networks. It allows for grouping 4019 multiple subnets and use them interchangeably to allocate 4020 IP addresses and other resources to a client located on the 4021 particular link. This mechanism is useful to extend an 4022 address space for the client belonging to a particular 4023 subnet and/or to segregate clients being on the same link but 4024 belonging to different classes, e.g. cable modem vs router. 4025 (Trac #5307, git 110d0c9e403af28e6810141f978d9bf55c381f14) 4026 40271301. [func] fdupont 4028 Added some standard option definitions which are supported 4029 by ISC DHCP but not (yet) by Kea. 4030 (Trac #5227, git 4bef838245f08fca5f2cf037cd3a75278b77f8f9) 4031 40321300. [doc] tomek 4033 Documentation for shared networks added. 4034 (Trac #5310, git 41fd3bb7ed2f4cd15db6cbd14713f4474f659c92) 4035 40361299. [doc] fdupont, tmark 4037 Added an example stunnel configuration file to demonstrate 4038 using kea-shell through https. 4039 (Trac #5282, git efe044fa90d53398e215d2bf31e00e83353e8774) 4040 40411298. [func] marcin, tomek 4042 DHCPv4 server supports shared networks. It allows for grouping 4043 multiple subnets and use them interchangeably to allocate 4044 IP addresses and other resources to a client located on the 4045 particular link. This mechanism is useful to extend an 4046 address space for the client belonging to a particular 4047 subnet and/or to segregate clients being on the same link but 4048 belonging to different classes, e.g. cable modem vs router. 4049 (Trac #5306, git 4f2fca69be32997c718ab2c7f37ac80ed4e41d15) 4050 40511297. [func] tmark 4052 Added a hook point, "command-processed", to kea-dhcp4 4053 and kea-dhcp6 servers. This hook point occurs after 4054 a control channel command has been received and 4055 processed. 4056 (Trac #5111, git 043d17b0688d4ab25b12469d27859983cb297d07) 4057 40581296. [bug] tmark 4059 Altered the mysql backend logic to disable auto_reconnect and 4060 set session value of wait_timeout to a very large values. This 4061 avoids a segfault in MySQL client library caused by auto-reconnects 4062 occurring when kea server's MySQL connection is idle for longer 4063 than the global MySQL wait_timeout. 4064 (Trac #5354, git 9881ef6d772f27de82c048e198ba0ff9e71b9351) 4065 40661295. [bug] tomek 4067 DHCPv4 and DHCPv6 servers are now able to parse shared networks. 4068 A basic shared networks examples added. 4069 (Trac #5357, git 74b824cc80f8be66084308c0bf12c1a71f311915) 4070 40711294. [func] marcin 4072 Implemented data structures holding configuration of shared 4073 networks. The new structures are unused until remaining tickets 4074 for shared networks implementation are completed. 4075 (Trac #5305, git 76dd46f7070c141cc89d772d69a897b67bd179a1) 4076 40771293. [func] tomek 4078 DHCP4_BUFFER_WAIT, DHCP4_BUFFER_WAIT_INTERRUPTED, DHCP6_BUFFER_WAIT, 4079 and DHCP6_BUFFER_WAIT_INTERRUPTED logging messages are no longer 4080 emitted. 4081 (Trac #5345, git 779040fa399fb2da271569dc315294463e28f852) 4082 40831292. [func] tomek 4084 User contexts are now supported for subnets. This adds a new 4085 functionality, but also makes the existing documentation example 4086 correct. 4087 (Trac #5350, git 828ecb6dbdaaedd97d2af79dfa9b7f4845d3a049) 4088 40891291. [func] fdupont 4090 The configuration parser now checks for mandatory parameters that 4091 are missing. 4092 (Trac #5124, git af0f3d50a835f64a5f8a47c47ef464b119a49643) 4093 40941290. [bug] marcin 4095 Corrected a bug causing illegal memory access while 4096 retrieving server hostname and boot file name fields from 4097 the host reservation database. Many thanks to Juan Settecase 4098 for his assistance in identifying this issue. 4099 (Trac #5340, git 2fdc7efcb862ced3c1054620bf14e75a0db6aed2) 4100 41011289. [bug] marcin, tmark 4102 Corrected handling of EAGAIN and EWOULDLBOCK errors in 4103 UnixDomainSocket. This was causing intermittent command 4104 channel write errors in kea-ctrl-agent on some Debian systems. 4105 (Trac #5336, git db251cb66ad77ba28ab44281323ddeb23cf29506) 4106 41071288. [func] marcin 4108 Documented subnet_cmds library in the Kea User's Guide. Also moved 4109 several classes from dhcp<4/6> into lib/dhcpsrv to facilitate subnet 4110 command parsing. 4111 (Trac #5315, git d259f330a1690b20eb368f6252f5da2cdb6187de) 4112 41131287. [bug] tmark 4114 Logger configuration now correctly uses maxsize and maxver 4115 parameters, allowing log rotation to function properly. Prior to 4116 this these values were not being propagated downward, causing log 4117 rotation to always be disabled. The defaults for maxsize and 4118 maxver are 10Mb and 1 respectively. 4119 (Trac #5324, git 75f148458bdeeed27eb877cc2c3ce3069b152f38) 4120 41211286. [func] marcin 4122 Configured subnets are now indexed by subnet identifier and 4123 prefix for faster subnet lookups in the configuration. 4124 (Trac #5314, git 894aeb048b7281f947f87a5d6dc5112fac4a86fb) 4125 41261285. [func] tomek 4127 Several new commands implemented in lease_cmds library: 4128 lease4-del, lease6-del, lease4-update, lease6-update, 4129 lease4-wipe and lease6-wipe that allow deleting and updating 4130 leases and also wipe all leases from a specific subnet. 4131 (Trac #5280, #5281, 94ff2448c8cf6e3321f4d1b3666a2e2b736f6c50) 4132 41331284. [func] tomek 4134 A new library, lease_cmds, has been implemented. Its intended 4135 purpose is to support commands for lease management. Currently 4136 supported commands are: lease4-add, lease6-add, lease4-get, 4137 lease6-get. Additional commands and documentation are planned. 4138 (Trac #5272, #5279, git 785c2e521b198a03d26bde4a804638bfc19ce91b) 4139 41401283. [func] fdupont 4141 An 'always-send' parameter has been added to options 4142 configuration. It allows an option to be always sent, even if 4143 a client didn't request it. 4144 (Trac #5241, git cef2b630c720a442710efc0d1615b7c7bce01e54) 4145 41461282. [bug] fdupont 4147 Now all interface service sockets are closed before interface 4148 re-detection. Note if the re-configuration fails they remain 4149 closed. 4150 (Trac #5333, git 8bff2ec336456de51d0d9d3ff011d28a6a61ef66) 4151 41521281. [build] tmark 4153 Configure script now correctly recognizes static boost_system 4154 library as well as checks for the presence of static glibc static 4155 libraries when --enable-satic-link is specified. 4156 (Trac #5337, git 42548148cbeaaa285519e121f493d52607f1e8a0) 4157 41581280. [build] waltsteverson 4159 Missing header for PD-exclude DHCPv6 option is now installed. 4160 (Github #51, git 36a8e1b8f687a6398af8a10f241e8d19e9de33d8) 4161 41621279. [build] waltsteverson 4163 Compilation fixes for Alpine Linux 4164 (Github #50, git 824afa63354e045a5e4f6437246c329d359e04dd) 4165 41661278. [doc] jsoref 4167 Many spelling corrections. 4168 (Github #52, git 1dcaef6f8e7901d628c8638fc2f8145ac0279586) 4169 41701277. [func]* marcin 4171 Added support to Command Manager to process commands using 4172 callouts implemented within hooks libraries. 4173 (Trac #5330, git 8041d177ed5587101ecb47a09820a7e67e42a066) 4174 41751276. [build] tmark 4176 The configure script now configures the build to require the Boost 4177 system library (boost_system) by default. The library must be 4178 installed and you may need to specify "--with-boost-lib-dir=<path>". 4179 Prior to this the default was to attempt to build Boost with headers 4180 only. Building with headers only may still be done, though it is 4181 strongly discouraged, by specifying "--enable-boost-headers-only". 4182 (Trac #5215, git b6f1ee0d1210e35631369fc697c76cc3cf2c4130) 4183 41841275. [func] marcin 4185 LibraryHandle object can now be used to register handlers 4186 for the control commands in a hook library. 4187 (Trac #5329, git 966cc24ae5593ebb08d6f02a11dab23463ebad7e) 4188 41891274. [func] marcin 4190 It is now possible to manage Control Agent with keactrl. 4191 (Trac #5108, git 53ba9f8197a25abd2c52ee3f5e95bc4e4be0241f) 4192 41931273. [doc] marcin 4194 Documented in the User's Guide that the server terminates 4195 when database connection is lost. 4196 (Trac #5320, git 5c8b277e8041b53b27a87b32d162ab41ef8b43d7) 4197 41981272. [bug] marcin 4199 Fixed inefficient leases indexing in the memfile lease 4200 manager causing increased CPU utilization during lease 4201 searches. 4202 (Trac #5328, git 23b490414f5575b252c8c42fbe93ad2c57d47953) 4203 42041271. [doc] marcin 4205 Documented how to setup secure connection to the Kea 4206 control channel. 4207 (Trac #5304, git a920453bbcf9ffa7200eeddca6323faeff498f16) 4208 42091270. [bug] tmark 4210 Added a distribution rule to src/bin/d2/Makefile.am so 4211 d2_parser.yy will now be included in the distribution source 4212 tree. Also added entries for missing headers to asiolink/ 4213 Makefile.am. 4214 (Trac #5325, git 199003d7aa9f8d4a7f8daa73f8259e951bc03217) 4215 42161269. [func] marcin 4217 Command manager can now handle large responses to control 4218 commands. Prior to this change the size of the response 4219 was limited to 64k. The server now also signals timeout 4220 after 10s if the connection lasts too long. 4221 (Trac #5318, git 8531a65521ea42f01f3bed444b054e92f7bd1a46) 4222 42231268. [func] fdupont 4224 Kea now re-detects network interfaces every time configuration is 4225 changed. 're-detect' parameter added to restore old behavior, if 4226 needed. 4227 (Trac #3389, git b2ce84790c33d1580dcfa773d7fcfb65c27addc7) 4228 42291267. [bug] fdupont 4230 Unit-tests for libdhcp now ignore ENOPROTOPT when setting 4231 SO_REUSEPORT to improve compatibility with older RedHat versions. 4232 (Trac #5243, git a7b478e1d1f7f0b38055086fe9ac053e4fab2850) 4233 42341266. [func] fdupont 4235 It is now possible to define options in DHCPv4 pools. 4236 (Trac #5288, git aa2839caab8d885e5bceca6f506162debd239b3f) 4237 42381265. [func] fdupont 4239 Extended classification relay6[nest] syntax to allows counting 4240 relays from the DHCPv6 client side by using negative number, 4241 e.g. relay6[-1] represents the first relay (closest to the 4242 client). 4243 (Trac #5287, git 7d0f7a8372dcf256fea8ac13330f0e3e7ed2e8ef) 4244 42451264. [func] marcin 4246 Kea's command manager has been re-implemented to use ASIO. 4247 Simultaneous connections over the control channel are now 4248 possible. 4249 (Trac #5317, git 4139a2f41bb3736615bdfa278746962a16384d0d) 4250 42511263. [doc] marcin 4252 Added example configurations of the nginx and Apache2 HTTPS 4253 servers running as reverse proxy for Kea RESTful API. 4254 (Trac #5302, git 48113aba218603afac4d457075458d4988e4082b) 4255 (Trac #5303, git b3113da16eb5c6fa323068f0a57dfa30f42893d2) 4256 42571262. [func]* marcin 4258 Renamed "dhcp4-server", "dhcp6-server" and "d2-server" parameters 4259 of the Control Agent configuration to "dhcp4", "dhcp6" and "d2" 4260 respectively. 4261 (Trac #5190, git fc67885022115df76425c6901959cedee63a93b9) 4262 42631261. [bug] marcin 4264 Eliminated valgrind errors in libkea-http. 4265 (Trac #5261, git 34addef4a654665c6022f0269d51970c72431ac2) 4266 42671260. [bug] fdupont 4268 Corrected logic in prefix delegation that was causing multiple 4269 entries to be written to the lease file when renewing or rebinding 4270 a prefix. 4271 (Trac #5104, git b9ab6ebe7a491c062bc8b0b42afc53f4d6cee011) 4272 42731259. [func] marcin 4274 Implemented timeout for the control commands forwarded between 4275 the Control Agent and Kea servers. The enhanced forwarding 4276 mechanism uses asynchronous calls over the unix domain sockets. 4277 It also detects the JSON structure boundaries when receiving it 4278 over the stream sockets. 4279 (Trac #5189, git e48d9399c215406f2dab1601d22d6c932b4af271) 4280 42811258. [bug] fdupont 4282 Fixed wrong python package path when kea-shell was configured 4283 without a prefix. 4284 (Trac #5214, git 44908c5fa56bfa7e1113078f43c458687a97388a) 4285 4286Kea 1.2.0 released on April 28, 2017 4287 42881257. [bug] marcin 4289 Improved logging in the hosts manager. 4290 (Trac #5264, git 2fb9fd78e63f5d09810702847ad3e3b3020ea92b) 4291 42921256. [bug] tomek 4293 Control Agent now writes proper configuration when using 4294 config-write command. 4295 (Trac #5253, git a1b5da4db6ebfa9635bbe411ec363cdcc4fd1d28) 4296 42971255. [bug] marcin 4298 Fixed failing unit tests in libkea-http. 4299 (Trac #5260, git 43394f76efb1634155c04b205dec7361fc21f4f9) 4300 43011254. [func] tomek 4302 Various improvements needed for upcoming host commands library: 4303 host data source is now able to delete hosts, hosts can be exported 4304 to JSON format, C++11 code for configure script moved to separate 4305 file, several compilation warnings removed. 4306 (Trac #5208, git 88555d8f23745f3d615448e906796920cc7f44d0) 4307 43081253. [func,doc] tomek 4309 Default configuration file has been overhauled significantly. It 4310 now covers many additional options and features. Command channel 4311 is now enabled by default. Thanks to Dan Mahoney for his review. 4312 (Trac #5198, git 280de81cfe957ccab8a28074bdb0a4bc0e45104e) 4313 43141252. [bug] tmark 4315 kea-dhcp6 now correctly resets lease state and increments the 4316 assigned statistic when it reissues an expired-reclaimed lease 4317 to the lease's original client, in response to a REQUEST from 4318 said client. 4319 (Trac #5252, git 85bde7adbe6a78238bd5e17fecabfa918755f16c) 4320 43211251. [func] tomek 4322 New type of host identifier (flex-id) used in reservations has 4323 by added to MySQL and PostgreSQL schemas. 4324 (Trac #5195, git 37c26cc30b717019fbd6b7349279541edb351382) 4325 43261250. [bug] fdupont 4327 Do not unregister timers when running the config-test command. 4328 (Trac #5186, git e891b06940e41b4cfaa324c2ace8fdd761ee6662) 4329 43301249. [bug] tmark 4331 The assigned lease statistics were not being probably adjusted 4332 by either kea-dhcp4 or kea-dhcp6 when reclaimed expired leases 4333 were reissued. 4334 (Trac #5247, git 4e5193fb32b14325ccf5824614e58bcceb3e6388) 4335 43361248. [bug] marcin 4337 Improved socket connection handling code, corrected numerous 4338 failing and crashing tests for libkea-asiolink, libkea-http 4339 and kea-ctrl-agent on Debian, Fedora and Ubuntu. 4340 (Trac #5217, git 4bcb45f0c88aba3d0f70ca48d9fff6f1d4616bc2) 4341 43421247. [bug] marcin 4343 Resolved issues with DHCPv4 host reservations by 'client-id' 4344 when MySQL or PostgreSQL host database backend is in use. 4345 Also, the 'client-id' is used together with other host 4346 identifier types when 'host-reservation-identifiers' parameter 4347 is not specified. 4348 (Trac #5102, git 390d687d0f61635f5562d13860ff6362eee67853) 4349 43501246. [func,bug] tomek 4351 Restrictions in filename argument in config-write command have 4352 been removed. It is now possible to use absolute paths. 4353 DHCPv4, DHCPv6, D2 and Agent parsers did not handle flush, 4354 maxsize or maxver parameters in logger configuration correctly. 4355 This is now fixed. 4356 (Trac #5187, git a30ffcc67cfb7370c586d3c85147792e27aab4c7) 4357 43581245. [func] fdupont 4359 DHCPv4 domain-search option can now be defined using 4360 comma separated values. 4361 (Trac #5087, git eca0b8c6425bc922587675100f100b1aae54aee2) 4362 43631244. [doc] tomek 4364 User's Guide section about Kea shell added. 4365 (Trac #5171, git 3dc4908fe02e86c57ccd5ad2d2f8330655f438be) 4366 43671243. [func] tomek 4368 config-reload command implemented. It allows Kea DHCPv4 and DHCPv6 4369 servers to reload its original configuration file. Also, 4370 set-config command was renamed to config-set. 4371 (Trac #5213, git b209c2b577a2f9da71cc918d7a551f8efdc1c4cb) 4372 43731242. [func] fdupont 4374 Integer fields in options can now be specified in either 4375 decimal or hexadecimal format. 4376 (Trac #4540, git 4cbf341f4169cf1e1eae0721644797a726d89702) 4377 43781241. [func] fdupont 4379 Support for tuple-based options added. DHCPv6 option 4380 bootfile-param (code 60) can now be set in a more convenient 4381 manner. 4382 (Trac #4070, git 30102cacee95b91e6c4666f0c11f06232f19eeb9) 4383 43841240. [bug] marcin 4385 Corrected IOFetch unit test failures on Debian. 4386 (Trac #5216, git a7c2946678c43aedfb2e3c37b9730a10067528f3) 4387 43881239. [func] marcin 4389 Implemented additional sanity checks when adding host 4390 reservations into the configuration file. 4391 (Trac #5207, git ea42c6f479918235ae4a67a60d08720e2664720c) 4392 4393Kea 1.2.0-beta released on April 7, 2017 4394 43951238. [build] tmark,tomek 4396 Library version numbers bumped for release. 4397 (Trac #5201 git 58c9c5b705d72031c1589c30c542384a9d43e0f3) 4398 43991237. [bug] marcin 4400 Fixed hanging Control Agent unit tests. 4401 (Trac #5200, git 65daafd135965f9eb0bd4c3a22085d4bd3c6ffbe) 4402 44031236. [build] zeitounator 4404 Improvements in tools/tests_in_valgrind.sh script. 4405 (Github #49, git 272e7babf9ebeab5f78850394d72c9431041e2e9) 4406 44071235. [func] MrMarvin 4408 kea-admin now supports -h (and --host) parameter that can specify 4409 MySQL or PostgreSQL database locations other than the default 4410 localhost. 4411 (Github #14, git 4038157a3499ad90956c98a2172c57b173f2b985) 4412 44131234. [build] fdupont 4414 Improved installation procedure for kea-shell. 4415 (Trac #5170, git 68a902fb723965ee6f5b7a8272224395917525cc) 4416 44171233. [doc] marcin 4418 Documented new component Kea Control Agent in the Administrator's 4419 Manual and the Developer's Guide. 4420 (Trac #5175, git abf7887ad65eb4b221a1fe61ea0c9773b4feaddb) 4421 44221232. [func] tomek 4423 host4_identifier and host6_identifier hook points have been added. 4424 Premium: Flexible Identifier (flex-id) hook point has been developed. 4425 It allows users to specify a custom expression that takes any 4426 option, field, characteristic or property of the packet to be 4427 used as identifier and then do reservations based on the evaluated 4428 expression for each incoming packet. 4429 (Trac #5132, git cd497526d5bff7ae55bb41c9264fb33943a0cf62) 4430 44311231. [func] marcin 4432 Control agent forwards commands to be handled by other Kea 4433 servers. 4434 (Trac #5078, git 19a50ed1ccafae19ef10d84cba73992cadf49753) 4435 44361230. [bug] fdupont 4437 kea-dhcp-ddns now correctly populates the original ID in the TSIG rdata 4438 when doing signed updates. Prior to this the value was set to zero 4439 causing PowerDNS to reject then requests with a bad key error. 4440 (Trac #5071, git cafa3d5c24f0112b0b9384a9c1083fe8a3eeb2bf) 4441 44421229. [func] fdupont 4443 A new command: config-test has been implemented in DHCPv4, DHCPv6 4444 and control agent servers. It allows checking whether new 4445 configuration looks correct. 4446 (Trac #5150, git 5f6cf226e848baef8d9af64e16c1dbf617a0a798) 4447 44481228. [bug] fdupont 4449 Logging on syslog now uses correctly the given facility. If none 4450 is given the default facility is local0, and with an unrecognized 4451 value user (log4cplus default). The syslog openlog() ident 4452 parameter is the program name. 4453 (Trac #5053, git 532d9f0e459ab1450a83a5015a2dd54745794383) 4454 44551227. [func] fdupont, tomek 4456 Additional commands: version-get, build-report have been 4457 implemented for DHCPv4, DHCPv6 and Control Agent 4458 components. Control Agent also now supports shutdown command. 4459 (Trac #102, git 9d2b8326fc032876d74c1768c61c630987c25cc5) 4460 44611226. [func] fdupont 4462 Command line option -t support added to libprocess and implemented 4463 for kea-dhcp-ddns and kea-ctrl-agent. It allows configuration sanity 4464 checking. Note that some parameters, such as ip-address, port, and 4465 DNS server addresses for instance for kea-dhcp-ddns are not fully 4466 checked as sockets are not opened or connections are not attempted. 4467 (Trac #5152, git 2231d79ebebd3cdf432cd4a8ac32018d180e27b6) 4468 44691225. [func] tomek 4470 Two new commands: config-get (retrieves current configuration) 4471 and config-write (writes current configuration to disk) have been 4472 implemented. 4473 (Trac #5151, git ffb26811736a2ae6f9b5556b9823aa284b7e0aec) 4474 44751224. [func] fdupont 4476 toElement(), a crucial functionality for upcoming get-config 4477 and write-config command, has been implemented. 4478 (Trac #5114, git df38c26f957c9ac329718ac9d70ffbcf7b95c4e9) 4479 44801223. [func] tomek 4481 Kea-shell, a management client able to connect to REST interface 4482 provided by Control Agent, has been added. Control Agent now 4483 uses bison parser, which provides better sanity checks, improved 4484 comments and file inclusions. 4485 (Trac #5137, git 816dc5ccfa374bd9942a49c7bac475f6d0523caa) 4486 44871222. [func] fdupont 4488 Obsolete parameter 'allow-client-update' has been removed 4489 from DHCPv4 and DHCPv6 components. 4490 (Trac #5145, git 01fde297a978e2bd832655ac7276e5aa3a7e8400) 4491 44921221. [func] tomek 4493 Control agent is now able to parse the input configuration and 4494 store it in its configuration syntax structure. Upcoming tickets 4495 will take advantage of that information. 4496 (Trac #5134, git 828304f2f408888e4b096418e90e35ba524979d0) 4497 44981220. [func] parisioa, fdupont, tomek 4499 DHCPv4 and DHCPv6 parsers have updated to accept database port 4500 parameter. The parameter for Cassandra is now called 4501 "contact-points" (was "contact_points" previously). 4502 (Trac #5061, git d12b6f4a6d80d6bc854f2a8a086e412dc37867bc) 4503 45041219. [func] marcin 4505 Control Agent uses libkea-http to process commands over 4506 the RESTful interface. 4507 (Trac #5107, git 88ce715926a46b6b3832630116fc7782adc46c7b) 4508 45091218. [func] tmark, tomek 4510 Configuration parsing for D2 has been migrated to bison/flex 4511 and the SimpleParser framework. This includes changes to 4512 libprocess which render the CPL agnostic to the underlying 4513 parsing mechanisms. 4514 (Trac #5110, git feb2cedc0936364a923ab78542a21114533dd0f5) 4515 45161217. [func] marcin 4517 Implemented libkea-http library. 4518 (Trac #5077, git cd72284b5b221e620770883db7e166c4d3ba7eb6) 4519 (Trac #5088, git 715d18f961801ffbd798a65b19459178c3a53857) 4520 (Trac #5099, git 7e8df7993f295431e2cb6a13858f746649c4e18d) 4521 45221216. [func] fdupont, tomek 4523 Command line option -t implemented for DHCPv4 and DHCPv6. It 4524 allows configuration sanity checking. Note that not all parameters 4525 are completely checked. In particular, service and control channel 4526 sockets are not opened, and hook libraries are not loaded. 4527 (Trac #3770, git 1d12582e270935ee7b72548d9c66753f4eea4ca4) 4528 45291215. [doc] tomek 4530 Developer's Guide updated to cover flex/bison parser. 4531 (Trac #5112, git 44139d821c1f4e43dbff22d49101a0854e4f9f5b) 4532 45331214. [func] tomek 4534 Bison parser implemented for Control-agent. The code is able 4535 to syntactically parse input configuration, but the output 4536 is not used yet. 4537 (Trac #5076, git d99048aa5b90efa7812a75cdae98a0913470f5a6) 4538 45391213. [bug] fdupont 4540 Option string values containing comma can now be specified 4541 correctly by preceding comma with double backslashes (e.g. 4542 "foo\\,bar"). 4543 (Trac #5105, git fa79ac2396aa94d7bac91bd12d3593ebaaa9386d) 4544 45451212. [doc] andreipavelQ 4546 Many spelling corrections. 4547 (Github #47, git a6a7ca1ced8c63c1e11ef4c572f09272340afdd7) 4548 45491211. [func] andreipavelQ 4550 Updated PostgreSQL version reporting to be in line with 4551 MySQL and Cassandra. 4552 (Github #42, git 7ef4a190facadd66775b4a44c696d1c4215616cd) 4553 45541210. [doc] andreipavelQ 4555 Doxygen version updated to 1.8.11. 4556 (Github #45, git ce72998382b62269823fa0dcbfa41dfa9c72b69e) 4557 45581209. [func] tomek 4559 Relay options are now printed in DHCPv6 when sufficiently detailed 4560 debug logging is requested. 4561 (Trac #5131, git 5bf58b21fcf07f2e2e97275efa1f76cde913b30a) 4562 45631208. [func] tomek 4564 Global DHCPv4 and DHCPv6 parsers have been migrated to the 4565 SimpleParser framework. Several parameters (renew-timer, 4566 rebind-timer, preferred-lifetime, valid-lifetime, match-client-id, 4567 next-server, decline-probation-period, dhcp4o6-port, 4568 echo-client-id) now have explicit default values. 4569 (Trac #5019, git f3538dd031e6f29abcd516f425d72c8f929abbb0) 4570 45711207. [func] fdupont 4572 Client classes parser migrated to SimpleParser. The 'name' 4573 parameter in 'client-classes' definitions is now mandatory. 4574 (Trac #5098, git e93906e48a6e2b0ff78c5e37dca642646fe47d43) 4575 45761206. [func] tomek 4577 'hooks-libraries' parser migrated to SimpleParser. The code will 4578 now refuse a configuration if a hook library fails to load. 4579 (Trac #5031, #5041, git 1bbaf4cbcf6fda59bacdf526a6c762315fdd88a1) 4580 45811205. [func] tomek 4582 Parsers for interfaces configuration converted to SimpleParser. 4583 Removed obsolete 'version' parameter in Dhcp6. 4584 (Trac #5020, #5038, git 3d8e48c640e302670c04907468d11faafbe9fe7b) 4585 45861204. [func] marcin 4587 Added 'control_command_receive' hook point to Kea Command 4588 Manager. 4589 (Trac #5100, git d0c7cb29a7df3588c540afb4ca56de55f26142e0) 4590 45911203. [func] marcin 4592 Implemented TCPAcceptor class in libkea-asiolink. This class 4593 provides means to listen and asynchronously accept new TCP 4594 connections. 4595 (Trac #5094, git 920ba90696ba9d8579a7db5e1efcf955d6654a96) 4596 45971202. [func] tomek 4598 Parsers for mac-sources, control-socket, and relay-info converted 4599 to SimpleParser. It is no longer accepted to specify empty 4600 mac-sources. Either specify actual values in mac-sources or 4601 don't specify mac-sources at all. 4602 (Trac #5032, git f1c9dee0936b48be28f890ffd428fbdeb87c12ea) 4603 46041201. [func] tmark 4605 kea-dhcp4 and kea-dhcp6 now support the "set-config" command. 4606 The command causes the server to replace its current configuration 4607 with the configuration supplied as the command's argument. 4608 (Trac #5046, git 4afbdcf89c9f83d944f774d05bd401d3f2768d10) 4609 46101200. [func] tmark 4611 kea-dhcp4 and kea-dhcp6 now support the Command Channel "libreload" 4612 command. The command causes the server to unload and then load all 4613 currently loaded hook libraries. 4614 (Trac #3238, git d4d8665494e1847b34b66f8ef542851ea6f0213c) 4615 46161199. [func] tomek, fdupont 4617 Dhcp4 parser migrated to bison. This yields a number of user 4618 visible changes: 4619 - better comment handling (bash, C, C++ style comments) 4620 - file includes now supported 4621 - better syntax checking 4622 - added advanced.json config example 4623 - removed obsolete 'version' parameter 4624 (Trac #5017, git 1cf853c595a100c86f9b2b3353f1b5964d902147) 4625 46261198. [func] marcin 4627 Created kea-ctrl-agent. This application currently doesn't 4628 do anything. Future tickets will add REST API to allow for 4629 managing Kea services. 4630 (Trac #5075, git 1ec7586da5ae1474b52d5a395fb80ee37d6d568e) 4631 46321197. [doc] tomek 4633 Configuration examples now set lfc-interval to a default 4634 value of one hour. 4635 (Trac #5072, git cf4362196fa2b7892643d1e40b974bb450a3de7e) 4636 46371196. [func] tomek, fdupont 4638 Dhcp6 parser migrated to bison. This yields a number of user 4639 visible changes: 4640 - better comment handling (bash, C, C++ style comments) 4641 - file includes now supported 4642 - better syntax checking 4643 (Trac #5036, git 4c5902da95a5228275cdb151b357864cfa9c31f5) 4644 46451195. [build] fdupont 4646 Altered to compile in C++ 2011 standard mode. Also replace (most) 4647 instances of the deprecated std::auto_ptr with std::unique_ptr. 4648 (Trac #5066, git a060d4a983860bf3056d50d9bf7ee4355c8372f2) 4649 46501194. [build] marcin 4651 Moved StateModel class from D2 to libkea-util. 4652 (Trac #3175, git 270ec379aec2894104a299cdd1080e24007e25fb) 4653 46541193. [doc] stephen 4655 Update Hook Developers documentation to make it clearer where 4656 the Kea include files and libraries are located. 4657 (Trac #5069, git 14a78caaf3af9fe9a0ffe2c8af784eab78e813e0) 4658 46591192. [build] marcin 4660 Created libkea-process library and moved the Controllable 4661 Process Layer (CPL) from D2 to this new library. 4662 (Trac #5074, git 4563925f7966e9da2132eb427e742cc3d3feee5d) 4663 46641191. [build] tomek 4665 Optional support for premium package added. 4666 (Trac #5027, git 5ff51f28a1f05d941bb117986922a6f410f23c6c) 4667 46681190. [func] tomek 4669 User context implemented: an arbitrary user information can 4670 now be defined for address and prefix pools. 4671 (Trac #5023, git 4f81789e19b72c933bcf86e402b417c63bd7bd3f) 4672 46731189. [func] fdupont 4674 Owing to API changes, crypto code now requires OpenSSL 1.0.1 or 4675 later. 4676 (Trac #3908, git 4c14fdfd4187a4c8f7b775432082b76782e47663) 4677 46781188. [doc] vlegout 4679 Fixed several spelling mistakes. 4680 (Github #32, git d51c005519c4add6fd0c37bcd68b0fbe94941b2d) 4681 46821187. [bug] marcin 4683 DHCPv4 server allows for allocating multiple leases for the 4684 same hardware address if a different client identifier is 4685 used for each lease. This facilitates the PXE boot use cases 4686 where a booted machine may request a lease multiple times. 4687 (Trac #5029, git 03defed4d8bb9a997d31dbfcf30ae3f866bd3353) 4688 46891186. [func] marcin 4690 Support for DHCPv6 options defined in RFC6603 and RFC7598. Thanks 4691 to Andrei Pavel and Cristian Secareanu of Qualitance for submitting 4692 initial implementation. 4693 (Trac #Github24, git 59b62eb3ddd9db62c04bd47cd8fbdc1af62fbc1b) 4694 46951185. [build] marcin 4696 Install Kea headers to be used for building external libraries. 4697 Before this change some required headers were not installed. 4698 (Trac #5055, git a46087b7b7face4a1318658bbdcbf7602c1bb729) 4699 47001184. [bug] eest 4701 Fixes in the occasionally failing LFC unit test. This 4702 fix was provided by Patrik Lundin. 4703 (Github #31, git 69a5722bf3b41bf3b2bc0c2bcac966c23c08f62d) 4704 47051183. [bug] tmark 4706 kea-dhcp4 now correctly loads declined leases from CSV 4707 lease files. Prior to this, declined leases were being 4708 incorrectly and silently discarded. In addition, both 4709 kea-dhcp4 and kea-dhcp6 will now emit an error log for 4710 each invalid row encountered when loading leases from 4711 CSV files. 4712 (Trac #5058, git 29b088079bed3c5059fdf8a43a4e79cd7f9a4207) 4713 47141182. [func] marcin 4715 DHCP servers detect overlapping pool ranges during 4716 configuration. 4717 (Trac #2280, git c8f931e0189c9630f5fba5d2a5553bed4abf36f7) 4718 47191181. [func] marcin 4720 Extended DHCPv6 server to allow for specifying DHCP options 4721 on address and prefix pool levels. 4722 (Trac #5022, git e3b2785c79aedbb0c8af7468d61f6d61dafd2282) 4723 4724Kea 1.1.0 released on September 30, 2016 4725 47261180. [doc] stephen 4727 Editing pass through the Kea guide. 4728 (Trac #4484, git 63456fab1b978bd515198b9b9e604f293efd8217) 4729 (Trac #5008, git f09cd12d5b1abc60ccef98df2abc6c41b482a404) 4730 47311179. [doc] tomek 4732 Manual pages updated. 4733 (Trac #3515, git 4cf0395e11e724786c4d2a1d48805f1c770f4c99) 4734 47351178. [doc] tomek 4736 user_chk hook library is now documented in the User's Guide. 4737 (Trac #3209, git 4a8534d968a21cff3851619fb22d0032a1202c87) 4738 47391177. [build] marcin 4740 Updated Kea libraries version numbers for 1.1-final release. 4741 (Trac #5012, git 6e9a224b46def357141a31386fcc912b29dfe16d) 4742 47431176. [doc] tomek 4744 Developer's Guide has been updated. 4745 (trac #4299, git ed38076c183394feaef60e7123d0c488c9f6447d) 4746 47471175. [bug] marcin 4748 Corrected a bug whereby a client, for which there was no 4749 host reservation specified, did not obtain an IPv6 lease 4750 from a server when PostgreSQL or MySQL host database backend 4751 was in use. In addition, PostgreSQL host database backend 4752 allows for specifying NULL values in certain columns within 4753 host reservation tables. 4754 (Trac #5009, git d3109bb27786867fdc99954ba55367f0ad129e7a) 4755 47561174. [bug] tmark 4757 Modified kea-dhcp6 to avoid requesting DNS updates when 4758 existing leases are renewed without changes to the FQDN. 4759 (Trac #5007, git 05ea3a5eb75c06cf9814c63a1a54261bf58a954b) 4760 47611173. [bug] xxwolfsrainxx, marcin 4762 MySQL database creation scripts use single quotes for 4763 strings to avoid issues with creation of the database 4764 when MySQL server operates in ANSI_QUOTES mode. 4765 (Github #30, git e40a54a8e24b5f6427edd4afcd5cdc15012b8866) 4766 47671172. [bug] andir 4768 Kea build fixes for gcc 6, which uses C++14 by default. 4769 (Github #29, git ad68c3942839618c26d7ff017fbac7df139b5d01) 4770 47711171. [doc] marcin 4772 Updated supported operating systems and the prerequisites for 4773 installing and building Kea in the Kea Administrator 4774 Reference Manual. 4775 (Trac #4502, git af847837590ce5b37a300ebe15652fb172585b38) 4776 47771170. [doc] marcin 4778 Updated Kea Administrator's Reference Manual sections 4779 regarding host reservations. Added configuration examples 4780 for using host reservations with MySQL and PostgreSQL 4781 databases. 4782 (Trac #3684, git 71d21eac51d20ff5d368b17c437abc45c955a04c) 4783 47841169. [doc] marcin 4785 Updated Kea Administrator Reference Manual to explain the 4786 implications of using "kea_verbose" parameter in the keactrl 4787 configuration. 4788 (Trac #3950, git c5f4920fd1994882e1fae398ae29b455401296bd) 4789 47901168. [doc] marcin 4791 Corrected location of the Kea repository in the Kea Administrator 4792 Reference Manual. 4793 (Trac #4258, git f081000b892287316e54848ca1f62ca3512d4263) 4794 47951167. [func] marcin 4796 DHCP servers utilize client classes defined in host reservations. 4797 (Trac #4765, git 242fbc47b31da404e57be458ac065f811084cca9) 4798 47991166. [bug] marcin 4800 Corrected error message produced by the host database access 4801 parser when the database type was not specified. 4802 (Trac #4261, git 028dd49f4fa4843e68e23d11c237e9f4683470ba) 4803 48041165. [func] marcin 4805 Hostname option is returned to the client when requested using 4806 Parameter Request List option. Previously this option was only 4807 returned when a client has sent Hostname option to the server. 4808 (Trac #5005, git 96ab8ecaa3d5b2d6cd88d0b16406f433d2cdf841) 4809 48101164. [bug] marcin 4811 Corrected an issue whereby DHCPv4 server did not correctly set a 4812 server identifier in response message sent to a client on BSD 4813 systems. 4814 (Trac #5003, git 110c67325072a781d55cf0634f8f5f3385611f97) 4815 48161163. [bug] marcin 4817 Corrected swapped DHCPSRV_MEMFILE_GET_EXPIRED{4,6} messages 4818 in the Memfile lease manager. 4819 (Trac #4717, git ce5919d97879c3fda0858894b24418af135ef8f3) 4820 48211162. [func] pallotron 4822 Added two enhancements to perfdhcp: optionally using MAC 4823 addresses from a file in new DHCP transactions, and 4824 generation of DHCPv6 relayed messages. 4825 (Github #22, git c5b4a5981cf642ebb9aecb8acc07b87abdccbd91) 4826 48271161. [bug] fdupont 4828 Fixed interface manager receive methods which raise a bug on 4829 Fedora 24 / gcc 6.1? 4830 (Trac #4551, git 8d590e434062535e850a60a7892481df845ff390) 4831 4832Kea 1.1.0-beta released on August 31, 2016 4833 48341160. [build] marcin 4835 Bumped up version numbers of Kea libraries and KEA_HOOKS_VERSION 4836 for the Kea 1.1.0 beta release. 4837 (Trac #4632, git 93941523e039a1cc4bb34182a290f9d7b805df34) 4838 48391159. [func] marcin 4840 MySQL database schema updated to version 5.0. 4841 (Trac #4562, git 0e40b35e280f0845686bcfdb2efb577c7878ede6) 4842 48431158. [func] tomek 4844 It is now possible to specify fixed fields (next-server, 4845 server-hostname and boot-file-name parameters) for client classes. 4846 (Trac #4626, git 89cf54524d8b55cc982ab2146915c0a90fc6efe2) 4847 48481157. [func] marcin 4849 Added support for static reservations for fixed fields in 4850 DHCPv4 messages: siaddr, sname and file. 4851 (Trac #4552, git 9b79fe005dd77328ea7c596fc6886f8fb838d1cf) 4852 48531156. [bug] tmark 4854 Lease statistics are now recalculated during server startup and 4855 after each successful reconfiguration for Memfile, MySQL, and PostgreSQL 4856 back ends. This addresses issues caused by accumulated values being lost 4857 across restarts and reconfigurations making rendering values incorrect. 4858 (Trac #4294 git 0abdcf15f85861ffcb67d50fa4ce3965d25e4a9f) 4859 48601155. [func] marcin 4861 Kea can be configured to operate using read-only host database. 4862 This is only supported for MySQL and PostgreSQL databases. 4863 (Trac #4489 git 0d8dc7affb67ad8066b44c6f81532b79a641d50b) 4864 48651154. [bug] stephen 4866 Changes to logging to avoid premature destruction of some 4867 objects during program exit. On some systems this caused 4868 one of the unit test programs to crash when it terminated. 4869 (Trac #4494, git 023c2fc3688bcdbccb4b286bea873c8f9c06cd5f) 4870 48711153. [func] tomek 4872 Integers can now be used in client classification. 4873 (Trac #4483, git e90cf0ee4007521b86177be6d5fbb970c02c1075) 4874 48751152. [doc] marcin 4876 Use of PostgreSQL as a storage for host reservations is now 4877 documented in the Kea Administrator Reference Manual. 4878 (Trac #4282, git f2879919772c10b1ae8c45d0e761ef199cf84061) 4879 48801151. [func] tmark 4881 Support for assigning client classes to host reservations has 4882 been added to both the PostgreSQL and MySQL backends. 4883 (Trac #4277, #4213 git 6990ab9d542e984c59ce5a11ff926c3c732a75fc) 4884 48851150. [bug] tomek 4886 Extended gcc bug workaround to work on all versions of gcc 4887 from 5.2 up to, but not including 6.0. See ChangeLog entry 4888 1103 or Trac ticket #4243 for details. 4889 (Trac #4553, git 80243d9d246b982d86dd7e0d00597383cae01706) 4890 48911149. [bug] marcin 4892 Corrected a bug whereby clients were not assigned reserved 4893 addresses from an external database, as a result of unexpected 4894 closure of a connection to that database. 4895 (Trac #4544, git 7f682112dd5ab9fcd6bfa4e10505c246775f353d) 4896 48971148. [func] tomek 4898 The vendor options (124, 125 in DHCPv4 and 16, 17 in DHCPv6) are 4899 now accessible from client classification. 4900 (Trac #4270, #4271, git ef676368f9036625d73f7f34e3fe9b5eeeaee7f1) 4901 49021148. [func] fdupont 4903 Added the pkt classification token to extract incoming packet 4904 meta-data (receiving interface name, source and destination 4905 address, length). 4906 (Trac #4272, git 9a3bdfa43cf65ef56a8d63580dd5d7414fc41373) 4907 49081147. [func] stephen 4909 -Werror is no longer the default for compilation. Promotion of all 4910 compilation warnings to errors now requires the --with-werror switch 4911 to be specified when running configure. 4912 (Trac #4533, git 874e3a3f5cb10313856284646fcee7cf86e4fcce) 4913 49141146. [func] sar 4915 Add the forensic hook library documentation to the admin guide. 4916 (Trac #4511, git 0bb39840a3cbdaf815819f846120c90d9ca038ff) 4917 49181145. [func] tmark 4919 The Postgresql backend now supports host reservations for both 4920 DHCPv4 and DHCPv6, with options and IPv6 reservations. 4921 (Trac #4277 git ac1eaa1026987c2d86d57b4aa0dc9a4d093787f0) 4922 49231144. [bug] mihu 4924 Response to DHCPINFORM is generally sent to port 68, rather 4925 than port 67. Thanks to Michal Humpula for providing a patch. 4926 (Github #23, git 4216a4bedf8a884df087c68d48c88ee9ffa444dc) 4927 49281143. [doc] fdupont 4929 User's Guide has been updated with DHCPv4-over-DHCPv6 support 4930 details. 4931 (Trac #4273, git fe8cb64adeabe00d84ee390b579a8328717ae521) 4932 49331142. [doc] sar 4934 Uncomment the example columns in some rows in the table 4935 listing the classification examples. 4936 (None, git dee442a64f57c8d9dd87636f9e39084ed1b11e03) 4937 49381141. [func] marcin 4939 Pkt4, Pkt6 and Pkt4o6 objects passed to hooks libraries 4940 return copies of DHCP options to avoid unintended modification 4941 of the options stored in the server configuration. 4942 (Trac #4497, git e50d2ebe998ec3faad8ade22b6971d6584c81044) 4943 49441140. [func] marcin 4945 DHCPv6 server supports assigning multiple reserved addresses 4946 and/or prefixes to a single client. 4947 (Trac #4321, git 0bfb2a9093174e4424051c01beeee7637ac95be0) 4948 49491139. [doc] tomek 4950 New features of host reservations have been documented: ability 4951 to reserve standard and vendor options in host reservations. Separate 4952 sections for each backend added. 4953 (Trac #4518, git 99a40fead28f4324dfb55f1962a8bf3e85ab70e2) 4954 49551138. [build] fdupont 4956 Compilation problem on FreeBSD caused by unused parameter in 4957 certain version of boost headers is now resolved. Also, INSTALL 4958 file has been updated and now lists dependencies. 4959 (Trac #4283, git 7dbd95651c308527f2e42c533fdc0a12aeec5308) 4960 49611137. [doc] fdupont 4962 Developer's Guide has been updated with DHCPv4-over-DHCPv6 support 4963 details. 4964 (Trac #4274, git b3eda594e055f03a9a601bacf0c72c3db0ef8e3c) 4965 49661136. [doc] tomek 4967 Included full text of MPL 2.0 and Apache licenses. 4968 (Trac #4529, git baefb4b3e2078a0a0f794b42ef52d6b7d53c9dab) 4969 49701135. [func] fdupont 4971 Integrated the DHCPv4 service part of DHCPv4-over-DHCPv6 support. 4972 (Trac #4110, git 7d36aebe14db10b0cbac8e6c0e82160b9d5d7ecd) 4973 49741134. [func] fdupont 4975 Integrated the DHCPv6 service part of DHCPv4-over-DHCPv6 support. 4976 (Trac #4109, git 8d1f330d9b0a44039a8b9e0b479f8da1743b9504) 4977 49781133. [func] razvan 4979 The initial support for CQL (Cassandra) backend added. It is able 4980 to store leases information. 4981 (Github #21, git d3a412d4b090bfd84ec5bc5d7817b1dfcc92602e) 4982 49831132. [func] tmark 4984 The Postgresql schema has been updated to support host 4985 reservations and its version number has been bumped to 3.0. 4986 This schema is content equivalent to the MySQL schema version 4.2. 4987 (Trac #4275, git 6f8e646bee9de22c921ed26409f3d1856ebce9e6) 4988 49891131. [func] fdupont 4990 Update the DHCPv4-over-DHCPv6 inter-process communication code. 4991 (Trac #4106, git 1ce1cba00af5d81822d5bbe26ddd28b718f51d54) 4992 49931130. [func] marcin 4994 DHCPv6 server assigns DHCP options specified for hosts. Host 4995 specific options take precedence over class specific options, 4996 subnet specific options and global options. 4997 (Trac #3573, git c29551e43010a345cfa2efda46389f4433d84650) 4998 49991129. [bug] marcin 5000 libdhcp++: Removed unnecessary copies of the container holding 5001 option definitions to improve performance of both DHCPv4 and 5002 DHCPv6 server. 5003 (Trac #4498, git 14716853a92e08c4cc5be75ae85c5e84d6356a1e) 5004 50051128. [func] tomek 5006 Subnet selection in DHCPv4 will now work, even if the addresses 5007 configured on interface are not in range of the subnet definition 5008 from the configuration file. 5009 (Trac #4308, git 7c74ecdbb64c69d341d623422216b0a54e6ff519) 5010 50111127. [func] marcin 5012 DHCPv4 server assigns DHCP options specified for hosts. Host 5013 specific options take precedence over class specific options, 5014 subnet specific options and global options. 5015 (Trac #3572, git 49f67aaf36dab38b4fcbf59dcad97e4309903b2f) 5016 50171126. [func] marcin 5018 Host reservations can be assigned using DHCPv4 client identifier. 5019 (Trac #4317, git 5f14fca1e029b04ad21a417936c2b8889acef10d) 5020 50211125. [func] fdupont 5022 Inter-process communication for exchanging packets between 5023 DHCPv4 and DHCPv6 components of DHCPv4-over-DHCPv6 has been 5024 implemented. 5025 (Trac #4106, git 3223bb8280bfd99c225e725de660ae764abe3c87) 5026 50271124. [bug] sar 5028 Update the classification document to match the output from 5029 the debug statements. 5030 (Trac NA, git 8b3ea8e26c3e6cd3c46073b635212fd29f031774) 5031 50321123. [func] marcin 5033 Extended MySQL host data source to retrieve DHCPv4 and DHCPv6 5034 options associated with hosts from a MySQL database. 5035 (Trac #4281, git b8a306a27d1cae03f6bc5223c30806f5cd1b64f4) 5036 50371122. [func] sar 5038 Add debug logging to the classification tokens. This uses 5039 the loggers "kea-dhcp4.eval" and "kea-dhcp6.eval" to capture 5040 details of the classification expression evaluations. 5041 (Trac #4480, git cf14d0d21c69879f21733457a97a6ac0bdb1dae2) 5042 50431121. [func] stephen 5044 Make the database connection timeout a configurable parameter with 5045 a default value of five seconds. 5046 (Trac #3164, git 3332ad17523c6fcc1e735e4297169ebb2de95118) 5047 50481120. [bug] marcin 5049 Performance improvement in libdhcp++: improved efficiency of the 5050 DHCPv4 Message Type option creation. 5051 (Trac #4495, git 41c43a2a9e34931fc3ebf58c459f10ad08575d19) 5052 50531119. [bug] marcin 5054 Performance improvement in hosts reservation: removed 5055 inefficient conversion of the host identifier to text 5056 when logging. 5057 (Trac #4499, git 48c20790480d5ed7bfde0ef7b052dd4a9745607d) 5058 50591118. [func] tmark 5060 The "query4" argument, containing the client packet received, has been 5061 added to the DHCPv4 hook points: lease4_select and lease4_renew. The 5062 "query6" argument, containing the client packet received, has been 5063 added to the DHCPv6 hook points: lease6_select and pkt6_send. 5064 (Trac #4481, git c0af94c47bda85eb1caa3a78a46280b63990672a) 5065 50661117. [bug] stephen 5067 Adjusted variable type in a MySQL-related file to overcome a 5068 type mismatch problem reported by one particular compiler. 5069 (Trac #4485, git 4c6fb189b5d12ffdf4ab171c9154366e70e6082c) 5070 50711116. [func] tomek 5072 DHCPv4 subnet selection can now be selected based on IPv6 5073 information. This is part of ongoing effort to support RFC7341: 5074 DHCPv4-over-DHCPv6. 5075 (Trac #4112, git 3352685981ec8ca9a90f7405ff56cd31af6fb0d9) 5076 50771115. [bug] tmark 5078 An explicit call to unload the hook libraries prior to server 5079 exit was added to both kea-dhcp6 and kea-dhcp4. This corrects 5080 an issue where logging components were being destroyed prior 5081 to hook libraries being unloaded. 5082 (Trac #4492, git 2a4792b3551cce2fb9147f33f032ae7e71791d21) 5083 50841114. [bug] marcin 5085 perfdhcp: Improved algorithm for dropping timed out transactions. 5086 This prevents growing memory consumption due to storing timed 5087 out transactions when the DHCP server drops many messages. 5088 (Trac #4493, git 9757a93110afb82c5379643f2f48e223d497efae) 5089 50901113. [func] tomek 5091 It is now possible to specify parameters for hook libraries. 5092 (Trac #4297, git f45d0b5d297f6ad522eb8b7e6f6a0de1064b8569) 5093 50941112. [func] marcin 5095 "host-reservation-identifiers" configuration parameter has been 5096 implemented. It allows for specifying an ordered list of 5097 host identifiers that DHCPv4 and DHCPv6 servers use to 5098 retrieve static host reservations for a client. 5099 (Trac #4303, git 942808400e7116d95acfd53b0dc1ecad1c45c598) 5100 51011111. [func] tmark 5102 Schema scripts have been relocated from src/bin/admin/scripts to 5103 src/share/database/scripts and are now shared by both kea-admin 5104 and unit testing. 5105 (Trac #4239, git 131fcf52f2a65cedb53975f99114296366fb0199) 5106 51071110. [func] fdupont 5108 Added support for extracting constant length fields from a DHCPv4 5109 packet. 5110 (Trac #4268a, git 5d1397efc05802b72e86785528870b7154307ff0) 5111 51121109. [func] sar 5113 Added support for accessing DHCPv6 packet fields message type 5114 and transaction id in a classification expression. 5115 (Trac #4269, git 48be5f5ceaba6b0d0a2b31465e8a5904524e894c) 5116 51171108. [bug] pallotron 5118 perfdhcp uses the same transaction id throughout the DORA 5119 exchange to adhere with RFC 2131. 5120 (Github #19, git d260a70d6aa0baecd68131bc35f58f097aa77bcc) 5121 51221107. [func] tmark 5123 The DDNS parameter, replace-client-name, has been changed from a boolean 5124 to list of modes, which provides greater flexibility in when the Kea 5125 servers replace or supply DNS names for clients. This is supported both 5126 kea-dhcp4 and kea-dhcp6. 5127 (Trac #4259, git 45e56d7aa0d4a6224a1a28941f6cb11575391222) 5128 51291106. [func] marcin 5130 "circuit-id" can be specified as host identifier in host 5131 host reservations. However, the server ignores the reservations 5132 by "circuit-id" at this point. 5133 (Trac #4301, git cf56fc2a2e0e821a17dd95de49a43755745682fb) 5134 51351105. [func] sar 5136 Added access to the peer address, link address and option 5137 information added by relays in a DHCPv6 message. 5138 (Trac #4265, git bb00d9d205ee047961ba70417d7ce02c37d80ce7) 5139 51401104. [bug] stephen 5141 Made DHCPSRV_MEMFILE_LFC_UNREGISTER_TIMER_FAILED a debug message as the 5142 condition leading to it (trying to unregister a timer that is not 5143 registered) does not have an adverse effect on the operation of Kea. 5144 (Trac #4293, git 06204c5d347d0df359af69974c155d0fa9725b44) 5145 51461103. [bug] tmark 5147 Wrapped asio/asio.hpp with logic to suppress optimization when building 5148 under GCC 5.2.0 through 5.3.1 and BOOST_ERROR_CODE_HEADER only is defined. 5149 This avoids an issue in the asio socket layer that was incorrectly 5150 reporting socket read errors causing unit tests to fail and kea-dhcp-ddns 5151 to loop logger calls in the error handler (aka double errors). 5152 (Trac #4243, git 082f846f37cb32964c876b2bff5fcac82d1eaaf0) 5153 51541102. [func] marcin 5155 Updated Host Manager API to allow for retrieving host reservations 5156 by any type of host identifier. Previously it was only possible 5157 to retrieve host reservations by hardware address or DUID. 5158 (Trac #4302, git 3979656c918164e3c39e0e8fb78b2862a2b5e95a) 5159 51601101. [func] kalmus, marcin 5161 Implemented IPv6 address/prefix reservations in MySQL. 5162 (Trac #4212, git 79481043935789fc6898d4743bede1606f82eb75) 5163 51641100. [func] fdupont 5165 Reorganized the DHCPv4 and DHCPv6 services into run() (service 5166 loop), run_one() (receive, call next routine and send) and 5167 processPacket() (internal core processing of an incoming packet). 5168 (Trac #4108,#4266,#4267, git ba24bd770d1a1791f8fdc3df7f2e41f9f0c851ec) 5169 51701099. [func] tmark 5171 Both kea-dhcp4 and kea-dhcp6, now log the primary lease events (e.g. 5172 grants, renewals, releases, declines) at the INFO log level to the 5173 lease4_logger and lease6_logger respectively. Prior to this these 5174 events were logged at the DEBUG log level. 5175 (Trac #4316, git 9beca27e3d76d0ccec925125f23074227db08869) 5176 51771098. [bug] fdupont 5178 Fixed some minor Coverity-detected issues. 5179 (Trac #4326, git ad1f442ee4382b354dc8be84ba77785e565aa86b) 5180 51811097. [bug] marcin 5182 libdhcpsrv: Fixed issues with lease indexing in Memfile 5183 database backend. 5184 (Trac #4339, git a065144663ac716b1fa1c8c224a88aa176da9630) 5185 51861096. [bug] fdupont 5187 Fixed Coverity-detected overflows in pkt4::setFile() and setName(). 5188 (Trac #4306, git 0b7388891eaab39fe727b076468d672551126796) 5189 51901095. [func] marcin 5191 DHCP option values can be specified within host reservations 5192 in the configuration file. 5193 (Trac #4319, git 069dd7c248afcfcb7e4d958f20faa32e946e74ce) 5194 51951094. [bug] fdupont 5196 Fixed Coverity-detected exception-handling issues. 5197 (Trac #4307, git 3e1050749d9684144e1bd17552af7e4abf3c0d17) 5198 51991093. [func] fdupont 5200 Added support for IP address (IPv4 and IPv6) literals in 5201 classification expressions. 5202 (Trac #4232, git b98cc019b172a4903a2121e910f3cee4eaca2d51) 5203 52041092. [func] fdupont 5205 Added relay4[X].exists method in classifications that checks 5206 whether a sub-option is present in theDHCPv4 RAI (Relay Agent 5207 Information, 82) option. 5208 (Trac #4313, git 87397fd75215b69ad79708aaa1d7505aca299fb5) 5209 52101091. [bug] fdupont 5211 Protected DHCP server main() routines against errors raised from 5212 logger calls in the error handler (aka double errors). 5213 (Trac #4310, git 6813e1a7520335f6920ff8de5e52ecdb24712910) 5214 52151090. [bug] fdupont 5216 Empty option specifications no longer require setting the 5217 csv-format parameter. 5218 (Trac #4291, git 398458f3ad4680fd5f3c032eb6c99d50c2981368) 5219 52201089. [func] marcin 5221 The Host class has been extended to store DHCP options to 5222 be assigned to a client. 5223 (Trac #3571, git 9d434f28cc4683eccbcca1ba0d1e45bceb5230d2) 5224 52251088. [bug] sar 5226 Always copy the DHCPv4 flags field from a client's request to the 5227 the server's response. 5228 (Trac #4292, git 8b7182abdc7ff47eb9b68451e7507b7e4b9872e0) 5229 52301087. [bug] fdupont 5231 Removed obsolete requirement of python3 by --enable-generate-docs 5232 configuration option. 5233 (Trac #4315, git 2c236316d5fbac9906cf48a6e4df1649e7545e67) 5234 52351086. [bug] marcin 5236 When lease-database configuration parameter is not 5237 specified the default lease database backend (memfile) 5238 is used. 5239 (Trac #3696, git 0be5e6eb32680a742ddcf427b8181f55c0c98115) 5240 52411085. [func] fdupont 5242 The following DHCPv4 options are now supported: 5243 nisplus-domain-name (64), 5244 nisplus-servers (65), 5245 mobile-ip-home-agent (68), 5246 smtp-server (69), 5247 pop-server (70), 5248 nntp-server (71), 5249 www-server (72), 5250 finger-server (73), 5251 irc-server (74), 5252 streettalk-server (75) 5253 streettalk-directory-assistance-server (76) 5254 (Trac #4286, git 5ed03ed5ea48334bbd16a9a8e1676f3b4cc730a0) 5255 52561084. [bug] jpopelka 5257 Added missing slashed in path_replacer.sh. 5258 (Github #10, git 8986813825623b19fb220534434d0c13785fc14c) 5259 52601083. [func] fdupont 5261 Added a concat function in classification which concatenates two 5262 strings. 5263 (Trac #4233, git eec10b436b928bd5eb3139c2f98ec9a6a818f30e) 5264 52651082. [func] fdupont 5266 Added Not, And and Or logical operators, parentheses around 5267 logical expressions and option[code].exist logical predicate 5268 (to check the presence of an empty option). 5269 (Trac #4231, git 8e01dbe2fe2d8c97f89c20f5bb1d03748a2432e0) 5270 52711081. [func] tomek 5272 Client classification in DHCPv4 has been enhanced. It is now 5273 possible to access relay sub-options using the expression 5274 relay[123].hex. 5275 (Trac #4264, git c13791e916ceae9a73ca44005581e0e39385a572) 5276 52771080. [func] marcin 5278 perfdhcp now accepts -f option for DHCPv4 server testing, which 5279 enables lease renewals at the specified rate. 5280 (Trac #4254, git 8c5630b9ce6d3fba224f0643a7c69e4f7aaefca7) 5281 5282Kea 1.0.0 released on December 29, 2015 5283 52841079. [bug] jpopelka 5285 Fixed compilation issue in MySQL host data source: the 5286 dhcp_identifier_length is now unsigned long. This addresses 5287 a compilation problem on Fedora. 5288 (Github #17, git 8548d1b589df98cc956b4d80d2cb8819ef576717) 5289 52901078. [bug] fdupont 5291 Removed warnings emitted during generation of Doxygen documentation. 5292 (Trac #4234, git b67910a3893bc79eb77a48bae6c31214a317bd40) 5293 52941077. [bug] marcin 5295 Addressed regression in distcheck after merge of #4224. 5296 Before the changes one of the lease files produced by 5297 'kea-lfc' was not removed after tests running lease file 5298 cleanup. As a result, the distcheck failed discovering 5299 this file being left after distclean. 5300 (Trac #4249, git 04aa9b95bf8c4dd8b555dd78cc8cd57126473800) 5301 53021076. [bug] tmark 5303 This change bumps the MySQL schema version from 4.0 to 4.1 and includes 5304 the following changes: added explicit use of InnoDB engine to all MySQL 5305 table create statements, MySQL lease dump output is now sorted by lease 5306 address in ascending order, and the MySQL lease_hwaddr_source table now 5307 contains an entry for HWADDR_SOURCE_UNKNOWN (i.e. source = 0). Our thanks 5308 to Sebastien Couture at Ubity Inc. for reporting the InnoDB engine issue 5309 and submitting a fix for it. 5310 (Github #16, Trac #4237,#4238, git f0fb9f35a394785215573a591c2bcc68ab481436) 5311 53121075. [doc] marcin 5313 Changed Kea license from ISC to Mozilla Public License, 5314 v. 2.0. 5315 (Trac #4236, git a0574cdab4deb31e3244fc4e237753a1ad361d96) 5316 53171074. [bug] marcin 5318 PID files created by Kea processes are used in shell based 5319 tests to determine if the given process is running. This 5320 solves the problem whereby some unrelated processes could 5321 be reported as running Kea processes in those tests, causing 5322 the tests to fail. 5323 (Trac #4224, git 94edccc50cb374ec4db35f653b869c9f06d356ea) 5324 53251073. [doc] tomek 5326 Developer's Guide updated with client classification text 5327 and several clean-ups. 5328 (Trac #4102, git ac33ebf7428ba5935d3302d000bed317716fabfe) 5329 53301072. [bug] tmark 5331 The lease6 hardware address source value is now being properly populated. 5332 Prior to this the value stored with each IPv6 lease was always zero. 5333 (Trac #4247, git 27886dadcf9051dc622ee6fde586c27f3d431f8b) 5334 53351071. [func] tmark 5336 Assigned unique log message IDs to log messages issued from 5337 MySQL hosts storage operations, eliminating reuse of 5338 lease database message IDs. 5339 (Trac #4216, git f0e37cd6d45537971a730c68187011dce41217cc) 5340 53411070. [doc] sar 5342 Correct v6 classification examples to use client-id (1) instead 5343 of server-id (2). 5344 (Trac #4222, git 69dd98d03861d9de72c2ef75c17c8154b0c5088b) 5345 5346Kea 1.0.0-beta2 released on December 22, 2015 5347 53481069. [bug] tomek 5349 Improved handling of incoming packets with invalid client-id 5350 and DUID. 5351 (Trac #4206, git 2c94f80e30abe53ae5b677762fc69e888c92e03f) 5352 53531068. [func] marcin 5354 Renamed log message compiler binary from 'message' to 5355 'kea-msg-compiler'. 5356 (Trac #4228, git bbeb5c776c39b9f4132f7f614720db75590ccef9) 5357 5358Kea 1.0.0-beta released on December 8, 2015 5359 53601067. [doc] sar 5361 Remove description of option[xx].text operator from classification 5362 until its use becomes clearer. 5363 (Trac #4218, git 22fe2bf889984078cd86c2a230a038632d21432c) 5364 53651066. [func] tomek 5366 Configuration parameters for setting up external hosts storage 5367 are now implemented. This feature is considered experimental 5368 for DHCPv4 and currently not really usable for DHCPv6. 5369 (Trac #3569, git 8896c9c3f77a7836d67e6c33943ac4892b851213) 5370 53711065. [func] fdupont,tomek 5372 The DHCPv4 server now stores Relay Agent Information option as 5373 the last one. 5374 (trac #4121, git 2f883d4afb9b27c6c59d993692370685b206b6c2) 5375 53761064. [doc] tmark 5377 Added Kea logo to documentation. 5378 (trac #3702, git 7cae813ffe9a7320db5c84ac4beb1c3c0ecabbf7) 5379 53801063. [func] marcin 5381 It is possible to disable writing generated DHCPv6 server 5382 identifier in a persistent storage. This also fixes a 5383 failing distcheck. 5384 (trac #4211, git d8f39b7aff9312237d4b6d6de39a7336a25ead4c) 5385 53861062. [func] marcin 5387 libeval: options may be referenced by their names in 5388 expressions used for client classification. 5389 (Trac #4204 git 38aebe9566e09daa30796df686cfdd6d0c43fa4d) 5390 53911061. [func] kalmus 5392 MySqlHostDataSource class implementation. It provides methods 5393 for adding and extracting Host objects to and from MySQL database. 5394 (Trac #3682, git 275b40fb941a6934c6434715184ae1c39f3fb3f2) 5395 53961060. [func] stephen 5397 Incremented KEA_HOOKS_VERSION to 3 for Kea 1.0. 5398 (Trac #4208, git bf6f3d495604942a395b51bbe4c37001b7541242) 5399 54001059. [func] nicolas 5401 The client packet is now passed as a new parameter "query4" 5402 to the pkt4_send hook point. Thanks to Nicolas Chaigneau from 5403 Capgemini for providing this patch. 5404 (Github #8, git ) 5405 54061058. [func] tomek 5407 Two new hook points lease4_recover and lease6_recover have been 5408 implemented. They are called when a declined IPv4 or IPv6 lease 5409 concludes its probation period and is being recovered into 5410 usable state. 5411 (Trac #3988, 3989, git 1930797c48fee7f4006a33cecd6f08b05ae76725) 5412 54131057. [func] marcin 5414 It is now possible to specify type and value of a DUID used 5415 as DHCPv6 server identifier. 5416 (trac #3874, git faf52b069cf774d0050d76b4f47b542b2b5105f2) 5417 54181056. [doc] sar 5419 Added description of the expression based classification 5420 system to the Kea Admin Guide. 5421 (Trac #4101, git 3ec88e0669470ab406c45d50d0f853f9aeb3bf04) 5422 54231055. [func] fdupont 5424 Classify match expressions are evaluated on incoming packets and 5425 requested options are appended when configured by the subnet, a 5426 class or globally. 5427 (Trac #4097, git 752ad11ff4ebe97ec27d098aff706d1999900346) 5428 54291054. [func] tmark 5430 Replaced underscores, "_", with hyphens "-", in the parameter 5431 names used in the kea-ddns server's configuration as well as 5432 those in the DDNS messages (NCRs) sent to the server. For 5433 example, "ip_address" is now "ip-address", "change_type" is 5434 now "change-type". This makes JSON element naming consistent 5435 throughout Kea. 5436 (Trac #4202, git 91bf527662060d4b1e294cd53e79b431edf0e910) 5437 54381053. [doc] tomek 5439 Support for DHCPDECLINE (v4) and DECLINE (v6) messages is 5440 now described in the Kea User's Guide. 5441 (Trac #3990, git 6b0db91610420f3cce55d9f887d7c73660ece209) 5442 54431052. [func] marcin 5444 libeval: expressions involving options can now use textual or 5445 hexadecimal format of the options. 5446 (Trac #4093, git 4cdf0fff1067b3dde6570dc6831e8b1343bc50fe) 5447 54481051. [func] tmark 5449 kea-dhcp4 and kea-dhcp6 configuration parsing now supports 5450 the "client-classes" element for defining client classes. 5451 (Trac #4096, git d21fd6925983eb20f82029e3866652398ea5e5fe) 5452 54531050. [doc] tmark 5454 Corrected the descriptions of ncr-protocol and ncr-format parameters 5455 in the Kea Admin Guide. 5456 (Trac #4117, git 034c1c95b57768d5abbc7fb40cc57d7cadad21dd) 5457 54581049. [build] fdupont 5459 Add a new --enable-generate-parser configuration parameter 5460 (disabled by default) which makes flex and bison to regenerate 5461 parser files. 5462 (trac #4125, git 18321bf85f93b24d720f1ab2d90b4f4da85bc471) 5463 54641048. [func] fdupont,tomek 5465 Implement expression parser for client classification. 5466 (Trac #4088, git ac9eb312bfd1c6bf22a868ad789a0c049f33f637) 5467 54681047. [func]* stephen 5469 Change the way that hooks libraries are defined in the configuration 5470 file in preparation for allowing the specification of library-specific 5471 parameters in a future version of Kea. 5472 (Trac #3259, git b2986b0b0299e691b13123922129bdbf8575afdb) 5473 54741046. [func] tmark 5475 Upon startup Kea servers will now detect memfile lease files 5476 that need upgrading, and will launch in instance of the LFC 5477 to convert them to the most current memfile schema version. 5478 (Trac #3601, git ce4b0e42e8a01bbf3b58fdb1f505bbd6e2fad134) 5479 54801045. [func] tmark 5481 Added classes for storing client class definitions to libdhcpsrv. 5482 (Trac #4095, git 1039a942450e2a45a1e1aa9924cae4fdbd1541fe) 5483 54841044. [build] fdupont 5485 With the addition of a background thread for timeouts, ensure that 5486 the configuration and process spawning code are thread safe. 5487 (Trac #4060, git 4c130bd7c8d0eb97966e9821bab491bca5321b6c) 5488 54891043. [func] fdupont 5490 Implemented support for hex strings in client classification. 5491 (Trac #4091, git 406153af95404adb96296df09ec6033b484586e3) 5492 54931042. [doc] fdupont 5494 User Guide: parameters having default values may be omitted in the 5495 option definitions. 5496 (Trac #3927, git c7460e849258ec77cf1215a2baf840d98f1ab77b) 5497 54981041. [func] tomek 5499 A new library, libkea-eval has been added. It is not functional 5500 yet, but its purpose is to provide a generic expression 5501 evaluations that will be used in the upcoming client classification. 5502 (Trac #4081, git 28d818a26a5d128e8a51d62b68c0cc817e6e2415) 5503 55041040. [func] tmark 5505 When kea servers lose connectivity with MySQL or PostgreSQL backends 5506 they will log an error message and exit with an exit value of 255. 5507 (Trac #3780, git cf94e99698e1d8a1613026bda5e4fc9bb4a68d74) 5508 55091039. [doc] marcin 5510 Configuration parameters pertaining to processing expired 5511 leases by the DHCPv4 and DHCPv6 server have been documented. 5512 (Trac #3979, git a2ee99ba313e54a9dcf8a09ed118dbfe612e3d55) 5513 55141038. [func]* marcin 5515 DHCPv4 and DHCPv6 servers reclaim expired leases before they 5516 are re-assigned. 5517 (Trac #3977, git 5880e706cb27c19b1b70296ccd8d96e38e82027b) 5518 55191037. [func] fdupont 5520 Added a new 'leases-reclaim' command which reclaims expired leases 5521 immediately. 5522 (Trac #3978, git 9d5716e5bd6b151d90591f8497bae689321875c2) 5523 55241036. [func] tmark 5525 kea-admin now supports upgrading from Postgres schema version 5526 1.0 to 2.0. Schema 2.0 includes support for lease expiration 5527 and reclamation. 5528 (Trac #3969, git 8fde70c1b63b5a2646688290b1d0cf53f4c964ad) 5529 55301035. [doc] fdupont 5531 Modified documentation of DHCP options to show internal format 5532 of records. 5533 (Trac #4071, git c5cffe74ac1bd38e4870ff1c22c36febb46e8c27)) 5534 55351034. [func] fdupont 5536 Add support for DHCPv4 subnet selection option. 5537 (Trac #4058, git b7072884e8ce74dc64cd74e101d81e5c0763f492) 5538 55391033. [bug] stephen 5540 Updated OutputBuffer class to address warnings from Coverity. 5541 (Trac #3443, git 4bf0a14aa7a1303ed6959127c5354687e9f222ba) 5542 55431032. [func] marcin 5544 PostgreSQL lease database backend has been extended with new 5545 functions to obtain expired leases and to delete expired 5546 reclaimed leases. 5547 (Trac #3968, git 0bc02588d8553ba9a4fc749115a3e370407d7287) 5548 55491031. [build] fdupont 5550 Rewrote the system_messages tool from Python to C++. 5551 (Trac #3516, git a8195310c641027d1822344cafad64e6f695d614) 5552 55531030. [bug] marcin 5554 Fixed failing 'reclaimExpiredLeasesTimeout' unit tests on 5555 some virtual machines. 5556 (Trac #4075, git c3a2487f53ecf69edc0a38f574fce17c4332162c) 5557 55581029. [func] tomek 5559 A new hook point lease6_decline has been added. It is called when 5560 the DHCPv6 server is about to decline a lease as a result of 5561 processing incoming DECLINE message. 5562 (Trac #3986, git b6e3f1bbe3595aeba769d627d571e2eeee38a397) 5563 55641028. [func] marcin 5565 Expired leases are processed periodically according to the 5566 server configuration. 5567 (Trac #3975, git 3bd8891c0b9cb7dc504fa69251610996775cefbf) 5568 55691027. [func] tomek 5570 Expired declined IPv6 leases can now be reclaimed (returned to the 5571 available pool) after probation period elapses. 5572 (Trac #3985, git 9aadfa902d898ce1f52b773152a5b34519a9a9fe) 5573 55741026. [doc] stephen 5575 Added documentation for the kea-dhcp4.commands and 5576 kea-dhcp6.commands loggers. 5577 (Trac #3952, git 3eb5d3185683e05494c1d84ed7195627fce4b6c1) 5578 55791025. [func] tomek 5580 A new hook point lease4_decline has been added. It is called when 5581 the DHCPv4 server is about to decline a lease as a result of 5582 processing incoming DHCPDECLINE message. 5583 (Trac #3986, git 39bde93fe25e4aff52623d4df7fd55c64e0a9c21) 5584 55851024. [func]* tomek 5586 Boolean Skip flag in Hooks API has been replaced by enum status. 5587 This is backward incompatible change if you developed hook 5588 library that takes advantage of the skip flag. See Hooks 5589 Developer Guide for easy steps necessary for migration. 5590 (Trac #3499, git 99ca398d4d042a098b5c491368733220db8cdd08) 5591 55921023. [func] tmark 5593 kea-admin now supports upgrading from MySQL schema version 3.0 5594 to 4.0. In addition, the lease6 data dump now contains the 5595 text label for lease_hwaddr_source column rather than its 5596 numeric value. 5597 (Trac #3967, git 2e13ac3b0b278faabe338b00ffee8259c13f5342) 5598 55991022. [func] fdupont 5600 Added support for the V4 link selection sub-option (RFC 3527). If 5601 present in an incoming packet, the server will allocate an address 5602 in the subnet identified in the option. If this is impossible, no 5603 address will be allocated and the request refused. 5604 (Trac #4057, git 8c02cec5ec8e311a9d23fd582d8e9e8647667abb) 5605 56061021. [bug] stephen 5607 Added missing address parameter to ALLOC_ENGINE_V4_REQUEST_OUT_OF_POOL 5608 message. 5609 (Trac #3996, git 680233550747209a1707e8f920179479b980aa2a) 5610 56111020. [func] kalmus 5612 A general purpose base class for MySQL connection has been 5613 implemented. 5614 (Trac #3681, git 884d8bb4a55d3d7b1b8f3f01efb312bd8dec399b) 5615 56161019. [func] marcin 5617 Added new configuration parameters controlling processing of the 5618 expired leases in the DHCPv4 and DHCPv6 server. 5619 (Trac #3974, git c998d36c40cc46ffe9f888e615bbcfa0a311d40d) 5620 56211018. [func] sar 5622 Added support for several options for use by PXE. 5623 From RFC4578 (for DHCPv4) these are: 93 - client-system, 5624 94 - client-ndi, 97 - uuid-guid. 5625 From RFC5970 (for DHCPv6) these are: 59 - bootfile-url, 5626 60 - bootfile-param, 61 - client-arch-type, 62 - nii. 5627 (Trac #3576, git fdcc73afe7e26bd427817fd771567b1c44713b06) 5628 56291017. [func] tmark 5630 Lease dump SQL logic, used by kea-admin, is now supplied via stored 5631 procedures rather than external text files. Files of the form 5632 lease_dump_<version>.sh will no longer be installed under 5633 <prefix>/share/kea/scripts. 5634 (Trac #3916, git 09cdd86a5e284250d7657a93a36df2e2705947d2) 5635 56361016. [bug] fdupont 5637 Fixed problems when --enable-static-link is specified as a 5638 "configure" option. With this switch present, all Kea 5639 executables (servers, tools, unit tests, etc) are linked 5640 to the static (vs. shared) version of Kea libraries. 5641 However, note that they can still be linked to dynamic 5642 system libraries. 5643 (Trac #4004, git 760a343efbd241f5ed333cfff088124378f69115) 5644 56451015. [func] tomek 5646 Expired declined leases can now be reclaimed (returned to the 5647 available pool) after probation period elapses. 5648 (Trac #3984, #3976, git 32a8ec68e0e5ea93991915812158d7628d2b4709) 5649 56501014. [func] marcin 5651 Implemented lease4_expire and lease6_expire hooks in libdhcpsrv. 5652 (Trac #3972, git 8a8547aec1caf2a8d1c7ca206f68534f3c03f1d9) 5653 56541013. [func] marcin 5655 New mechanism for scheduling lease file cleanup is used in the 5656 DHCPv4 and DHCPv6 servers. 5657 (Trac #3971, git 431d515fc3d64aa82369c8eaf48d03339f12dc69) 5658 56591012. [bug] stephen 5660 Replace #include of message_dictionary.h in message_initializer.h 5661 with a declaration of the MessageDictionary class, avoiding the need 5662 to include message_dictionary.h in the set of header files installed. 5663 (Trac #4046, git 9f1801b4326f62632a7c9f0aa939d58f120c10e8) 5664 56651011. [func] fdupont 5666 Added definitions and tests for the options from secure DHCPv6. 5667 This protocol is still experimental. The option and other protocol 5668 codes are for testing, they will be updated when IANA assigns 5669 official values. 5670 (Trac #4015, git 95f8c0d0af45807c1f303b9bbbb08f82b3bfc343) 5671 56721010. [bug] tmark 5673 Fixed test failures occurring for some tests after 5674 IfaceMgr::closeSockets was called. 5675 (Trac #4067, git 9161867dc6a354659ae8b5115ee437ec76c1771e) 5676 56771009. [bug] fdupont 5678 Now libutil blocks all signals when creating a new thread 5679 (so signals are delivered only to the main thread). 5680 (Trac #4065, git a4a8e422e613e4378f0a0641e4c480b73d67ebeb) 5681 56821008. [build] fdupont 5683 Removed the included header-only ASIO code. Kea is now built 5684 against the installed copy of Boost. The build by default 5685 attempts to use the header-only error code (ASIO dependency), but 5686 may also use the version in the boost system library. The 5687 location of this library can be specified. 5688 (Trac #4009, git 8c293bc0d1804a512964621f114e64fcba0abcb9) 5689 56901007. [func] tomek 5691 DECLINE message in DHCPv6 is now supported. The server is able 5692 to receive it, check its correctness and move the lease to 5693 DECLINED state. Currently there is no way to recover the lease 5694 before 'decline-probation-period' time. 5695 (Trac #3982, git 11e2c4366d8624601172c01e95cff6a8b95833b3) 5696 56971006. [bug] marcin 5698 Fixed issues with threads concurrency in the TimerMgr. 5699 (Trac #4047, git 48297af6e0443808a482536b61436a42bc6a5b38) 5700 57011005. [func] tomek 5702 DHCPDECLINE message in DHCPv4 is now supported. The server is able 5703 to receive it, check its correctness and move the lease to 5704 DECLINED state. Currently there is no way to recover the lease 5705 before 'decline-probation-period' time. 5706 (Trac #3981, git c14a63c0d3a56ea3e880e874f854adc0077de75e) 5707 57081004. [bug] fdupont 5709 Incoming Confirm, Rebind and Information-Request messages are 5710 now more thoroughly checked against presence of client-id 5711 and server-id options. 5712 (Trac #3773, git fd2889b9de45e2822b6713663bee06b75259c6dc) 5713 57141003. [build] fdupont 5715 Updated Makefiles to ensure that all required dynamic libraries 5716 are included in the link command line as some systems are unable 5717 handle implied library dependencies. 5718 (Trac #3911, git 4d13f5234da33df03c0989829a0e1c1056e53a4e) 5719 57201002. [func] marcin 5721 MySQL lease database backend has been extended with new 5722 functions to obtain expired leases and to delete expired 5723 reclaimed leases. 5724 (Trac #3966, git 419832a6279c70b5db04b1cab10737e31f2c99f9) 5725 57261001. [build] fdupont 5727 Fixed critical C++ issues in the Kea code. This does not cover 5728 auto_ptr warnings (just ignore them) or the gtest 1.7.0 bug with 5729 EXPECT_TRUE() and ASSERT_TRUE() macros (we recommend to download 5730 last subversion sources at http://googletest.googlecode.com/svn/trunk 5731 and use the --with-gtest-source configuration argument when 5732 you'd like to build unit tests). 5733 (Trac #4024, git 55afd98fead0c16bb81107dfc1a5f49a5e295aa6) 5734 57351000. [func] marcin 5736 Implemented Timer Manager which holds the pool of interval 5737 timers used by the DHCP servers. 5738 (Trac #3970, git bc8503055338da36d07a2b67c64087f645c9a9e3) 5739 5740999. [func]* tmark 5741 The DHCPv4 server will now honor DHCPRELEASEs for leased addresses 5742 which cannot be matched to subnet. This allows leases to be 5743 released after configuration changes have eliminated their subnet. 5744 Prior to this the server would reject the release and emit a 5745 DHCP4_RELEASE_FAIL_NO_SUBNET log message. 5746 (Trac #2615, git eeebf9f68cf5be6a0f7eefc78832d664361c4990) 5747 5748998. [func] tomek 5749 'decline-probation-period' parameter has been added to DHCPv4 5750 and DHCPv6 configuration. It can be configured, but is not yet 5751 used, as the DECLINE message support is still pending implementation. 5752 (Trac #3983, git 6b10d119c89685476335f268181c9982f6fa6161) 5753 5754997. [build] jreed 5755 Removed obsolete Python coverage build options. 5756 (Trac #3483, git a08cbbecbd3b11d0b73f68a40986a353b22ed3be) 5757 5758996. [func] marcin 5759 Memfile lease database backend has been extended with new 5760 functions to obtain expired leases and to delete expired 5761 reclaimed leases. 5762 (Trac #3965, git dd5b95453528416f22e961e6ebb3051bc2ae788c) 5763 5764995. [build] fdupont 5765 Removed additional files left over from BIND 10 (headers, 5766 src/lib/{asiodns,testutils,asiolink}). 5767 (Trac #40{28,29,31}, git 78ff0fb0a97731a8b3c055b1cbb4faebcd115f7c) 5768 5769994. [func]* marcin 5770 DHCPv6 server fully supports RFC 7550. 5771 (Trac #3947, git c06ab97a4e068c4b4b11f4685c56dd402b2385dc) 5772 5773993. [bug] fdupont 5774 The logging spec file was searched in the build tree when it 5775 was in the source tree so distcheck (where they differ) failed. 5776 (Trac #4026, git 5eb213647d7ac0a707530d57af2c6dbd725ac1b3) 5777 5778992. [func] fdupont 5779 A 'flush' parameter has been added to logging configuration. It is 5780 now possible to disable automatic immediate flushing to achieve 5781 better logging performance. 5782 (Trac #3752, git 16c4c2b6d95c45864ec3e2b27e0d320e386b2c0b) 5783 5784991. [build] fdupont 5785 Removed partial function template ordering macros to allow Kea to 5786 build with Boost 1.59 and later. Also removed some 5787 compiler-dependent code. 5788 (Trac #4006, git e06934f211436eea37439128ff6f388709f01101) 5789 5790990. [bug] tomek 5791 Improved child process signal handling. Improved number of 5792 exception handling routines in DHCPv4 and DHCPv6. 5793 (Trac #4000, git bf5e48f2cf80b5263cc89f445795bc8c5b8f011d) 5794 5795Kea 0.9.2 released on July 28, 2015 5796 5797989. [bug] tmark 5798 Fixed a bug in both DHCPv4 and DHCPv6 servers that could cause 5799 them to crash during sever shutdown when DNS updates are enabled. 5800 (Trac #3997, git ce91bdd78f420f64324c573a952ec804bc25e0d8) 5801 5802988. [bug] fdupont 5803 keactrl no longer returns an error when the "status" command is 5804 issued and the Kea configuration file doesn't exist. 5805 (Trac #3785, git a27d72ef3cb7640a41dca26c8728a9cbd9ad1ca9) 5806 5807987. [bug] marcin 5808 Fixed textual representation of the options containing an array 5809 of 1 byte long unsigned numbers. 5810 (Trac #3959, git 9045fd9d6d282184cce10a622c0108abab029d5b) 5811 5812986. [bug] marcin 5813 Fixed the failing lease allocation from the large address and 5814 prefix pools. 5815 (Trac #3958, git c86b6a68725e2f57679598ff4890fc82f4482c20) 5816 5817985. [bug] marcin 5818 Eliminated extraneous debug-level DHCP6_RESPONSE_DATA entry from the 5819 DHCPv6 server log output. Prior to this the server was logging 5820 each response twice. 5821 (Trac #3949, git 023973cbce44e5fb92a2bc45e69f2786d5152091) 5822 5823984. [bug] tmark 5824 Replaced used of "kill -0" with "ps -p" in keactrl when 5825 checking of servers are alive. This makes it possible for 5826 non-root users to use keactrl to monitor server status. 5827 (Trac #3954, git f7f22b244343a3dc2d06645a47c2c65a5134326e) 5828 5829983. [bug] fdupont 5830 Enforce numeric month values in Posix date printing. 5831 (Trac #3944, git fdbe74b0235055057a37c6ce2b0aaf88f0cc7891) 5832 5833982. [bug] marcin 5834 Fixed the typo in the name of the D2 logger. 5835 (Trac #3951, git 92305b2a1774df1cf1bdfeb93d787fea0ab27f74) 5836 5837981. [bug] tmark 5838 keactrl now uses PID files to identify and control server instances. 5839 Prior to this it relied on the system command, "ps", which could lead 5840 to it misinterpreting which processes are or are not running. 5841 (Trac #3939, git 93a720ed7ffdffe66bd835cd64f78e4ad601637a) 5842 5843980. [doc] marcin 5844 Updated Developer's Guide. 5845 (Trac #3484, git 220c337c31a592311363eca981c7f1578abbe15d) 5846 5847979. [bug] fdupont 5848 Fixed two cases of public variables in a base class being 5849 hidden by variables in a derived class. 5850 (Trac #3920, git bd42a66fb67aab3fe397523c6fdbf14a939587c8) 5851 5852978. [func] tmark 5853 DHCPv4, DHCPv6, and DHCP_DDNS now all create PID files upon 5854 startup. The PID file pathname is formed from: 5855 <localstatedir>/<conf name>.<binary-name>.pid 5856 If a server's PID file exists and contains the PID of a 5857 live process, it will emit a log message and exit. 5858 (Trac #3769, git cdce632add025aaadbcdc89078f5bd3e19cfb5ca) 5859 5860977. [doc] tomek 5861 Frequently Asked Questions section added to the Kea User's Guide. 5862 (Trac #3873, #3847, git 95683c9d3c3dd7024269df1904b6cbe5817741a2) 5863 5864976. [build] tomek 5865 Included missing Doxygen documentation images in the tarball. 5866 (Trac #3928, git 2fb63a18897b93b12a5fc4635d4ac29e0bf82841) 5867 5868975. [doc] marcin 5869 Updated the list of standard DHCPv4 options in the User's Guide 5870 with the information of whether they are returned by the server 5871 even when they are not requested. 5872 (Trac #3578, git b361b28ce53729a5f2d59f79670a36cf1a4a0352) 5873 5874974. [bug]* marcin 5875 Corrected invalid format of the DHCPv4 option 5 (name-servers). 5876 The corrected format comprises a list of IPv4 addresses, 5877 rather than a single IPv4 address. 5878 (Trac #3887, git 54d1dbe6138e74c5efacfbaf85b77c87aea9ddf1) 5879 5880973. [doc] marcin 5881 Added new section to the User's Guide to describe the issues 5882 with unicast responses to the DHCPINFORM messages when ARP 5883 traffic is blocked. 5884 (Trac #3740, git 22bcb060ceca544dfa1779815321155668bf19dc) 5885 5886972. [doc] marcin 5887 Updated sections of User's Guide concerning creation of 5888 the option definitions and Vendor Specific Information 5889 options for both DHCPv4 and DHCPv6. 5890 (Trac #3846, git 6aebe0867ca9cf6fb09a289d80051125db7fa34b) 5891 5892971. [func] fdupont 5893 Changed all occurrences of unlink() to the more portable remove() 5894 to avoid problems on operating systems where the former is not 5895 available. 5896 (Trac #3841, git 3752529ed3d72137f6899ef8225a0b231db5b1f0) 5897 5898970. [bug] fdupont 5899 Refactored some code to suppress cppcheck warnings. 5900 (Trac #3919, git 26be6ac4cefde012ca8ef12607b6beaadca13eed) 5901 5902Kea 0.9.2-beta released on June 30, 2015 5903 5904969. [func] tomek 5905 KEA_SOCKET_TEST_DIR environment variable can be used to specify 5906 the directory for opening Unix sockets during tests. That may 5907 be used to avoid path length limitations when running unit-tests 5908 in deeply nested directories. 5909 (Trac #3918, git 9cfd502e8d4605eaf34f8744f90272dc3e8a3e34) 5910 5911968. [bug] marcin 5912 DHCPv6 server extends the lifetime of the client's lease 5913 in the database when the client sends the Request message. 5914 This prevents premature lease expiration before the client 5915 renews the lease, according to the timers and lifetimes 5916 returned by the server. 5917 (Trac #3913, git 1d64829a3f1a8288dc833ed388d9ffc9fe4cf491) 5918 5919967. [doc] tomek 5920 Management API section added in the DHCPv6 chapter of the Kea 5921 User's Guide 5922 (Trac #3917, git 21305d2da26090e3fad1ff9fb242a2bbb6b7e56b) 5923 5924966. [func] fdupont 5925 Include database software details in extended version information. 5926 (Trac #3882, git b0e166c4d8b0383ebd6e2f51d55eed68a2bcafa8) 5927 5928965. [func] sar 5929 Per IPv6 subnet statistics (subnet[id].assigned-nas, 5930 subnet[id].total-nas, subnet[id].assigned-pds, and 5931 subnet[id].total-pds) has been implemented. 5932 (Trac #3799, git 4aa4808268bbc54290578f60ba60ed33cf344712) 5933 5934964. [doc] tomek 5935 User's Guide and Developer's Guide updated with statistics and 5936 control channel description. 5937 (Trac #3800, git 7ce8ca560370ec5f9bd4d5199a177b441f08a47e) 5938 5939963. [func] tmark 5940 DHCPv6 server now supports a control channel, implemented over 5941 a UNIX socket. Currently supported commands are: statistic-get, 5942 statistic-reset, statistic-remove, statistic-get-all, 5943 statistic-reset-all, statistic-remove-all, and shutdown. 5944 (Trac #3797, git f49828612d9030c9f3441acaf4b3a9f60b492a3e) 5945 5946962. [func] fdupont 5947 Make the parsing of options and vendor options more consistent 5948 between v4 and v6. In addition make the parsing more robust 5949 against malformed packets. 5950 (Trac #3618, git f4066793c5e034386c689fd72d2a91a70ffb6d5f) 5951 5952961. [func] fdupont 5953 Improved error messages when handling invalid or malformed 5954 configuration file. File and line number are printed, when 5955 available. 5956 (Trac #3697, git 70fc36e164e988c251bdaaee7e27c5f6407e0f4c) 5957 5958960. [build] fdupont 5959 Get rid of the last bundy pieces of code. 5960 (Trac #3732, git 6b7da42f902fabb6855e54a19ea472c18ba82a93) 5961 5962959. [build] fdupont 5963 Removed no longer used logging in cc and config libraries. 5964 (Trac #3732, git 8d0324f4786900db953489ebaa9e018b1238543f) 5965 5966958. [func] tomek 5967 DHCPv4 server now supports control channel, implemented over UNIX 5968 socket. Currently supported commands are: statistic-get, 5969 statistic-reset, statistic-remove, statistic-get-all, 5970 statistic-reset-all, statistic-remove-all, shutdown. 5971 (Trac #3880, git 688658395518f0b97d5384af81ceab5206691ad5) 5972 5973957. [func] tomek 5974 Per IPv4 subnet statistics (subnet[id].assigned-addresses and 5975 subnet[id].total-addresses) has been implemented. 5976 (Trac #3798, git bab2030f56bbf390959f9f9238a8acc62d583c70) 5977 5978956. [func] marcin 5979 Improved log messages emitted by the allocation engine, 5980 which now uses a dedicated logger. 5981 (Trac #3852, git 923928774f4f59c887d768cf155b5978e838a6f2) 5982 5983955. [func] tmark 5984 Added unit tests to kea-admin for testing the lease-dump command 5985 with a PostgreSQL backend. Updated PostgreSQL database installation 5986 instructions in Kea Administrator's guide to include use of kea-admin 5987 tool. 5988 (Trac #3884, git 0772b7df2a89e1019141be1d0ddec30d53c4b919) 5989 5990954. [func] fdupont 5991 Enhance the versioning information printed by the executables and 5992 make it more consistent across all of the executables. "-v" is for 5993 basic Kea version information, "-V" provides more detailed 5994 versioning and versions for external dynamic libraries, finally 5995 "-W" provides the configure report from the configuration step 5996 during the build of Kea. 5997 (Trac #3513, git 584cf666e101c6cb5c9af76175ddd867ece85764) 5998 (Trac #3859, git 384e6c6225de18fc97d606e4a1972baeef598ba4) 5999 6000953. [bug] fdupont 6001 Corrected the setting of string characters to values above 127 6002 in HMAC tests. 6003 (Trac #3829, git 54f4ec64e513fea1547631122dc1af8579fae3db) 6004 6005952. [bug] fdupont 6006 Made some loop indexes an unsigned type to avoid compiler warnings 6007 where the termination condition is comparison with an unsigned 6008 value. 6009 (Trac #3833, git 3db9f1d78f59856b982a1ff84c3b5a1ba7ea39df) 6010 6011951. [build] fdupont 6012 Removed BUNDY configuration backend. 6013 (Trac #3732, git 96364cbbb15318c8f55d5b287cda0990d3eaae32) 6014 6015950. [doc] marcin 6016 Updated section about logging in the User Guide. Also, 6017 updated Hooks Developer's Guide with the recommendations for 6018 the developers about use of logging in hooks libraries. 6019 (Trac #3805, git b403de1f335a2fb5098c9abc0858b8137892f868) 6020 6021949. [func] tmark 6022 kea-admin now supports dumping MySQL and PostgreSQL lease tables 6023 to CSV file, via a new command "lease-dump". This is primarily 6024 intended for use as a diagnostic tool. 6025 (Trac #3802, git 6ec774e8523e7f8415d6cd18c34062489e127847) 6026 6027948. [bug] fdupont 6028 libdhcpsrv: check if new host reservation tries to use an already 6029 reserved address. 6030 (Trac #3652, git 4f10b78341b197bd321fbf2ec71db7420e40718d) 6031 6032947. [func] marcin 6033 DHCPv6 server now supports Rapid Commit option. 6034 (Trac #3070, git a6b6156aaa95ab74c69a537e90483f82e9fbe4a2) 6035 6036946. [doc] tmark 6037 Added documentation for kea-admin "lease-dump" command to the 6038 Kea Administrator's Guide and kea-admin man page. 6039 (Trac #3803, git 54b59b7ef02f6428405794066ea779e9bd4c0b6e) 6040 6041945. [func] marcin 6042 Improved log messages emitted by the DHCPv6 server. Also, 6043 the server is now using multiple distinct loggers for logging 6044 messages pertaining to different functional parts of the 6045 code, e.g. packet transmission, lease allocation, DDNS etc. 6046 (Trac #3807, git c95ebdaf39c3d8d78d83d53db15824c60078f566) 6047 6048944. [func] tmark 6049 kea-admin commands lease-init, lease-version, and lease-upgrade 6050 now support PostgreSQL. Note that at this time the PostgreSQL 6051 backend only supports Kea schema version 1.0, so there are no 6052 upgrades available. 6053 (Trac #3883, git 990a0d72fa247e4a12e2608994204c48274e4cd6) 6054 6055943. [func] sar 6056 Split the DHCP-DDNS logging messages amongst several loggers to 6057 allow the administrator finer control over debugging messages. 6058 Messages pertaining to the name change requests processing include 6059 an ID, currently the DHCID, to identify the transactions. 6060 (Trac #3808, git 4fbe08234049de6ef67bb5cdb244d180a7a4c3a9) 6061 6062942. [func] tomek 6063 18 new statistics added in DHCPv4 server: generic packet counters, 6064 per packet type counters, parsing failure and packet drops. 6065 (Trac #3794, git a61f40c44910a09699a9a566a5ec35ab758564ba) 6066 6067941. [bug] marcin 6068 Configuration parser for host reservations returns an error 6069 when an unsupported parameter is specified. 6070 (Trac 3810, git 54ee0f6328a303c366dd8239e768dfc4a23a5d9b) 6071 6072940. [bug] fdupont 6073 DHCPv4 server drops DHCPRELEASE messages sent from a bad 6074 location (i.e., no subnet can be selected) 6075 (Trac 3504, git f0f13ac74779f76ed7af91bd5dab3d11ba00be79) 6076 6077939. [bug] fdupont 6078 Small fix in HooksDhcpv4SrvTest.subnet4SelectSimple unit-test. 6079 (Trac 3881, git a21afdffec41fceb61e6760d4108d670b2eabe75) 6080 6081938. [build] fdupont 6082 Removed Python from the log library (code, message compiler and 6083 documentation) 6084 (Trac #3734, git d24b7c9716c6eb7a3e9dd2cb3fd2d1bfe4e1201f) 6085 6086937. [bug] fdupont 6087 The log ID LOG_UNRECOGNISED_DIRECTIVE was changed to 6088 LOG_UNRECOGNIZED_DIRECTIVE to follow US English spelling. 6089 (Trac #3762, git 235e3304746352e9341008225f9f2392586a9f66) 6090 6091936. [bug] fdupont 6092 Added an ASSERT to avoid a crash in HooksDhcpv4SrvTest 6093 subnet4SelectSimple unit test. Fixed out of bounds vector accesses 6094 in perfdhcp (which should not be able to handle links 6095 with long (i.e., more than 6 bytes) link-layer addresses). 6096 (Trac #3868, git c20f47e19d6060605c0611754db7b66b08553caa) 6097 6098935. [bug] fdupont 6099 Fixed 3 out of bounds accesses on vectors in DHCP++ code. 6100 (Trac #3854, git de263ad0008f3494a85592f78db1ec662b68e689) 6101 6102934. [bug] fdupont 6103 Renamed the DHCP-DDNS constant INVALID_SOCKET to SOCKET_NOT_VALID 6104 to avoid conflicting with a constant of that name defined on some 6105 operating systems. 6106 (Trac #3861, git 28205225ceed03ff3126e43cd06cedbaa7d8d657) 6107 6108933. [func]* marcin 6109 DHCPv4 server by default identifies a client using the 6110 client-identifier, if present. The new configuration 6111 parameter 'match-client-id' allows for disabling this 6112 behavior, i.e. 'chaddr' field is used to identify the 6113 client instead. 6114 (Trac #3747, git b9dc6ffd0f3396e9da8e0c83fd82164b8b8af011) 6115 6116932. [func] kalmus 6117 MySQL schema has been extended with tables that can store 6118 host reservation. This ticket updates database schema only, 6119 the tables are not in use yet. 6120 (Trac #3567, git d2cd5d53b3f31422a342c9bb8946dad9ed1ea032) 6121 6122931. [func] marcin 6123 Improved log messages emitted by the DHCPv4 server. Also, 6124 the server is now using multiple distinct loggers for logging 6125 messages pertaining to different functional parts of the 6126 code, e.g. packet transmission, lease allocation, DDNS etc. 6127 For complete list of logger names see User Guide. 6128 (Trac #3806, git 7b148c2dd5e2696a541883223ce1efd2de81f143) 6129 6130930. [func] tomek 6131 Statistics Manager is now implemented. There is a new library 6132 libkea-stats that governs statistics collection. Its usage will 6133 be added in the upcoming tickets. 6134 (Trac #3793, git 68e9554ecabfc2a79731eeec1c706522e4d39332) 6135 6136929. [build] fdupont 6137 Corrected problem in build system whereby specifying an 6138 installation directory on the "configure" command line that 6139 included a "+" in the name caused the build to fail. 6140 (Trac #3713, git 741ff09b743307bad28ae13db440e5e0f402d319) 6141 6142928. [build] fdupont 6143 A CONFIG_H_WAS_INCLUDED define has been added to provide 6144 a way in source files to check whether config.h has been included. 6145 (Trac #3812, git cbb135d5f217b0692dcdbc9cfcc04f6a0dbc3922) 6146 6147927. [bug] tmark 6148 DHCPv4 no longer attempts to update the lease database with the 6149 generated FQDN when processing DHCPDISCOVERs. 6150 (Trac #3779, git 0b413ee8aba1afa1643b216a1e8c35103c6c975b) 6151 6152926. [bug] marcin 6153 Fixed the crash during the logging deinitialization. 6154 (Trac #3823, git 435b958860ec7b921645bd5923fff96ea4341f19) 6155 6156925. [func] marcin 6157 libkea-hooks logs when the callouts execution begins or ends 6158 for the particular hook. It also logs the execution time of 6159 individual callouts and the total time for all callouts. 6160 (Trac #3804 git dd1432d7807e7d3b54c87dd4b3155d3110619fbd) 6161 6162924. [bug] marcin 6163 Removed shell warning about the "missing format character" 6164 in the keactrl usage. 6165 (Trac #3784, git aa683395a4cd75af5340eb8603fe46b7b0dd8f4e) 6166 6167923. [func] tmark 6168 The DHCPv4 server now logs packets it has either dropped as invalid 6169 or to which it has replied with a NAK to a separate logger, 6170 "kea_dhcp4.bad_packet". 6171 (Trac #3743, git cb91ca851099423e1b6c39cca3f3e2ba29795a51) 6172 6173922. [build] fdupont 6174 The config.h file should never be included by another include file. 6175 Copy missing header files to the install directory. 6176 (Trac #3782, git ea6e9d166faa54b1f9781bc56d7d8fee6c87b1f9) 6177 6178921. [func] marcin 6179 libdhcpsrv: Added log traces to the host manager. 6180 (Trac #3699, git 75b75c89db88eb1a81e76f5550f2a5b3155ce42d) 6181 6182920. [bug] marcin 6183 Corrected issues with logging initialization in hooks 6184 libraries. The dynamically loaded hooks libraries may now 6185 define their own loggers which are configurable using Kea 6186 configuration file. 6187 (Trac #3198, git 8216a6b1a2ed6e2b38919280809ee21fc4107fd6) 6188 6189Kea 0.9.1 released on March 31, 2015 6190 6191919. [doc] stephen 6192 Corrected some configuration examples in the documentation. 6193 (Trac #3772, git e9f084525bc1eec1cca635c00f33228bf7fac6a4) 6194 6195918. [func] tomek,tmark 6196 DHCPv6 server now supports static reservations of hostnames 6197 for clients. Note this resolves #3708 by reducing the number 6198 of calls to selectSubnet to once per client request. 6199 (Trac #3689, git c13c824d9948f7e3f71a65ed43798f3b5c14042c) 6200 6201917. [bug] marcin 6202 DHCPv4 server may allocate lease for the client which is 6203 using a non-unique identifier (HW address or client id), 6204 if the other identifier is unique. 6205 (Trac #3768, git 0f7a029e2a2a7652d49a0bcd9f49e879fac9136f) 6206 6207916. [func] sar 6208 Add a log message that indicates when the v4, v6 or 6209 DHCP-DDNS server has completed processing its 6210 configuration and is about to enter the loop to process 6211 messages. 6212 (Trac #3755, git c71c7836804842bae51fe79fd599c57f5b3d007d) 6213 6214915. [func] tomek, marcin 6215 The DHCPv6 server now supports the Relay-Supplied Options 6216 option, as defined in RFC 6422. The relay can insert options 6217 in the relay forward message that the server will send back 6218 to the client if certain criteria are met. 6219 (Trac #3705, git 4772ee589712f5359ecbd79ebf71fbc7bb68741b) 6220 6221914. [bug] marcin 6222 DHCPv4 server: corrected the logging message issued when 6223 the server could not allocate or offer the lease for the 6224 client. The corrected message contains the client-id, 6225 hardware address, ciaddr and requested-ip-address. 6226 (Trac #3737, git 4c56e1348c5d50eaa5b3083a0a8c346966e1b603) 6227 6228913. [bug] sar 6229 Handle recovery properly should the LFC crash while 6230 manipulating files after completing processing. 6231 (Trac #3759, git bb3b4d14119392261a1766da2b406fa46d4c0f21) 6232 6233912. [doc] sar 6234 Added sections on LFC to the administrators and developers 6235 guides. 6236 (Trac #3720, git 828b801e6a4616de331588076ab9c4c35677595) 6237 6238911. [func]* marcin 6239 libdhcp++: the C++ objects representing network interfaces 6240 (Iface objects) are now non-copyable. As a result, the API 6241 of the Interface Manager functions returning the pointers 6242 to the Iface objects has changed. 6243 (Trac #3715, git 7415c74e38e13385a75e7200cb23b7d6ca86df7f) 6244 6245910. [func] marcin 6246 DHCPv4 server supports static reservations of the hostnames 6247 for the clients. 6248 (Trac #3688, git b5c50e2aff64da05b439da8d5fa4913fc8a704ca) 6249 6250909. [bug] marcin 6251 Removed many cppcheck errors in the code. Also removed the 6252 dhcp-ubench test tool. 6253 (Trac #3736, git 552aea126e968b78292ae80c1c6a03c9ef4dcdcd) 6254 6255908. [bug] marcin 6256 Handle overflows during time conversions in the MySQL and 6257 PostgreSQL lease database backends. 6258 (Trac #3673, git 27b4e4590fdee507f0e877d7b771dc6c6457a4b5) 6259 6260907. [doc] tmark 6261 Corrected depictions of kea-admin command line options for 6262 database-name in Kea Administrator Reference. Prior to this 6263 the document showed "-d" as the database name option, when 6264 in fact it is "-n". 6265 (Trac #3742, git ec427e4c9d008abc800f87eda3c0024b35e4c2e2) 6266 6267906. [doc] tmark 6268 Added description of a restriction on extracting a MAC 6269 address from an IPv6 link-local address to the Kea 6270 Administrator Reference, section 8.8, item "ipv6-link-local". 6271 (Trac #3691, git ca9f5541cb36f815ac614c5c21088d545eafcac6) 6272 6273905. [func] marcin 6274 DHCPv4 server assigns an address from the dynamic address 6275 pool if the reserved address is in use by another client. 6276 (Trac #3694, git 95b09ff53b941691cba172c933de0682b05a0d85) 6277 6278904. [bug] marcin 6279 FreeBSD-only change: Disabled unit test expecting the death 6280 of the process when conditional variable was destroyed when 6281 the thread was still waiting for the variable. This is due 6282 invalid behavior of the pthread_cond_destroy on FreeBSD 6283 which should return EBUSY in such case, whereas it returns 6284 success error code. 6285 (Trac #3710, git bdb442402ef023055715baf597c401c9974a7fb2) 6286 6287903. [bug] stephen 6288 Corrected arithmetical error in the rate control module of 6289 perfdhcp which led to the incorrect calculation of the rate 6290 at which packets should be sent. 6291 (Trac #3729, git bb5bca3d9b68abc4b83abdd204bfb075dda630ac) 6292 6293902. [bug] marcin 6294 Fixed the bug in the DHCPv4 server whereby the server 6295 reconfiguration (using the SIGHUP signal) failed because 6296 of sockets remaining open since the previous configuration. 6297 (Trac #3730, git 3ceb0cd97cf5e44e8fc151d0a38db553530dd3ed) 6298 6299Kea 0.9.1beta released on February 18, 2015 6300 6301901. [bug] tomek 6302 Previously, the DHCPv4 and DHCPv6 servers gave up after 6303 100 failed lease selection attempts. Now both DHCPv4 and 6304 DHCPv6 servers calculate the number of attempts required 6305 to find a lease using the pool capacity. 6306 (Trac #3711, git cb5533a1bf1023faf61c1b8ade6ac8fa425f46c2) 6307 6308900. [doc] marcin 6309 Documented configuration of the Lease File Cleanup (LFC) in 6310 the Kea Administrator Reference. 6311 (Trac #3672, git da3c676f009785204f9d84ca008890959bffcc18) 6312 6313899. [func] tomek 6314 reservation-mode parameter has been added to DHCPv6 server. 6315 It controls what host reservation types are allowed and may 6316 improve performance in certain situations. It is also 6317 accepted in the DHCPv4 configuration, but currently not 6318 used. 6319 (Trac #3565, git cfbe13ad05aac23e09357fc78507cf9a82c908e6) 6320 6321898. [func] marcin 6322 The DHCPv4 server configuration allows for opening multiple 6323 sockets on a single interface with multiple IPv4 addresses 6324 assigned. This facilitates the use case when different relay 6325 agents send messages to different addresses on the interface. 6326 (Trac #3695, git 3116243706a2dbcae3f9b5b3af9d2241a07b9ab2) 6327 6328897. [bug] fdupont 6329 Removed a double free of the read_buffer_ field of Iface 6330 objects after (spurious) copy (partial as copies are not 6331 yet fixed). 6332 (Trac #3712, git 0b38ff6a6e77eb4182bfd7c0c681bef22ad5f634) 6333 6334896. [bug] fdupont 6335 Removed exit() in D2 for version command line processing. 6336 This interfered with how the unit-tests were run. 6337 (Trac #3616, git 758a61e277675e89d857a22c3f8e844de307dca6) 6338 6339895. [doc] tomek 6340 Host reservation for DHCPv4 and DHCPv6 is now documented. 6341 (Trac #3575, git a981e42eb0f39d27795364a6862b3a5e574e540a) 6342 6343894. [bug] fdupont 6344 Accept empty options or sub options in DHCPv4 messages unpacking 6345 routines. 6346 (Trac #3661, git 42a4854208ec16834c590a9316b9a5306c60a3bb) 6347 6348893. [func,bug] fdupont 6349 Changed the qualifying-suffix parameter in the dhcp-ddns 6350 configuration element to be mandatory with no default value when 6351 updates are enabled (i.e., the enable-updates mandatory parameter 6352 is true). 6353 (Trac #3632, git 12808651448837c611e4f6a262f7a1eb3deaf8da) 6354 6355892. [func] sar 6356 A class, LeaseFileStats, has been added to provide simple 6357 statistics for use with lease files. Also added logging 6358 to the kea-lfc process per the design. 6359 See http://kea.isc.org/wiki/LFCDesign for the design. 6360 (Trac #3667, git 7f36e034fe79d85f317d7d07e2fe636d6cdf1f6e) 6361 6362891. [func] tomek 6363 libdhcpsrv: Allocation Engine now uses statically assigned 6364 addresses when processing DHCPv6 renewals. 6365 (Trac #3677, git 9ce50790c91624937ff2b622e4afff36d5d3cc2d) 6366 6367890. [func] marcin 6368 It is now possible to specify whether the DHCPv4 server 6369 should use raw sockets or IP/UDP datagram sockets to 6370 receive and send DHCP messages. The configuration format 6371 has been changed for the selection of interfaces on which 6372 the DHCPv4 and DHCPv6 servers should listen. The 6373 configuration files using an old format are incompatible 6374 with the latest version of Kea. 6375 (Trac #3604, git c726bbc4eae0f576f6791c7490bfba8c30a401d9) 6376 6377889. [bug] marcin 6378 Resolved a bug in the DHCPv4 allocation engine whereby the 6379 client could request and obtain an address reserved for 6380 another client. 6381 (Trac #3690, git 1afa4e24b0fcdd6d3a2e596663ce1102ffe2340d) 6382 6383888. [func] marcin 6384 DHCPv4 and DHCPv6 servers launch the kea-lfc program, according 6385 to the value of lfc-interval configuration parameter for the 6386 Memfile lease database backend. 6387 (Trac #3669, git c92665ce05d71e9e5cad9a0679018e9e3f7e3be5) 6388 6389887. [func] sar 6390 A new process, kea-lfc, has been added. It is meant to 6391 be periodically executed by the DHCPv4 and DHCPv6 servers 6392 to remove redundant information from the lease files. 6393 See http://kea.isc.org/wiki/LFCDesign for the design. 6394 (Trac #3664, git cc85938b35e2d4bd00ccb74f1b83d3017ab0e41b) 6395 (Trac #3665, git b1707981f48b13895b50bf27176dede866576292) 6396 (Trac #3687, git 1e92382aaa2fbff08bbf1d6bbf0add195a7b6fae) 6397 6398886. [func] tomek 6399 libdhcpsrv: Allocation Engine now uses statically assigned 6400 addresses when it allocates leases for the DHCPv6 clients. 6401 (Trac #3563, git b86b24fd011c0617515d62b7091d56fdfd1a7360) 6402 6403885. [func] tomek 6404 Information-Request (stateless mode) in DHCPv6 is now supported. 6405 (Trac #2949, git 3185d229c39ed4660e9bc98a7f4a9d0dfbe64a04) 6406 6407884. [func] marcin 6408 The DHCPv6 server configuration now allows for defining a pool 6409 for prefix delegation in which prefixes do not match a 6410 subnet prefix. 6411 (Trac #3647, git 5455d96cbf773e678bd6b1c3e31bfdeb617e6c13) 6412 6413883. [bug] marcin 6414 libdhcpsrv: Prevent infinite loops in the allocation engine, 6415 when the address pool becomes exhausted. 6416 (Trac #3692, git f1e464558c89a6dc88ab28a25dd14a65fee62578) 6417 6418882. [func] sar 6419 A utility class has been added which handles writing and 6420 deleting pid files as well as checking if the process with 6421 the given pid is running. 6422 (Trac #3687, git 1e92382aaa2fbff08bbf1d6bbf0add195a7b6fae) 6423 6424881. [func] kalmus 6425 Extracting hardware/MAC address from the DHCPv6 remote-id 6426 option is now implemented. 6427 (Trac #3552, git 6db5fc158133b3f308c43f1fe2fa54a6f89baae1) 6428 6429880. [doc] tomek 6430 kea-admin is now described in Kea User's Guide. 6431 (Trac #3644, git fa83c48826e41663d93e56ec7fd6983e9b0b2cd1) 6432 6433879. [bug] fdupont 6434 Drop DHCPREQUEST message from an unknown client in the 6435 INIT-REBOOT state. 6436 (Trac #3656, git 8e205adc35d8e72d1802d5ee9056e6c4ac78274a) 6437 6438878. [func] marcin 6439 DHCPv4 and DHCPv6 server now support the lfc-interval 6440 parameter which configures the interval in which the 6441 Memfile lease database backend executes the Lease File 6442 Cleanup (LFC). Note: the LFC is currently no-op and will 6443 be implemented shortly. 6444 (Trac #3668, git 2ce54eeb607d2caa0901125b5d86a373e9e3f165) 6445 6446877. [func] marcin 6447 DHCPv4 server drops unicast packets sent to the IPv4 address 6448 on which the server is not configured to listen. 6449 (Trac #3547, git 803f1f0f145b0f252ffc3637f758a47e0061de85) 6450 6451876. [func] tomek 6452 Two new MAC acquisition methods implemented for DHCPv6: 6453 docsis-modem (which extracts MAC address from an option inserted 6454 by a cable modem) and docsis-ctms (which extracts MAC address from 6455 an option inserted by CMTS which acts as a DHCPv6 relay agent). 6456 (Trac #3553, git ad0a3772774bc5f9831a5ba16725a5a22887b8cb) 6457 6458875. [bug] afidalgo, marcin 6459 The DHCPv4 server no longer appends the trailing dot to the 6460 hostnames sent to the clients in the Hostname option (12). 6461 Appending trailing dot confused some DHCPv4 clients. 6462 Credits to Alexis Fidalgo for submitting a patch. 6463 (Trac #3636, git 450867e6987f4c786ad6c2cc95cabcff601c1b48) 6464 6465874. [func] marcin 6466 Changes to the Memfile lease database backend to load 6467 leases from multiple files during startup or server 6468 reconfiguration. This change is required by the Lease File 6469 Cleanup feature, which leads to the creation of additional 6470 files holding cleaned up lease information. 6471 (Trac #3671, git 667de2ef9044e97c76b15cacc7285132cdffdfcf) 6472 6473873. [bug] wlodek 6474 Removed references to non-existing pgsql_test.sh script 6475 from Makefile. 6476 (Trac #3662, git ab69f38dd82cf3c3736588e03c1dc568de3ae6d6) 6477 6478872. [func] wlodek 6479 Check for required header file errcode.h for PostgreSQL 6480 backend added to configure process. 6481 (Trac #3663, git d666dd9263ba1aaf88bec5b8e5ae3f0cb8e5c1db) 6482 6483871. [func] kalmus, tomek 6484 DHCPv6 is now able to extract MAC from DUID-LLT and DUID-LL. 6485 (Trac #3548, git f6d9630e2762a0f256a2b7825d74d2bce8fe4c60) 6486 6487870. [func] fdupont 6488 Cleanup the cryptolink API (e.g., removing spurious 'magic' 6489 zero length parameters). 6490 (Trac #3606, git 55d2df9d78321b3844217055e376ae44ac962d8f) 6491 6492869. [func] tomek 6493 'mac-sources' configuration parameter added. The DHCPv6 server 6494 can now be configured to use various MAC/Hardware address 6495 sources. 6496 (Trac #3554, git 2e7c32e7c19372f0c97968ef7c8256509d80fdfc) 6497 6498868. [func] marcin 6499 DHCPv4 server configuration allows for selection of the 6500 address on the interface that server should listen on. 6501 This is specifically useful in the environments with 6502 multiple IPv4 addresses assigned to one interface. 6503 (Trac #3539, git ff71887c605eedc3914bacfd2e551da7bddcc0d6) 6504 6505867. [func] marcin 6506 libdhcpsrv: Allocation Engine uses statically assigned 6507 addresses when it allocates or renews leases for the 6508 DHCPv4 clients. 6509 (Trac #3564, git 7b192fe314c12e38622742b3b338e997934f862f) 6510 6511866. [doc] stephen 6512 Corrected documentation concerning the way to configure hooks 6513 libraries. 6514 (Trac #3635, git 42d1c98a2e66ab7fc3e372365edad1f5709df885) 6515 6516865. [func] marcin 6517 Host reservations can be specified in the DHCPv4 and DHCPv6 6518 servers configuration. The reservations are loaded, but they 6519 are currently unused. 6520 (Trac #3562, git 1ba5ec3b7831ef8126be17b9542d9b89a419e7dd) 6521 (Trac #3628, git 00b49298ec5e5e5c722e5938547c86c954fc76e1) 6522 6523864. [func] tomek 6524 MySQL backend is now able to store information about hardware 6525 addresses and associated information in DHCPv6. 6526 (Trac #3556, git 08a29d8d2374bc3c6b3799d5dd97f586ee869392) 6527 6528863. [func] tomek 6529 A new tool called kea-admin added. It allows database maintenance. 6530 Initialization of a new database, version check and upgrade between 6531 version is now supported. Currently the only backend supported is 6532 mysql, but support for memfile and pgsql is planned. 6533 (Trac #3599, git cf22f8d212f2435957f89b51722f8e26e14635f2) 6534 6535862. [func] dgutier, tomek 6536 Support for client link-layer address option (RFC6939) has 6537 been added. 6538 (Trac #3551, git dabdf965d92085f86d5e96c8dadce0f0a8f7c8e3) 6539 6540861. [func] marcin 6541 The configuration parameters for a DHCPv4 and DHCPv6 options are now 6542 optional. 6543 (Trac #3467, git 7bf8cef161e6dd00a7f2b2fe8ec04e1958d6db3f) 6544 6545860. [bug] marcin 6546 Fixed calculation of the Client FQDN option length for the ASCII 6547 domain name encoding. 6548 (Trac #3624, git 5a120d9bf85e27ea5b2674d35af0f2774e4cd2a7) 6549 6550859. [func] marcin 6551 Implemented Host Manager, which can retrieve host reservations 6552 specified in the server's configuration. Future tickets will 6553 extend Host Manager to retrieve reservations from other sources, 6554 e.g. SQL databases. 6555 (Trac #3561, git faac5e9746dbf82eb04ffef95658e4b4c7d64a4a) 6556 6557858. [bug] marcin 6558 Added missing "lease-database" entry to the default DHCPv6 6559 server configuration, in kea.conf. 6560 (Trac #3630, git 0f7ff732ea2add45a24e040eae8a0dda27532a31) 6561 6562857. [func] fdupont 6563 Improve the cryptolink code, for instance use a constant 6564 time comparison. 6565 (Trac #3602, git 0c1f433da650330b40fe1a67bae4716c9184f636) 6566 6567856. [build] marcinw 6568 callout_manager.h and server_hooks.h headers are now exported, 6569 so statically linked libraries can be tested. 6570 (Github #4, git 00b5f3fa0369c13021bf4fb78c6450e524e4e411) 6571 6572855. [build] fdupont 6573 Use convenience archives for objects used in a makefile and 6574 its parent makefile: before sources were compiled twice using 6575 the broken subdir-objects option of automake, now objects 6576 are put into a convenience static library (so an archive). 6577 (Trac #3631, git d7954b4234114d8fa41aa51f671d4faa1724b748) 6578 6579854. [bug] marcin 6580 Corrected a regression on "make distcheck" which appeared after 6581 implementation of #3162 (partial fix). 6582 (Trac #3629, git 9bb6b76a24e4356b30e59631e76e32c3096fb515) 6583 6584853. [func] tomek 6585 Lease6 now is able to store MAC/hardware address information. Memfile 6586 memfile backend has been updated to store/retrieve that additional 6587 piece of information. Server now tries to use available methods to 6588 obtain MAC/hardware address from incoming packet. 6589 (Trac #3555, git ab76a9e7a9d39cb3cf533729473b63a2d2401ac7) 6590 6591852. [func] tomek 6592 Pkt6 class is now able to generate client's MAC from source IPv6 6593 link-local address if EUI-64 identifier was used. 6594 (Trac #3549, git d92e76860e6931477b3e60e5be8978302973f88f) 6595 6596851. [bug] tmark 6597 Corrected a segmentation fault that was occurring under OS-X 6598 during D2 module shutdown. 6599 (Trac #3470, git f7822568abd04c12faa3cde34fadaac238a373d3) 6600 6601850. [build] fdupont 6602 Moved optional gtest sources to ext/gtest. 6603 (Trac #3162, git 055512758f5c79f29eb375126d496483c9a6d0a1) 6604 6605849. [bug] tomek 6606 DHCPv6 component now processes incoming vendor-class options 6607 properly (packets are classified as VENDOR_CLASS_[content of the 6608 vendor-class option]). 6609 (Trac #3486, git 62409cd9531b081943b8f3567f7b0dca36b18802) 6610 6611848. [func] fdupont 6612 Added truncated HMAC support to TSIG, as per RFC 4635. 6613 (Trac #3593, git ae3a9cd1a0d2dc07b7092368149381d69bc2c61a) 6614 6615847. [build] fdupont 6616 Removed no longer used configuration option --with-shared-memory 6617 and associated files and variables. 6618 (Trac #3614, git adee8c93f7c7c1303390dd63dbeae74a48a34845) 6619 6620846. [bug] fdupont 6621 Fixed subdir-objects warnings from recent versions of autotools, 6622 e.g., on Apple OSX. 6623 (Trac #3162, git e25c7477f3c35cdaa0f038732f697224bfd44847) 6624 6625845. [func] marcin 6626 Implemented Host class for storing information about IPv4 and IPv6 6627 reservations for the host. 6628 (Trac #3560, git fb5e1883b01ce6388d1b7a92c61061b493c36713) 6629 6630844. [bug] tmark, marcin 6631 Fixed multiple issues in the DHCP-DDNS unit tests. 6632 (Trac #3615, git fec824d36121b12e98dd407a0bdf1bc71c8de18d) 6633 6634843. [bug] marcin 6635 DHCPv4 server sets ciaddr to 0 in DHCPOFFER and DHCPNAK messages to 6636 adhere to section 4.3.1 of RFC2131. 6637 (Trac #3367, git 9f05a29caa960df2b09b7a8c23100da8b40e73d0) 6638 6639842. [func] marcin 6640 DHCPv4 server logs when the packet sent by the client contains 6641 invalid combination of giaddr/hops before discarding the packet. 6642 (Trac #3537, git 760c652b54dcdfdfbd1a0014da43d3c31e848f02) 6643 6644841. [func] tomek 6645 Pkt4 and Pkt6 class have a common base now. A lot code duplication 6646 removed. Added getMAC() method that will be used to extract MAC 6647 in DHCPv6. 6648 (Trac #3546, git 6e68af7dfe15e4d461bf068f545d2bdaaa8fcfb0) 6649 6650840. [func] nicolas 6651 PktFilterInet::send method now sets source IPv4 address 6652 explicitly. This enabled perfdhcp to control its source address 6653 on systems that have more than one address assigned to a given 6654 interface. Thanks to Nicolas Chaigneau from Capgemini for 6655 providing this fix. 6656 (Github #2, git 6ac36ed7a1d97bcf52ffb2aec7cbf116e58e5803) 6657 6658839. [doc] adam 6659 DHCPv4 examples corrected in Kea ARM. Thanks to Adam Osuchowski 6660 from Silesian University of Technology for providing this fix. 6661 (Github #1, git 15785c0e28190659b037cfcca19f0267ccd9049f) 6662 6663838. [bug] tomek 6664 Kea components now use the KEA_LOCKFILE_DIR environment variable 6665 to specify the directory of the logging lockfile. Locking can be 6666 disabled completely by setting the variable to 'none'. 6667 (Trac #3591, git d4556e1d21766b94f2f0cda59df15e47e6f2676e) 6668 6669837. [bug,doc] tomek 6670 Logging configuration examples in kea.conf fixed. Also updated 6671 Kea documentation for logging. 6672 (Trac #3536, git 2cf3f6b9cb3d2ae6fc7b0940b55490f109ddd2f9) 6673 6674836. [bug] fdupont 6675 Moved duplicated getXXXHashAlgorithm() function to new 6676 xxx_common.h include files in the cryptolink library. 6677 (Trac #3471, git 8cf2ee46b3d7398f4f716435be3d9b19bf3599f5) 6678 6679835. [build] fdupont 6680 The configure script checks if OpenSSL supports SHA-2, in order 6681 to avoid very old (and likely subject to unfixed security bugs) 6682 OpenSSL versions. 6683 (Trac #3482, git c779a0ef23d2092cf896276dab1fbcb190380374) 6684 6685834. [bug] marcin 6686 Corrected the definition of the example DHCPv4 and DHCPv6 address 6687 pools in the default kea.conf file. 6688 (Trac #3538, git 8712cc0df77368940d8d3d11811a9ac9504bce12) 6689 6690833. [func] marcin 6691 Configuration Manager supports two stage configuration. In the 6692 first stage a temporary configuration is created and in the 6693 second stage this configuration is committed. If configuration 6694 fails at the first stage, the temporary configuration is rolled 6695 back and the server continues to use the old configuration. 6696 (Trac #3534, git 4ecee3c0c97fe417b050317356f9093ba3771a15) 6697 6698Kea 0.9 released on August 29, 2014 6699 6700832. [bug] jiri 6701 Compilation fix for PostgreSQL on i686. Thanks to Jiri Popelka 6702 from RedHat for providing a patch! 6703 (Trac #3532, git 96a06654f2177444dcea3a0e9f6fa06947855497) 6704 6705831. [func] marcin 6706 DHCP servers check if the interfaces specified in the configuration, 6707 to be used to receive DHCP messages, are present in the system. 6708 If the interface doesn't exist, an error is reported. In addition, 6709 the SO_REUSEPORT flag is set for IPv6 sockets as multiple multicast 6710 sockets can be bound to the DHCPv6 server port. 6711 (Trac #3512, git 5cbbab2d01c6e1bf6d563ba64d80bc6bc857f73d) 6712 6713830. [build] jreed 6714 The configure script no longer requires pkg-config. 6715 (Trac #3511, git 99a5a2db8c011b358873d485ac48f7c78ac6374c) 6716 6717829. [build] wlodek 6718 Lettuce DNS tests removed with all related python code, 6719 most of them will be used in Forge project which can be found 6720 http://kea.isc.org/wiki/IscForge 6721 (Trac #3420, git e51bcbeedbc169050751c1b896726965243667be) 6722 6723828. [bug] marcin 6724 Corrected the IfaceMgrTest.detectIface unit test that failed on 6725 Linux systems with virtual interfaces present. 6726 (Trac #3527, git 7aa01a6965b6e9fc39ff005803cada7f58f2e628) 6727 6728827. [build] jiri, tomek 6729 Deprecated AC_PROG_LIBTOOL macro replaced by LT_INIT. Thanks to 6730 Jiri Popelka from RedHat for providing a patch! 6731 (Trac #3525, git 6c0aacf29fae1d0501ca69ff6324df8d4fc8c7ee) 6732 6733826. [bug] jiri, tomek 6734 Compilation fix for Red Hat running on armv7. Thanks to Jiri 6735 Popelka from RedHat for providing a patch! 6736 (Trac #3526, git eac5a80472dcb78b538c2ed34cc0534f801e5145) 6737 6738825. [bug] jiri, tomek 6739 Example JSON configuration files permission fix. Thanks to Jiri 6740 Popelka from RedHat for providing a patch! 6741 (Trac #3524, git 822a39ba33870f70787a1f666aed772e06d04d79) 6742 6743824. [bug] marcin 6744 Kea daemons report configuration summary when the configuration is 6745 applied successfully. 6746 (Trac #3477, git f39d208024f720f72c931016cfa50a54e80f8c61) 6747 6748823. [build] tomek 6749 query_cmp tool removed from the source code. 6750 (Trac #3509, git f61c800059bd5e5c74e435d7dd97ae561d29151a) 6751 6752822. [build] tomek 6753 'host' program was removed from examples. 6754 (Trac #3421, git aeea893fb1c52d20258929a62a59ae2e7bd12e3d) 6755 6756821. [bug] marcin 6757 DHCP servers no longer log an error when Interface Manager fails to 6758 receive a packet as a result of signal being received. 6759 (Trac #3478, git d80c83aef8e103dd483234429d35aeb66149e0b9) 6760 6761820. [bug] marcin 6762 Corrected the IfaceMgrTest.detectIfaces unit test which reported 6763 false positives for specific network configurations. 6764 (Trac #3517, git 9affa1b2210f5cc9d7a99724e5d5c8979409cefd) 6765 6766Kea 0.9beta1 released on August 13, 2014 6767 6768819. [build] marcin 6769 Renamed variables in the configure.ac so as their names do not 6770 refer to BIND10 project. As a result of renaming the B10_CXXFLAGS 6771 to KEA_CXXFLAGS in configure.ac all dependent Makefiles had to 6772 be updated in the tree. The AX_BOOST_FOR_BIND10 macro has been 6773 renamed to AX_BOOST_FOR_KEA. 6774 (Trac #3507, git 6616b1c0ad0a78e11bca9395fafb8efdba8d8b9c) 6775 6776818. [func] tomek 6777 DHCPv4, DHCPv6 and DDNS components now report their versions. 6778 (Trac #3508, git 3f46c74ffa0ea1197e1fa62cb2f6580931be35f3) 6779 6780817. [bug] marcin 6781 DHCPv4 and DHCPv6 servers will log an error during an attempt to 6782 open socket on the interface which is down or not configured. 6783 (Trac #3487, git fadc776914aa858ce637aab1513ab3d87631f612) 6784 6785816. [doc] tomek 6786 AUTHORS file rewritten. 6787 (Trac #3469, git 6ef55abaa1ef79e09ad332c0da28dee7bfed70fe) 6788 6789815. [func] tomek 6790 Pool definitions in DHCPv4 and DHCPv6 are now lists of 6791 structures. This makes adding new per-pool parameters easier in 6792 the future. 6793 (Trac #3464, git 4bd0c0eda9d86608f8802d28bd360239fe88e905) 6794 6795814. [func,doc] tomek 6796 It is now possible to specify logging parameters in a 6797 configuration file for DHCPv4, DHCPv6 and DHCP-DDNS components. 6798 (Trac #3427, git 23285903645c36fc35c6866a74c50c74089cd255) 6799 6800813. [func] tomek 6801 Functions, methods and variables referring to BIND10 were renamed 6802 to Kea. In particular, system variables (B10_LOGGER_ROOT, 6803 B10_LOCKFILE_DIR_FROM_BUILD etc.) were renamed. B10_ prefix was 6804 replaced with KEA_. 6805 (Trac #3417, git 1db8988de6af435fa388dc9c7f909c4a004a01d0) 6806 6807812. [doc] tomek 6808 DHCPv6 and DDNS sections in Kea Administrator Reference Manual 6809 has been updated. Usage of keactl has been documented. 6810 (Trac #3468, git 3945fc6211bcadb9bece7147039a6b50ebcf936b) 6811 (Trac #3466, git fa9570d19c73cbe7effc75589b7eb855c411f6a3) 6812 6813811. [doc] tmark 6814 Added documentation of message protocol between DHCP servers and the 6815 DHCP-DDNS process. 6816 (Trac #3505, git 6d9aed2f8fe181714e8260493c6cc06e13d0edd0) 6817 6818810. [func] stephen 6819 perfdhcp is now installed in sbin as it requires root privilege 6820 to run. The perfdhcp source has been moved to the directory 6821 src/bin/perfdhcp. 6822 (Trac #3481, git d101aed6156a993476fa1164f0b0ec8395f5886c) 6823 6824809. [func] stephen 6825 sockcreator is no longer built or installed. The code is being 6826 retained in the repository for the moment, but may be deleted at 6827 some point in the future. 6828 (Trac #3480, git 2a55a469dde8fcc053b49e287c30d0906baa91b4) 6829 6830808. [func] stephen 6831 Reduced number of startup and shutdown messages in the 6832 DHCP-DDNS process by making some of them debug messages. 6833 (Trac #3479, git bca0bae285de9ce904c0afd21af777dac2edb4e6) 6834 6835807. [func] marcin 6836 DHCPv6 server responds to Confirm messages from clients. 6837 (Trac #3269, git 4f43c309a994e30c07f5aa27057552fb195ec284) 6838 6839806. [func] marcin 6840 DHCPv4 server processes Requested IP Address option (50). 6841 (Trac #3320, git ad411a177a32bbe6a93f4baf813d985558c99e2f) 6842 6843805. [func] stephen 6844 Changed all occurrences of "BIND 10" in message files to "Kea". 6845 (Trac #3416, git e88090b57a75424920d9b96efbf50e3554048828) 6846 6847804. [func] marcin 6848 DHCPv4 server supports DHCPINFORM messages from the clients. 6849 (Trac #3390, git 77f8577b1dbb52bdc6deb8bed3eef6ce7abc33fd) 6850 6851803. [func] marcin 6852 DHCPv4 server supports responding to directly connected clients on 6853 FreeBSD, NetBSD and OpenBSD using Berkeley Packet Filtering. This 6854 also resolves the problem reported in #3438 that the server doesn't 6855 pick the correct interface to respond to the client and the client 6856 never gets the response from the server. 6857 (Trac #2893, git 9fba39d93b9ece950c4294230984d6315dfa11f6) 6858 6859802. [doc] tomek, marcin 6860 Developer's Guide updated to Change BIND 10 references to Kea. 6861 Documentation for Keactrl added. 6862 (Trac #3396, git 271450edbc63e9022f877c9aa3d1dc290708f151) 6863 (Trac #3466, git fa9570d19c73cbe7effc75589b7eb855c411f6a3) 6864 6865801. [build] fdupont 6866 Detect all OS X versions more recent than 10.9 (where 6867 pthread_cond_destroy() doesn't work as documented, 6868 which makes some of unit tests to fail). 6869 (Trac #3473, git d620ef6659598bcc1f4c30241e845348770e264e) 6870 6871800. [bug] marcin 6872 DHCPv6 server is now usable on FreeBSD, NetBSD and OpenBSD systems. 6873 It can receive messages sent to ff02::1:2 multicast address. Also, 6874 fixed the bug whereby the DHCPv6 server failed to bind the socket 6875 to global unicast address on BSD systems due to invalid scope id 6876 setting. 6877 (Trac #3437, git f4c2fe2fc37a37f1510e138e1f6c4ccd757e1f06) 6878 6879799. [func] tmark 6880 Configuration parsing for all Kea servers has been enhanced to include 6881 the location of the error within the configuration file presented as 6882 file name, line number, and column within the configuration file. 6883 (Trac #3436, git b927deb2b4579f93ba74d4be8f5a3a4eaa3c6422) 6884 (Trac #3409, git 777dbdb29a641f7d8661f9cc2c22f1cb9fe7eb14) 6885 6886798. [build] tomek 6887 JSON configuration backend is now the default. BUNDY backend 6888 is now deprecated after #3413 removed the BIND10/Bundy framework. 6889 (Trac #3476, git 727b65f2c62bbd7dc599b2e7956167e2b3c34098) 6890 6891797. [build] tomek 6892 Removed a lot of remaining BIND10 framework: bind10, bindctl, 6893 cfgmgr, cmdctl, msgq, stats, sysinfo, tests, usermgr from src/bin 6894 directory, also src/lib/python directory. Python3 is not 6895 required anymore, unless documentation generation is enabled. 6896 (Trac #3413, git d7b297ac475193f687d07b0489ac74585d4f3814) 6897 6898796. [doc] tomek 6899 User's Guide renamed to Kea Administrator Reference Manual, 6900 removed sections specific to BIND10/Bundy framework, rewritten 6901 general and DHCPv4 specific examples. 6902 (Trac #3418, git 73e6019d83760f0500890240e2e187dcd5e1e14c) 6903 6904795. [func] marcin 6905 Added support to keactrl to start, stop, reconfigure and gather 6906 status of the DHCP-DDNS server. 6907 (Trac #3465, git 6bc61470c9ccee001fe282d0f879bcddac0b8721) 6908 6909794. [func] fdupont 6910 cryptolink: add OpenSSL crypto backend as an alternative to Botan 6911 by specifying --with-openssl[=PATH] on the "configure" command 6912 line. Add hash support to the cryptolink API and use it in DHCP 6913 DDNS, removing the Botan dependency. 6914 (Trac #2406, git 4b4110dd68706b4171fc6d8a6f4f2a9cd820edac) 6915 6916793. [func] tmark 6917 DHCP-DDNS: Implemented dynamic reconfiguration of the server, 6918 triggered when the SIGHUP signal is received by the server's 6919 process. Also, server performs a graceful shut down when SIGINT 6920 or SIGTERM signal is received. 6921 (Trac #3407, git f1a224df1e46098748ba60205be09ada4600515f) 6922 6923792. [func] marcin 6924 Implemented keactrl script used to start, stop, reconfigure Kea 6925 servers and get their status and configuration data. This script 6926 is installed only if the JSON configuration backend is in use. 6927 (Trac #3422, git e1d164c7a9a54a7aacea88c8c57cd2826e06012b) 6928 6929791. [func] tmark 6930 DHCP-DDNS: Now supports configure.ac parameter: --with-kea-config. 6931 It allows selecting configuration backend and accepts one of two 6932 values: BUNDY, which uses Bundy (former BIND10) framework as Kea 6933 0.8 did, or JSON, which reads configuration from a JSON file. 6934 (Trac #3401, git 8e69209caafc81041229f3d9601599f3d98fc86e) 6935 6936790. [func] marcin 6937 DHCPv4 server: Implemented dynamic reconfiguration of the server, 6938 triggered when the SIGHUP signal is received by the server's 6939 process. Also, server performs a graceful shut down when SIGINT 6940 or SIGTERM signal is received. 6941 (Trac #3405, git dd0270bd91cf8fc958b8b388950d343d311ee99e) 6942 6943789. [bug] marcin 6944 DHCPv4 server sends Renewal Time (58) and Rebinding Time (59) 6945 options to the client when the appropriate timers are set 6946 in the configuration. Previously, the timers were ignored. 6947 (Trac #3336, git b3c8a079889411182ade517c85aa4fe5d6b8719a) 6948 6949788. [func] tomek 6950 DHCPv4 server: New parameter added to configure.ac: --with-kea-config. 6951 It allows selecting configuration backend and accepts one of two 6952 values: BUNDY, which uses Bundy (former BIND10) framework as Kea 6953 0.8 did, or JSON, which reads configuration from a JSON file. 6954 (Trac #3399, git 6e4dd3ae58c091ba0fd64c87fa8d7c268210f99b) 6955 6956787. [func] marcin 6957 DHCPv6 server: Implemented dynamic reconfiguration of the server, 6958 triggered when the SIGHUP signal is received by the server's 6959 process. Also, server performs a graceful shut down when SIGINT 6960 or SIGTERM signal is received. 6961 (Trac #3406, git 3be60fa6ac521aecae6ae92d26dc03792bc76903) 6962 6963786. [func] tmark 6964 DHCP-DDNS now supports DDNS updates with TSIG. Please refer to the 6965 Kea Guide for details. Prior to this TSIG keys could be defined but 6966 were not used. 6967 (Trac #3432, git 80fea12a53d1e832d4e7b710ca6ea613300f73ea) 6968 6969785. [bug] marcin 6970 DHCPv6 server avoids collisions between prefixes that are allocated 6971 as a result of receiving hints from the clients. Previously the 6972 whole prefix (including bits beyond the prefix length) was used to 6973 search existing leases in the lease database. If not found, the 6974 new lease was created for the prefix sent by the client. If another 6975 client sent the same prefix but with different non-significant bits 6976 the prefix was allocated. This led to prefix collisions. Currently, 6977 server ignores bits beyond the prefix length when searching for 6978 existing leases. 6979 (Trac #3246, git 50de7df4195195e981ae9c8c6f1b4100047d5bb5) 6980 6981784. [func] tmark 6982 DHCP_DDNS's configuration was changed. The unused parameter, 6983 "interface" was deleted. Three new parameters, "ncr_protocol", 6984 "ncr_format", and "dns_server_timeout" were added. Please refer to 6985 Kea Guide for details. 6986 (Trac #3268, git bd60252e679f19b062f61926647f661ab169f21c) 6987 6988783. [func]* tomek 6989 DHCPv6 server: New parameter added to configure: --with-kea-config. 6990 It allows selecting configuration backend and accepts one of two 6991 values: BUNDY, which uses Bundy (former BIND10 framework as Kea 6992 0.8 did, or JSON, which reads configuration from a JSON file. 6993 (Trac #3400, git 7e9fdfa644b81f72bfa5300b7ddcdb9754400769) 6994 6995782. [func] tmark 6996 Added sender-ip, sender-port, and max-queue-size parameters to 6997 the dhcp-ddns configuration section of both b10-dhcp4 and b10-dhcp6. 6998 (Trac #3328, git 8d8d0b5eedaab20bf1008dfb3a6913eb006a6e73) 6999 7000781. [func] marcin 7001 libkea-dhcpsrv: the Memfile lease storage backend returns leases 7002 of a specified type. Previously, it ignored the lease type parameter 7003 and returned all leases for a particular client. Thanks to David 7004 Carlier for helping to implement this ticket. 7005 (Trac #3148, git d2f0edf473716cd747a21d6917e89ba55c148d8e) 7006 7007780. [func] marcin 7008 libkea-cc: JSON parser stores information about the position 7009 of the data element values in the JSON string. The position 7010 comprises the line number and the offset within this line where 7011 the specific value resides. This functionality is intended to 7012 be used for error logging during configuration parsing. 7013 (Trac #3408, git 115a52a6713340fc589f6f95d73d242931239405) 7014 7015779. [doc] tmark 7016 Added a section to the developer's guide for Kea's DHCP-DDNS 7017 component, D2. 7018 (Trac #3158, git 7be263c7372b1401a8b4288742854f96b5bec0d6) 7019 7020bind10-1.2.0 (kea 0.8) released on April 17, 2014 7021 7022bind10-1.2.0rc1 released on April 8, 2014 7023 7024778. [func]* marcin 7025 libdhcpsrv: the Memfile lease storage backend now writes 7026 leases into a CSV file. Configuration parsers for b10-dhcp4 7027 and b10-dhcp6 use the new configuration parameters to 7028 control the location of the lease file. It is possible to 7029 disable lease writes to disk using configuration for testing 7030 purposes. 7031 (Trac #3360, git 09e6e71abf8bc693e389ebd262fd149b43c1f1d4) 7032 7033777. [func] tmark 7034 If b10-dhcp-ddns is configured to listen on an address other than 7035 loopback, it will issue a log message warning the user that this is 7036 insecure and is supported for testing purposes only. 7037 (Trac #3383, git 652aa4de2fa82fdf3de569d01d9f4aa618fc1972) 7038 7039776. [func] tomek 7040 b10-dhcp4 and b10-dhcp6 now support using PostgreSQL as the backend 7041 for storing lease data. This backend is enabled by specifying 7042 --with-dhcp-pgsql on the "configure" command line. Without this 7043 switch the PostgreSQL backend is not compiled leaving BIND 10 able to 7044 be built on systems without PostgreSQL installed. Thanks to David 7045 Carlier who contributed the initial patches for this work. 7046 (Trac #3080, git 1aae8b1fab3008e62c4f085948b1abadad512447) 7047 7048775. [func] marcin 7049 b10-dhcp4, b10-dhcp6: added a new parameter to subnet configuration. 7050 This parameter allows subnet ids to be set to arbitrary values or 7051 automatically generated values. Generated subnet ids are renumbered 7052 each time one or more subnets are removed. Setting the ids to 7053 specific values prevents this renumbering. 7054 (Trac #3281, git d90e9a0642fbb16a4e664160b4812f61fb81f1aa) 7055 7056774. [doc] marcin 7057 Updated information in the BIND 10 Guide about the standards supported 7058 by Kea and its current limitations. 7059 (Trac #3258, git ff52b86206e3a256a02ca6d5cde55040550ba86a) 7060 7061773. [doc] tmark 7062 Added sections to the BIND 10 guide on configuring and using the 7063 DHCP-DDNS feature of Kea. Chapter 19, describes the new DHCP-DDNS 7064 server and its configuration. Additions to chapters 17 and 18 7065 describe configuring the DHCP servers to work with the new server. 7066 (Trac #3283, git 806eea955c61eba2d7268958a740a8e8ea63bdaf) 7067 7068772. [bug] tmark 7069 b10-dhcp4 and b10-dhcp6 now both correctly support DDNS updates 7070 when honoring client requested delegation. When DDNS is enabled, 7071 and the client's FQDN indicates they will do the forward updates, 7072 the servers will now post a DDNS update request to b10-dhcp-ddns 7073 for the reverse updates. Prior to this the servers were posting no 7074 DDNS update requests when honoring client delegation. 7075 (Trac #3352, git b1a0f405463723d539b2e6ed2dcdd692d7796b88) 7076 7077771. [bug] tmark 7078 Ticket #3339 (entry 760) was reverted to fix regression 7079 where components added through bindctl, could not be removed. 7080 (Trac #3374, git c641e2d0569df3ca3e5a93beaf0ecf39db07e402) 7081 7082770. [bug] tmark 7083 Configuration parsing in b10-dhcp6 and b10-dhcp4 for the "dhcp-ddns" 7084 section of their configurations now supplies hard-coded default values 7085 rather than those from their spec files. This is a temporary solution 7086 to circumvent an issue in the configuration libraries which causes 7087 map-items to behave incorrectly. 7088 (Trac #3358, git 983d8acec3a7ccb1ffef662eac7518aed5f99381) 7089 7090769. [func] marcin 7091 b10-dhcp6: Implemented support for Rebind message. 7092 (Trac #3232, git 3649413932857470558a6f19e0b0e181b3fc0fda) 7093 7094768. [bug] tmark 7095 b10-dhcp-ddns now treats a DNS server response code of 7096 NXRRSET as a successful outcome when processing a request 7097 to remove DNS data. This corrects a defect in which 7098 b10-dhcp-ddns would incorrectly fail a request to remove 7099 DNS data when the DNS server's response was NXRRSET. 7100 (Trac #3362, git da3b0d4f364d069ffdb47723545798ac589fae42) 7101 7102767. [func] tomek 7103 Unit-tests for all DHCP database backends are now shared. 7104 This improves test coverage for memfile and any future 7105 backends that may appear. 7106 (Trac #3359, git 3d6c11630ada9d0681a813cf026f6bb16aabb9fa) 7107 7108bind10-1.2.0beta1 released on March 6, 2014 7109 7110766. [func] muks 7111 --disable-dns and --disable-dhcp configure arguments have been 7112 added to conditionally disable the DNS or DHCP components 7113 respectively. This facility can be used to do a DNS or DHCP-only 7114 build of BIND 10. DNS and DHCP components are both enabled by 7115 default. 7116 (Trac #2367, git 81a689b61b1c4abf8a1a4fcbe41cfc96fd11792a) 7117 7118765. [bug] tomek 7119 b10-dhcp4: Fixed a minor bug in eRouter1.0 class processing. The 7120 server no longer sets giaddr field. 7121 (Trac #3353, git 23c22e9b1141c699f361d45c309e737dfecf6f3f) 7122 7123764. [bug] tomek 7124 b10-dhcp4: Fixed a bug caused client classification to not work 7125 properly. 7126 (Trac #3343, git 1801400ac874380e7a565d373b4bae96a49e21f7) 7127 7128763. [func] tmark 7129 b10-dhcp-ddns may now be configured to disable DNS updates in 7130 in a given direction by simply not defining any domains for that 7131 direction in its configuration. This allows it to be configured to 7132 support either forward DNS or reverse DNS only. Prior to this if 7133 a request was received that could not be matched to servers in a 7134 given direction it was failed immediately. 7135 (Trac #3341, git 01f26bce1d9faaddb8be59802f73891ea065b200) 7136 7137762. [func] tmark 7138 If configured to do so, b10-dhcp6 will now create DHCP-DDNS update 7139 requests and send them to b10-dhcp-ddns for processing. 7140 (Trac# 3329, git 239956696465a13196a2b6bc0f3a61aed21a5de8) 7141 7142761. [doc] stephen, jreed 7143 Added "man" page for perfdhcp. 7144 (Trac #2307, git ff2f538912c205fbdb1408ee613c09b90de53514) 7145 7146760. [bug] tmark 7147 When merging a map of configuration elements into another, elements 7148 that are themselves maps will be merged. In particular, this 7149 corrects a defect which caused a configuration commit error to 7150 occur when using bindctl to modify a single a parameter in 7151 dhcp-ddns portion of b10-dhcp4 configuration. 7152 (Trac# 3339, git 3ae0d93d89f3277a566eeb045191a43b2dd9d9b1) 7153 7154759. [func] tomek 7155 b10-dhcp4, b10-dhcp6: IP address of the relay agent can now be 7156 specified for both IPv4 and IPv6 subnets. That information allows 7157 the server to properly handle a case where relay agent address 7158 does not match subnet. This is mostly useful in shared subnets 7159 and cable networks. 7160 (Trac #3322, git 5de565baea42c9096dff78ed5fbd05982a174469) 7161 7162758. [bug] tmark 7163 b10-dhcp4 now correctly handles DHO_HOST_OPTION. This corrects 7164 a bug where the server would fail to recognize the option in the 7165 DHCP request and then skip generating the appropriate DHCP-DDNS 7166 update request. 7167 (Trac #2426, git 985d66cba7665a71e17ef70c5d22c767abaad1b6) 7168 7169757. [func] tmark 7170 b10-dhcp6 now parses parameters which support DHCP-DDNS updates 7171 via the DHCP-DDNS module, b10-dhcp-ddns. These parameters are 7172 part of new configuration element, dhcp-ddns, defined in 7173 dhcp4.spec. These parameters influence when and how DDNS updates 7174 requests are created but communicating them to b10-dhcp-ddns is 7175 not yet supported. That will be provided under separate ticket, 7176 Trac #3222. 7177 (Trac# 3034, git 22c667a66536ff3e3741bc67025d824644ed4e7d) 7178 7179756. [bug] marcin 7180 b10-dhcp6: server parses DHCPv6 Vendor Class option. Previously 7181 the server failed to parse Vendor Class option having empty opaque 7182 data field because of the invalid definition in libdhcp++. The 7183 DHCPv6 Vendor Class option and DHCPv4 V-I Vendor Class option is 7184 now represented by the new OptionVendorClass. The b10-dhcp4 is 7185 affected by this change such that it uses new class to parse the 7186 DHCPv4 V-I Vendor Class option. 7187 (Trac #3316, git 1e61d7db5b8dc76682aa568cd62bfae0eeff46e3) 7188 7189755. [func] muks 7190 Add support for the CAA RR type (RFC 6844). 7191 (Trac #2512, git 39162608985e5c904448f308951c73bb9c32da8f) 7192 7193754. [func] muks 7194 Add support for the TLSA RR type (RFC 6698). 7195 (Trac #2185, git a168170430f6927f28597b2a6debebe31cf39b13) 7196 7197753. [func] muks 7198 libdns++: the unknown/generic (RFC 3597) RDATA class now uses the 7199 generic lexer in constructors from text. 7200 (Trac #2426, git 0770d2df84e5608371db3a47e0456eb2a340b5f4) 7201 7202752. [func] tmark 7203 If configured to do so, b10-dhcp4 will now create DHCP-DDNS update 7204 requests and send them to b10-dhcp-ddns for processing. 7205 (Trac# 3329, git 4546dd186782eec5cfcb4ddb61b0a3aa5c700751) 7206 7207751. [func] muks 7208 The BIND 10 zone loader now supports the $GENERATE directive (a 7209 BIND 9 extension). 7210 (Trac #2430, git b05064f681231fe7f8571253c5786f4ff0f2ca03) 7211 7212750. [func] tomek 7213 b10-dhcp4, b10-dhcp6: Simple client classification has been 7214 implemented. Incoming packets can be assigned to zero or more 7215 client classes. It is possible to restrict subnet usage to a given 7216 client class. User's Guide and Developer's Guide has been updated. 7217 (Trac #3274, git 1791d19899b92a6ee411199f664bdfc690ec08b2) 7218 7219749. [bug] tmark 7220 b10-dhcp-ddns now sets the TTL value in RRs that add A, AAAA, or 7221 PTR DNS entries to the lease length provided in instigating 7222 NameChangeRequest. This corrected a bug in which the TTL was 7223 always set to 0. 7224 (Trac# 3299, git dbacf27ece77f3d857da793341c6bd31ef1ea239) 7225 7226748. [bug] marcin 7227 b10-dhcp4 server picks a subnet, to assign address for a directly 7228 connected client, using IP address of the interface on which the 7229 client's message has been received. If the message is received on 7230 the interface for which there is no suitable subnet, the message 7231 is discarded. Also, the subnet for renewing client which unicasts 7232 its request, is selected using ciaddr. 7233 (Trac #3242, git 9e571cc217d6b1a2fd6fdae1565fcc6fde6d08b1) 7234 7235747. [bug] marcin 7236 libdhcpsrv: server configuration mechanism allows creating definitions 7237 for standard options for which Kea doesn't provide a definition yet. 7238 Without this, the server administrator couldn't configure options for 7239 which a definition didn't exist. 7240 (Trac# 3309, git 16a6ed6e48a6a950670c4874a2e81b1faf287d99) 7241 7242746. [func] tomek 7243 IOAddress no longer exposes underlying asio objects. The getAddress() 7244 method has been removed and replaced with several convenience methods. 7245 (Trac #1485, git ecdb62db16b3f3d447db4a9d2a4079d5260431f0) 7246 7247745. [bug]* muks 7248 b10-auth now returns rcode=REFUSED for all questions with 7249 qtype=RRSIG (i.e., where RRSIGs are queried directly). This is 7250 because RRSIGs are meaningless without being bundled alongside the 7251 RRs they cover. 7252 (Trac #2226, git 68d24e65c9c3dfee38adfbe1c93367b0083f9a58) 7253 7254744. [func] marcin 7255 b10-dhcp6: Refactored the code which is processing Client FQDN 7256 option. The major user-visible change is that server generates 7257 DDNS NameChangeRequest for the first IPv6 address (instead of all) 7258 acquired by a client. Also, the server generates fully qualified 7259 domain name from acquired IPv6 address, if the client sends an 7260 empty name in Client FQDN option. 7261 (Trac# 3295, git aa1c94a54114e848c64771fde308fc9ac0c00fd0) 7262 7263743. [func] tmark 7264 b10-dhcp4 now responds with changes in DDNS behavior based upon 7265 configuration parameters specified through its dhcp-ddns configuration 7266 element. The parameters now supported are override-no-update, 7267 override-client-update, replace-client-name, generated-prefix, and 7268 qualifying-suffix. 7269 (Trac# 3282, git 42b1f1e4c4f5aa48b7588233402876f5012c043c) 7270 7271742. [func] muks 7272 The authoritative server now includes the datasource configuration 7273 when logging some errors with the 7274 AUTH_DATASRC_CLIENTS_BUILDER_RECONFIGURE_ERROR message ID. 7275 (Trac #2756, git 31872754f36c840b4ec0b412a86afe9f38be86e0) 7276 7277741. [bug] shane 7278 Remove hard-coded (and unnecessary) TSIG key from error message. 7279 This also prevents a crash if the TSIG name is missing. 7280 (Trac #3099, git 0ba8bbabe09756a4627e80aacdbb5050407faaac) 7281 7282740. [func] muks 7283 When displaying messages about mismatched configuration data types 7284 in entered values (between the supplied value type and expected 7285 schema type), bindctl now includes both the supplied and expected 7286 configuration data types in the returned error. The user has more 7287 information on what caused the error now. 7288 (Trac #3239, git 84d5eda2a6ae0d737aef68d56023fc33fef623e6) 7289 7290739. [bug] muks 7291 Various minor updates were made to the SSHFP RDATA parser. Mainly, 7292 the SSHFP constructor no longer throws an isc::BadValue exception. 7293 generic::SSHFP::getFingerprintLen() was also renamed to 7294 getFingerprintLength(). 7295 (Trac #3287, git 2f26d781704618c6007ba896ad3d9e0c107d04b0) 7296 7297738. [bug] muks 7298 b10-auth now correctly processes NXDOMAIN results in the root zone 7299 when using a SQLite3 data source. 7300 (Trac #2951, git 13685cc4580660eaf5b041b683a2d2f31fd24de3) 7301 7302737. [func] muks 7303 b10-auth now additionally logs the source address and port when 7304 DNS messages with unsupported opcodes are received. 7305 (Trac #1516, git 71611831f6d1aaaea09143d4837eddbd1d67fbf4) 7306 7307736. [bug] wlodek 7308 b10-dhcp6 is now capable to determine if a received 7309 message is addressed to it, using server identifier option. 7310 The messages with non-matching server identifier are dropped. 7311 (Trac #2892, git 3bd69e9b4ab9be231f7c966fd62b95a4e1595901) 7312 7313735. [doc] stephen 7314 Expanded Developer's Guide to include chapter on logging. 7315 (Trac #2566, git a08d702839d9df6cddefeccab1e7e657377145de) 7316 7317734. [bug] marcin 7318 libdhcp++: fixed a bug which caused an error when setting boolean 7319 values for an option. Also, bind10-guide has been updated with the 7320 examples how to set the boolean values for an option. 7321 (Trac# 3292, git 7c4c0514ede3cffc52d8c2874cdbdb74ced5f4ac) 7322 7323733. [bug] marcin 7324 libdhcp++: a function which opens IPv6/UDPv6 sockets for the 7325 DHCPv6 server, gracefully handles errors to bind socket to 7326 a multicast address. 7327 (Trac #3288, git 76ace0c46a5fe0e53a29dad093b817ad6c891f1b) 7328 7329732. [func] tomek 7330 b10-dhcp4, b10-dhcp6: Support for simplified client classification 7331 added. Incoming packets are now assigned to a client class based 7332 on the content of the packet's user class option (DHCPv4) or vendor 7333 class option (DHCPv6). Two classes (docsis3.0 and eRouter1.0) have 7334 class specific behavior in b10-dhcp4. See DHCPv4 Client 7335 Classification and DHCPv6 Client Classification in BIND10 7336 Developer's Guide for details. This is a first ticket in a series 7337 of planned at least three tickets. 7338 (Trac #3203, git afea612c23143f81a4201e39ba793bc837c5c9f1) 7339 7340731. [func] tmark 7341 b10-dhcp4 now parses parameters which support DHCP-DDNS updates 7342 via the DHCP-DDNS module, b10-dhcp-ddns. These parameters are 7343 part of new configuration element, dhcp-ddns, defined in 7344 dhcp4.spec. The parameters parse, store and retrieve but do not 7345 yet govern behavior. That will be provided under separate ticket. 7346 (Trac# 3033, git 0ba859834503f2b9b908cd7bc572e0286ca9201f) 7347 7348730. [bug] tomek 7349 b10-dhcp4, b10-dhcp6: Both servers used to unnecessarily increase 7350 subnet-id values after reconfiguration. The subnet-ids are now reset 7351 to 1 every time a server is reconfigured. 7352 (Trac #3234, git 31e416087685a6dadc3047fdbb0927bbf60095aa) 7353 7354729. [bug] marcin 7355 b10-dhcp4 discards DHCPv4 messages carrying server identifiers 7356 which don't match server identifiers used by the server. 7357 (Trac #3279, git 805d2b269c6bf3e7be68c13f1da1709d8150a666) 7358 7359728. [func] marcin 7360 b10-dhcp6: If server fails to open a socket on one interface it 7361 will log a warning and continue to open sockets on other interfaces. 7362 The warning message is communicated from the libdhcp++ via the 7363 error handler function supplied by the DHCPv6 server. 7364 (Trac #3252, git af5eada1bba906697ee92df3fcc25cc0e3979221) 7365 7366727. [func] muks 7367 RRset::setName() has now been removed. 7368 (Trac #2335, git c918027a387da8514acf7e125fd52c8378113662) 7369 7370726. [bug]* muks 7371 Don't print trailing newlines in Question::toText() output by 7372 default. This fixes some logging that were split with a line 7373 feed. It is possible to get the old behavior by passing 7374 toText(true). Message::toText() output is unchanged. 7375 (Trac #571, git 7286499d5206c6d2aa8a59a5247c3841a772a43e) 7376 7377725. [func] tmark 7378 b10-dhcp-ddns D2UpdateMgr now uses the newly implemented 7379 NameAddTransaction and NameRemoveTransaction classes. This allows 7380 it to conduct actual DNS update exchanges based upon queued 7381 NameChangeRequests. 7382 (Trac# 3089, git 9ff948a169e1c1f3ad9e1bad1568375590a3ef42) 7383 7384724. [bug] marcin 7385 b10-dhcp4: Different server identifiers are used for the packets 7386 being sent through different interfaces. The server uses IPv4 address 7387 assigned to the particular interface as a server identifier. This 7388 guarantees that the unicast packet sent by a relay or a client, to 7389 the address being a server identifier, will reach the server. 7390 (Trac #3231, git c7a229f15089670d2bfde6e9f0530c30ce6f8cf8) 7391 7392723. [bug] marcin 7393 libdhcp++: Implemented unit tests for the IfaceMgr's routine 7394 which opens IPv6 sockets on detected interfaces. The IfaceMgr 7395 logic performing low level operations on sockets has been 7396 moved to a separate class. By providing a custom implementation 7397 of this class, the unit tests may use fake interfaces with 7398 custom configuration and thus cover wide range of test 7399 scenarios for the function. 7400 (Trac #3251, git 21d2f7ec425f8461b545687104cd76a42da61b2e) 7401 7402722. [bug] muks 7403 b10-cmdctl now prints a more operator-friendly message when the 7404 address+port that b10-cmdctl listens on is already in use. 7405 (Trac #3227, git 5ec35e37dbb46f66ff0f6a9d9a6a87a393b37934) 7406 7407721. [func] tmark 7408 Updates the user_chk example hooks shared library with callouts 7409 for packet receive and packet send. Decision outcome now includes 7410 the lease or prefix assigned. The user registry now supports a 7411 default user entry. 7412 (Trac #3207, git 34fddf2e75b80d9e517a8f9c3321aa4878cda795) 7413 7414720. [func] tmark 7415 Added the initial implementation of the class, NameAddTransaction, 7416 to b10-dhcp-ddns. This class provides a state machine which 7417 implements the logic required to remove forward and reverse DNS 7418 entries as described in RFC 4703, section 5.5. This includes the 7419 ability to construct the necessary DNS requests. 7420 (Trac# 3088, git ca58ac00fce4cb5f46e534d7ffadb2db4e4ffaf3) 7421 7422719. [func] tomek 7423 b10-dhcp4: Support for sending back client-id (RFC6842) has been 7424 added now. Also a configuration parameter (echo-client-id) has 7425 been added, so it is possible to enable backward compatibility 7426 ("echo-client-id false"). 7427 (Trac #3210, git 88a4858db206dfcd53a227562198f308f7779a72) 7428 7429718. [func] dclink, tomek 7430 libdhcp++: Interface detection implemented for FreeBSD, NetBSD, 7431 OpenBSD, Mac OS X and Solaris 11. Thanks to David Carlier for 7432 contributing a patch. 7433 (Trac #2246, git d8045b5e1580a1d0b89a232fd61c10d25a95e769) 7434 7435717. [bug] marcin 7436 Fixed the bug which incorrectly treated DHCPv4 option codes 224-254 as 7437 standard options, barring them from being used as custom options. 7438 (Trac #2772, git c6158690c389d75686545459618ae0bf16f2cdb8) 7439 7440716. [func] marcin 7441 perfdhcp: added support for sending DHCPv6 Release messages 7442 at the specified rate and measure performance. The orphan 7443 messages counters are not displayed for individual exchanges 7444 anymore. The following ticket: #3261 has been submitted to 7445 implement global orphan counting for all exchange types. 7446 (Trac #3181, git 684524bc130080e4fa31b65edfd14d58eec37e50) 7447 7448715. [bug] marcin 7449 libdhcp++: Used the CMSG_SPACE instead of CMSG_LEN macro to calculate 7450 msg_controllen field of the DHCPv6 message. Use of CMSG_LEN causes 7451 sendmsg failures on OpenBSD due to the bug kernel/6080 on OpenBSD. 7452 (Trac #1824, git 39c9499d001a98c8d2f5792563c28a5eb2cc5fcb) 7453 7454714. [doc] tomek 7455 BIND10 Contributor's Guide added. 7456 (Trac #3109, git 016bfae00460b4f88adbfd07ed26759eb294ef10) 7457 7458713. [func] tmark 7459 Added DNS update request construction to d2::NameAddTransaction 7460 in b10-dhcp-ddns. The class now generates all DNS update 7461 request variations needed to fulfill its state machine in 7462 compliance with RFC 4703, sections 5.3 and 5.4. 7463 (Trac# 3241, git dceca9554cb9410dd8d12371b68198b797cb6cfb) 7464 7465712. [func] marcin, dclink 7466 b10-dhcp4: If server fails to open a socket on one interface it 7467 will log a warning and continue to open sockets on other interfaces. 7468 The warning message is communicated from the libdhcp++ via the 7469 error handler function supplied by the DHCPv4 server. Thanks to 7470 David Carlier for providing a patch. 7471 (Trac #2765, git f49c4b8942cdbafb85414a1925ff6ca1d381f498) 7472 7473711. [func] tmark 7474 Added the initial implementation of the class, NameAddTransaction, 7475 to b10-dhcp-ddns. This class provides the state model logic 7476 described in the DHCP_DDNS design to add or replace forward and 7477 reverse DNS entries for a given FQDN. It does not yet construct 7478 the actual DNS update requests, this will be added under Trac# 7479 3241. 7480 (Trac# 3087, git 8f99da735a9f39d514c40d0a295f751dc8edfbcd) 7481 7482710. [build] jinmei 7483 Fixed various build time issues for MacOS X 10.9. Those include 7484 some general fixes and improvements: 7485 - (libdns++) masterLoad() functions now use the generic MasterLoader 7486 class as backend, eliminating the restrictions of the previous 7487 versions. 7488 - (libcc) fixed a minor portability bug in the JSON parser. Although 7489 the only known affected system is OS X 10.9 at the moment, that 7490 could potentially cause disruption on other existing and future 7491 systems. 7492 Other notes: 7493 - if built with googletest, gtest 1.7 (and possibly higher) is 7494 required. 7495 - many older versions of Boost don't work. A known workable version 7496 is 1.54. 7497 (Trac #3213, git d4e570f097fe0eb9009b177a4af285cde0c636cc) 7498 7499709. [bug] marcin 7500 b10-dhcp6: Server crashed when the client sent FQDN option and did 7501 not request FQDN option to be returned. 7502 (Trac #3220, git 0f1ed4205a46eb42ef728ba6b0955c9af384e0be) 7503 7504708. [bug] dclink, marcin 7505 libdhcpsrv: Fixed a bug in Memfile lease database backend which 7506 caused DHCPv4 server crashes when leases with NULL client id 7507 were present. Thanks to David Carlier for submitting the patch. 7508 (Trac #2940, git a232f3d7d92ebcfb7793dc6b67914299c45c715b) 7509 7510707. [bug] muks 7511 Using very large numbers (out of bounds) in config values caused 7512 BIND 10 to throw an exception. This has been fixed in a patch 7513 contributed by David Carlier. 7514 (Trac #3114, git 9bd776e36b7f53a6ee2e4d5a2ea79722ba5fe13b) 7515 7516706. [func] marcin 7517 b10-dhcp4: Server processes the DHCPv4 Client FQDN and Host Name 7518 options sent by a client and generates the response. As a result 7519 of processing, the server generates NameChangeRequests which 7520 represent changes to DNS mappings for a particular lease (addition 7521 or removal of DNS mappings). 7522 Currently all generated NameChangeRequests are dropped. Sending 7523 them to b10-dhcp-ddns will be implemented with the future tickets. 7524 (Trac #3035, git f617e6af8cdf068320d14626ecbe14a73a6da22) 7525 7526705. [bug]* kean 7527 When commands are piped into bindctl, no longer attempt to query the 7528 user name and password if no default user name and password file is 7529 present, or it contains no valid entries. 7530 (Trac #264, git 4921d7de6b5623c7e85d2baf8bc978686877345b) 7531 7532704. [func] naokikambe 7533 New statistics items related to IP sockets added into b10-xfrin: 7534 open, openfail, close, connfail, conn, senderr, and recverr. 7535 Their values can be obtained by invoking "Stats show Xfrin" via 7536 bindctl while b10-xfrin is running. 7537 (Trac #2300, git 4655c110afa0ec6f5669bf53245bffe6b30ece4b) 7538 7539703. [bug] kean 7540 A bug in b10-msgq was fixed where it would remove the socket file if 7541 there was an existing copy of b10-msgq running. It now correctly 7542 detects and reports this without removing the socket file. 7543 (Trac #433, git c18a49b0435c656669e6f87ef65d44dc98e0e726) 7544 7545702. [func] marcin 7546 perfdhcp: support for sending DHCPv6 Renew messages at the specified 7547 rate and measure performance. 7548 (Trac #3183, git 66f2939830926f4337623b159210103b5a8e2434) 7549 7550701. [bug] tomek 7551 libdhcp++: Incoming DHCPv6 IAPREFIX option is now parsed properly. 7552 (Trac #3211, git ed43618a2c7b2387d76f99a5a4b1a3e05ac70f5e) 7553 7554700. [func] tomek, marcin 7555 b10-dhcp4, b10-dhcp6: Support for vendor options has been added. It 7556 is now possible to configure vendor options. Server is able to 7557 parse some CableLabs vendor options and send configured vendor 7558 options in response. The support is not complete. 7559 (Trac #3194, git 243ded15bbed0d35e230d00f4e3ee42c3609616c) 7560 7561699. [bug] marcin 7562 libdhcp++: Options with defined suboptions are now handled properly. 7563 In particular, Relay Agent Info options is now echoed back properly. 7564 (Trac #3102, git 6f6251bbd761809634aa470f36480d046b4d2a20) 7565 7566698. [bug] muks 7567 A bug was fixed in the interaction between b10-init and b10-msgq 7568 that caused BIND 10 failures after repeated start/stop of 7569 components. 7570 (Trac #3094, git ed672a898d28d6249ff0c96df12384b0aee403c8 7571 7572697. [func] tmark 7573 Implements "user_check" hooks shared library which supports subnet 7574 selection based upon the contents of a list of known DHCP lease users 7575 (i.e. clients). Adds the following subdirectories to the bind10 src 7576 directory for maintaining hooks shared libraries: 7577 bind10/src/hooks - base directory for hooks shared libraries; 7578 bind10/src/hooks/dhcp - base directory for all hooks libs 7579 pertaining to DHCP (Kea); 7580 bind10/src/hooks/dhcp/user_check - directory containing the 7581 user_check hooks library. 7582 (Trac #3186, git f36aab92c85498f8511fbbe19fad5e3f787aef68) 7583 7584696. [func] tomek 7585 b10-dhcp4: It is now possible to specify value of siaddr field 7586 in DHCPv4 responses. It is used to point out to the next 7587 server in the boot process (that typically is TFTP server). 7588 (Trac #3191, git 541922b5300904a5de2eaeddc3666fc4b654ffba) 7589 7590695. [func] tomek 7591 b10-dhcp6 is now able to listen on global IPv6 unicast addresses. 7592 (Trac #3195, git 72e601f2a57ab70b25d50877c8e49242739d1c9f) 7593 7594694. [bug] tomek 7595 b10-dhcp6 now handles exceptions better when processing initial 7596 configuration. In particular, errors with socket binding do not 7597 prevent b10-dhcp6 from establishing configuration session anymore. 7598 (Trac #3195, git 72e601f2a57ab70b25d50877c8e49242739d1c9f) 7599 7600693. [bug] tomek 7601 b10-dhcp6 now handles IPv6 interface enabling correctly. 7602 (Trac #3195, git 72e601f2a57ab70b25d50877c8e49242739d1c9f) 7603 7604692. [bug] marcin 7605 b10-dhcp4: Fix a bug whereby the Parameter Request List was not parsed 7606 by the server and requested DHCPv4 options were not returned to the 7607 client. Options are not sent back to the client if server failed to 7608 assign a lease. 7609 (Trac #3200, git 50d91e4c069c6de13680bfaaee3c56b68d6e4ab1) 7610 7611691. [bug] marcin 7612 libdhcp++: Created definitions for standard DHCPv4 options: 7613 tftp-server-name (66) and boot-file-name (67). Also, fixed definition 7614 of DHCPv4 option time-offset (2). 7615 (Trac #3199, git 6e171110c4dd9ae3b1be828b9516efc65c33460b) 7616 7617690. [bug] tomek 7618 b10-dhcp4: Relay Agent Info option is now echoed back in 7619 DHCPv4 responses. 7620 (Trac #3184, git 287389c049518bff66bdf6a5a49bb8768be02d8e) 7621 7622689. [func]* marcin 7623 b10-dhcp4 and b10-dhcp6 install callback functions which parse options 7624 in the received DHCP packets. 7625 (Trac #3180, git f73fba3cde9421acbeb9486c615900b0af58fa25) 7626 7627688. [func] tomek 7628 b10-dhcp6: Prefix Delegation support is now extended to 7629 Renew and Release messages. 7630 (Trac #3153, #3154, git 3207932815f58045acea84ae092e0a5aa7c4bfd7) 7631 7632687. [func] tomek 7633 b10-dhcp6: Prefix Delegation (IA_PD and IAPREFIX options) is now 7634 supported in Solicit and Request messages. 7635 (Trac #3152, git a0e73dd74658f2deb22fad2c7a1f56d122aa9021) 7636 7637686. [bug] tomek 7638 b10-dhcp6 now sends back relayed traffic to proper port. 7639 (Trac #3177, git 6b33de4bea92eecb64b6c673bf1b8ae51f8edcf1) 7640 7641685. [func] tomek 7642 libdhcpsrv: Allocation Engine is now able to handle IPv6 prefixes. 7643 This will be used in Prefix Delegation. 7644 (Trac #3171, git 7d1431b4c887f0c7ee1b26b9b82d3d3b8464b34f) 7645 7646684. [func] muks, vorner 7647 API support to delete zone data has been added. With this, 7648 DomainTree and RdataSet which form the central zone data 7649 structures of b10-auth allow deletion of names and RR data 7650 respectively. 7651 (Trac #2750, git d3dbe8e1643358d4f88cdbb7a16a32fd384b85b1) 7652 (Trac #2751, git 7430591b4ae4c7052cab86ed17d0221db3b524a8) 7653 7654683. [bug] stephen 7655 Modifications to fix problems running unit tests if they 7656 are statically linked. This includes provision of an 7657 initialization function that must be called by user-written 7658 hooks libraries if they are loaded by a statically-linked 7659 image. 7660 (Trac #3113, git 3d19eee4dbfabc7cf7ae528351ee9e3a334cae92) 7661 7662682. [func] naokikambe 7663 New statistics items added into b10-xfrin : ixfr_running, 7664 axfr_running, and soa_in_progress. Their values can be 7665 obtained by invoking "Stats show Xfrin" via bindctl when 7666 b10-xfrin is running. 7667 (Trac #2274, git ca691626a2be16f08754177bb27983a9f4984702) 7668 7669681. [func] tmark 7670 Added support for prefix delegation configuration to b10-dhcp6 7671 subnets. 7672 (Trac# 3151, git 79a22be33825bafa1a0cdfa24d5cb751ab1ae2d3) 7673 7674680. [func] marcin 7675 perfdhcp: Added support for requesting IPv6 prefixes using IA_PD 7676 option being sent to the server. 7677 (Trac #3173, git 4cc844f7cc82c8bd749296a2709ef67af8d9ba87) 7678 7679679. [func] tmark 7680 b10-dhcp-ddns: Finite state machine logic was refactored 7681 into its own class, StateModel. 7682 (Trac# 3156, git 6e9227b1b15448e834d1f60dd655e5633ff9745c) 7683 7684678. [func] tmark 7685 MySQL backend used by b10-dhcp6 now uses lease type as a 7686 filtering parameter in all IPv6 lease queries. 7687 (Trac# 3147, git 65b6372b783cb1361fd56efe2b3247bfdbdc47ea) 7688 7689677. [func] tomek 7690 libdhcpsrv: CfgMgr is now able to store IA, TA and PD pools in 7691 Subnet6 structures. 7692 (Trac #3150, git e6f0e89162bac0adae3ce3141437a282d5183162) 7693 7694676. [bug] muks 7695 We now also allow the short name ("hmac-md5"), along with the long 7696 name ("hmac-md5.sig-alg.reg.int") that was allowed before for 7697 HMAC-MD5, so that it is more convenient to configure TSIG keys 7698 using it. 7699 (Trac #2762, git c543008573eba65567e9c189824322954c6dd43b) 7700 7701675. [func] vorner 7702 If there's an exception not handled in a Python BIND10 component, 7703 it is now stored in a temporary file and properly logged, instead 7704 of dumping to stderr. 7705 (Trac #3095, git 18cf54ed89dee1dd1847053c5210f0ca220590c2) 7706 7707674. [func] tomek 7708 Preparatory work for prefix delegation in LeaseMgr. getLease6() 7709 renamed to getLeases6(). It now can return more than one lease. 7710 (Trac #3146, git 05a05d810be754e7a4d8ca181550867febf6dcc6) 7711 7712673. [func] tomek 7713 libdhcp: Added support for IA_PD and IAPREFIX options. New class 7714 for IAPREFIX (Option6_IAPrefix) has been added. 7715 (Trac #3145, git 3a844e85ecc3067ccd1c01841f4a61366cb278f4) 7716 7717672. [func] tmark 7718 Added b10-dhcp-ddns transaction base class, NameChangeTransaction. 7719 This class provides the common structure and methods to implement 7720 the state models described in the DHCP_DDNS design, plus 7721 integration with DNSClient and its callback mechanism for 7722 asynchronous IO with the DNS servers. 7723 (Trac #3086, git 079b862c9eb21056fdf957e560b8fe7b218441b6) 7724 7725671. [func] dclink, tomek 7726 The memfile backend now supports getLease4(hwaddr) and 7727 getLease4(client-id) methods. Thanks to David Carlier for 7728 contributing a patch. 7729 (Trac #2592, git a11683be53db2f9f8f9b71c1d1c163511e0319b3) 7730 7731670. [func] marcin 7732 libdhcpsrv: Added support to MySQL lease database backend to 7733 store FQDN data for the lease. 7734 (Trac #3084, git 79b7d8ee017b57a81cec5099bc028e1494d7e2e9) 7735 7736669. [func] tmark 7737 Added main process event loop to D2Process which is the primary 7738 application object in b10-dhcp-ddns. This allows DHCP-DDNS 7739 to queue requests received from clients for processing while 7740 listening for command control events. 7741 (Trac #3075 git e2f9d2e4c1b36f01eb5bfa2c4f8d55cf139c7e02) 7742 7743668. [func] marcin 7744 libdhcpsrv: Implemented changes to lease allocation engine to 7745 propagate information about client's FQDN. 7746 (Trac #3083, git 37af28303d1cd61f675faea969cd1159df65bf9d) 7747 7748667. [func] tomek 7749 Additional hooks (buffer4_receive, lease4_renew, 7750 lease4_release, buffer4_send) added to the DHCPv4 server. 7751 (Trac #2983, git fd47f18f898695b98623a63a0a1c68d2e4b37568) 7752 7753666. [func] vorner 7754 The CmdCtl's command "print_settings" was removed. It served no real 7755 purpose and was just experimental leftover from early development. 7756 (Trac #3028, git 0d22246092ad4822d48f5a52af5f644f5ae2f5e2) 7757 7758665. [doc] stephen 7759 Added the "Hook's Maintenance Guide" to the BIND 10 developer 7760 documentation. 7761 (Trac #3063, git 5d1ee7b7470fc644b798ac47db1811c829f5ac24) 7762 7763664. [bug] tmark 7764 Corrects a bug in Hooks processing that was improperly 7765 creating a new callout handle on every call, rather 7766 than maintaining it throughout the context of the 7767 packet being processed. 7768 (Trac #3062, git 28684bcfe5e54ad0421d75d4445a04b75358ce77) 7769 7770663. [func] marcin 7771 b10-dhcp6: Server processes the DHCPv6 Client FQDN Option 7772 sent by a client and generates the response. The DHCPv6 Client 7773 FQDN Option is represented by the new class in the libdhcp++. 7774 As a result of FQDN Option processing, the server generates 7775 NameChangeRequests which represent changes to DNS mappings for 7776 a particular lease (addition or removal of DNS mappings). 7777 Currently all generated NameChangeRequests are dropped. Sending 7778 them to b10-dhcp-ddns will be implemented with the future tickets. 7779 (Trac #3036, git 209f3964b9f12afbf36f3fa6b62964e03049ec6e) 7780 7781662. [func] marcin 7782 libdhcp++: Implemented an Option4ClientFqdn class which represents 7783 DHCPv4 Client FQDN Option (code 81) defined in RFC4702. This class 7784 supports the domain name encoding in canonical FQDN format as well 7785 as in deprecated ASCII format. 7786 (Trac# 3082, git 1b434debfbf4a43070eb480fa0975a6eff6429d4) 7787 7788661. [func] stephen 7789 Copy additional header files to the BIND 10 installation directory 7790 to allow the building of DHCP hooks libraries against an installed 7791 version of BIND 10. 7792 (Trac #3092, git e9beef0b435ba108af9e5979476bd2928808b342) 7793 7794660. [func] fujiwara 7795 src/lib/cc: Integer size of C++ CC library is changed to int64_t. 7796 b10-auth: The size of statistics counters is changed to uint64_t. 7797 b10-auth sends lower 63 bit of counter values to b10-stats. 7798 (Trac #3015, git e5b3471d579937f19e446f8a380464e0fc059567 7799 and Trac #3016, git ffbcf9833ebd2f1952664cc0498608b988628d53) 7800 7801659. [func] stephen 7802 Added capability to configure the hooks libraries for the 7803 b10-dhcp4 and b10-dhcp6 servers through the BIND 10 7804 configuration mechanism. 7805 (Trac #2981, git aff6b06b2490fe4fa6568e7575a9a9105cfd7fae) 7806 7807658. [func]* vorner 7808 The resolver, being experimental, is no longer installed by default. 7809 If you really want to use it, even when it is known to be buggy, use 7810 the ./configure --enable-experimental-resolver option. 7811 (Trac #3064, git f5f07c976d2d42bdf80fea4433202ecf1f260648) 7812 7813657. [bug] vorner 7814 Due to various problems with older versions of boost and 7815 shared memory, the server rejects to compile with combination 7816 of boost < 1.48 and shared memory enabled. Most users don't 7817 need shared memory, admins of large servers are asked to 7818 upgrade boost. 7819 (Trac #3025, git 598e458c7af7d5bb81131112396e4c5845060ecd) 7820 7821656. [func] tomek 7822 Additional hooks (buffer6_receive, lease6_renew, 7823 lease6_release, buffer6_send) added to the DHCPv6 server. 7824 (Trac #2984, git 540dd0449121094a56f294c500c2ed811f6016b6) 7825 7826655. [func] tmark 7827 Added D2UpdateMgr class to b10-dhcp-ddns. This class is 7828 the b10-dhcp-ddns task master, instantiating and supervising 7829 transactions that carry out the DNS updates needed to 7830 fulfill the requests (NameChangeRequests) received from 7831 b10-dhcp-ddns clients (e.g. DHCP servers). 7832 (Trac #3059 git d72675617d6b60e3eb6160305738771f015849ba) 7833 7834654. [bug] stephen 7835 Always clear "skip" flag before calling any callouts on a hook. 7836 (Trac# 3050, git ff0b9b45869b1d9a4b99e785fbce421e184c2e93) 7837 7838653. [func] tmark 7839 Added initial implementation of D2QueueMgr to 7840 b10-dhcp-ddns. This class manages the receipt and 7841 queuing of requests received by b10-dhcp-ddns from 7842 its clients (e.g. DHCP servers) 7843 (Trac# 3052, git a970f6c5255e000c053a2dc47926cea7cec2761c) 7844 7845652. [doc] stephen 7846 Added the "Hook Developer's Guide" to the BIND 10 developer 7847 documentation. 7848 (Trac# 2982, git 26a805c7e49a9ec85ee825f179cda41a2358f4c6) 7849 7850651. [bug] muks 7851 A race condition when creating cmdctl certificates caused corruption 7852 of these certificates in rare cases. This has now been fixed. 7853 (Trac# 2962, git 09f557d871faef090ed444ebeee7f13e142184a0) 7854 7855650. [func] muks 7856 The DomainTree rebalancing code has been updated to be more 7857 understandable. This ChangeLog entry is made just to make a note 7858 of this change. The change should not cause any observable 7859 difference whatsoever. 7860 (Trac# 2811, git 7c0bad1643af13dedf9356e9fb3a51264b7481de) 7861 7862649. [func] muks 7863 The default b10-xfrout also_notify port has been changed from 7864 0 to 53. 7865 (Trac# 2925, git 8acbf043daf590a9f2ad003e715cd4ffb0b3f979) 7866 7867648. [func] tmark 7868 Moved classes pertaining to sending and receiving 7869 NameChangeRequests from src/bin/d2 into their own library, 7870 libdhcp_ddns, in src/lib/dhcp_ddns. This allows the 7871 classes to be shared between DHDCP-DDNS and its clients, 7872 such as the DHCP servers. 7873 (Trac# 3065, git 3d39bccaf3f0565152ef73ec3e2cd03e77572c56) 7874 7875647. [func] tmark 7876 Added initial implementation of classes for sending 7877 and receiving NameChangeRequests between DHCP-DDNS 7878 and its clients such as DHCP. This includes both 7879 abstract classes and a derivation which traffics 7880 requests across UDP sockets. 7881 (Trac #3008, git b54530b4539cec4476986442e72c047dddba7b48) 7882 7883646. [func] stephen 7884 Extended the hooks framework to add a "validate libraries" function. 7885 This will be used to check libraries specified during BIND 10 7886 configuration. 7887 (Trac #3054, git 0f845ed94f462dee85b67f056656b2a197878b04) 7888 7889645. [func] tomek 7890 Added initial set of hooks (pkt4_receive, subnet4_select, 7891 lease4_select, pkt4_send) to the DHCPv4 server. 7892 (Trac #2994, git be65cfba939a6a7abd3c93931ce35c33d3e8247b) 7893 7894644. [func] marcin 7895 b10-dhcp4, b10-dhcp6: Implemented selection of the interfaces 7896 that server listens on, using Configuration Manager. It is 7897 possible to specify interface names explicitly or use asterisk 7898 to specify that server should listen on all available interfaces. 7899 Sockets are reopened according to the new configuration as 7900 soon as it is committed. 7901 (Trac #1555, git f48a3bff3fbbd15584d788a264d5966154394f04) 7902 7903643. [bug] muks 7904 When running some unittests as root that depended on insufficient 7905 file permissions, the tests used to fail because the root user 7906 could still access such files. Such tests are now skipped when 7907 they are run as the root user. 7908 (Trac #3056, git 92ebabdbcf6168666b03d7f7fbb31f899be39322) 7909 7910642. [func] tomek 7911 Added initial set of hooks (pkt6_receive, subnet6_select, 7912 lease6_select, pkt6_send) to the DHCPv6 server. 7913 (Trac #2995, git d6de376f97313ba40fef989e4a437d184fdf70cc) 7914 7915641. [func] stephen 7916 Added the hooks framework. This allows shared libraries of 7917 user-written functions to be loaded at run-time and the 7918 functions called during packet processing. 7919 (Trac #2980, git 82c997a72890a12af135ace5b9ee100e41c5534e) 7920 7921640. [func] marcin 7922 b10-dhcp-ddns: Implemented DNSClient class which implements 7923 asynchronous DNS updates using UDP. The TCP and TSIG support 7924 will be implemented at later time. Nevertheless, class API 7925 accommodates the use of TCP and TSIG. 7926 (Trac #2977, git 5a67a8982baa1fd6b796c063eeb13850c633702c) 7927 7928639. [bug] muks 7929 Added workaround for build failure on Fedora 19 between GCC 4.8.x 7930 and boost versions less than 1.54. Fedora 19 currently ships 7931 boost-1.53. 7932 (Trac #3039, git 4ef6830ed357ceb859ebb3e5e821a064bd8797bb) 7933 7934638. [bug]* naokikambe 7935 Per-zone statistics counters are distinguished by zone class, 7936 e.g. IN, CH, and HS. A class name is added onto a zone name in 7937 structure of per-zone statistics. 7938 (Trac #2884, git c0153581c3533ef045a92e68e0464aab00947cbb) 7939 7940637. [func] tmark 7941 Added initial implementation of NameChangeRequest, 7942 which embodies DNS update requests sent to DHCP-DDNS 7943 by its clients. 7944 (trac3007 git f33bdd59c6a8c8ea883f11578b463277d01c2b70) 7945 7946636. [func] tmark 7947 Added the initial implementation of configuration parsing for 7948 DHCP-DDNS. 7949 (Trac #2957, git c04fb71fa44c2a458aac57ae54eeb1711c017a49) 7950 7951635. [func] marcin 7952 b10-dhcp-ddns: Implemented DNS Update message construction. 7953 (Trac #2796, git eac5e751473e238dee1ebf16491634a1fbea25e2) 7954 7955634. [bug] muks 7956 When processing DDNS updates, we now check the zone more 7957 thoroughly with the received zone data updates to check if it is 7958 valid. If the zone fails validation, we reply with SERVFAIL 7959 rcode. So, while previously we may have allowed more zone data 7960 cases without checking which resulted in invalid zones, such 7961 update requests are now rejected. 7962 (Trac #2759, git d8991bf8ed720a316f7506c1dd9db7de5c57ad4d) 7963 7964633. [func] jinmei 7965 b10-memmgr: a new BIND 10 module that manages shared memory 7966 segments for DNS zone data. At this point it's runnable but does 7967 nothing really meaningful for end users; it was added to the 7968 master branch for further development. 7969 (Trac #2854, git d05d7aa36d0f8f87b94dba114134b50ca37eabff) 7970 7971632. [bug] marcin 7972 perfdhcp: Fixed a bug in whereby the application was sporadically 7973 crashing when timed out packets were garbage collected. 7974 (Trac #2979, git 6d42b333f446eccc9d0204bcc04df38fed0c31db) 7975 7976631. [bug] muks 7977 Applied a patch by Tomas Hozza to fix a couple of compile errors 7978 on Fedora 19 development release. 7979 (Trac #3001, git 6e42b90971b377261c72d51c38bf4a8dc336664a) 7980 7981630. [bug] muks 7982 If there is a problem loading the backend module for a type of 7983 data source, b10-auth would not serve any zones. This behaviour 7984 has been changed now so that it serves zones from all other usable 7985 data sources that were configured. 7986 (Trac #2947, git 9a3ddf1e2bfa2546bfcc7df6d9b11bfbdb5cf35f) 7987 7988629. [func] stephen 7989 Added first part of the hooks framework. 7990 (Trac #2794, git d2b107586db7c2deaecba212c891d231d7e54a07) 7991 7992628. [func] y-aharen 7993 b10-auth: A new statistics item 'qryrecursion' has been introduced. 7994 The counter is for the number of queries (OpCode=Query) with Recursion 7995 Desired (RD) bit on. 7996 (Trac #2796, git 3d291f42cdb186682983aa833a1a67cb9e6a8434) 7997 7998627. [func] tmark 7999 Logger name for DHCP-DDNS has been changed from "d2_logger" to 8000 "dhcpddns". In addition, its log messages now use two suffixes, 8001 DCTL_ for logs the emanate from the underlying base classes, and 8002 DHCP_DDNS_ for logs which emanate from DHCP-DDNS specific code 8003 (Trac #2978, git 5aec5fb20b0486574226f89bd877267cb9116921) 8004 8005626. [func] tmark 8006 Created the initial implementation of DHCP-DDNS service 8007 controller class, D2Controller, and the abstract class from 8008 which it derives, DControllerBase. D2Controller manages the 8009 lifecycle and BIND10 integration of the DHCP-DDNS application 8010 process, D2Process. Also note, module name is now 8011 b10-dhcp-ddns. 8012 (Trac #2956, git a41cac582e46213c120b19928e4162535ba5fe76) 8013 8014625. [bug]* jinmei 8015 b10-xfrin/b10-loadzone: b10-xfrin now refers to the unified 8016 "data_sources" module configuration instead of almost-deprecated 8017 the Auth/database_file configuration (Note: zonemgr still uses the 8018 latter, so a secondary server would still need it for the moment). 8019 Due to this change, b10-xfrin does not auto-generate an initial 8020 zone for the very first transfer anymore; b10-loadzone has been 8021 extended with a new -e option for the initial setup. 8022 (Trac #2946, git 8191aec04c5279c199909f00f0a0b2b8f7bede94) 8023 8024624. [bug] jinmei 8025 logging: prevented multiple BIND 10 processes from generating 8026 multiple small log files when they dumped logs to files and try 8027 to roll over them simultaneously. This fix relies on a feature of 8028 underling logging library (log4cplus) version 1.1.0 or higher, 8029 so the problem can still happen if BIND 10 is built with an older 8030 version of log4cplus. (But this is expected to happen rarely in 8031 any case unless a verbose debug level is specified). 8032 (Trac #1622, git 5da8f8131b1224c99603852e1574b2a1adace236) 8033 8034623. [func] tmark 8035 Created the initial, bare-bones implementation of DHCP-DDNS 8036 service process class, D2Process, and the abstract class 8037 from which it derives, DProcessBase. D2Process will provide 8038 the DHCP-DDNS specific event loop and business logic. 8039 (Trac #2955, git dbe4772246039a1257b6492936fda2a8600cd245) 8040 8041622. [func]* jinmei 8042 b10-xfrin now has tighter control on the choice of IXFR or AXFR 8043 through zones/request_ixfr configuration item. It includes 8044 the new "IXFR only" behavior for some special cases. b10-xfrin 8045 now also uses AXFR whenever necessary, so it is now safe to try 8046 IXFR by default and it's made the default. The previous 8047 use_ixfr configuration item was deprecated and triggers startup 8048 failure if specified; configuration using use_ixfr should be 8049 updated. 8050 (Trac #2911, git 8118f8e4e9c0ad3e7b690bbce265a163e4f8767a) 8051 8052621. [func] team 8053 libdns++: All Rdata classes now use the generic lexer in 8054 constructors from text. This means that the name fields in such 8055 RRs in a zone file can now be non-absolute (the origin name in that 8056 context will be used), e.g., when loaded by b10-loadzone. Note 8057 that the existing string constructors for these Rdata classes also 8058 use the generic lexer, and they now expect an absolute name (with 8059 the trailing '.') in the name fields. 8060 (Trac #2522, git ea97070cf6b41299351fc29af66fa39c6465d56a) 8061 (Trac #2521, git c6603decaadcd33ccf9aee4a7b22447acec4b7f6) 8062 (See also ChangeLog 594, 564, 545) 8063 8064620. [bug] jinmei 8065 b10-auth now returns SERVFAIL to queries for a zone that is 8066 configured to be loaded in-memory but isn't due to load time 8067 errors (missing zone file or errors in the zone file, etc). 8068 Such zones were previously treated as non existent and would 8069 result in REFUSED or unintentional match against less specific 8070 zones. The revised behavior is also compatible with BIND 9. 8071 (Trac #2905, git 56ee9810fdfb5f86bd6948e6bf26545ac714edd8) 8072 8073619. [bug] jinmei 8074 b10-xfrout now uses blocking send for xfr response messages 8075 to prevent abrupt termination of the stream due to a slower 8076 client or narrower network bandwidth. 8077 (Trac #2934, git bde0e94518469557c8b455ccbecc079a38382afd) 8078 8079618. [func]* marcin 8080 b10-dhcp4: Added the ability for the server to respond to a 8081 directly connected client which does not yet have an IP address. 8082 On Linux, the server will unicast the response to the client's 8083 hardware address and the 'yiaddr' (the client's new IP 8084 address). Sending a response to the unicast address prevents other 8085 (not interested) hosts from receiving the server response. This 8086 capability is not yet implemented on non-Linux Operating Systems 8087 where, in all cases, the server responds to the broadcast 8088 address. The logic conforms to section 4.1 of RFC 2131. 8089 (Trac #2902, git c2d40e3d425f1e51647be6a717c4a97d7ca3c29c) 8090 8091617. [bug] marcin 8092 b10-dhcp4: Fixed a bug whereby the domain-name option was encoded 8093 as FQDN (using technique described in RFC1035) instead of a string. 8094 Also, created new class which represents an option carrying a single 8095 string value. This class is now used for all standard options of 8096 this kind. 8097 (Trac #2786, git 96b1a7eb31b16bf9b270ad3d82873c0bd86a3530) 8098 8099616. [doc] stephen 8100 Added description to the DHCP "Database Back-Ends" section of the 8101 BIND 10 Developer's Guide about how to set up a MySQL database for 8102 testing the DHCP MySQL backend. 8103 (Trac #2653, git da3579feea036aa2b7d094b1c260a80a69d2f9aa) 8104 8105615. [bug] jinmei 8106 b10-auth: Avoid referencing to a freed object when authoritative 8107 server addresses are reconfigured. It caused a crash on a busy 8108 server during initial startup time, and the same crash could also 8109 happen if listen_on parameters are reconfigured at run time. 8110 (Trac #2946, git d5f2a0d0954acd8bc33aabb220fab31652394fcd) 8111 8112614. [func] tmark 8113 b10-d2: Initial DHCP-DDNS (a.k.a. D2) module implemented. 8114 Currently it does nothing useful, except for providing the 8115 skeleton implementation to be expanded in the future. 8116 (Trac #2954, git 392c5ec5d15cd8c809bc9c6096b9f2bfe7b8c66a) 8117 8118613. [func] jinmei 8119 datasrc: Error handling in loading zones into memory is now more 8120 consistent and convenient: data source configuration does not fail 8121 due to zones configured to be loaded into memory but not available 8122 in the data source, just like the case of missing zone file for 8123 the MasterFiles type of data source. Also, zones that aren't 8124 loaded into memory due to errors can now be reloaded for b10-auth 8125 using the bindctl Auth loadzone command after fixing the error, 8126 without reconfiguring the entire data source. 8127 (Trac #2851, git a3d4fe8a32003534150ed076ea0bbf80e1fcc43c) 8128 8129612. [func] tomek 8130 b10-dhcp6: Support for relayed DHCPv6 traffic has been added. 8131 (Trac #2898, git c3f6b67fa16a07f7f7ede24dd85feaa7c157e1cb) 8132 8133611. [func] naokikambe 8134 Added Xfrin statistics items such as the number of successful 8135 transfers. These are per-zone type counters. Their values can be 8136 obtained with zone names by invoking "Stats show Xfrin" via bindctl 8137 while Xfrin is running. 8138 (Trac #2252, git e1a0ea8ef5c51b9b25afa111fbfe9347afbe5413) 8139 8140bind10-1.1.0beta2 released on May 10, 2013 8141 8142610. [bug] muks 8143 When the sqlite3 program is not available on the system (in 8144 PATH), we no longer attempt to run some tests which depend 8145 on it. 8146 (Trac #1909, git f85b274b85b57a094d33ca06dfbe12ae67bb47df) 8147 8148609. [bug] jinmei 8149 Handled some rare error cases in DNS server classes correctly. 8150 This fix specifically solves occasional crash of b10-auth due to 8151 errors caused by TCP DNS clients. Also, as a result of cleanups 8152 with the fix, b10-auth should now be a little bit faster in 8153 handling UDP queries: in some local experiments it ran about 5% 8154 faster. 8155 (Trac #2903, git 6d3e0f4b36a754248f8a03a29e2c36aef644cdcc) 8156 8157608. [bug] jinmei 8158 b10-cmdctl: fixed a hangup problem on receiving the shutdown 8159 command from bindctl. Note, however, that cmdctl is defined as 8160 a "needed" module by default, so shutting down cmdctl would cause 8161 shutdown of the entire BIND 10 system anyway, and is therefore 8162 still not very useful in practice. 8163 (Trac #2712, git fa392e8eb391a17d30550d4b290c975710651d98) 8164 8165607. [bug] jinmei 8166 Worked around some unit test regressions on FreeBSD 9.1 due to 8167 a binary compatibility issue between standard and system 8168 libraries (http://www.freebsd.org/cgi/query-pr.cgi?pr=175453). 8169 While not all tests still pass, main BIND 10 programs should 8170 generally work correctly. Still, there can be odd run time 8171 behavior such as abrupt crash instead of graceful shutdown 8172 when some fatal event happens, so it's generally discouraged to 8173 use BIND 10 on FreeBSD 9.1 RELEASE. According to the above 8174 bug report for FreeBSD, it seems upgrading or downgrading the 8175 FreeBSD version will solve this problem. 8176 (Trac #2887, git 69dfb4544d9ded3c10cffbbfd573ae05fdeb771f) 8177 8178606. [bug] jinmei 8179 b10-xfrout now correctly stops sending notify requests once it 8180 receives a valid response. It previously handled it as if the 8181 requests are timed out and resent it a few times in a short 8182 period. 8183 (Trac #2879, git 4c45f29f28ae766a9f7dc3142859f1d0000284e1) 8184 8185605. [bug] tmark 8186 Modified perfdhcp to calculate the times displayed for packet sent 8187 and received as time elapsed since perfdhcp process start time. 8188 Previously these were times since the start of the epoch. 8189 However the large numbers involved caused loss of precision 8190 in the calculation of the test statistics. 8191 (Trac #2785, git e9556924dcd1cf285dc358c47d65ed7c413e02cf) 8192 8193604. [func] marcin 8194 libdhcp++: abstracted methods which open sockets and send/receive 8195 DHCP4 packets to a separate class. Other classes will be derived 8196 from it to implement OS-specific methods of DHCPv4 packets filtering. 8197 The primary purpose for this change is to add support for Direct 8198 DHCPv4 response to a client which doesn't have an address yet on 8199 different OSes. 8200 (Trac #991, git 33ffc9a750cd3fb34158ef676aab6b05df0302e2) 8201 8202603. [func] tmark 8203 The directory in which the b10-dhcp4 and b10-dhcp6 server id files has 8204 been changed from the local state directory (set by the "configure" 8205 --localstatedir switch) to the "bind10" subdirectory of it. After an 8206 upgrade, server id files in the former location will be orphaned and 8207 should be manually removed. 8208 (Trac #2770, git a622140d411b3f07a68a1451e19df36118a80650) 8209 8210602. [bug] tmark 8211 Perfdhcp will now exit gracefully if the command line argument for 8212 IP version (-4 or -6) does not match the command line argument 8213 given for the server. Prior to this perfdhcp would core when given 8214 an IP version of -6 but a valid IPv4 address for server. 8215 (Trac #2784, git 96b66c0c79dccf9a0206a45916b9b23fe9b94f74) 8216 8217601. [bug]* jinmei, vorner 8218 The "delete record" interface of the database based data source 8219 was extended so that the parameter includes reversed name in 8220 addition to the actual name. This may help the underlying 8221 accessor implementation if reversed names are more convenient 8222 for the delete operation. This was the case for the SQLite3 8223 accessor implementation, and it now performs delete operations 8224 much faster. At a higher level, this means IXFR and DDNS Updates 8225 to the sqlite3 database are no longer so slow on large zones as 8226 they were before. 8227 (Trac #2877, git 33bd949ac7288c61ed0a664b7329b50b36d180e5) 8228 8229600. [bug] tmark 8230 Changed mysql_lease_mgr to set the SQL mode option to STRICT. This 8231 causes mysql it to treat invalid input data as an error. Rather than 8232 "successfully" inserting a too large value by truncating it, the 8233 insert will fail, and the lease manager will throw an exception. 8234 Also, attempts to create a HWAddr (hardware address) object with 8235 too long an array of data now throw an exception. 8236 (Trac #2387, git cac02e9290600407bd6f3071c6654c1216278616) 8237 8238599. [func] tomek 8239 libdhcp++: Pkt6 class is now able to parse and build relayed DHCPv6 8240 messages. 8241 (Trac #2827, git 29c3f7f4e82d7e85f0f5fb692345fd55092796b4) 8242 8243bind10-1.1.0beta1 released on April 4, 2013 8244 8245598. [func]* jinmei 8246 The separate "static" data source is now deprecated as it can be 8247 served in the more generic "MasterFiles" type of data source. 8248 This means existing configuration may not work after an update. 8249 If "config show data_sources/classes/CH[0]" on bindctl contains a 8250 "static" type of data source, you'll need to update it as follows: 8251 > config set data_sources/classes/CH[0]/type MasterFiles 8252 > config set data_sources/classes/CH[0]/params {"BIND": => 8253 "<the value of current data_sources/classes/CH[0]/params>"} 8254 > config set data_sources/classes/CH[0]/cache-enable true 8255 > config commit 8256 (Same for CH[1], CH[2], IN[0], etc, if applicable, although it 8257 should be very unlikely in practice. Also note: '=>' above 8258 indicates the next line is actually part of the command. Do 8259 not type in this "arrow"). 8260 (Part of Trac #2833, git 0363b4187fe3c1a148ad424af39e12846610d2d7) 8261 8262597. [func] tmark 8263 b10-dhcp6: Added unit tests for handling requests when no 8264 IPv6 subnets are configured/defined. Testing these conditions 8265 was overlooked during implementation of Trac #2719. 8266 (Trac #2721, git ce7f53b2de60e2411483b4aa31c714763a36da64) 8267 8268596. [bug] jinmei 8269 Added special handling for the case where b10-auth receives a 8270 NOTIFY message, but zonemgr isn't running. Previously this was 8271 logged as a communications problem at the ERROR level, resulting 8272 in increasing noise when zonemgr is intentionally stopped. Other 8273 than the log level there is no change in externally visible 8274 behavior. 8275 (Trac #2562, git 119eed9938b17cbad3a74c823aa9eddb7cd337c2) 8276 8277595. [bug] tomek 8278 All DHCP components now gracefully refuse to handle too short 8279 DUIDs and client-id. 8280 (Trac #2723, git a043d8ecda6aff57922fe98a33c7c3f6155d5d64) 8281 8282594. [func] muks, pselkirk 8283 libdns++: the NSEC, DS, DLV, and AFSDB Rdata classes now use the 8284 generic lexer in constructors from text. This means that the name 8285 fields in such RRs in a zone file can now be non-absolute (the 8286 origin name in that context will be used), e.g., when loaded by 8287 b10-loadzone. 8288 (Trac #2386, git dc0f34afb1eccc574421a802557198e6cd2363fa) 8289 (Trac #2391, git 1450d8d486cba3bee8be46e8001d66898edd370c) 8290 8291593. [func] jelte 8292 Address + port output and logs is now consistent according to our 8293 coding guidelines, e.g. <address>:<port> in the case of IPv4, and 8294 [<address>]:<port> in the case of IPv6, instead of <address>#<port> 8295 (Trac #1086, git bcefe1e95cdd61ee4a09b20522c3c56b315a1acc) 8296 8297592. [bug] jinmei 8298 b10-auth and zonemgr now handle some uncommon NOTIFY messages more 8299 gracefully: auth immediately returns a NOTAUTH response if the 8300 server does not have authority for the zone (the behavior 8301 compatible with BIND 9) without bothering zonemgr; zonemgr now 8302 simply skips retransfer if the specified zone is not in its 8303 secondary zone list, instead of producing noisy error logs. 8304 (Trac #1938, git 89d7de8e2f809aef2184b450e7dee1bfec98ad14) 8305 8306591. [func] vorner 8307 Ported the remaining tests from the old shell/perl based system to 8308 lettuce. Make target `systest' is now gone. Currently, the lettuce 8309 tests are in git only, not part of the release tarball. 8310 (Trac #2624, git df1c5d5232a2ab551cd98b77ae388ad568a683ad) 8311 8312590. [bug] tmark 8313 Modified "include" statements in DHCP MySQL lease manager code to 8314 fix build problems if MySQL is installed in a non-standard location. 8315 (Trac #2825, git 4813e06cf4e0a9d9f453890557b639715e081eca) 8316 8317589. [bug] jelte 8318 b10-cmdctl now automatically re-reads the user accounts file when 8319 it is updated. 8320 (Trac #2710, git 16e8be506f32de668699e6954f5de60ca9d14ddf) 8321 8322588. [bug]* jreed 8323 b10-xfrout: Log message id XFROUT_QUERY_QUOTA_EXCEEDED 8324 changed to XFROUT_QUERY_QUOTA_EXCEEDED. 8325 (git be41be890f1349ae4c870a887f7acd99ba1eaac5) 8326 8327587. [bug] jelte 8328 When used from python, the dynamic datasource factory now 8329 explicitly loads the logging messages dictionary, so that correct 8330 logging messages does not depend on incidental earlier import 8331 statements. Also, the sqlite3-specific log messages have been moved 8332 from the general datasource library to the sqlite3 datasource 8333 (which also explicitly loads its messages). 8334 (Trac #2746, git 1c004d95a8b715500af448683e4a07e9b66ea926) 8335 8336586. [func] marcin 8337 libdhcp++: Removed unnecessary calls to the function which 8338 validates option definitions used to create instances of options 8339 being decoded in the received packets. Eliminating these calls 8340 lowered the CPU utilization by the server by approximately 10%. 8341 Also, added the composite search indexes on the container used to 8342 store DHCP leases by Memfile backend. This resulted in the 8343 significant performance rise when using this backend to store 8344 leases. 8345 (Trac #2701, git b96a30b26a045cfaa8ad579b0a8bf84f5ed4e73f) 8346 8347585. [func] jinmei, muks 8348 The zone data loader now accepts RRs in any order during load. 8349 Before it used to reject adding non-consecutive RRsets. It 8350 expected records for a single owner name and its type to be 8351 grouped together. These restrictions are now removed. It now also 8352 suppresses any duplicate RRs in the zone file when loading them 8353 into memory. 8354 (Trac #2440, git 232307060189c47285121f696d4efb206f632432) 8355 (Trac #2441, git 0860ae366d73314446d4886a093f4e86e94863d4) 8356 8357584. [bug] jinmei 8358 Fixed build failure with Boost 1.53 (and probably higher) in the 8359 internal utility library. Note that with -Werror it may still 8360 fail, but it's due to a Boost bug that is reportedly fixed in their 8361 development trunk. See https://svn.boost.org/trac/boost/ticket/8080 8362 Until the fix is available in a released Boost version you may need 8363 to specify the --without-werror configure option to build BIND 10. 8364 (Trac #2764, git ca1da8aa5de24358d7d4e7e9a4625347457118cf) 8365 8366583. [func]* jelte 8367 b10-cmdctl-usermgr has been updated and its options and arguments 8368 have changed; it now defaults to the same accounts file as 8369 b10-cmdctl defaults to. It can now be used to remove users from the 8370 accounts file as well, and it now accepts command-line arguments to 8371 specify the username and password to add or remove, in which case 8372 it will not prompt for them. 8373 Note that using a password on the command line is not recommended, 8374 as this can be viewed by other users. 8375 (Trac #2713, git 9925af3b3f4daa47ba8c2eb66f556b01ed6f0502) 8376 8377582. [func] naokikambe 8378 New statistics items related unixdomain sockets added into Xfrout : 8379 open, openfail, close, bindfail, acceptfail, accept, senderr, and 8380 recverr. Their values can be obtained by invoking "Stats show Xfrout" 8381 via bindctl while Xfrout is running. 8382 (Trac #2225, git 6df60554683165adacc2d1c3d29aa42a0c9141a1) 8383 8384581. [func]* y-aharen 8385 Added statistics items in b10-auth based on 8386 http://bind10.isc.org/wiki/StatisticsItems. Qtype counters are 8387 dropped as it requires further spec design discussion. 8388 (Trac #2154, Trac #2155, 8389 git 61d7c3959eb991b22bc1c0ef8f4ecb96b65d9325) 8390 (Trac #2157, git e653adac032f871cbd66cd500c37407a56d14589) 8391 8392bind10-1.0.0-rc released on February 14, 2013 8393 8394580. [func]* muks 8395 There is no longer a default user account. The old default account 8396 with username 'root' has been removed. In a fresh installation of 8397 BIND 10, the administrator has to configure a user account using 8398 the b10-cmdctl-usermgr program. 8399 (Trac #2641, git 54e8f4061f92c2f9e5b8564240937515efa6d934) 8400 8401579. [bug] jinmei 8402 libdatasrc/b10-auth: corrected some corner cases in query handling 8403 of in-memory data source that led to the following invalid/odd 8404 responses from b10-auth: 8405 - duplicate RRs in answer and additional for type ANY query 8406 - incorrect NSEC for no error, no data (NXRRSET) response that 8407 matches a wildcard 8408 (Trac #2585, git abe78fae4ba3aca5eb01806dd4e05607b1241745) 8409 8410578. [bug] jinmei 8411 b10-auth now returns closest encloser NSEC3 proof to queries for 8412 an empty non terminal derived from an Opt-Out NSEC3 RR, as clarified 8413 in errata 3441 for RFC5155. Previously it regarded such case as 8414 broken zone and returned SERVFAIL. 8415 (Trac #2659, git 24c235cb1b379c6472772d340e21577c3460b742) 8416 8417577. [func] muks 8418 Added an SQLite3 index on records(rname, rdtype). This decreases 8419 insert performance by ~28% and adds about ~20% to the file size, 8420 but increases zone iteration performance. As it introduces a new 8421 index, a database upgrade would be required. 8422 (Trac #1756, git 9b3c959af13111af1fa248c5010aa33ee7e307ee) 8423 8424576. [bug] tmark, tomek 8425 b10-dhcp6: Fixed bug when the server aborts operation when 8426 receiving renew and there are no IPv6 subnets configured. 8427 (Trac #2719, git 3132b8b19495470bbfd0f2ba0fe7da443926034b) 8428 8429575. [bug] marcin 8430 b10-dhcp6: Fixed the bug whereby the subnet for the incoming 8431 packet was selected using only its source address. The subnet 8432 is now selected using either source address or the name of the 8433 server's interface on which the packet has been received. 8434 (Trac #2704, git 1cbacf19a28bdae50bb9bd3767bca0147fde37ed) 8435 8436574. [func] tmark 8437 b10-dhcp4, b10-dhcp6: Composite key indexes were added to the lease 8438 tables to reduce lease search time. The lease4 table now has two 8439 additional indexes: a) hwaddr/subnet_id and b) client_id/subnet_id. 8440 The lease6 now has the one additional index: iaid/subnet_id/duid. 8441 Adding these indexes significantly improves lease acquisition 8442 performance. 8443 (Trac #2699, #2703, git 54bbed5fcbe237c5a49b515ae4c55148723406ce) 8444 8445573. [bug] stephen 8446 Fixed problem whereby the DHCP server crashed if it ran out of 8447 addresses. Such a condition now causes a packet to be returned 8448 to the client refusing the allocation of an address. 8449 (Trac #2681, git 87ce14cdb121b37afb5b1931af51bed7f6323dd6) 8450 8451572. [bug] marcin 8452 perfdhcp: Fixed bug where the command line switches used to 8453 run the perfdhcp where printed as ASCII codes. 8454 (Trac #2700, git b8d6b949eb7f4705e32fbdfd7694ca2e6a6a5cdc) 8455 8456571. [build] jinmei 8457 The ./configure script can now handle output from python-config 8458 --ldflags that contains a space after -L switches. This fixes 8459 failure reported on some Solaris environments. 8460 (Trac #2661, git e6f86f2f5eec8e6003c13d36804a767a840d96d6) 8461 8462570. [bug] tmark, marcin, tomek 8463 b10-dhcp4: Address renewal now works properly for DHCPv4 clients 8464 that do not send client ID. 8465 (Trac #2702, git daf2abe68ce9c111334a15c14e440730f3a085e2) 8466 8467569. [bug] tomek 8468 b10-dhcp4: Fix bug whereby a DHCP packet without a client ID 8469 could crash the MySQL lease database backend. 8470 (Trac #2697, git b5e2be95d21ed750ad7cf5e15de2058aa8bc45f4) 8471 8472568. [func] muks 8473 Various message IDs have been renamed to remove the word 'ERROR' 8474 from them when they are not logged at ERROR severity level. 8475 (Trac #2672, git 660a0d164feaf055677f375977f7ed327ead893e) 8476 8477567. [doc] marcin, stephen, tomek 8478 Update DHCP sections of the BIND 10 guide. 8479 (Trac #2657, git 1d0c2004865d1bf322bf78d13630d992e39179fd) 8480 8481566. [func]* jinmei 8482 libdns++/Python isc.dns: In Python isc.dns, function style 8483 constants for RRType, RRClass, Rcode and Opcode were deprecated 8484 and replaced with straightforward object constants, e.g., from 8485 RRType.AAAA() to RRType.AAAA. This is a backward incompatible 8486 change (see the Trac ticket for a conversion script if needed). 8487 Also, these constants are now more consistent between C++ 8488 and Python, and RRType constants for all currently standardized 8489 types are now supported (even if Rdata for these are not yet 8490 available). 8491 (Trac #1866 and #2409, git e5005185351cf73d4a611407c2cfcd163f80e428) 8492 8493565. [func]* jelte 8494 The main initializer script (formerly known as either 'bind10', 8495 'boss', or 'bob'), has been renamed to b10-init (and Init in 8496 configuration). Configuring which components are run is henceforth 8497 done through '/Init/components', and the sbin/bind10 script is now 8498 simply a shellscript that runs b10-init. Existing configuration is 8499 automatically updated. NOTE: once configuration with this update 8500 has been saved (by committing any new change with bindctl), you 8501 cannot run older versions of BIND 10 anymore with this configuration. 8502 (Trac #1901, git bae3798603affdb276f370c1ac6b33b011a5ed4f) 8503 8504564. [func] muks 8505 libdns++: the CNAME, DNAME, MX, NS, PTR and SRV Rdata classes now 8506 use the generic lexer in constructors from text. This means that 8507 the name fields in such RRs in a zone file can now be non-absolute 8508 (the origin name in that context will be used), e.g., when loaded 8509 by b10-loadzone. One additional change to the libdns++ API is that 8510 the existing string constructors for these Rdata classes also use 8511 the generic lexer, and they now expect an absolute name (with the 8512 trailing '.') in the name fields. 8513 (Trac #2390, git a01569277cda3f78b1171bbf79f15ecf502e81e2) 8514 (Trac #2656, git 5a0d055137287f81e23fbeedd35236fee274596d) 8515 8516563. [build] jinmei 8517 Added --disable-rpath configure option to avoid embedding library 8518 paths to binaries. Patch from Adam Tkac. 8519 (Trac #2667, git 1c50c5a6ee7e9675e3ab154f2c7f975ef519fca2) 8520 8521562. [func]* vorner 8522 The b10-xfrin now performs basic sanity check on just received 8523 zone. It'll reject severely broken zones (such as missing NS 8524 records). 8525 (Trac #2439, git 44699b4b18162581cd1dd39be5fb76ca536012e6) 8526 8527561. [bug] kambe, jelte 8528 b10-stats-httpd no longer dumps request information to the console, 8529 but uses the bind10 logging system. Additionally, the logging 8530 identifiers have been changed from STATHTTPD_* to STATSHTTPD_* 8531 (Trac #1897, git 93716b025a4755a8a2cbf250a9e4187741dbc9bb) 8532 8533560. [bug] jinmei 8534 b10-auth now sets the TTL of SOA RR for negative responses to 8535 the minimum of the RR TTL and the minimum TTL of the SOA RDATA 8536 as specified in RFC2308; previously the RR TTL was always used. 8537 The ZoneFinder class was extended partly for implementing this 8538 and partly for allowing further optimization. 8539 (Trac #2309 and #2635, git ee17e979fcde48b59d91c74ac368244169065f3b) 8540 8541559. [bug] jelte 8542 b10-cmdctl no longer aborts on basic file issues with its https 8543 certificate or private key file. It performs additional checks, and 8544 provides better error logs if these fail. Additionally, bindctl 8545 provides a better error report if it is unable to connect over 8546 https connection. This issue could occur if BIND 10 was installed 8547 with root privileges but then started as a normal user. 8548 (Trac #2595, git 09b1a2f927483b407d70e98f5982f424cc872149) 8549 8550558. [func] marcin 8551 b10-dhcp4: server now adds configured options to its 8552 responses to a client when client requests them. 8553 A few basic options: Routers, Domain Name, Domain 8554 Name Servers and Subnet Mask are added regardless 8555 if client requested them or not. 8556 (Trac #2591, git aeec2dc1b9c511d17971ac63138576c37e7c5164) 8557 8558557. [doc] stephen 8559 Update DHCP sections of the BIND 10 guide. 8560 (Trac #2642, git e5faeb5fa84b7218fde486347359504cf692510e) 8561 8562556. [bug] marcin 8563 Fixed DHCP servers configuration whereby the servers did not 8564 receive a configuration stored in the database on their startup. 8565 Also, the configuration handler function now uses full configuration 8566 instead of partial to configure the server. This guarantees that 8567 dependencies between various configuration parameters are 8568 fulfilled. 8569 (Trac #2637, git 91aa998226f1f91a232f2be59a53c9568c4ece77) 8570 8571555. [func] marcin 8572 The encapsulated option space name can be specified for 8573 a DHCP option. It comprises sub-options being sent within 8574 an option that encapsulates this option space. 8575 (Trac #2314, git 27e6119093723a1e46a239ec245a8b4b10677635) 8576 8577554. [func] jinmei 8578 b10-loadzone: improved completion log message and intermediate 8579 reports: It now logs the precise number of loaded RRs on 8580 completion, and intermediate reports show additional information 8581 such as the estimated progress in percentage and estimated time 8582 to complete. 8583 (Trac #2574, git 5b8a824054313bdecb8988b46e55cb2e94cb2d6c) 8584 8585553. [func] stephen 8586 Values of the parameters to access the DHCP server lease database 8587 can now be set through the BIND 10 configuration mechanism. 8588 (Trac #2559, git 6c6f405188cc02d2358e114c33daff58edabd52a) 8589 8590552. [bug] shane 8591 Build on Raspberry PI. 8592 The main issue was use of char for reading from input streams, 8593 which is incorrect, as EOF is returned as an int -1, which would 8594 then get cast into a char -1. 8595 A number of other minor issues were also fixed. 8596 (Trac #2571, git 525333e187cc4bbbbde288105c9582c1024caa4a) 8597 8598551. [bug] shane 8599 Kill msgq if we cannot connect to it on startup. 8600 When the boss process was unable to connect to the msgq, it would 8601 exit. However, it would leave the msgq process running. This has 8602 been fixed, and the msgq is now stopped in this case. 8603 (Trac #2608, git 016925ef2437e0396127e135c937d3a55539d224) 8604 8605550. [func] tomek 8606 b10-dhcp4: The DHCPv4 server now generates a server identifier 8607 the first time it is run. The identifier is preserved in a file 8608 across server restarts. 8609 b10-dhcp6: The server identifier is now preserved in a file across 8610 server restarts. 8611 (Trac #2597, git fa342a994de5dbefe32996be7eebe58f6304cff7) 8612 8613549. [func] tomek 8614 b10-dhcp6: It is now possible to specify that a configured subnet 8615 is reachable locally over specified interface (see "interface" 8616 parameter in Subnet6 configuration). 8617 (Trac #2596, git a70f6172194a976b514cd7d67ce097bbca3c2798) 8618 8619548. [func] vorner 8620 The message queue daemon now appears on the bus. This has two 8621 effects, one is it obeys logging configuration and logs to the 8622 correct place like the rest of the modules. The other is it 8623 appears in bindctl as module (but it doesn't have any commands or 8624 configuration yet). 8625 (Trac #2582, git ced31d8c5a0f2ca930b976d3caecfc24fc04634e) 8626 8627547. [func]* vorner 8628 The b10-loadzone now performs more thorough sanity check on the 8629 loaded data. Some of the checks are now fatal and zone failing 8630 them will be rejected. 8631 (Trac #2436, git 48d999f1cb59f308f9f30ba2639521d2a5a85baa) 8632 8633546. [func] marcin 8634 DHCP option definitions can be now created using the 8635 Configuration Manager. The option definition specifies 8636 the option code, name and the types of the data being 8637 carried by the option. The Configuration Manager 8638 reports an error on attempt to override standard DHCP 8639 option definition. 8640 (Trac #2317, git 71e25eb81e58a695cf3bad465c4254b13a50696e) 8641 8642545. [func] jinmei 8643 libdns++: the SOA Rdata class now uses the generic lexer in 8644 constructors from text. This means that the MNAME and RNAME of an 8645 SOA RR in a zone file can now be non absolute (the origin name 8646 in that context will be used), e.g., when loaded by b10-loadzone. 8647 (Trac #2500, git 019ca218027a218921519f205139b96025df2bb5) 8648 8649544. [func] tomek 8650 b10-dhcp4: Allocation engine support for IPv4 added. Currently 8651 supported operations are server selection (Discover/Offer), 8652 address assignment (Request/Ack), address renewal (Request/Ack), 8653 and address release (Release). Expired leases can be reused. 8654 Some options (e.g. Router Option) are still hardcoded, so the 8655 DHCPv4 server is not yet usable, although its address allocation 8656 is operational. 8657 (Trac #2320, git 60606cabb1c9584700b1f642bf2af21a35c64573) 8658 8659543. [func]* jelte 8660 When calling getFullConfig() as a module, , the configuration is now 8661 returned as properly-structured JSON. Previously, the structure had 8662 been flattened, with all data being labelled by fully-qualified 8663 element names. 8664 (Trac #2619, git bed3c88c25ea8f7e951317775e99ebce3340ca22) 8665 8666542. [func] marcin 8667 Created OptionSpace and OptionSpace6 classes to represent DHCP 8668 option spaces. The option spaces are used to group instances 8669 and definitions of options having unique codes. A special type 8670 of option space is the so-called "vendor specific option space" 8671 which groups sub-options sent within Vendor Encapsulated Options. 8672 The new classes are not used yet but they will be used once 8673 the creation of option spaces by configuration manager is 8674 implemented. 8675 (Trac #2313, git 37a27e19be874725ea3d560065e5591a845daa89) 8676 8677541. [func] marcin 8678 Added routines to search for configured DHCP options and their 8679 definitions using name of the option space they belong to. 8680 New routines are called internally from the DHCPv4 and DHCPv6 8681 servers code. 8682 (Trac #2315, git 741fe7bc96c70df35d9a79016b0aa1488e9b3ac8) 8683 8684540. [func] marcin 8685 DHCP Option values can be now specified using a string of 8686 tokens separated with comma sign. Subsequent tokens are used 8687 to set values for corresponding data fields in a particular 8688 DHCP option. The format of the token matches the data type 8689 of the corresponding option field: e.g. "192.168.2.1" for IPv4 8690 address, "5" for integer value etc. 8691 (Trac #2545, git 792c129a0785c73dd28fd96a8f1439fe6534a3f1) 8692 8693539. [func] stephen 8694 Add logging to the DHCP server library. 8695 (Trac #2524, git b55b8b6686cc80eed41793c53d1779f4de3e9e3c) 8696 8697538. [bug] muks 8698 Added escaping of special characters (double-quotes, semicolon, 8699 backslash, etc.) in text-like RRType's toText() implementation. 8700 Without this change, some TXT and SPF RDATA were incorrectly 8701 stored in SQLite3 datasource as they were not escaped. 8702 (Trac #2535, git f516fc484544b7e08475947d6945bc87636d4115) 8703 8704537. [func] tomek 8705 b10-dhcp6: Support for RELEASE message has been added. Clients 8706 are now able to release their non-temporary IPv6 addresses. 8707 (Trac #2326, git 0974318566abe08d0702ddd185156842c6642424) 8708 8709536. [build] jinmei 8710 Detect a build issue on FreeBSD with g++ 4.2 and Boost installed via 8711 FreeBSD ports at ./configure time. This seems to be a bug of 8712 FreeBSD ports setup and has been reported to the maintainer: 8713 http://www.freebsd.org/cgi/query-pr.cgi?pr=174753 8714 Until it's fixed, you need to build BIND 10 for FreeBSD that has 8715 this problem with specifying --without-werror, with clang++ 8716 (development version), or with manually extracted Boost header 8717 files (no compiled Boost library is necessary). 8718 (Trac #1991, git 6b045bcd1f9613e3835551cdebd2616ea8319a36) 8719 8720535. [bug] jelte 8721 The log4cplus internal logging mechanism has been disabled, and no 8722 output from the log4cplus library itself should be printed to 8723 stderr anymore. This output can be enabled by using the 8724 compile-time option --enable-debug. 8725 (Trac #1081, git db55f102b30e76b72b134cbd77bd183cd01f95c0) 8726 8727534. [func]* vorner 8728 The b10-msgq now uses the same logging format as the rest 8729 of the system. However, it still doesn't obey the common 8730 configuration, as due to technical issues it is not able 8731 to read it yet. 8732 (git 9e6e821c0a33aab0cd0e70e51059d9a2761f76bb) 8733 8734bind10-1.0.0-beta released on December 20, 2012 8735 8736533. [build]* jreed 8737 Changed the package name in configure.ac from bind10-devel 8738 to bind10. This means the default sub-directories for 8739 etc, include, libexec, share, share/doc, and var are changed. 8740 If upgrading from a previous version, you may need to move 8741 and update your configurations or change references for the 8742 old locations. 8743 (git bf53fbd4e92ae835280d49fbfdeeebd33e0ce3f2) 8744 8745532. [func] marcin 8746 Implemented configuration of DHCPv4 option values using 8747 the configuration manager. In order to set values for the 8748 data fields carried by a particular option, the user 8749 specifies a string of hexadecimal digits that is converted 8750 to binary data and stored in the option buffer. A more 8751 user-friendly way of specifying option content is planned. 8752 (Trac #2544, git fed1aab5a0f813c41637807f8c0c5f8830d71942) 8753 8754531. [func] tomek 8755 b10-dhcp6: Added support for expired leases. Leases for IPv6 8756 addresses that are past their valid lifetime may be recycled, i.e. 8757 relocated to other clients if needed. 8758 (Trac #2327, git 62a23854f619349d319d02c3a385d9bc55442d5e) 8759 8760530. [func]* team 8761 b10-loadzone was fully overhauled. It now uses C++-based zone 8762 parser and loader library, performing stricter checks, having 8763 more complete support for master file formats, producing more 8764 helpful logs, is more extendable for various types of data 8765 sources, and yet much faster than the old version. In 8766 functionality the new version should be generally backwards 8767 compatible to the old version, but there are some 8768 incompatibilities: name fields of RDATA (in NS, SOA, etc) must 8769 be absolute for now; due to the stricter checks some input that was 8770 (incorrectly) accepted by the old version may now be rejected; 8771 command line options and arguments are not compatible. 8772 (Trac #2380, git 689b015753a9e219bc90af0a0b818ada26cc5968) 8773 8774529. [func]* team 8775 The in-memory data source now uses a more complete master 8776 file parser to load textual zone files. As of this change 8777 it supports multi-line RR representation and more complete 8778 support for escaped and quoted strings. It also produces 8779 more helpful log messages when there is an error in the zone 8780 file. It will be enhanced as more specific tasks in the 8781 #2368 meta ticket are completed. The new parser is generally 8782 backward compatible to the previous one, but due to the 8783 tighter checks some input that has been accepted so far 8784 could now be rejected, so it's advisable to check if you 8785 use textual zone files directly loaded to memory. 8786 (Trac #2470, git c4cf36691115c15440b65cac16f1c7fcccc69521) 8787 8788528. [func] marcin 8789 Implemented definitions for DHCPv4 option definitions identified 8790 by option codes: 1 to 63, 77, 81-82, 90-92, 118-119, 124-125. 8791 These definitions are now used by the DHCPv4 server to parse 8792 options received from a client. 8793 (Trac #2526, git 50a73567e8067fdbe4405b7ece5b08948ef87f98) 8794 8795527. [bug] jelte 8796 Fixed a bug in the synchronous UDP server code where unexpected 8797 errors from ASIO or the system libraries could cause b10-auth to 8798 stop. In asynchronous mode these errors would be ignored 8799 completely. Both types have been updated to report the problem with 8800 an ERROR log message, drop the packet, and continue service. 8801 (Trac #2494, git db92f30af10e6688a7dc117b254cb821e54a6d95) 8802 8803526. [bug] stephen 8804 Miscellaneous fixes to DHCP code including rationalisation of 8805 some methods in LeaseMgr and resolving some Doxygen/cppcheck 8806 issues. 8807 (Trac #2546, git 0140368ed066c722e5d11d7f9cf1c01462cf7e13) 8808 8809525. [func] tomek 8810 b10-dhcp4: DHCPv4 server is now able to parse configuration. It 8811 is possible to specify IPv4 subnets with dynamic pools within 8812 them. Although configuration is accepted, it is not used yet. This 8813 will be implemented shortly. 8814 (Trac #2270, git de29c07129d41c96ee0d5eebdd30a1ea7fb9ac8a) 8815 8816524. [func] tomek 8817 b10-dhcp6 is now able to handle RENEW messages. Leases are 8818 renewed and REPLY responses are sent back to clients. 8819 (Trac #2325, git 7f6c9d057cc0a7a10f41ce7da9c8565b9ee85246) 8820 8821523. [bug] muks 8822 Fixed a problem in inmem NSEC3 lookup (for, instance when using a 8823 zone with no non-apex names) which caused exceptions when the zone 8824 origin was not added as an explicit NSEC3 record. 8825 (Trac #2503, git 6fe86386be0e7598633fe35999112c1a6e3b0370) 8826 8827522. [func]* jelte 8828 Configuration of TSIG keys for b10-xfrin has changed; instead of 8829 specifying the full TSIG key (<name>:<base64>:<algo>) it now expects 8830 just the name, and uses the global TSIG Key Ring like all the other 8831 components (configuration list /tsig_keys/keys). 8832 Note: this is not automatically updated, so if you use TSIG in 8833 xfrin, you need to update your configuration. 8834 (Trac #1351, git e65b7b36f60f14b7abe083da411e6934cdfbae7a) 8835 8836521. [func] marcin 8837 Implemented definitions for DHCPv6 standard options identified 8838 by codes up to 48. These definitions are now used by the DHCPv6 8839 server to create instances of options being sent to a client. 8840 (Trac #2491, git 0a4faa07777189ed9c25211987a1a9b574015a95) 8841 8842520. [func] jelte 8843 The system no longer prints initial log messages to stdout 8844 regardless of what logging configuration is present, but it 8845 temporarily stores any log messages until the configuration is 8846 processed. If there is no specific configuration, or if the 8847 configuration cannot be accessed, it will still fall back to stdout. 8848 Note that there are still a few instances where output is printed, 8849 these shall be addressed separately. 8850 Note also that, currently, in case it falls back to stdout (such as 8851 when it cannot connect to b10-cfgmgr), all log messages are always 8852 printed (including debug messages), regardless of whether -v was 8853 used. This shall also be addressed in a future change. 8854 (Trac #2445, git 74a0abe5a6d10b28e4a3e360e87b129c232dea68) 8855 8856519. [bug] muks 8857 Fixed a problem in inmem NSEC lookup which caused returning an 8858 incorrect NSEC record or (in rare cases) assert failures 8859 when a non-existent domain was queried, which was a sub-domain of 8860 a domain that existed. 8861 (Trac #2504, git 835553eb309d100b062051f7ef18422d2e8e3ae4) 8862 8863518. [func] stephen 8864 Extend DHCP MySQL backend to handle IPv4 addresses. 8865 (Trac #2404, git ce7db48d3ff5d5aad12b1da5e67ae60073cb2607) 8866 8867517. [func] stephen 8868 Added IOAddress::toBytes() to get byte representation of address. 8869 Also added convenience methods for V4/V6 address determination. 8870 (Trac #2396, git c23f87e8ac3ea781b38d688f8f7b58539f85e35a) 8871 8872516. [bug] marcin 8873 Fixed 'make distcheck' failure when running perfdhcp unit tests. 8874 The unit tests used to read files from the folder specified 8875 with the path relative to current folder, thus when the test was 8876 run from a different folder the files could not be found. 8877 (Trac #2479, git 4e8325e1b309f1d388a3055ec1e1df98c377f383) 8878 8879515. [bug] jinmei 8880 The in-memory data source now accepts an RRSIG provided without 8881 a covered RRset in loading. A subsequent query for its owner name 8882 of the covered type would generally result in NXRRSET; if the 8883 covered RRset is of type NSEC3, the corresponding NSEC3 processing 8884 would result in SERVFAIL. 8885 (Trac #2420, git 6744c100953f6def5500bcb4bfc330b9ffba0f5f) 8886 8887514. [bug] jelte 8888 b10-msgq now handles socket errors more gracefully when sending data 8889 to clients. It no longer exits with 'broken pipe' errors, and is 8890 also better at resending data on temporary error codes from send(). 8891 (Trac #2398, git 9f6b45ee210a253dca608848a58c824ff5e0d234) 8892 8893513. [func] marcin 8894 Implemented the OptionCustom class for DHCPv4 and DHCPv6. 8895 This class represents an option which has a defined 8896 structure: a set of data fields of specific types and order. 8897 It is used to represent those options that can't be 8898 represented by any other specialized class. 8899 (Trac #2312, git 28d885b457dda970d9aecc5de018ec1120143a10) 8900 8901512. [func] jelte 8902 Added a new tool b10-certgen, to check and update the self-signed 8903 SSL certificate used by b10-cmdctl. The original certificate 8904 provided has been removed, and a fresh one is generated upon first 8905 build. See the b10-certgen manpage for information on how to update 8906 existing installed certificates. 8907 (Trac #1044, git 510773dd9057ccf6caa8241e74a7a0b34ca971ab) 8908 8909511. [bug] stephen 8910 Fixed a race condition in the DHCP tests whereby the test program 8911 spawned a subprocess and attempted to read (without waiting) from 8912 the interconnecting pipe before the subprocess had written 8913 anything. The lack of output was being interpreted as a test 8914 failure. 8915 (Trac #2410, git f53e65cdceeb8e6da4723730e4ed0a17e4646579) 8916 8917510. [func] marcin 8918 DHCP option instances can be created using a collection of strings. 8919 Each string represents a value of a particular data field within 8920 an option. The data field values, given as strings, are validated 8921 against the actual types of option fields specified in the options 8922 definitions. 8923 (Trac #2490, git 56cfd6612fcaeae9acec4a94e1e5f1a88142c44d) 8924 8925509. [func] muks 8926 Log messages now include the pid of the process that logged the 8927 message. 8928 (Trac #1745, git fc8bbf3d438e8154e7c2bdd322145a7f7854dc6a) 8929 8930508. [bug] stephen 8931 Split the DHCP library into two directories, each with its own 8932 Makefile. This properly solves the problem whereby a "make" 8933 operation with multiple threads could fail because of the 8934 dependencies between two libraries in the same directory. 8935 (Trac #2475, git 834fa9e8f5097c6fd06845620f68547a97da8ff8) 8936 8937bind10-devel-20121115 released on November 15, 2012 8938 8939507. [doc] jelte 8940 Added a chapter about the use of the bindctl command tool to 8941 to the BIND 10 guide. 8942 (Trac #2305, git c4b0294b5bf4a9d32fb18ab62ca572f492788d72) 8943 8944506. [sec] jinmei 8945 Fixed a use-after-free case in handling DNAME record with the 8946 in-memory data source. This could lead to a crash of b10-auth 8947 if it serves a zone containing a DNAME RR from the in-memory 8948 data source. This bug was introduced at bind10-devel-20120927. 8949 (Trac #2471, git 2b1793ac78f972ddb1ae2fd092a7f539902223ff) 8950 8951505. [bug] jelte 8952 Fixed a bug in b10-xfrin where a wrong call was made during the 8953 final check of a TSIG-signed transfer, incorrectly rejecting the 8954 transfer. 8955 (Trac #2464, git eac81c0cbebee72f6478bdb5cda915f5470d08e1) 8956 8957504. [bug]* naokikambe 8958 Fixed an XML format viewed from b10-stats-httpd. Regarding 8959 per-zone counters as zones of Xfrout, a part of the item 8960 values wasn't an exact XML format. A zone name can be 8961 specified in URI as 8962 /bind10/statistics/xml/Xfrout/zones/example.org/xfrreqdone. 8963 XSD and XSL formats are also changed to constant ones due 8964 to these changes. 8965 (Trac #2298, git 512d2d46f3cb431bcdbf8d90af27bff8874ba075) 8966 8967503. [func] Stephen 8968 Add initial version of a MySQL backend for the DHCP code. This 8969 implements the basic IPv6 lease access functions - add lease, delete 8970 lease and update lease. The backend is enabled by specifying 8971 --with-dhcp-mysql on the "configure" command line: without this 8972 switch, the MySQL code is not compiled, so leaving BIND 10 able to 8973 be built on systems without MySQL installed. 8974 (Trac #2342, git c7defffb89bd0f3fdd7ad2437c78950bcb86ad37) 8975 8976502. [func] vorner 8977 TTLs can be specified with units as well as number of seconds now. 8978 This allows specifications like "1D3H". 8979 (Trac #2384, git 44c321c37e17347f33ced9d0868af0c891ff422b) 8980 8981501. [func] tomek 8982 Added DHCPv6 allocation engine, now used in the processing of DHCPv6 8983 messages. 8984 (Trac #2414, git b3526430f02aa3dc3273612524d23137b8f1fe87) 8985 8986500. [bug] jinmei 8987 Corrected the autoconf example in the examples directory so it can 8988 use the configured path to Boost to check availability of the BIND 10 8989 library. Previously the sample configure script could fail if 8990 Boost is installed in an uncommon place. Also, it now provides a 8991 helper m4 function and example usage for embedding the library 8992 path to executable (using linker options like -Wl,-R) to help 8993 minimize post-build hassles. 8994 (Trac #2356, git 36514ddc884c02a063e166d44319467ce6fb1d8f) 8995 8996499. [func] team 8997 The b10-auth 'loadzone' command now uses the internal thread 8998 introduced in 495 to (re)load a zone in the background, so that 8999 query processing isn't blocked while loading a zone. 9000 (Trac #2213, git 686594e391c645279cc4a95e0e0020d1c01fba7e) 9001 9002498. [func] marcin 9003 Implemented DHCPv6 option values configuration using configuration 9004 manager. In order to set values for data fields carried by the 9005 particular option, user specifies the string of hexadecimal digits 9006 that is in turn converted to binary data and stored into option 9007 buffer. More user friendly way of option content specification is 9008 planned. 9009 (Trac #2318, git e75c686cd9c14f4d6c2a242a0a0853314704fee9) 9010 9011497. [bug] jinmei 9012 Fixed several issues in isc-sysinfo: 9013 - make sure it doesn't report a negative value for free memory 9014 size (this happened on FreeBSD, but can possibly occur on other 9015 BSD variants) 9016 - correctly identifies the SMP support in kernel on FreeBSD 9017 - print more human readable uptime as well as the time in seconds 9018 (Trac #2297, git 59a449f506948e2371ffa87dcd19059388bd1657) 9019 9020496. [func] tomek 9021 DHCPv6 Allocation Engine implemented. It allows address allocation 9022 from the configured subnets/pools. It currently features a single 9023 allocator: IterativeAllocator, which assigns addresses iteratively. 9024 Other allocators (hashed, random) are planned. 9025 (Trac #2324, git 8aa188a10298e3a55b725db36502a99d2a8d638a) 9026 9027495. [func] team 9028 b10-auth now handles reconfiguration of data sources in 9029 background using a separate thread. This means even if the new 9030 configuration includes a large amount of data to be loaded into 9031 memory (very large zones and/or a very large number of zones), 9032 the reconfiguration doesn't block query handling. 9033 (Multiple Trac tickets up to #2211) 9034 9035494. [bug] jinmei 9036 Fixed a problem that shutting down BIND 10 kept some of the 9037 processes alive. It was two-fold: when the main bind10 process 9038 started as a root, started b10-sockcreator with the privilege, and 9039 then dropped the privilege, the bind10 process cannot kill the 9040 sockcreator via signal any more (when it has to), but it kept 9041 sending the signal and didn't stop. Also, when running on Python 9042 3.1 (or older), the sockcreator had some additional file 9043 descriptor open, which prevented it from exiting even after the 9044 bind10 process terminated. Now the bind10 process simply gives up 9045 killing a subprocess if it fails due to lack of permission, and it 9046 makes sure the socket creator is spawned without any unnecessary 9047 FDs open. 9048 (Trac #1858, git 405d85c8a0042ba807a3a123611ff383c4081ee1) 9049 9050493. [build] jinmei 9051 Fixed build failure with newer versions of clang++. These 9052 versions are stricter regarding "unused variable" and "unused 9053 (driver) arguments" warnings, and cause fatal build error 9054 with -Werror. The affected versions of clang++ include Apple's 9055 customized version 4.1 included in Xcode 4.5.1. So this fix 9056 will solve build errors for Mac OS X that uses newer versions of 9057 Xcode. 9058 (Trac #2340, git 55be177fc4f7537143ab6ef5a728bd44bdf9d783, 9059 3e2a372012e633d017a97029d13894e743199741 and commits before it 9060 with [2340] in the commit log) 9061 9062492. [func] tomek 9063 libdhcpsrv: The DHCP Configuration Manager is now able to store 9064 information about IPv4 subnets and pools. It is still not possible 9065 to configure that information. Such capability will be implemented 9066 in a near future. 9067 (Trac #2237, git a78e560343b41f0f692c7903c938b2b2b24bf56b) 9068 9069491. [func] tomek 9070 b10-dhcp6: Configuration for DHCPv6 has been implemented. 9071 Currently it is possible to configure IPv6 subnets and pools 9072 within those subnets, global and per subnet values of renew, 9073 rebind, preferred and valid lifetimes. Configured parameters 9074 are accepted, but are not used yet by the allocation engine yet. 9075 (Trac #2269, git 028bed9014b15facf1a29d3d4a822c9d14fc6411) 9076 9077490. [func] tomek 9078 libdhcpsrv: An abstract API for lease database has been 9079 implemented. It offers a common interface to all concrete 9080 database backends. 9081 (Trac #2140, git df196f7609757253c4f2f918cd91012bb3af1163) 9082 9083489. [func] muks 9084 The isc::dns::RRsetList class has been removed. It was now unused 9085 inside the BIND 10 codebase, and the interface was considered 9086 prone to misuse. 9087 (Trac #2266, git 532ac3d0054f6a11b91ee369964f3a84dabc6040) 9088 9089488. [build] jinmei 9090 On configure, changed the search order for Python executable. 9091 It first tries more specific file names such as "python3.2" before 9092 more generic "python3". This will prevent configure failure on 9093 Mac OS X that installs Python3 via recent versions of Homebrew. 9094 (Trac #2339, git 88db890d8d1c64de49be87f03c24a2021bcf63da) 9095 9096487. [bug] jinmei 9097 The bind10 process now terminates a component (subprocess) by the 9098 "config remove Boss/components" bindctl command even if the 9099 process crashes immediately before the command is sent to bind10. 9100 Previously this led to an inconsistent state between the 9101 configuration and an internal component list of bind10, and bind10 9102 kept trying to restart the component. A known specific case of 9103 this problem is that b10-ddns could keep failing (due to lack of 9104 dependency modules) and the administrator couldn't stop the 9105 restart via bindctl. 9106 (Trac #2244, git 7565788d06f216ab254008ffdfae16678bcd00e5) 9107 9108486. [bug]* jinmei 9109 All public header files for libb10-dns++ are now installed. 9110 Template configure.ac and utility AC macros for external projects 9111 using the library are provided under the "examples" directory. 9112 The src/bin/host was moved as part of the examples (and not 9113 installed with other BIND 10 programs any more). 9114 (Trac #1870, git 4973e638d354d8b56dcadf71123ef23c15662021) 9115 9116485. [bug] jelte 9117 Several bugs have been fixed in bindctl; tab-completion now works 9118 within configuration lists, the problem where sometimes the 9119 completion added a part twice has been solved, and it no longer 9120 suggests the confusing value 'argument' as a completion-hint for 9121 configuration items. Additionally, bindctl no longer crashes upon 9122 input like 'config remove Boss'. 9123 (Trac #2254, git 9047de5e8f973e12e536f7180738e6b515439448) 9124 9125484. [func] tomek 9126 A new library (libb10-dhcpsrv) has been created. At present, it 9127 only holds the code for the DHCP Configuration Manager. Currently 9128 this object only supports basic configuration storage for the DHCPv6 9129 server, but that capability will be expanded. 9130 (Trac #2238, git 6f29861b92742da34be9ae76968e82222b5bfd7d) 9131 9132bind10-devel-20120927 released on September 27, 2012 9133 9134483. [func] marcin 9135 libdhcp++: Added new parameter to define sub-second timeout 9136 for DHCP packet reception. The total timeout is now specified 9137 by two parameters: first specifies integral number of 9138 seconds, second (which defaults to 0) specifies fractional 9139 seconds with microsecond resolution. 9140 (Trac #2231, git 15560cac16e4c52129322e3cb1787e0f47cf7850) 9141 9142482. [func] team 9143 Memory footprint of the in-memory data source has been 9144 substantially improved. For example, b10-auth now requires much 9145 less memory than BIND 9 named for loading and serving the same 9146 zone in-memory. This is a transparent change in terms of user 9147 operation; there's no need to update or change the configuration 9148 to enable this feature. 9149 Notes: multiple instances of b10-auth still make separate copies 9150 of the memory image. Also, loading zones in memory still suspends 9151 query processing, so manual reloading or reloading after incoming 9152 transfer may cause service disruption for huge zones. 9153 (Multiple Trac tickets, Summarized in Trac #2101) 9154 9155481. [bug] vorner 9156 The abbreviated form of IP addresses in ACLs is accepted 9157 (eg. "from": ["127.0.0.1", "::1"] now works). 9158 (Trac #2191, git 48b6e91386b46eed383126ad98dddfafc9f7e75e) 9159 9160480. [doc] vorner 9161 Added documentation about global TSIG key ring to the Guide. 9162 (Trac #2189, git 52177bb31f5fb8e134aecb9fd039c368684ad2df) 9163 9164479. [func] marcin 9165 Refactored perfdhcp tool to C++, added missing unit tests and removed 9166 the old code. The new code uses libdhcp++ (src/lib/dhcp) for DHCP 9167 packet management, network interface management and packet 9168 transmission. 9169 (Trac #1954, git 8d56105742f3043ed4b561f26241f3e4331f51dc) 9170 (Trac #1955, git 6f914bb2c388eb4dd3e5c55297f8988ab9529b3f) 9171 (Trac #1956, git 6f914bb2c388eb4dd3e5c55297f8988ab9529b3f) 9172 (Trac #1957, git 7fca81716ad3a755bf5744e88c3adeef15b04450) 9173 (Trac #1958, git 94e17184270cda58f55e6da62e845695117fede3) 9174 (Trac #1959, git a8cf043db8f44604c7773e047a9dc2861e58462a) 9175 (Trac #1960, git 6c192e5c0903f349b4d80cf2bb6cd964040ae7da) 9176 9177478. [func] naokikambe 9178 New statistics items added into b10-xfrout: ixfr_running and 9179 axfr_running. Their values can be obtained by invoking "Stats show 9180 Xfrout" via bindctl while b10-xfrout is running. 9181 (Trac #2222, git 91311bdbfea95f65c5e8bd8294ba08fac12405f1) 9182 9183477. [bug] jelte 9184 Fixed a problem with b10-msgq on OSX when using a custom Python 9185 installation, that offers an unreliable select.poll() interface. 9186 (Trac #2190, git e0ffa11d49ab949ee5a4ffe7682b0e6906667baa) 9187 9188476. [bug] vorner 9189 The Xfrin now accepts transfers with some TSIG signatures omitted, as 9190 allowed per RFC2845, section 4.4. This solves a compatibility 9191 issues with Knot and NSD. 9192 (Trac #1357, git 7ca65cb9ec528118f370142d7e7b792fcc31c9cf) 9193 9194475. [func] naokikambe 9195 Added Xfrout statistics counters: notifyoutv4, notifyoutv6, 9196 xfrrej, and xfrreqdone. These are per-zone type counters. 9197 The value of these counters can be seen with zone name by 9198 invoking "Stats show Xfrout" via bindctl. 9199 (Trac #2158, git e68c127fed52e6034ab5309ddd506da03c37a08a) 9200 9201474. [func] stephen 9202 DHCP servers now use the BIND 10 logging system for messages. 9203 (Trac #1545, git de69a92613b36bd3944cb061e1b7c611c3c85506) 9204 9205473. [bug] jelte 9206 TCP connections now time out in b10-auth if no (or not all) query 9207 data is sent by the client. The timeout value defaults to 5000 9208 milliseconds, but is configurable in Auth/tcp_recv_timeout. 9209 (Trac #357, git cdf3f04442f8f131542bd1d4a2228a9d0bed12ff) 9210 9211472. [build] jreed 9212 All generated documentation is removed from the git repository. 9213 The ./configure --enable-man option is removed. A new option 9214 -enable-generate-docs is added; it checks for required 9215 documentation building dependencies. Dummy documentation is 9216 built and installed if not used. Distributed tarballs will 9217 contain the generated documentation. 9218 (Trac #1687, git 2d4063b1a354f5048ca9dfb195e8e169650f43d0) 9219 9220471. [bug] vorner 9221 Fixed a problem when b10-loadzone tried to tread semicolon 9222 in string data as start of comment, which caused invalid 9223 data being loaded. 9224 (Trac #2188, git 12efec3477feb62d7cbe36bdcfbfc7aa28a36f57) 9225 9226470. [func] naokikambe 9227 The stats module now supports partial statistics updates. Each 9228 module can return only statistics data which have been updated since 9229 the last time it sent them to the stats module. The purpose of partial 9230 updates is to reduce the amount of statistics data sent through the 9231 message queue. 9232 (Trac #2179, git d659abdd9f3f369a29830831297f64484ac7b051) 9233 9234469. [bug] jelte 9235 libdatasrc: the data source client list class now ignores zone 9236 content problems (such as out-of-zone data) in MasterFiles type 9237 zones, instead of aborting the entire configuration. It only logs 9238 an error, and all other zones and datasources are still loaded. The 9239 error log message has been improved to include the zone origin and 9240 source file name. As a result of this change, b10-auth no longer 9241 exits upon encountering such errors during startup. 9242 (Trac #2178, git a75ed413e8a1c8e3702beea4811a46a1bf519bbd) 9243 9244468. [func]* naokikambe, fujiwara 9245 b10-stats polls the bind10 and b10-auth with new 'getstats' command 9246 to retrieve statistics data. The "poll-interval" parameter in 9247 b10-stats is for configuring the polling interval. All statistics 9248 data collected once are preserved while b10-stats is running. 9249 The "sendstats" command was removed from bind10 and b10-auth. The 9250 "statistics-interval" configuration item was removed from b10-auth. 9251 (Trac #2136, git dcb5ce50b4b4e50d28247d5f8b5cb8d90bda942a) 9252 (Trac #2137, git d53bb65a43f6027b15a6edc08c137951e3ce5e0e) 9253 (Trac #2138, git b34e3313460eebc9c272ca8c1beb27297c195150) 9254 9255bind10-devel-20120816 released on August 16, 2012 9256 9257467. [bug] jelte 9258 For configurations, allow named sets to contain lists of items. 9259 (Trac #2114, git 712637513505f7afb8434292ca2a98c3517dffd3) 9260 9261466. [func] jelte 9262 Allow bindctl to add and remove items to and from lists 9263 and dicts for items of type "any". This is for easier 9264 configurations. 9265 (Trac #2184, git ad2d728d1496a9ff59d622077850eed0638b54eb) 9266 9267465. [doc] vorner 9268 Improved documentation about ACLs in the Guide. 9269 (Trac #2066, git 76f733925b3f3560cfc2ee96d2a19905b623bfc3) 9270 9271464. [func] jelte, muks 9272 libdns++: The LabelSequence class has been extended with some new 9273 methods. These are mainly intended for internal development, but 9274 the class is public, so interested users may want to look into the 9275 extensions. 9276 (Trac #2052, git 57c61f2^..dbef0e2) 9277 (Trac #2053, git 1fc2b06b57a008ec602daa2dac79939b3cc6b65d) 9278 (Trac #2086, git 3fac7d5579c5f51b8e952b50db510b45bfa986f3) 9279 (Trac #2087, git 49ad6346f574d00cfbd1d12905915fd0dd6a0bac) 9280 (Trac #2148, git 285c2845ca96e7ef89f9158f1dea8cda147b6566) 9281 9282463. [func] jinmei 9283 Python isc.dns: the Name, RRType and RRClass classes are now 9284 hashable. So, for example, objects of these classes can be used 9285 as a dictionary key. 9286 (Trac #1883, git 93ec40dd0a1df963c676037cc60c066c748b3030) 9287 9288462. [build] jreed 9289 BIND 10 now compiles against googletest-1.6.0 versions that are 9290 installed on the system as source code. For such versions, use the 9291 --with-gtest-source configure switch. 9292 (Trac #1999, git 6a26d459a40d7eed8ebcff01835377b3394a78de) 9293 9294461. [bug] muks 9295 We now set g+w and g+s permissions (mode 02770) during 9296 installation for the BIND 10 local state directory 9297 ($prefix/var/bind10-devel/) so that permissions to files 9298 and sub-directories created in that directory are inherited. 9299 (Trac #2171, git ab4d20907abdb3ce972172463dcc73405b3dee79) 9300 9301460. [bug] muks 9302 SSHFP's algorithm and fingerprint type checks have been relaxed 9303 such that they will accept any values in [0,255]. This is so that 9304 future algorithm and fingerprint types are accommodated. 9305 (Trac #2124, git 49e6644811a7ad09e1326f20dd73ab43116dfd21) 9306 9307459. [func] tomek 9308 b10-dhcp6: DHCPv6 server component is now integrated into 9309 BIND 10 framework. It can be started from BIND 10 (using bindctl) 9310 and can receive commands. The only supported command for now 9311 is 'Dhcp6 shutdown'. 9312 b10-dhcp4: Command line-switch '-s' to disable msgq was added. 9313 b10-dhcp6: Command line-switch '-s' to disable msgq was added. 9314 (Trac #1708, git e0d7c52a71414f4de1361b09d3c70431c96daa3f) 9315 9316458. [build]* jinmei 9317 BIND 10 now relies on Boost offset_ptr, which caused some new 9318 portability issues. Such issues are detected at ./configure time. 9319 If ./configure stops due to this, try the following workaround: 9320 - If it's about the use of mutable for a reference with clang++, 9321 upgrade Boost version to 1.44 or higher, or try a different 9322 compiler (e.g. g++ generally seems to be free from this issue) 9323 - If it's about the use of "variadic templates", specify 9324 --without-werror so the warning won't be promoted to an error. 9325 Specifying BOOST_NO_USER_CONFIG in CXXFLAGS may also work 9326 (which would be the case if Boost is installed via pkgsrc) 9327 (Trac #2147, git 30061d1139aad8716e97d6b620c259752fd0a3cd) 9328 9329457. [build]* muks 9330 BIND 10 library names now have a "b10-" prefix. This is to avoid 9331 clashes with other similarly named libraries on the system. 9332 (Trac #2071, git ac20a00c28069804edc0a36050995df52f601efb) 9333 9334456. [build] muks 9335 BIND 10 now compiles against log4cplus-1.1.0 (RC releases) 9336 also. Note: some older versions of log4cplus don't work any more; 9337 known oldest workable version is 1.0.4. Thanks to John Lumby for 9338 sending a patch. 9339 (Trac #2169, git 7d7e5269d57451191c0aef1b127d292d3615fe2c) 9340 9341455. [func]* vorner 9342 The server now uses newer API for data sources. This would be an 9343 internal change, however, the data sources are now configured 9344 differently. Please, migrate your configuration to the top-level 9345 "data_sources" module. Also the bind10 -n and --no-cache 9346 and b10-auth -n options are removed. 9347 (Trac #1976, git 0d4685b3e7603585afde1b587cbfefdfaf6a1bb3) 9348 9349454. [bug] jelte 9350 b10-cfgmgr now loads its configuration check plugins directly from 9351 the plugin search path, as opposed to importing them from the 9352 general python system module path list; this prevents naming 9353 conflicts with real python modules. 9354 (Trac #2119, git 2f68d7ac5c3c7cc88a3663191113eece32d46a3d) 9355 9356453. [bug] jelte 9357 b10-auth no longer tries to send DDNS UPDATE messages to b10-ddns if 9358 b10-ddns is not running. Sending an UPDATE to BIND 10 that is not 9359 configured to run DDNS will now result in a response with rcode 9360 NOTIMP instead of SERVFAIL. 9361 (Trac #1986, git bd6b0a5ed3481f78fb4e5cb0b18c7b6e5920f9f8) 9362 9363452. [func] muks, jelte 9364 isc-sysinfo: An initial implementation of the isc-sysinfo 9365 tool is now available for Linux, OpenBSD, FreeBSD, and Mac 9366 OS X. It gathers and outputs system information which can 9367 be used by future tech support staff. This includes a 9368 generic Python "sysinfo" module. 9369 (Trac #2062, #2121, #2122, #2172, 9370 git 144e80212746f8d55e6a59edcf689fec9f32ae95) 9371 9372451. [bug] muks, jinmei 9373 libdatasrc: the database-based data source now correctly returns 9374 glue records on (not under) a zone cut, such as in the case where 9375 the NS name of an NS record is identical to its owner name. (Note: 9376 libdatasrc itself doesn't judge what kind of record type can be a 9377 "glue"; it's the caller's responsibility.) 9378 (Trac #1771, git 483f1075942965f0340291e7ff7dae7806df22af) 9379 9380450. [func] tomek 9381 b10-dhcp4: DHCPv4 server component is now integrated into 9382 BIND 10 framework. It can be started from BIND 10 (using bindctl) 9383 and can receive commands. The only supported command for now 9384 is 'Dhcp4 shutdown'. 9385 (Trac #1651, git 7e16a5a50d3311e63d10a224ec6ebcab5f25f62c) 9386 9387bind10-devel-20120621 released on June 21, 2012 9388 9389449. [bug] muks 9390 b10-xfin: fixed a bug where xfrin sent the wrong notification 9391 message to zonemgr on successful zone transfer. This also 9392 solves other reported problems such as too frequent attempts 9393 of zone refreshing (see Trac #1786 and #1834). 9394 (Trac #2023, git b5fbf8a408a047a2552e89ef435a609f5df58d8c) 9395 9396448. [func] team 9397 b10-ddns is now functional and handles dynamic update requests 9398 per RFC 2136. See BIND 10 guide for configuration and operation 9399 details. 9400 (Multiple Trac tickets) 9401 9402447. [bug] jinmei 9403 Fixed a bug in b10-xfrout where a helper thread could fall into 9404 an infinite loop if b10-auth stops while the thread is waiting for 9405 forwarded requests from b10-auth. 9406 (Trac #988 and #1833, git 95a03bbefb559615f3f6e529d408b749964d390a) 9407 9408446. [bug] muks 9409 A number of warnings reported by Python about unclosed file and 9410 socket objects were fixed. Some related code was also made safer. 9411 (Trac #1828, git 464682a2180c672f1ed12d8a56fd0a5ab3eb96ed) 9412 9413445. [bug]* jinmei 9414 The pre-install check for older SQLite3 DB now refers to the DB 9415 file with the prefix of DESTDIR. This ensures that 'make install' 9416 with specific DESTDIR works regardless of the version of the DB 9417 file installed in the default path. 9418 (Trac #1982, git 380b3e8ec02ef45555c0113ee19329fe80539f71) 9419 9420444. [bug] jinmei 9421 libdatasrc: fixed ZoneFinder for database-based data sources so 9422 that it handles type DS query correctly, i.e., treating it as 9423 authoritative data even on a delegation point. 9424 (Trac #1912, git 7130da883f823ce837c10cbf6e216a15e1996e5d) 9425 9426443. [func]* muks 9427 The logger now uses a lockfile named `logger_lockfile' that is 9428 created in the local state directory to mutually separate 9429 individual logging operations from various processes. This is 9430 done so that log messages from different processes don't mix 9431 together in the middle of lines. The `logger_lockfile` is created 9432 with file permission mode 0660. BIND 10's local state directory 9433 should be writable and perhaps have g+s mode bit so that the 9434 `logger_lockfile` can be opened by a group of processes. 9435 (Trac #1704, git ad8d445dd0ba208107eb239405166c5c2070bd8b) 9436 9437442. [func] tomek 9438 b10-dhcp4, b10-dhcp6: Both DHCP servers now accept -p parameter 9439 that can be used to specify listening port number. This capability 9440 is useful only for testing purposes. 9441 (Trac #1503, git e60af9fa16a6094d2204f27c40a648fae313bdae) 9442 9443441. [func] tomek 9444 libdhcp++: Stub interface detection (support for interfaces.txt 9445 file) was removed. 9446 (Trac #1281, git 900fc8b420789a8c636bcf20fdaffc60bc1041e0) 9447 9448bind10-devel-20120517 released on May 17, 2012 9449 9450440. [func] muks 9451 bindctl: improved some error messages so they will be more 9452 helpful. Those include the one when the zone name is unspecified 9453 or the name is invalid in the b10-auth configuration. 9454 (Trac #1627, git 1a4d0ae65b2c1012611f4c15c5e7a29d65339104) 9455 9456439. [func] team 9457 The in-memory data source can now load zones from the 9458 sqlite3 data source, so that zones stored in the database 9459 (and updated for example by xfrin) can be served from memory. 9460 (Trac #1789, #1790, #1792, #1793, #1911, 9461 git 93f11d2a96ce4dba9308889bdb9be6be4a765b27) 9462 9463438. [bug] naokikambe 9464 b10-stats-httpd now sends the system a notification that 9465 it is shutting down if it encounters a fatal error during 9466 startup. 9467 (Trac #1852, git a475ef271d4606f791e5ed88d9b8eb8ed8c90ce6) 9468 9469437. [build] jinmei 9470 Building BIND 10 may fail on MacOS if Python has been 9471 installed via Homebrew unless --without-werror is specified. 9472 The configure script now includes a URL that explains this 9473 issue when it detects failure that is possibly because of 9474 this problem. 9475 (Trac #1907, git 0d03b06138e080cc0391fb912a5a5e75f0f97cec) 9476 9477436. [bug] jelte 9478 The --config-file option now works correctly with relative paths if 9479 --data-path is not given. 9480 (Trac #1889, git ce7d1aef2ca88084e4dacef97132337dd3e50d6c) 9481 9482435. [func] team 9483 The in-memory datasource now supports NSEC-signed zones. 9484 (Trac #1802-#1810, git 2f9aa4a553a05aa1d9eac06f1140d78f0c99408b) 9485 9486434. [func] tomek 9487 libdhcp++: Linux interface detection refactored. The code is 9488 now cleaner. Tests better support certain versions of ifconfig. 9489 (Trac #1528, git 221f5649496821d19a40863e53e72685524b9ab2) 9490 9491433. [func] tomek 9492 libdhcp++: Option6 and Pkt6 now follow the same design as 9493 options and packet for DHCPv4. General code refactoring after 9494 end of 2011 year release. 9495 (Trac #1540, git a40b6c665617125eeb8716b12d92d806f0342396) 9496 9497432. [bug]* muks 9498 BIND 10 now installs its header files in a BIND 10 specific 9499 sub-directory in the install prefix. 9500 (Trac #1930, git fcf2f08db9ebc2198236bfa25cf73286821cba6b) 9501 9502431. [func]* muks 9503 BIND 10 no longer starts b10-stats-httpd by default. 9504 (Trac #1885, git 5c8bbd7ab648b6b7c48e366e7510dedca5386f6c) 9505 9506430. [bug] jelte 9507 When displaying configuration data, bindctl no longer treats 9508 optional list items as an error, but shows them as an empty list. 9509 (Trac #1520, git 0f18039bc751a8f498c1f832196e2ecc7b997b2a) 9510 9511429. [func] jelte 9512 Added an 'execute' component to bindctl, which executes either a set 9513 of commands from a file or a built-in set of commands. Currently, 9514 only 'init_authoritative_server' is provided as a built-in set, but 9515 it is expected that more will be added later. 9516 (Trac #1843, git 551657702a4197ef302c567b5c0eaf2fded3e121) 9517 9518428. [bug] marcin 9519 perfdhcp: bind to local address to allow reception of 9520 replies from IPv6 DHCP servers. 9521 (Trac #1908, git 597e059afaa4a89e767f8f10d2a4d78223af3940) 9522 9523427. [bug] jinmei 9524 libdatasrc, b10-xfrin: the zone updater for database-based data 9525 sources now correctly distinguishes NSEC3-related RRs (NSEC3 and 9526 NSEC3-covering RRSIG) from others, and the SQLite3 implementation 9527 now manipulates them in the separate table for the NSEC3 namespace. 9528 As a result b10-xfrin now correctly updates NSEC3-signed zones by 9529 inbound zone transfers. 9530 (Trac #1781, #1788, #1891, 9531 git 672f129700dae33b701bb02069cf276238d66be3) 9532 9533426. [bug] vorner 9534 The NSEC3 records are now included when transferring a 9535 signed zone out. 9536 (Trac #1782, git 36efa7d10ecc4efd39d2ce4dfffa0cbdeffa74b0) 9537 9538425. [func]* muks 9539 Don't autostart b10-auth, b10-xfrin, b10-xfrout and b10-zonemgr in 9540 the default configuration. 9541 (Trac #1818, git 31de885ba0409f54d9a1615eff5a4b03ed420393) 9542 9543424. [bug] jelte 9544 Fixed a bug in bindctl where in some cases, configuration settings 9545 in a named set could disappear, if a child element is modified. 9546 (Trac #1491, git 00a36e752802df3cc683023d256687bf222e256a) 9547 9548423. [bug] jinmei 9549 The database based zone iterator now correctly resets mixed TTLs 9550 of the same RRset (when that happens) to the lowest one. The 9551 previous implementation could miss lower ones if it appears in a 9552 later part of the RRset. 9553 (part of Trac #1791, git f1f0bc00441057e7050241415ee0367a09c35032) 9554 9555422. [bug] jinmei 9556 The database based zone iterator now separates RRSIGs of the same 9557 name and type but for different covered types. 9558 (part of Trac #1791, git b4466188150a50872bc3c426242bc7bba4c5f38d) 9559 9560421. [build] jinmei 9561 Made sure BIND 10 can be built with clang++ 3.1. (It failed on 9562 MacOS 10.7 using Xcode 4.3, but it's more likely to be a matter of 9563 clang version.) 9564 (Trac #1773, git ceaa247d89ac7d97594572bc17f005144c5efb8d) 9565 9566420. [bug]* jinmei, stephen 9567 Updated the DB schema used in the SQLite3 data source so it can 9568 use SQL indices more effectively. The previous schema had several 9569 issues in this sense and could be very slow for some queries on a 9570 very large zone (especially for negative answers). This change 9571 requires a major version up of the schema; use b10-dbutil to 9572 upgrade existing database files. Note: 'make install' will fail 9573 unless old DB files installed in the standard location have been 9574 upgraded. 9575 (Trac #324, git 8644866497053f91ada4e99abe444d7876ed00ff) 9576 9577419. [bug] jelte 9578 JSON handler has been improved; escaping now works correctly 9579 (including quotes in strings), and it now rejects more types of 9580 malformed input. 9581 (Trac #1626, git 3b09268518e4e90032218083bcfebf7821be7bd5) 9582 9583418. [bug] vorner 9584 Fixed crash in bindctl when config unset was called. 9585 (Trac #1715, git 098da24dddad497810aa2787f54126488bb1095c) 9586 9587417. [bug] jelte 9588 The notify-out code now looks up notify targets in their correct 9589 zones (and no longer just in the zone that the notify is about). 9590 (Trac #1535, git 66300a3c4769a48b765f70e2d0dbf8bbb714435b) 9591 9592416. [func]* jelte 9593 The implementations of ZoneFinder::find() now throw an OutOfZone 9594 exception when the name argument is not in or below the zone this 9595 zonefinder contains. 9596 (Trac #1535, git 66300a3c4769a48b765f70e2d0dbf8bbb714435b) 9597 9598bind10-devel-20120329 released on March 29, 2012 9599 9600415. [doc] jinmei, jreed 9601 BIND 10 Guide updated to now describe the in-memory data source 9602 configurations for b10-auth. 9603 (Trac #1732, git 434d8db8dfcd23a87b8e798e5702e91f0bbbdcf6) 9604 9605414. [bug] jinmei 9606 b10-auth now correctly handles delegation from an unsigned zone 9607 (defined in the in-memory data source) when the query has DNSSEC 9608 DO bit on. It previously returned SERVFAIL. 9609 (Trac #1836, git 78bb8f4b9676d6345f3fdd1e5cc89039806a9aba) 9610 9611413. [func] stephen, jelte 9612 Created a new tool b10-dbutil, that can check and upgrade database 9613 schemas, to be used when incompatible changes are introduced in the 9614 backend database schema. Currently it only supports sqlite3 databases. 9615 Note: there's no schema change that requires this utility as of 9616 the March 29th release. While running it shouldn't break 9617 an existing database file, it should be even more advisable not to 9618 run it at the moment. 9619 (Trac #963, git 49ba2cf8ac63246f389ab5e8ea3b3d081dba9adf) 9620 9621412. [func] jelte 9622 Added a command-line option '--clear-config' to bind10, which causes 9623 the system to create a backup of the existing configuration database 9624 file, and start out with a clean default configuration. This can be 9625 used if the configuration file is corrupted to the point where it 9626 cannot be read anymore, and BIND 10 refuses to start. The name of 9627 the backup file can be found in the logs (CFGMGR_RENAMED_CONFIG_FILE). 9628 (Trac #1443, git 52b36c921ee59ec69deefb6123cbdb1b91dc3bc7) 9629 9630411. [func] muks 9631 Add a -i/--no-kill command-line argument to bind10, which stops 9632 it from sending SIGTERM and SIGKILL to other b10 processes when 9633 they're shutting down. 9634 (Trac #1819, git 774554f46b20ca5ec2ef6c6d5e608114f14e2102) 9635 9636410. [bug] jinmei 9637 Python CC library now ensures write operations transmit all given 9638 data (unless an error happens). Previously it didn't check the 9639 size of transmitted data, which could result in partial write on 9640 some systems (notably on OpenBSD) and subsequently cause system 9641 hang up or other broken state. This fix specifically solves start 9642 up failure on OpenBSD. 9643 (Trac #1829, git 5e5a33213b60d89e146cd5e47d65f3f9833a9297) 9644 9645409. [bug] jelte 9646 Fixed a parser bug in bindctl that could make bindctl crash. Also 9647 improved 'command help' output; argument order is now shown 9648 correctly, and parameter descriptions are shown as well. 9649 (Trac #1172, git bec26c6137c9b0a59a3a8ca0f55a17cfcb8a23de) 9650 9651408. [bug] stephen, jinmei 9652 b10-auth now filters out duplicate RRsets when building a 9653 response message using the new query handling logic. It's 9654 currently only used with the in-memory data source, but will 9655 also be used for others soon. 9656 (Trac #1688, git b77baca56ffb1b9016698c00ae0a1496d603d197) 9657 9658407. [build] haikuo 9659 Remove "--enable-boost-threads" switch in configure command. This 9660 thread lock mechanism is useless for bind10 and causes performance 9661 hits. 9662 (Trac #1680, git 9c4d0cadf4adc802cc41a2610dc2c30b25aad728) 9663 9664406. [bug] muks 9665 On platforms such as OpenBSD where pselect() is not available, 9666 make a wrapper around select() in perfdhcp. 9667 (Trac #1639, git 6ea0b1d62e7b8b6596209291aa6c8b34b8e73191) 9668 9669405. [bug] jinmei 9670 Make sure disabling Boost threads if the default configuration is 9671 to disable it for the system. This fixes a crash and hang up 9672 problem on OpenBSD, where the use of Boost thread could be 9673 different in different program files depending on the order of 9674 including various header files, and could introduce inconsistent 9675 states between a library and a program. Explicitly forcing the 9676 original default throughout the BIND 10 build environment will 9677 prevent this from happening. 9678 (Trac #1727, git 23f9c3670b544c5f8105958ff148aeba050bc1b4) 9679 9680404. [bug] naokikambe 9681 The statistic counters are now properly accumulated across multiple 9682 instances of b10-auth (if there are multiple instances), instead of 9683 providing result for random instance. 9684 (Trac #1751, git 3285353a660e881ec2b645e1bc10d94e5020f357) 9685 9686403. [build]* jelte 9687 The configure option for botan (--with-botan=PATH) is replaced by 9688 --with-botan-config=PATH, which takes a full path to a botan-config 9689 script, instead of the botan 'install' directory. Also, if not 9690 provided, configure will try out config scripts and pkg-config 9691 options until it finds one that works. 9692 (Trac #1640, git 582bcd66dbd8d39f48aef952902f797260280637) 9693 9694402. [func] jelte 9695 b10-xfrout now has a visible command to send out notifies for 9696 a given zone, callable from bindctl. Xfrout notify <zone> [class] 9697 (Trac #1321, git 0bb258f8610620191d75cfd5d2308b6fc558c280) 9698 9699401. [func]* jinmei 9700 libdns++: updated the internal implementation of the 9701 MessageRenderer class. This is mostly a transparent change, but 9702 the new version now doesn't allow changing compression mode in the 9703 middle of rendering (which shouldn't be an issue in practice). 9704 On the other hand, name compression performance was significantly 9705 improved: depending on the number of names, micro benchmark tests 9706 showed the new version is several times faster than the previous 9707 version . 9708 (Trac #1603, git 9a2a86f3f47b60ff017ce1a040941d0c145cfe16) 9709 9710400. [bug] stephen 9711 Fix crash on Max OS X 10.7 by altering logging so as not to allocate 9712 heap storage in the static initialization of logging objects. 9713 (Trac #1698, git a8e53be7039ad50d8587c0972244029ff3533b6e) 9714 9715399. [func] muks 9716 Add support for the SSHFP RR type (RFC 4255). 9717 (Trac #1136, git ea5ac57d508a17611cfae9d9ea1c238f59d52c51) 9718 9719398. [func] jelte 9720 The b10-xfrin module now logs more information on successful 9721 incoming transfers. In the case of IXFR, it logs the number of 9722 changesets, and the total number of added and deleted resource 9723 records. For AXFR (or AXFR-style IXFR), it logs the number of 9724 resource records. In both cases, the number of overhead DNS 9725 messages, runtime, amount of wire data, and transfer speed are logged. 9726 (Trac #1280, git 2b01d944b6a137f95d47673ea8367315289c205d) 9727 9728397. [func] muks 9729 The boss process now gives more helpful description when a 9730 sub-process exits due to a signal. 9731 (Trac #1673, git 1cd0d0e4fc9324bbe7f8593478e2396d06337b1e) 9732 9733396. [func]* jinmei 9734 libdatasrc: change the return type of ZoneFinder::find() so it can 9735 contain more context of the search, which can be used for 9736 optimizing post find() processing. A new method getAdditional() 9737 is added to it for finding additional RRsets based on the result 9738 of find(). External behavior shouldn't change. The query 9739 handling code of b10-auth now uses the new interface. 9740 (Trac #1607, git 2e940ea65d5b9f371c26352afd9e66719c38a6b9) 9741 9742395. [bug] jelte 9743 The log message compiler now errors (resulting in build failures) if 9744 duplicate log message identifiers are found in a single message file. 9745 Renamed one duplicate that was found (RESOLVER_SHUTDOWN, renamed to 9746 RESOLVER_SHUTDOWN_RECEIVED). 9747 (Trac #1093, git f537c7e12fb7b25801408f93132ed33410edae76) 9748 (Trac #1741, git b8960ab85c717fe70ad282e0052ac0858c5b57f7) 9749 9750394. [bug] jelte 9751 b10-auth now catches any exceptions during response building; if any 9752 datasource either throws an exception or causes an exception to be 9753 thrown, the message processing code will now catch it, log a debug 9754 message, and return a SERVFAIL response. 9755 (Trac #1612, git b5740c6b3962a55e46325b3c8b14c9d64cf0d845) 9756 9757393. [func] jelte 9758 Introduced a new class LabelSequence in libdns++, which provides 9759 lightweight accessor functionality to the Name class, for more 9760 efficient comparison of parts of names. 9761 (Trac #1602, git b33929ed5df7c8f482d095e96e667d4a03180c78) 9762 9763392. [func]* jinmei 9764 libdns++: revised the (Abstract)MessageRenderer class so that it 9765 has a default internal buffer and the buffer can be temporarily 9766 switched. The constructor interface was modified, and a new 9767 method setBuffer() was added. 9768 (Trac #1697, git 9cabc799f2bf9a3579dae7f1f5d5467c8bb1aa40) 9769 9770391. [bug]* vorner 9771 The long time unused configuration options of Xfrout "log_name", 9772 "log_file", "log_severity", "log_version" and "log_max_bytes" were 9773 removed, as they had no effect (Xfrout uses the global logging 9774 framework). However, if you have them set, you need to remove 9775 them from the configuration file or the configuration will be 9776 rejected. 9777 (Trac #1090, git ef1eba02e4cf550e48e7318702cff6d67c1ec82e) 9778 9779bind10-devel-20120301 released on March 1, 2012 9780 9781390. [bug] vorner 9782 The UDP IPv6 packets are now correctly fragmented for maximum 9783 guaranteed MTU, so they won't get lost because being too large 9784 for some hop. 9785 (Trac #1534, git ff013364643f9bfa736b2d23fec39ac35872d6ad) 9786 9787389. [func]* vorner 9788 Xfrout now uses the global TSIG keyring, instead of its own. This 9789 means the keys need to be set only once (in tsig_keys/keys). 9790 However, the old configuration of Xfrout/tsig_keys need to be 9791 removed for Xfrout to work. 9792 (Trac #1643, git 5a7953933a49a0ddd4ee1feaddc908cd2285522d) 9793 9794388. [func] jreed 9795 Use prefix "sockcreator-" for the private temporary directory 9796 used for b10-sockcreator communication. 9797 (git b98523c1260637cb33436964dc18e9763622a242) 9798 9799387. [build] muks 9800 Accept a --without-werror configure switch so that some builders can 9801 disable the use of -Werror in CFLAGS when building. 9802 (Trac #1671, git 8684a411d7718a71ad9fb616f56b26436c4f03e5) 9803 9804386. [bug] jelte 9805 Upon initial sqlite3 database creation, the 'diffs' table is now 9806 always created. This already happened most of the time, but there 9807 are a few cases where it was skipped, resulting in potential errors 9808 in xfrout later. 9809 (Trac #1717, git 30d7686cb6e2fa64866c983e0cfb7b8fabedc7a2) 9810 9811385. [bug] jinmei 9812 libdns++: masterLoad() didn't accept comments placed at the end of 9813 an RR. Due to this the in-memory data source cannot load a master 9814 file for a signed zone even if it's preprocessed with BIND 9's 9815 named-compilezone. 9816 Note: this fix is considered temporary and still only accepts some 9817 limited form of such comments. The main purpose is to allow the 9818 in-memory data source to load any signed or unsigned zone files as 9819 long as they are at least normalized with named-compilezone. 9820 (Trac #1667, git 6f771b28eea25c693fe93a0e2379af924464a562) 9821 9822384. [func] jinmei, jelte, vorner, haikuo, kevin 9823 b10-auth now supports NSEC3-signed zones in the in-memory data 9824 source. 9825 (Trac #1580, #1581, #1582, #1583, #1584, #1585, #1587, and 9826 other related changes to the in-memory data source) 9827 9828383. [build] jinmei 9829 Fixed build failure on MacOS 10.7 (Lion) due to the use of 9830 IPV6_PKTINFO; the OS requires a special definition to make it 9831 visible to the compiler. 9832 (Trac #1633, git 19ba70c7cc3da462c70e8c4f74b321b8daad0100) 9833 9834382. [func] jelte 9835 b10-auth now also experimentally supports statistics counters of 9836 the rcode responses it sends. The counters can be shown as 9837 rcode.<code name>, where code name is the lowercase textual 9838 representation of the rcode (e.g. "noerror", "formerr", etc.). 9839 Same note applies as for opcodes, see changelog entry 364. 9840 (Trac #1613, git e98da500d7b02e11347431a74f2efce5a7d622aa) 9841 9842381. [bug] jinmei 9843 b10-auth: honor the DNSSEC DO bit in the new query handler. 9844 (Trac #1695, git 61f4da5053c6a79fbc162fb16f195cdf8f94df64) 9845 9846380. [bug] jinmei 9847 libdns++: miscellaneous bug fixes for the NSECPARAM RDATA 9848 implementation, including incorrect handling for empty salt and 9849 incorrect comparison logic. 9850 (Trac #1638, git 966c129cc3c538841421f1e554167d33ef9bdf25) 9851 9852379. [bug] jelte 9853 Configuration commands in bindctl now check for list indices if 9854 the 'identifier' argument points to a child element of a list 9855 item. Previously, it was possible to 'get' non-existent values 9856 by leaving out the index, e.g. "config show Auth/listen_on/port, 9857 which should be config show Auth/listen_on[<index>]/port, since 9858 Auth/listen_on is a list. The command without an index will now 9859 show an error. It is still possible to show/set the entire list 9860 ("config show Auth/listen_on"). 9861 (Trac #1649, git 003ca8597c8d0eb558b1819dbee203fda346ba77) 9862 9863378. [func] vorner 9864 It is possible to start authoritative server or resolver in multiple 9865 instances, to use more than one core. Configuration is described in 9866 the guide. 9867 (Trac #1596, git 17f7af0d8a42a0a67a2aade5bc269533efeb840a) 9868 9869377. [bug] jinmei 9870 libdns++: miscellaneous bug fixes for the NSEC and NSEC3 RDATA 9871 implementation, including a crash in NSEC3::toText() for some RR 9872 types, incorrect handling of empty NSEC3 salt, and incorrect 9873 comparison logic in NSEC3::compare(). 9874 (Trac #1641, git 28ba8bd71ae4d100cb250fd8d99d80a17a6323a2) 9875 9876376. [bug] jinmei, vorner 9877 The new query handling module of b10-auth did not handle type DS 9878 query correctly: It didn't look for it in the parent zone, and 9879 it incorrectly returned a DS from the child zone if it 9880 happened to exist there. Both were corrected, and it now also 9881 handles the case of having authority for the child and a grand 9882 ancestor. 9883 (Trac #1570, git 2858b2098a10a8cc2d34bf87463ace0629d3670e) 9884 9885375. [func] jelte 9886 Modules now inform the system when they are stopping. As a result, 9887 they are removed from the 'active modules' list in bindctl, which 9888 can then inform the user directly when it tries to send them a 9889 command or configuration update. Previously this would result 9890 in a 'not responding' error instead of 'not running'. 9891 (Trac #640, git 17e78fa1bb1227340aa9815e91ed5c50d174425d) 9892 9893374. [func]* stephen 9894 Alter RRsetPtr and ConstRRsetPtr to point to AbstractRRset (instead 9895 of RRset) to allow for specialised implementations of RRsets in 9896 data sources. 9897 (Trac #1604, git 3071211d2c537150a691120b0a5ce2b18d010239) 9898 9899373. [bug] jinmei 9900 libdatasrc: the in-memory data source incorrectly rejected loading 9901 a zone containing a CNAME RR with RRSIG and/or NSEC. 9902 (Trac #1551, git 76f823d42af55ce3f30a0d741fc9297c211d8b38) 9903 9904372. [func] vorner 9905 When the allocation of a socket fails for a different reason than the 9906 socket not being provided by the OS, the b10-auth and b10-resolver 9907 abort, as the system might be in inconsistent state after such error. 9908 (Trac #1543, git 49ac4659f15c443e483922bf9c4f2de982bae25d) 9909 9910371. [bug] jelte 9911 The new query handling module of b10-auth (currently only used with 9912 the in-memory data source) now correctly includes the DS record (or 9913 the denial of its existence if NSEC is used) when returning a 9914 delegation from a signed zone. 9915 (Trac #1573, git bd7a3ac98177573263950303d4b2ea7400781d0f) 9916 9917370. [func] jinmei 9918 libdns++: a new class NSEC3Hash was introduced as a utility for 9919 calculating NSEC3 hashes for various purposes. Python binding was 9920 provided, too. Also fixed a small bug in the NSEC3PARAM RDATA 9921 implementation that empty salt in text representation was 9922 rejected. 9923 (Trac #1575, git 2c421b58e810028b303d328e4e2f5b74ea124839) 9924 9925369. [func] vorner 9926 The SocketRequestor provides more information about what error 9927 happened when it throws, by using subclasses of the original 9928 exception. This way a user not interested in the difference can 9929 still use the original exception, while it can be recognized if 9930 necessary. 9931 (Trac #1542, git 2080e0316a339fa3cadea00e10b1ec4bc322ada0) 9932 9933368. [func]* jinmei 9934 libdatasrc: the interface of ZoneFinder() was changed: WILDCARD 9935 related result codes were deprecated and removed, and the 9936 corresponding information is now provided via a separate accessor 9937 method on FindResult. Other separate FindResult methods will 9938 also tell the caller whether the zone is signed with NSEC or NSEC3 9939 (when necessary and applicable). 9940 (Trac #1611, git c175c9c06034b4118e0dfdbccd532c2ebd4ba7e8) 9941 9942367. [bug] jinmei 9943 libdatasrc: in-memory data source could incorrectly reject to load 9944 zones containing RRSIG records. For example, it didn't allow 9945 RRSIG that covers a CNAME RR. This fix also makes sure find() 9946 will return RRsets with RRSIGs if they are signed. 9947 (Trac #1614, git e8241ea5a4adea1b42a60ee7f2c5cfb87301734c) 9948 9949366. [bug] vorner 9950 Fixed problem where a directory named "io" conflicted with the python3 9951 standard module "io" and caused the installation to fail. The 9952 offending directory has been renamed to "cio". 9953 (Trac #1561, git d81cf24b9e37773ba9a0d5061c779834ff7d62b9) 9954 9955365. [bug] jinmei 9956 libdatasrc: in-memory datasource incorrectly returned delegation 9957 for DS lookups. 9958 (Trac #1571, git d22e90b5ef94880183cd652e112399b3efb9bd67) 9959 9960364. [func] jinmei 9961 b10-auth experimentally supports statistics counters of incoming 9962 requests per opcode. The counters can be (e.g.) shown as 9963 opcode.<code name> in the output of the bindctl "Stats show" 9964 command, where <code name> is lower-cased textual representation 9965 of opcodes ("query", "notify", etc). 9966 Note: This is an experimental attempt of supporting more 9967 statistics counters for b10-auth, and the interface and output may 9968 change in future versions. 9969 (Trac #1399, git 07206ec76e2834de35f2e1304a274865f8f8c1a5) 9970 9971bind10-devel-20120119 released on January 19, 2012 9972 9973363. [func] jelte 9974 Added dummy DDNS module b10-ddns. Currently it does not 9975 provide any functionality, but it is a skeleton implementation 9976 that will be expanded later. 9977 (Trac #1451, git b0d0bf39fbdc29a7879315f9b8e6d602ef3afb1b) 9978 9979362. [func]* vorner 9980 Due to the socket creator changes, b10-auth and b10-resolver 9981 are no longer needed to start as root. They are started as 9982 the user they should be running, so they no longer have 9983 the -u flag for switching the user after initialization. 9984 Note: this change broke backward compatibility to boss component 9985 configuration. If your b10-config.db contains "setuid" for 9986 Boss.components, you'll need to remove that entry by hand before 9987 starting BIND 10. 9988 (Trac #1508, #1509, #1510, 9989 git edc5b3c12eb45437361484c843794416ad86bb00) 9990 9991361. [func] vorner, jelte, jinmei 9992 The socket creator is now used to provide sockets. It means you can 9993 reconfigure the ports and addresses at runtime even when the rest 9994 of the bind10 runs as non root user. 9995 (Trac #805, #1522, git 1830215f884e3b5efda52bd4dbb120bdca863a6a) 9996 9997360. [bug] vorner 9998 Fixed problem where bindctl crashed when a duplicate non-string 9999 item was added to a list. This error is now properly reported. 10000 (Trac #1515, git a3cf5322a73e8a97b388c6f8025b92957e5d8986) 10001 10002359. [bug] kevin 10003 Corrected SOA serial check in xfrout. It now compares the SOA 10004 serial of an IXFR query with that of the server based serial 10005 number arithmetic, and replies with a single SOA record of the 10006 server's current version if the former is equal to or newer 10007 than the latter. 10008 (Trac #1462, git ceeb87f6d539c413ebdc66e4cf718e7eb8559c45) 10009 10010358. [bug] jinmei 10011 b10-resolver ignored default configuration parameters if listen_on 10012 failed (this can easily happen especially for a test environment 10013 where the run time user doesn't have root privilege), and even if 10014 listen_on was updated later the resolver wouldn't work correctly 10015 unless it's fully restarted (for example, all queries would be 10016 rejected due to an empty ACL). 10017 (Trac #1424, git 2cba8cb83cde4f34842898a848c0b1182bc20597) 10018 10019357. [bug] jinmei 10020 ZoneFinder::find() for database based data sources didn't 10021 correctly identify out-of-zone query name and could return a 10022 confusing result such as NXRRSET. It now returns NXDOMAIN with an 10023 empty RRset. Note: we should rather throw an exception in such a 10024 case, which should be revisited later (see Trac #1536). 10025 (Trac #1430, git b35797ba1a49c78246abc8f2387901f9690b328d) 10026 10027356. [doc] tomek 10028 BIND 10 Guide updated. It now describes DHCPv4 and DHCPv6 10029 components, including their overview, usage, supported standard 10030 and limitations. libdhcp++ is also described. 10031 (Trac #1367, git 3758ab360efe1cdf616636b76f2e0fb41f2a62a0) 10032 10033355. [bug] jinmei 10034 Python xfrin.diff module incorrectly combined RRSIGs of different 10035 type covered, possibly merging different TTLs. As a result a 10036 secondary server could store different RRSIGs than those at the 10037 primary server if it gets these records via IXFR. 10038 (Trac #1502, git 57b06f8cb6681f591fa63f25a053eb6f422896ef) 10039 10040354. [func] tomek 10041 dhcp4: Support for DISCOVER and OFFER implemented. b10-dhcp4 is 10042 now able to offer hardcoded leases to DHCPv4 clients. 10043 dhcp6: Code refactored to use the same approach as dhcp4. 10044 (Trac #1230, git aac05f566c49daad4d3de35550cfaff31c124513) 10045 10046353. [func] tomek 10047 libdhcp++: Interface detection in Linux implemented. libdhcp++ 10048 is now able (on Linux systems) to detect available network 10049 interfaces, its link-layer addresses, flags and configured 10050 IPv4 and IPv6 addresses. Interface detection on other 10051 systems is planned. 10052 (Trac #1237, git 8a040737426aece7cc92a795f2b712d7c3407513) 10053 10054352. [func] tomek 10055 libdhcp++: Transmission and reception of DHCPv4 packets is now 10056 implemented. Low-level hacks are not implemented for transmission 10057 to hosts that don't have IPv4 address yet, so currently the code 10058 is usable for communication with relays only, not hosts on the 10059 same link. 10060 (Trac #1239, #1240, git f382050248b5b7ed1881b086d89be2d9dd8fe385) 10061 10062351. [func] fdupont 10063 Alpha version of DHCP benchmarking tool added. "perfdhcp" is able to 10064 test both IPv4 and IPv6 servers: it can time the four-packet exchange 10065 (DORA and SARR) as well as time the initial two-packet exchange (DO 10066 and SA). More information can be obtained by invoking the utility 10067 (in tests/tools/perfdhcp) with the "-h" flag. 10068 (Trac #1450, git 85083a76107ba2236732b45524ce7018eefbaf90) 10069 10070350. [func]* vorner 10071 The target parameter of ZoneFinder::find is no longer present, as the 10072 interface was awkward. To get all the RRsets of a single domain, use 10073 the new findAll method (the same applies to python version, the method 10074 is named find_all). 10075 (Trac #1483, #1484, git 0020456f8d118c9f3fd6fc585757c822b79a96f6) 10076 10077349. [bug] dvv 10078 resolver: If an upstream server responds with FORMERR to an EDNS 10079 query, try querying it without EDNS. 10080 (Trac #1386, git 99ad0292af284a246fff20b3702fbd7902c45418) 10081 10082348. [bug] stephen 10083 By default the logging output stream is now flushed after each write. 10084 This fixes a problem seen on some systems where the log output from 10085 different processes was jumbled up. Flushing can be disabled by 10086 setting the appropriate option in the logging configuration. 10087 (Trac #1405, git 2f0aa20b44604b671e6bde78815db39381e563bf) 10088 10089347. [bug] jelte 10090 Fixed a bug where adding Zonemgr/secondary_zones without explicitly 10091 setting the class value of the added zone resulted in a cryptic 10092 error in bindctl ("Error: class"). It will now correctly default to 10093 IN if not set. This also adds better checks on the name and class 10094 values, and better errors if they are bad. 10095 (Trac #1414, git 7b122af8489acf0f28f935a19eca2c5509a3677f) 10096 10097346. [build]* jreed 10098 Renamed libdhcp to libdhcp++. 10099 (Trac #1446, git d394e64f4c44f16027b1e62b4ac34e054b49221d) 10100 10101345. [func] tomek 10102 dhcp4: Dummy DHCPv4 component implemented. Currently it does 10103 nothing useful, except providing skeleton implementation that can 10104 be expanded in the future. 10105 (Trac #992, git d6e33479365c8f8f62ef2b9aa5548efe6b194601) 10106 10107344. [func] y-aharen 10108 src/lib/statistics: Added statistics counter library for entire server 10109 items and per zone items. Also, modified b10-auth to use it. It is 10110 also intended to use in the other modules such as b10-resolver. 10111 (Trac #510, git afddaf4c5718c2a0cc31f2eee79c4e0cc625499f) 10112 10113343. [func] jelte 10114 Added IXFR-out system tests, based on the first two test sets of 10115 http://bind10.isc.org/wiki/IxfrSystemTests. 10116 (Trac #1314, git 1655bed624866a766311a01214597db01b4c7cec) 10117 10118342. [bug] stephen 10119 In the resolver, a FORMERR received from an upstream nameserver 10120 now results in a SERVFAIL being returned as a response to the original 10121 query. Additional debug messages added to distinguish between 10122 different errors in packets received from upstream nameservers. 10123 (Trac #1383, git 9b2b249d23576c999a65d8c338e008cabe45f0c9) 10124 10125341. [func] tomek 10126 libdhcp++: Support for handling both IPv4 and IPv6 added. 10127 Also added support for binding IPv4 sockets. 10128 (Trac #1238, git 86a4ce45115dab4d3978c36dd2dbe07edcac02ac) 10129 10130340. [build] jelte 10131 Fixed several linker issues related to recent gcc versions, botan 10132 and gtest. 10133 (Trac #1442, git 91fb141bfb3aadfdf96f13e157a26636f6e9f9e3) 10134 10135339. [bug] jinmei 10136 libxfr, used by b10-auth to share TCP sockets with b10-xfrout, 10137 incorrectly propagated ASIO specific exceptions to the application 10138 if the given file name was too long. This could lead to 10139 unexpected shut down of b10-auth. 10140 (Trac #1387, git a5e9d9176e9c60ef20c0f5ef59eeb6838ed47ab2) 10141 10142338. [bug] jinmei 10143 b10-xfrin didn't check SOA serials of SOA and IXFR responses, 10144 which resulted in unnecessary transfer or unexpected IXFR 10145 timeouts (these issues were not overlooked but deferred to be 10146 fixed until #1278 was completed). Validation on responses to SOA 10147 queries were tightened, too. 10148 (Trac #1299, git 6ff03bb9d631023175df99248e8cc0cda586c30a) 10149 10150337. [func] tomek 10151 libdhcp++: Support for DHCPv4 option that can store a single 10152 address or a list of IPv4 addresses added. Support for END option 10153 added. 10154 (Trac #1350, git cc20ff993da1ddb1c6e8a98370438b45a2be9e0a) 10155 10156336. [func] jelte 10157 libdns++ (and its python wrapper) now includes a class Serial, for 10158 SOA SERIAL comparison and addition. Operations on instances of this 10159 class follow the specification from RFC 1982. 10160 Rdata::SOA::getSerial() now returns values of this type (and not 10161 uint32_t). 10162 (Trac #1278, git 2ae72d76c74f61a67590722c73ebbf631388acbd) 10163 10164335. [bug]* jelte 10165 The DataSourceClientContainer class that dynamically loads 10166 datasource backend libraries no longer provides just a .so file name 10167 to its call to dlopen(), but passes it an absolute path. This means 10168 that it is no longer an system implementation detail that depends on 10169 [DY]LD_LIBRARY_PATH which file is chosen, should there be multiple 10170 options (for instance, when test-running a new build while a 10171 different version is installed). 10172 These loadable libraries are also no longer installed in the default 10173 library path, but in a subdirectory of the libexec directory of the 10174 target ($prefix/libexec/[version]/backends). 10175 This also removes the need to handle b10-xfin and b10-xfrout as 10176 'special' hardcoded components, and they are now started as regular 10177 components as dictated by the configuration of the boss process. 10178 (Trac #1292, git 83ce13c2d85068a1bec015361e4ef8c35590a5d0) 10179 10180334. [bug] jinmei 10181 b10-xfrout could potentially create an overflow response message 10182 (exceeding the 64KB max) or could create unnecessarily small 10183 messages. The former was actually unlikely to happen due to the 10184 effect of name compression, and the latter was marginal and at least 10185 shouldn't cause an interoperability problem, but these were still 10186 potential problems and were fixed. 10187 (Trac #1389, git 3fdce88046bdad392bd89ea656ec4ac3c858ca2f) 10188 10189333. [bug] dvv 10190 Solaris needs "-z now" to force non-lazy binding and prevent 10191 g++ static initialization code from deadlocking. 10192 (Trac #1439, git c789138250b33b6b08262425a08a2a0469d90433) 10193 10194332. [bug] vorner 10195 C++ exceptions in the isc.dns.Rdata wrapper are now converted 10196 to python ones instead of just aborting the interpreter. 10197 (Trac #1407, git 5b64e839be2906b8950f5b1e42a3fadd72fca033) 10198 10199bind10-devel-20111128 released on November 28, 2011 10200 10201331. [bug] shane 10202 Fixed a bug in data source library where a zone with more labels 10203 than an out-of-bailiwick name server would cause an exception to 10204 be raised. 10205 (Trac #1430, git 81f62344db074bc5eea3aaf3682122fdec6451ad) 10206 10207330. [bug] jelte 10208 Fixed a bug in b10-auth where it would sometimes fail because it 10209 tried to check for queued msgq messages before the session was 10210 fully running. 10211 (git c35d0dde3e835fc5f0a78fcfcc8b76c74bc727ca) 10212 10213329. [doc] vorner, jreed 10214 Document the bind10 run control configuration in guide and 10215 manual page. 10216 (Trac #1341, git c1171699a2b501321ab54207ad26e5da2b092d63) 10217 10218328. [func] jelte 10219 b10-auth now passes IXFR requests on to b10-xfrout, and no longer 10220 responds to them with NOTIMPL. 10221 (Trac #1390, git ab3f90da16d31fc6833d869686e07729d9b8c135) 10222 10223327. [func] jinmei 10224 b10-xfrout now supports IXFR. (Right now there is no user 10225 configurable parameter about this feature; b10-xfrout will 10226 always respond to IXFR requests according to RFC1995). 10227 (Trac #1371 and #1372, git 80c131f5b0763753d199b0fb9b51f10990bcd92b) 10228 10229326. [build]* jinmei 10230 Added a check script for the SQLite3 schema version. It will be 10231 run at the beginning of 'make install', and if it detects an old 10232 version of schema, installation will stop. You'll then need to 10233 upgrade the database file by following the error message. 10234 (Trac #1404, git a435f3ac50667bcb76dca44b7b5d152f45432b57) 10235 10236325. [func] jinmei 10237 Python isc.datasrc: added interfaces for difference management: 10238 DataSourceClient.get_updater() now has the 'journaling' parameter 10239 to enable storing diffs to the data source, and a new class 10240 ZoneJournalReader was introduced to retrieve them, which can be 10241 created by the new DataSourceClient.get_journal_reader() method. 10242 (Trac #1333, git 3e19362bc1ba7dc67a87768e2b172c48b32417f5, 10243 git 39def1d39c9543fc485eceaa5d390062edb97676) 10244 10245324. [bug] jinmei 10246 Fixed reference leak in the isc.log Python module. Most of all 10247 BIND 10 Python programs had memory leak (even though the pace of 10248 leak may be slow) due to this bug. 10249 (Trac #1359, git 164d651a0e4c1059c71f56b52ea87ac72b7f6c77) 10250 10251323. [bug] jinmei 10252 b10-xfrout incorrectly skipped adding TSIG RRs to some 10253 intermediate responses (when TSIG is to be used for the 10254 responses). While RFC2845 optionally allows to skip intermediate 10255 TSIGs (as long as the digest for the skipped part was included 10256 in a later TSIG), the underlying TSIG API doesn't support this 10257 mode of signing. 10258 (Trac #1370, git 76fb414ea5257b639ba58ee336fae9a68998b30d) 10259 10260322. [func] jinmei 10261 datasrc: Added C++ API for retrieving difference of two versions 10262 of a zone. A new ZoneJournalReader class was introduced for this 10263 purpose, and a corresponding factory method was added to 10264 DataSourceClient. 10265 (Trac #1332, git c1138d13b2692fa3a4f2ae1454052c866d24e654) 10266 10267321. [func]* jinmei 10268 b10-xfrin now installs IXFR differences into the underlying data 10269 source (if it supports journaling) so that the stored differences 10270 can be used for subsequent IXFR-out transactions. 10271 Note: this is a backward incompatibility change for older sqlite3 10272 database files. They need to be upgraded to have a "diffs" table. 10273 (Trac #1376, git 1219d81b49e51adece77dc57b5902fa1c6be1407) 10274 10275320. [func]* vorner 10276 The --brittle switch was removed from the bind10 executable. 10277 It didn't work after change #316 (Trac #213) and the same 10278 effect can be accomplished by declaring all components as core. 10279 (Trac #1340, git f9224368908dd7ba16875b0d36329cf1161193f0) 10280 10281319. [func] naokikambe 10282 b10-stats-httpd was updated. In addition of the access to all 10283 statistics items of all modules, the specified item or the items 10284 of the specified module name can be accessed. For example, the 10285 URI requested by using the feature is showed as 10286 "/bind10/statistics/xml/Auth" or 10287 "/bind10/statistics/xml/Auth/queries.tcp". The list of all possible 10288 module names and all possible item names can be showed in the 10289 root document, whose URI is "/bind10/statistics/xml". This change 10290 is not only for the XML documents but also is for the XSD and 10291 XSL documents. 10292 (Trac #917, git b34bf286c064d44746ec0b79e38a6177d01e6956) 10293 10294318. [func] stephen 10295 Add C++ API for accessing zone difference information in 10296 database-based data sources. 10297 (Trac #1330, git 78770f52c7f1e7268d99e8bfa8c61e889813bb33) 10298 10299317. [func] vorner 10300 datasrc: the getUpdater method of DataSourceClient supports an 10301 optional 'journaling' parameter to indicate the generated updater 10302 to store diffs. The database based derived class implements this 10303 extension. 10304 (Trac #1331, git 713160c9bed3d991a00b2ea5e7e3e7714d79625d) 10305 10306316. [func]* vorner 10307 The configuration of what parts of the system run is more 10308 flexible now. Everything that should run must have an 10309 entry in Boss/components. 10310 (Trac #213, git 08e1873a3593b4fa06754654d22d99771aa388a6) 10311 10312315. [func] tomek 10313 libdhcp: Support for DHCPv4 packet manipulation is now implemented. 10314 All fixed fields are now supported. Generic support for DHCPv4 10315 options is available (both parsing and assembly). There is no code 10316 that uses this new functionality yet, so it is not usable directly 10317 at this time. This code will be used by upcoming b10-dhcp4 daemon. 10318 (Trac #1228, git 31d5a4f66b18cca838ca1182b9f13034066427a7) 10319 10320314. [bug] jelte 10321 b10-xfrin would previously initiate incoming transfers upon 10322 receiving NOTIFY messages from any address (if the zone was 10323 known to b10-xfrin, and using the configured address). It now 10324 only starts a transfer if the source address from the NOTIFY 10325 packet matches the configured master address and port. This was 10326 really already fixed in release bind10-devel-20111014, but there 10327 were some deferred cleanups to add. 10328 (Trac #1298, git 1177bfe30e17a76bea6b6447e14ae9be9e1ca8c2) 10329 10330313. [func] jinmei 10331 datasrc: Added C++ API for adding zone differences to database 10332 based data sources. It's intended to be used for the support for 10333 IXFR-in and dynamic update (so they can subsequently be retrieved 10334 for IXFR-out). The addRecordDiff method of the DatabaseAccessor 10335 defines the interface, and a concrete implementation for SQLite3 10336 was provided. 10337 (Trac #1329, git 1aa233fab1d74dc776899df61181806679d14013) 10338 10339312. [func] jelte 10340 Added an initial framework for doing system tests using the 10341 cucumber-based BDD tool Lettuce. A number of general steps are 10342 included, for instance running bind10 with specific 10343 configurations, sending queries, and inspecting query answers. A 10344 few very basic tests are included as well. 10345 (Trac #1290, git 6b75c128bcdcefd85c18ccb6def59e9acedd4437) 10346 10347311. [bug] jelte 10348 Fixed a bug in bindctl where tab-completion for names that 10349 contain a hyphen resulted in unexpected behaviour, such as 10350 appending the already-typed part again. 10351 (Trac #1345, git f80ab7879cc29f875c40dde6b44e3796ac98d6da) 10352 10353310. [bug] jelte 10354 Fixed a bug where bindctl could not set a value that is optional 10355 and has no default, resulting in the error that the setting 10356 itself was unknown. bindctl now correctly sees the setting and 10357 is able to set it. 10358 (Trac #1344, git 0e776c32330aee466073771600390ce74b959b38) 10359 10360309. [bug] jelte 10361 Fixed a bug in bindctl where the removal of elements from a set 10362 with default values was not stored, unless the set had been 10363 modified in another way already. 10364 (Trac #1343, git 25c802dd1c30580b94345e83eeb6a168ab329a33) 10365 10366308. [build] jelte 10367 The configure script will now use pkg-config for finding 10368 information about the Botan library. If pkg-config is unavailable, 10369 or unaware of Botan, it will fall back to botan-config. It will 10370 also use botan-config when a specific botan library directory is 10371 given using the '--with-botan=' flag 10372 (Trac #1194, git dc491833cf75ac1481ba1475795b0f266545013d) 10373 10374307. [func] vorner 10375 When zone transfer in fails with IXFR, it is retried with AXFR 10376 automatically. 10377 (Trac #1279, git cd3588c9020d0310f949bfd053c4d3a4bd84ef88) 10378 10379306. [bug] stephen 10380 Boss process now waits for the configuration manager to initialize 10381 itself before continuing with startup. This fixes a race condition 10382 whereby the Boss could start the configuration manager and then 10383 immediately start components that depended on that component being 10384 fully initialized. 10385 (Trac #1271, git 607cbae949553adac7e2a684fa25bda804658f61) 10386 10387305. [bug] jinmei 10388 Python isc.dns, isc.datasrc, xfrin, xfrout: fixed reference leak 10389 in Message.get_question(), Message.get_section(), 10390 RRset.get_rdata(), and DataSourceClient.get_updater(). 10391 The leak caused severe memory leak in b10-xfrin, and (although no 10392 one reported it) should have caused less visible leak in 10393 b10-xfrout. b10-xfrin had its own leak, which was also fixed. 10394 (Trac #1028, git a72886e643864bb6f86ab47b115a55e0c7f7fcad) 10395 10396304. [bug] jelte 10397 The run_bind10.sh test script now no longer runs processes from 10398 an installed version of BIND 10, but will correctly use the 10399 build tree paths. 10400 (Trac #1246, git 1d43b46ab58077daaaf5cae3c6aa3e0eb76eb5d8) 10401 10402303. [bug] jinmei 10403 Changed the installation path for the UNIX domain file used 10404 for the communication between b10-auth and b10-xfrout to a 10405 "@PACKAGE@" subdirectory (e.g. from /usr/local/var to 10406 /usr/local/var/bind10-devel). This should be transparent change 10407 because this file is automatically created and cleaned up, but 10408 if the old file somehow remains, it can now be safely removed. 10409 (Trac #869, git 96e22f4284307b1d5f15e03837559711bb4f580c) 10410 10411302. [bug] jelte 10412 msgq no longer crashes if the remote end is closed while msgq 10413 tries to send data. It will now simply drop the message and close 10414 the connection itself. 10415 (Trac #1180, git 6e68b97b050e40e073f736d84b62b3e193dd870a) 10416 10417301. [func] stephen 10418 Add system test for IXFR over TCP. 10419 (Trac #1213, git 68ee3818bcbecebf3e6789e81ea79d551a4ff3e8) 10420 10421300. [func]* tomek 10422 libdhcp: DHCP packet library was implemented. Currently it handles 10423 packet reception, option parsing, option generation and output 10424 packet building. Generic and specialized classes for several 10425 DHCPv6 options (IA_NA, IAADDR, address-list) are available. A 10426 simple code was added that leverages libdhcp. It is a skeleton 10427 DHCPv6 server. It receives incoming SOLICIT and REQUEST messages 10428 and responds with proper ADVERTISE and REPLY. Note that since 10429 LeaseManager is not implemented, server assigns the same 10430 hardcoded lease for every client. This change removes existing 10431 DHCPv6 echo server as it was only a proof of concept code. 10432 (Trac #1186, git 67ea6de047d4dbd63c25fe7f03f5d5cc2452ad7d) 10433 10434299. [build] jreed 10435 Do not install the libfake_session, libtestutils, or libbench 10436 libraries. They are used by tests within the source tree. 10437 Convert all test-related makefiles to build test code at 10438 regular make time to better work with test-driven development. 10439 This reverts some of #1901. (The tests are ran using "make 10440 check".) 10441 (Trac #1286, git cee641fd3d12341d6bfce5a6fbd913e3aebc1e8e) 10442 10443bind10-devel-20111014 released on October 14, 2011 10444 10445298. [doc] jreed 10446 Shorten README. Include plain text format of the Guide. 10447 (git d1897d3, git 337198f) 10448 10449297. [func] dvv 10450 Implement the SPF rrtype according to RFC4408. 10451 (Trac #1140, git 146934075349f94ee27f23bf9ff01711b94e369e) 10452 10453296. [build] jreed 10454 Do not install the unittest libraries. At this time, they 10455 are not useful without source tree (and they may or may 10456 not have googletest support). Also, convert several makefiles 10457 to build tests at "check" time and not build time. 10458 (Trac #1091, git 2adf4a90ad79754d52126e7988769580d20501c3) 10459 10460295. [bug] jinmei 10461 __init__.py for isc.dns was installed in the wrong directory, 10462 which would now make xfrin fail to start. It was also bad 10463 in that it replaced any existing __init__.py in th public 10464 site-packages directory. After applying this fix You may want to 10465 check if the wrong init file is in the wrong place, in which 10466 case it should be removed. 10467 (Trac #1285, git af3b17472694f58b3d6a56d0baf64601b0f6a6a1) 10468 10469294. [func] jelte, jinmei, vorner 10470 b10-xfrin now supports incoming IXFR. See BIND 10 Guide for 10471 how to configure it and operational notes. 10472 (Trac #1212, multiple git merges) 10473 10474293. [func]* tomek 10475 b10-dhcp6: Implemented DHCPv6 echo server. It joins DHCPv6 10476 multicast groups and listens to incoming DHCPv6 client messages. 10477 Received messages are then echoed back to clients. This 10478 functionality is limited, but it can be used to test out client 10479 resiliency to unexpected messages. Note that network interface 10480 detection routines are not implemented yet, so interface name 10481 and its address must be specified in interfaces.txt. 10482 (Trac #878, git 3b1a604abf5709bfda7271fa94213f7d823de69d) 10483 10484292. [func] dvv 10485 Implement the DLV rrtype according to RFC4431. 10486 (Trac #1144, git d267c0511a07c41cd92e3b0b9ee9bf693743a7cf) 10487 10488291. [func] naokikambe 10489 Statistics items are specified by each module's spec file. 10490 Stats module can read these through the config manager. Stats 10491 module and stats httpd report statistics data and statistics 10492 schema by each module via both bindctl and HTTP/XML. 10493 (Trac #928, #929, #930, #1175, 10494 git 054699635affd9c9ecbe7a108d880829f3ba229e) 10495 10496290. [func] jinmei 10497 libdns++/pydnspp: added an option parameter to the "from wire" 10498 methods of the Message class. One option is defined, 10499 PRESERVE_ORDER, which specifies the parser to handle each RR 10500 separately, preserving the order, and constructs RRsets in the 10501 message sections so that each RRset contains only one RR. 10502 (Trac #1258, git c874cb056e2a5e656165f3c160e1b34ccfe8b302) 10503 10504289. [func]* jinmei 10505 b10-xfrout: ACLs for xfrout can now be configured per zone basis. 10506 A per zone ACL is part of a more general zone configuration. A 10507 quick example for configuring an ACL for zone "example.com" that 10508 rejects any transfer request for that zone is as follows: 10509 > config add Xfrout/zone_config 10510 > config set Xfrout/zone_config[0]/origin "example.com" 10511 > config add Xfrout/zone_config[0]/transfer_acl 10512 > config set Xfrout/zone_config[0]/transfer_acl[0] {"action": "REJECT"} 10513 The previous global ACL (query_acl) was renamed to transfer_acl, 10514 which now works as the default ACL. Note: backward compatibility 10515 is not provided, so an existing configuration using query_acl 10516 needs to be updated by hand. 10517 Note: the per zone configuration framework is a temporary 10518 workaround. It will eventually be redesigned as a system wide 10519 configuration. 10520 (Trac #1165, git 698176eccd5d55759fe9448b2c249717c932ac31) 10521 10522288. [bug] stephen 10523 Fixed problem whereby the order in which component files appeared in 10524 rdataclass.cc was system dependent, leading to problems on some 10525 systems where data types were used before the header file in which 10526 they were declared was included. 10527 (Trac #1202, git 4a605525cda67bea8c43ca8b3eae6e6749797450) 10528 10529287. [bug]* jinmei 10530 Python script files for log messages (xxx_messages.py) should have 10531 been installed under the "isc" package. This fix itself should 10532 be a transparent change without affecting existing configurations 10533 or other operational practices, but you may want to clean up the 10534 python files from the common directly (such as "site-packages"). 10535 (Trac #1101, git 0eb576518f81c3758c7dbaa2522bd8302b1836b3) 10536 10537286. [func] ocean 10538 libdns++: Implement the HINFO rrtype support according to RFC1034, 10539 and RFC1035. 10540 (Trac #1112, git 12d62d54d33fbb1572a1aa3089b0d547d02924aa) 10541 10542285. [bug] jelte 10543 sqlite3 data source: fixed a race condition on initial startup, 10544 when the database has not been initialized yet, and multiple 10545 processes are trying to do so, resulting in one of them failing. 10546 (Trac #326, git 5de6f9658f745e05361242042afd518b444d7466) 10547 10548284. [bug] jerry 10549 b10-zonemgr: zonemgr will not terminate on empty zones, it will 10550 log a warning and try to do zone transfer for them. 10551 (Trac #1153, git 0a39659638fc68f60b95b102968d7d0ad75443ea) 10552 10553283. [bug] zhanglikun 10554 Make stats and boss processes wait for answer messages from each 10555 other in block mode to avoid orphan answer messages, add an internal 10556 command "getstats" to boss process for getting statistics data from 10557 boss. 10558 (Trac #519, git 67d8e93028e014f644868fede3570abb28e5fb43) 10559 10560282. [func] ocean 10561 libdns++: Implement the NAPTR rrtype according to RFC2915, 10562 RFC2168 and RFC3403. 10563 (Trac #1130, git 01d8d0f13289ecdf9996d6d5d26ac0d43e30549c) 10564 10565bind10-devel-20110819 released on August 19, 2011 10566 10567281. [func] jelte 10568 Added a new type for configuration data: "named set". This allows for 10569 similar configuration as the current "list" type, but with strings 10570 instead of indices as identifiers. The intended use is for instance 10571 /foo/zones/example.org/bar instead of /foo/zones[2]/bar. Currently 10572 this new type is not in use yet. 10573 (Trac #926, git 06aeefc4787c82db7f5443651f099c5af47bd4d6) 10574 10575280. [func] jerry 10576 libdns++: Implement the MINFO rrtype according to RFC1035. 10577 (Trac #1113, git 7a9a19d6431df02d48a7bc9de44f08d9450d3a37) 10578 10579279. [func] jerry 10580 libdns++: Implement the AFSDB rrtype according to RFC1183. 10581 (Trac #1114, git ce052cd92cd128ea3db5a8f154bd151956c2920c) 10582 10583278. [doc] jelte 10584 Add logging configuration documentation to the guide. 10585 (Trac #1011, git 2cc500af0929c1f268aeb6f8480bc428af70f4c4) 10586 10587277. [func] jerry 10588 libdns++: Implement the SRV rrtype according to RFC2782. 10589 (Trac #1128, git 5fd94aa027828c50e63ae1073d9d6708e0a9c223) 10590 10591276. [func] stephen 10592 Although the top-level loggers are named after the program (e.g. 10593 b10-auth, b10-resolver), allow the logger configuration to omit the 10594 "b10-" prefix and use just the module name. 10595 (Trac #1003, git a01cd4ac5a68a1749593600c0f338620511cae2d) 10596 10597275. [func] jinmei 10598 Added support for TSIG key matching in ACLs. The xfrout ACL can 10599 now refer to TSIG key names using the "key" attribute. For 10600 example, the following specifies an ACL that allows zone transfer 10601 if and only if the request is signed with a TSIG of a key name 10602 "key.example": 10603 > config set Xfrout/query_acl[0] {"action": "ACCEPT", \ 10604 "key": "key.example"} 10605 (Trac #1104, git 9b2e89cabb6191db86f88ee717f7abc4171fa979) 10606 10607274. [bug] naokikambe 10608 add unittests for functions xml_handler, xsd_handler and xsl_handler 10609 respectively to make sure their behaviors are correct, regardless of 10610 whether type which xml.etree.ElementTree.tostring() after Python3.2 10611 returns is str or byte. 10612 (Trac #1021, git 486bf91e0ecc5fbecfe637e1e75ebe373d42509b) 10613 10614273. [func] vorner 10615 It is possible to specify ACL for the xfrout module. It is in the ACL 10616 configuration key and has the usual ACL syntax. It currently supports 10617 only the source address. Default ACL accepts everything. 10618 (Trac #772, git 50070c824270d5da1db0b716db73b726d458e9f7) 10619 10620272. [func] jinmei 10621 libdns++/pydnspp: TSIG signing now handles truncated DNS messages 10622 (i.e. with TC bit on) with TSIG correctly. 10623 (Trac #910, 8e00f359e81c3cb03c5075710ead0f87f87e3220) 10624 10625271. [func] stephen 10626 Default logging for unit tests changed to severity DEBUG (level 99) 10627 with the output routed to /dev/null. This can be altered by setting 10628 the B10_LOGGER_XXX environment variables. 10629 (Trac #1024, git 72a0beb8dfe85b303f546d09986461886fe7a3d8) 10630 10631270. [func] jinmei 10632 Added python bindings for ACLs using the DNS request as the 10633 context. They are accessible via the isc.acl.dns module. 10634 (Trac #983, git c24553e21fe01121a42e2136d0a1230d75812b27) 10635 10636269. [bug] y-aharen 10637 Modified IntervalTimerTest not to rely on the accuracy of the timer. 10638 This fix addresses occasional failure of build tests. 10639 (Trac #1016, git 090c4c5abac33b2b28d7bdcf3039005a014f9c5b) 10640 10641268. [func] stephen 10642 Add environment variable to allow redirection of logging output during 10643 unit tests. 10644 (Trac #1071, git 05164f9d61006869233b498d248486b4307ea8b6) 10645 10646bind10-devel-20110705 released on July 05, 2011 10647 10648267. [func] tomek 10649 Added a dummy module for DHCP6. This module does not actually 10650 do anything at this point, and BIND 10 has no option for 10651 starting it yet. It is included as a base for further 10652 development. 10653 (Trac #990, git 4a590df96a1b1d373e87f1f56edaceccb95f267d) 10654 10655266. [func] Multiple developers 10656 Convert various error messages, debugging and other output 10657 to the new logging interface, including for b10-resolver, 10658 the resolver library, the CC library, b10-auth, b10-cfgmgr, 10659 b10-xfrin, and b10-xfrout. This includes a lot of new 10660 documentation describing the new log messages. 10661 (Trac #738, #739, #742, #746, #759, #761, #762) 10662 10663265. [func]* jinmei 10664 b10-resolver: Introduced ACL on incoming queries. By default the 10665 resolver accepts queries from ::1 and 127.0.0.1 and rejects all 10666 others. The ACL can be configured with bindctl via the 10667 "Resolver/query_acl" parameter. For example, to accept queries 10668 from 192.0.2.0/24 (in addition to the default list), do this: 10669 > config add Resolver/query_acl 10670 > config set Resolver/query_acl[2]/action "ACCEPT" 10671 > config set Resolver/query_acl[2]/from "192.0.2.0/24" 10672 > config commit 10673 (Trac #999, git e0744372924442ec75809d3964e917680c57a2ce, 10674 also based on other ACL related work done by stephen and vorner) 10675 10676264. [bug] jerry 10677 b10-xfrout: fixed a busy loop in its notify-out subthread. Due to 10678 the loop, the thread previously woke up every 0.5 seconds throughout 10679 most of the lifetime of b10-xfrout, wasting the corresponding CPU 10680 time. 10681 (Trac #1001, git fb993ba8c52dca4a3a261e319ed095e5af8db15a) 10682 10683263. [func] jelte 10684 Logging configuration can now also accept a * as a first-level 10685 name (e.g. '*', or '*.cache'), indicating that every module 10686 should use that configuration, unless overridden by an explicit 10687 logging configuration for that module 10688 (Trac #1004, git 0fad7d4a8557741f953eda9fed1d351a3d9dc5ef) 10689 10690262. [func] stephen 10691 Add some initial documentation about the logging framework. 10692 Provide BIND 10 Messages Manual in HTML and DocBook? XML formats. 10693 This provides all the log message descriptions in a single document. 10694 A developer tool, tools/system_messages.py (available in git repo), 10695 was written to generate this. 10696 (Trac #1012, git 502100d7b9cd9d2300e78826a3bddd024ef38a74) 10697 10698261. [func] stephen 10699 Add new-style logging messages to b10-auth. 10700 (Trac #738, git c021505a1a0d6ecb15a8fd1592b94baff6d115f4) 10701 10702260. [func] stephen 10703 Remove comma between message identification and the message 10704 text in the new-style logging messages. 10705 (Trac #1031, git 1c7930a7ba19706d388e4f8dcf2a55a886b74cd2) 10706 10707259. [bug] stephen 10708 Logging now correctly initialized in b10-auth. Also, fixed 10709 bug whereby querying for "version.bind txt ch" would cause 10710 b10-auth to crash if BIND 10 was started with the "-v" switch. 10711 (Trac #1022, #1023, git 926a65fa08617be677a93e9e388df0f229b01067) 10712 10713258. [build] jelte 10714 Now builds and runs with Python 3.2 10715 (Trac #710, git dae1d2e24f993e1eef9ab429326652f40a006dfb) 10716 10717257. [bug] y-aharen 10718 Fixed a bug an instance of IntervalTimerImpl may be destructed 10719 while deadline_timer is holding the handler. This fix addresses 10720 occasional failure of IntervalTimerTest.destructIntervalTimer. 10721 (Trac #957, git e59c215e14b5718f62699ec32514453b983ff603) 10722 10723256. [bug] jerry 10724 src/bin/xfrin: update xfrin to check TSIG before other part of 10725 incoming message. 10726 (Trac #955, git 261450e93af0b0406178e9ef121f81e721e0855c) 10727 10728255. [func] zhang likun 10729 src/lib/cache: remove empty code in lib/cache and the corresponding 10730 suppression rule in src/cppcheck-suppress.lst. 10731 (Trac #639, git 4f714bac4547d0a025afd314c309ca5cb603e212) 10732 10733254. [bug] jinmei 10734 b10-xfrout: failed to send notifies over IPv6 correctly. 10735 (Trac #964, git 3255c92714737bb461fb67012376788530f16e40) 10736 10737253. [func] jelte 10738 Add configuration options for logging through the virtual module 10739 Logging. 10740 (Trac #736, git 9fa2a95177265905408c51d13c96e752b14a0824) 10741 10742252. [func] stephen 10743 Add syslog as destination for logging. 10744 (Trac #976, git 31a30f5485859fd3df2839fc309d836e3206546e) 10745 10746251. [bug]* jinmei 10747 Make sure bindctl private files are non readable to anyone except 10748 the owner or users in the same group. Note that if BIND 10 is run 10749 with changing the user, this change means that the file owner or 10750 group will have to be adjusted. Also note that this change is 10751 only effective for a fresh install; if these files already exist, 10752 their permissions must be adjusted by hand (if necessary). 10753 (Trac #870, git 461fc3cb6ebabc9f3fa5213749956467a14ebfd4) 10754 10755250. [bug] ocean 10756 src/lib/util/encode, in some conditions, the DecodeNormalizer's 10757 iterator may reach the end() and when later being dereferenced 10758 it will cause crash on some platform. 10759 (Trac #838, git 83e33ec80c0c6485d8b116b13045b3488071770f) 10760 10761249. [func] jerry 10762 xfrout: add support for TSIG verification. 10763 (Trac #816, git 3b2040e2af2f8139c1c319a2cbc429035d93f217) 10764 10765248. [func] stephen 10766 Add file and stderr as destinations for logging. 10767 (Trac #555, git 38b3546867425bd64dbc5920111a843a3330646b) 10768 10769247. [func] jelte 10770 Upstream queries from the resolver now set EDNS0 buffer size. 10771 (Trac #834, git 48e10c2530fe52c9bde6197db07674a851aa0f5d) 10772 10773246. [func] stephen 10774 Implement logging using log4cplus (http://log4cplus.sourceforge.net) 10775 (Trac #899, git 31d3f525dc01638aecae460cb4bc2040c9e4df10) 10776 10777245. [func] vorner 10778 Authoritative server can now sign the answers using TSIG 10779 (configured in tsig_keys/keys, list of strings like 10780 "name:<base64-secret>:sha1-hmac"). It doesn't use them for 10781 ACL yet, only verifies them and signs if the request is signed. 10782 (Trac #875, git fe5e7003544e4e8f18efa7b466a65f336d8c8e4d) 10783 10784244. [func] stephen 10785 In unit tests, allow the choice of whether unhandled exceptions are 10786 caught in the unit test program (and details printed) or allowed to 10787 propagate to the default exception handler. See the bind10-dev thread 10788 https://lists.isc.org/pipermail/bind10-dev/2011-January/001867.html 10789 for more details. 10790 (Trac #542, git 1aa773d84cd6431aa1483eb34a7f4204949a610f) 10791 10792243. [func]* feng 10793 Add optional hmac algorithm SHA224/384/512. 10794 (Trac #782, git 77d792c9d7c1a3f95d3e6a8b721ac79002cd7db1) 10795 10796bind10-devel-20110519 released on May 19, 2011 10797 10798242. [func] jinmei 10799 xfrin: added support for TSIG verify. This change completes TSIG 10800 support in b10-xfrin. 10801 (Trac #914, git 78502c021478d97672232015b7df06a7d52e531b) 10802 10803241. [func] jinmei 10804 pydnspp: added python extension for the TSIG API introduced in 10805 change 235. 10806 (Trac #905, git 081891b38f05f9a186814ab7d1cd5c572b8f777f) 10807 (Trac #915, git 0555ab65d0e43d03b2d40c95d833dd050eea6c23) 10808 10809240. [func]* jelte 10810 Updated configuration options to Xfrin, so that you can specify 10811 a master address, port, and TSIG key per zone. Still only one per 10812 zone at this point, and TSIG keys are (currently) only specified 10813 by their full string representation. This replaces the 10814 Xfrin/master_addr, Xfrin/master_port, and short-lived 10815 Xfrin/tsig_key configurations with a Xfrin/zones list. 10816 (Trac #811, git 88504d121c5e08fff947b92e698a54d24d14c375) 10817 10818239. [bug] jerry 10819 src/bin/xfrout: If a zone doesn't have notify slaves (only has 10820 one apex ns record - the primary master name server) will cause 10821 b10-xfrout uses 100% of CPU. 10822 (Trac #684, git d11b5e89203a5340d4e5ca51c4c02db17c33dc1f) 10823 10824238. [func] zhang likun 10825 Implement the simplest forwarder, which pass everything through 10826 except QID, port number. The response will not be cached. 10827 (Trac #598_new, git 8e28187a582820857ef2dae9b13637a3881f13ba) 10828 10829237. [bug] naokikambe 10830 Resolved that the stats module wasn't configurable in bindctl in 10831 spite of its having configuration items. The configuration part 10832 was removed from the original spec file "stats.spec" and was 10833 placed in a new spec file "stats-schema.spec". Because it means 10834 definitions of statistics items. The command part is still 10835 there. Thus stats module currently has no its own configuration, 10836 and the items in "stats-schema.spec" are neither visible nor 10837 configurable through bindctl. "stats-schema.spec" is shared with 10838 stats module and stats-httpd module, and maybe with other 10839 statistical modules in future. "stats.spec" has own configuration 10840 and commands of stats module, if it requires. 10841 (Trac #719, git a234b20dc6617392deb8a1e00eb0eed0ff353c0a) 10842 10843236. [func] jelte 10844 C++ client side of configuration now uses BIND 10 logging system. 10845 It also has improved error handling when communicating with the 10846 rest of the system. 10847 (Trac #743, git 86632c12308c3ed099d75eb828f740c526dd7ec0) 10848 10849235. [func] jinmei 10850 libdns++: added support for TSIG signing and verification. It can 10851 be done using a newly introduced TSIGContext class. 10852 Note: we temporarily disabled support for truncated signature 10853 and modified some part of the code introduced in #226 accordingly. 10854 We plan to fix this pretty soon. 10855 (Trac #812, git ebe0c4b1e66d359227bdd1bd47395fee7b957f14) 10856 (Trac #871, git 7c54055c0e47c7a0e36fcfab4b47ff180c0ca8c8) 10857 (Trac #813, git ffa2f0672084c1f16e5784cdcdd55822f119feaa) 10858 (Trac #893, git 5aaa6c0f628ed7c2093ecdbac93a2c8cf6c94349) 10859 10860234. [func] jerry 10861 src/bin/xfrin: update xfrin to use TSIG. Currently it only supports 10862 sending a signed TSIG request or SOA request. 10863 (Trac #815, git a892818fb13a1839c82104523cb6cb359c970e88) 10864 10865233. [func] stephen 10866 Added new-style logging statements to the NSAS code. 10867 (Trac #745, git ceef68cd1223ae14d8412adbe18af2812ade8c2d) 10868 10869232. [func] stephen 10870 To facilitate the writing of extended descriptions in 10871 message files, altered the message file format. The message 10872 is now flagged with a "%" as the first non-blank character 10873 in the line and the lines in the extended description are 10874 no longer preceded by a "+". 10875 (Trac #900, git b395258c708b49a5da8d0cffcb48d83294354ba3) 10876 10877231. [func]* vorner 10878 The logging interface changed slightly. We use 10879 logger.foo(MESSAGE_ID).arg(bar); instead of logger.foo(MESSAGE_ID, 10880 bar); internally. The message definitions use '%1,%2,...' 10881 instead of '%s,%d', which allows us to cope better with 10882 mismatched placeholders and allows reordering of them in 10883 case of translation. 10884 (Trac #901, git 4903410e45670b30d7283f5d69dc28c2069237d6) 10885 10886230. [bug] naokikambe 10887 Removed too repeated verbose messages in two cases of: 10888 - when auth sends statistics data to stats 10889 - when stats receives statistics data from other modules 10890 (Trac #620, git 0ecb807011196eac01f281d40bc7c9d44565b364) 10891 10892229. [doc] jreed 10893 Add manual page for b10-host. 10894 (git a437d4e26b81bb07181ff35a625c540703eee845) 10895 10896228. [func]* jreed 10897 The host tool is renamed to b10-host. While the utility is 10898 a work in progress, it is expected to now be shipped with 10899 tarballs. Its initial goal was to be a host(1) clone, 10900 rewritten in C++ from scratch and using BIND 10's libdns++. 10901 It now supports the -a (any), -c class, -d (verbose) switches 10902 and has improved output. 10903 (Trac #872, git d846851699d5c76937533adf9ff9d948dfd593ca) 10904 10905227. [build] jreed 10906 Add missing libdns++ rdata files for the distribution (this 10907 fixes distcheck error). Change three generated libdns++ 10908 headers to "nodist" so they aren't included in the distribution 10909 (they were mistakenly included in last tarball). 10910 10911226. [func]* jelte 10912 Introduced an API for cryptographic operations. Currently it only 10913 supports HMAC, intended for use with TSIG. The current 10914 implementation uses Botan as the backend library. 10915 This introduces a new dependency, on Botan. Currently only Botan 10916 1.8.x works; older or newer versions don't. 10917 (Trac #781, git 9df42279a47eb617f586144dce8cce680598558a) 10918 10919225. [func] naokikambe 10920 Added the HTTP/XML interface (b10-stats-httpd) to the 10921 statistics feature in BIND 10. b10-stats-httpd is a standalone 10922 HTTP server and it requests statistics data to the stats 10923 daemon (b10-stats) and sends it to HTTP clients in XML 10924 format. Items of the data collected via b10-stats-httpd 10925 are almost equivalent to ones which are collected via 10926 bindctl. Since it also can send XSL (Extensible Stylesheet 10927 Language) document and XSD (XML Schema definition) document, 10928 XML document is human-friendly to view through web browsers 10929 and its data types are strictly defined. 10930 (Trac #547, git 1cbd51919237a6e65983be46e4f5a63d1877b1d3) 10931 10932224. [bug] jinmei 10933 b10-auth, src/lib/datasrc: inconsistency between the hot spot 10934 cache and actual data source could cause a crash while query 10935 processing. The crash could happen, e.g., when an sqlite3 DB file 10936 is being updated after a zone transfer while b10-auth handles a 10937 query using the corresponding sqlite3 data source. 10938 (Trac #851, git 2463b96680bb3e9a76e50c38a4d7f1d38d810643) 10939 10940223. [bug] feng 10941 If ip address or port isn't usable for name server, name 10942 server process won't exist and give end user chance to 10943 reconfigure them. 10944 (Trac #775, git 572ac2cf62e18f7eb69d670b890e2a3443bfd6e7) 10945 10946222. [bug]* jerry 10947 src/lib/zonemgr: Fix a bug that xfrin not checking for new 10948 copy of zone on startup. Imposes some random jitters to 10949 avoid many zones need to do refresh at the same time. This 10950 removed the Zonemgr/jitter_scope setting and introduced 10951 Zonemgr/refresh_jitter and Zonemgr/reload_jitter. 10952 (Trac #387, git 1241ddcffa16285d0a7bb01d6a8526e19fbb70cb) 10953 10954221. [func]* jerry 10955 src/lib/util: Create C++ utility library. 10956 (Trac #749, git 084d1285d038d31067f8cdbb058d626acf03566d) 10957 10958220. [func] stephen 10959 Added the 'badpacket' program for testing; it sends a set of 10960 (potentially) bad packets to a nameserver and prints the responses. 10961 (Trac #703, git 1b666838b6c0fe265522b30971e878d9f0d21fde) 10962 10963219. [func] ocean 10964 src/lib: move some dns related code out of asiolink library to 10965 asiodns library 10966 (Trac #751, git 262ac6c6fc61224d54705ed4c700dadb606fcb1c) 10967 10968218. [func] jinmei 10969 src/lib/dns: added support for RP RDATA. 10970 (Trac #806, git 4e47d5f6b692c63c907af6681a75024450884a88) 10971 10972217. [bug] jerry 10973 src/lib/dns/python: Use a signed version of larger size of 10974 integer and perform more strict range checks with 10975 PyArg_ParseTuple() in case of overflows. 10976 (Trac #363, git ce281e646be9f0f273229d94ccd75bf7e08d17cf) 10977 10978216. [func] vorner 10979 The BIND10_XFROUT_SOCKET_FILE environment variable can be 10980 used to specify which socket should be used for communication 10981 between b10-auth and b10-xfrout. Mostly for testing reasons. 10982 (Trac #615, git 28b01ad5bf72472c824a7b8fc4a8dc394e22e462) 10983 10984215. [func] vorner 10985 A new process, b10-sockcreator, is added, which will create 10986 sockets for the rest of the system. It is the only part 10987 which will need to keep the root privileges. However, only 10988 the process exists, nothing can talk to it yet. 10989 (Trac #366, git b509cbb77d31e388df68dfe52709d6edef93df3f) 10990 10991214. [func]* vorner 10992 Zone manager no longer thinks it is secondary master for 10993 all zones in the database. They are listed in 10994 Zonemgr/secondary_zones configuration variable (in the form 10995 [{"name": "example.com", "class": "IN"}]). 10996 (Trac #670, git 7c1e4d5e1e28e556b1d10a8df8d9486971a3f052) 10997 10998213. [bug] naokikambe 10999 Solved incorrect datetime of "bind10.boot_time" and also 11000 added a new command "sendstats" for Bob. This command is 11001 to send statistics data to the stats daemon immediately. 11002 The solved problem is that statistics data doesn't surely 11003 reach to the daemon because Bob sent statistics data to 11004 the daemon while it is starting. So the daemon invokes the 11005 command for Bob after it starts up. This command is also 11006 useful for resending statistics data via bindctl manually. 11007 (Trac #521, git 1c269cbdc76f5dc2baeb43387c4d7ccc6dc863d2) 11008 11009212. [bug] naokikambe 11010 Fixed that the ModuleCCSession object may group_unsubscribe in the 11011 closed CC session in being deleted. 11012 (Trac #698, git 0355bddc92f6df66ef50b920edd6ec3b27920d61) 11013 11014211. [func] shane 11015 Implement "--brittle" option, which causes the server to exit 11016 if any of BIND 10's processes dies. 11017 (Trac #788, git 88c0d241fe05e5ea91b10f046f307177cc2f5bc5) 11018 11019210. [bug] jerry 11020 src/bin/auth: fixed a bug where type ANY queries don't provide 11021 additional glue records for ANSWER section. 11022 (Trac #699, git 510924ebc57def8085cc0e5413deda990b2abeee) 11023 11024bind10-devel-20110322 released on March 22, 2011 11025 11026209. [func] jelte 11027 Resolver now uses the NSAS when looking for a nameserver to 11028 query for any specific zone. This also includes keeping track of 11029 the RTT for that nameserver. 11030 (Trac #495, git 76022a7e9f3ff339f0f9f10049aa85e5784d72c5) 11031 11032208. [bug]* jelte 11033 Resolver now answers REFUSED on queries that are not for class IN. 11034 This includes the various CH TXT queries, which will be added 11035 later. 11036 (git 012f9e78dc611c72ea213f9bd6743172e1a2ca20) 11037 11038207. [func] jelte 11039 Resolver now starts listening on localhost:53 if no configuration 11040 is set. 11041 (Trac #471, git 1960b5becbba05570b9c7adf5129e64338659f07) 11042 11043206. [func] shane 11044 Add the ability to list the running BIND 10 processes using the 11045 command channel. To try this, use "Boss show_processes". 11046 (Trac #648, git 451bbb67c2b5d544db2f7deca4315165245d2b3b) 11047 11048205. [bug] jinmei 11049 b10-auth, src/lib/datasrc: fixed a bug where b10-auth could return 11050 an empty additional section for delegation even if some glue is 11051 crucial when it fails to find some other glue records in its data 11052 source. 11053 (Trac #646, git 6070acd1c5b2f7a61574eda4035b93b40aab3e2b) 11054 11055204. [bug] jinmei 11056 b10-auth, src/lib/datasrc: class ANY queries were not handled 11057 correctly in the generic data source (mainly for sqlite3). It 11058 could crash b10-auth in the worst case, and could result in 11059 incorrect responses in some other cases. 11060 (Trac #80, git c65637dd41c8d94399bd3e3cee965b694b633339) 11061 11062203. [bug] zhang likun 11063 Fix resolver cache memory leak: when cache is destructed, rrset 11064 and message entries in it are not destructed properly. 11065 (Trac #643, git aba4c4067da0dc63c97c6356dc3137651755ffce) 11066 11067202. [func] vorner 11068 It is possible to specify a different directory where we look for 11069 configuration files (by -p) and different configuration file to 11070 use (-c). Also, it is possible to specify the port on which 11071 cmdctl should listen (--cmdctl-port). 11072 (Trac #615, git 5514dd78f2d61a222f3069fc94723ca33fb3200b) 11073 11074201. [bug] jerry 11075 src/bin/bindctl: bindctl doesn't show traceback on shutdown. 11076 (Trac #588, git 662e99ef050d98e86614c4443326568a0b5be437) 11077 11078200. [bug] Jelte 11079 Fixed a bug where incoming TCP connections were not closed. 11080 (Trac #589, git 1d88daaa24e8b1ab27f28be876f40a144241e93b) 11081 11082199. [func] ocean 11083 Cache negative responses (NXDOMAIN/NODATA) from authoritative 11084 server for recursive resolver. 11085 (Trac #493, git f8fb852bc6aef292555063590c361f01cf29e5ca) 11086 11087198. [bug] jinmei 11088 b10-auth, src/lib/datasrc: fixed a bug where hot spot cache failed 11089 to reuse cached SOA for negative responses. Due to this bug 11090 b10-auth returned SERVFAIL when it was expected to return a 11091 negative response immediately after a specific SOA query for 11092 the zone. 11093 (Trac #626, git 721a53160c15e8218f6798309befe940b9597ba0) 11094 11095197. [bug] zhang likun 11096 Remove expired message and rrset entries when looking up them 11097 in cache, touch or remove the rrset entry in cache properly 11098 when doing lookup or update. 11099 (Trac #661, git 9efbe64fe3ff22bb5fba46de409ae058f199c8a7) 11100 11101196. [bug] jinmei 11102 b10-auth, src/lib/datasrc: the backend of the in-memory data 11103 source could not handle the root name. As a result b10-auth could 11104 not work as a root server when using the in-memory data source. 11105 (Trac #683, git 420ec42bd913fb83da37b26b75faae49c7957c46) 11106 11107195. [func] stephen 11108 Resolver will now re-try a query over TCP if a response to a UDP 11109 query has the TC bit set. 11110 (Trac #499, git 4c05048ba059b79efeab53498737abe94d37ee07) 11111 11112194. [bug] vorner 11113 Solved a 100% CPU usage problem after switching addresses in b10-auth 11114 (and possibly, but unconfirmed, in b10-resolver). It was caused by 11115 repeated reads/accepts on closed socket (the bug was in the code for a 11116 long time, recent changes made it show). 11117 (Trac #657, git e0863720a874d75923ea66adcfbf5b2948efb10a) 11118 11119193. [func]* jreed 11120 Listen on the IPv6 (::) and IPv4 (0.0.0.0) wildcard addresses 11121 for b10-auth. This returns to previous behavior prior to 11122 change #184. Document the listen_on configuration in manual. 11123 (Trac #649, git 65a77d8fde64d464c75917a1ab9b6b3f02640ca6) 11124 11125192. [func]* jreed 11126 Listen on standard domain port 53 for b10-auth and 11127 b10-resolver. 11128 (Trac #617, #618, git 137a6934a14cf0c5b5c065e910b8b364beb0973f) 11129 11130191. [func] jinmei 11131 Imported system test framework of BIND 9. It can be run by 11132 'make systest' at the top source directory. Notes: currently it 11133 doesn't work when built in a separate tree. It also requires 11134 perl, an inherited dependency from the original framework. 11135 Also, mainly for the purpose of tests, a new option "--pid-file" 11136 was added to BoB, with which the boss process will dump its PID 11137 to the specified file. 11138 (Trac #606, git 6ac000df85625f5921e8895a1aafff5e4be3ba9c) 11139 11140190. [func] jelte 11141 Resolver now sets random qids on outgoing queries using 11142 the boost::mt19937 prng. 11143 (Trac #583, git 5222b51a047d8f2352bc9f92fd022baf1681ed81) 11144 11145189. [bug] jreed 11146 Do not install the log message compiler. 11147 (Trac #634, git eb6441aca464980d00e3ff827cbf4195c5a7afc5) 11148 11149188. [bug] zhang likun 11150 Make the rrset trust level ranking algorithm used by 11151 isc::cache::MessageEntry::getRRsetTrustLevel() follow RFC2181 11152 section 5.4.1. 11153 (Trac #595 git 19197b5bc9f2955bd6a8ca48a2d04472ed696e81) 11154 11155187. [bug] zhang likun 11156 Fix the assert error in class isc::cache::RRsetCache by adding the 11157 check for empty pointer and test case for it. 11158 (Trac #638, git 54e61304131965c4a1d88c9151f8697dcbb3ce12) 11159 11160186. [bug] jelte 11161 b10-resolver could stop with an assertion failure on certain kinds 11162 of messages (there was a problem in error message creation). This 11163 fixes that. 11164 (Trac #607, git 25a5f4ec755bc09b54410fcdff22691283147f32) 11165 11166185. [bug] vorner 11167 Tests use port from private range (53210), lowering chance of 11168 a conflict with something else (eg. running bind 10). 11169 (Trac #523, git 301da7d26d41e64d87c0cf72727f3347aa61fb40) 11170 11171184. [func]* vorner 11172 Listening address and port configuration of b10-auth is the same as 11173 for b10-resolver now. That means, it is configured through bindctl 11174 at runtime, in the Auth/listen_on list, not through command line 11175 arguments. 11176 (Trac #575, #576, git f06ce638877acf6f8e1994962bf2dbfbab029edf) 11177 11178183. [bug] jerry 11179 src/bin/xfrout: Enable parallel sessions between xfrout server and 11180 multi-Auth. The session needs to be created only on the first time 11181 or if an error occur. 11182 (Trac #419, git 1d60afb59e9606f312caef352ecb2fe488c4e751) 11183 11184182. [func] jinmei 11185 Support cppcheck for static code check on C++ code. If cppcheck 11186 is available, 'make cppcheck' on the top source directory will run 11187 the checker and should cleanly complete with an exit code of 0 11188 (at least with cppcheck 1.47). 11189 Note: the suppression list isn't included in the final 11190 distributions. It should be created by hand or retrieved from 11191 the git repository. 11192 (Trac #613, git b973f67520682b63ef38b1451d309be9f4f4b218) 11193 11194181. [func] feng 11195 Add stop interface into dns server, so we can stop each running 11196 server individually. With it, user can reconfigure her running server 11197 with different ip address or port. 11198 (Trac #388, git 6df94e2db856c1adc020f658cc77da5edc967555) 11199 11200180. [build] jreed 11201 Fix custom DESTDIR for make install. Patch from Jan Engelhardt. 11202 (Trac #629, git 5ac67ede03892a5eacf42ce3ace1e4e376164c9f) 11203 11204bind10-devel-20110224 released on February 24, 2011 11205 11206179. [func] vorner 11207 It is possible to start and stop resolver and authoritative 11208 server without restart of the whole system. Change of the 11209 configuration (Boss/start_auth and Boss/start_resolver) is 11210 enough. 11211 (Trac #565, git 0ac0b4602fa30852b0d86cc3c0b4730deb1a58fe) 11212 11213178. [func] jelte 11214 Resolver now makes (limited) use of the cache 11215 (Trac #491, git 8b41f77f0099ddc7ca7d34d39ad8c39bb1a8363c) 11216 11217177. [func] stephen 11218 The upstream fetch code in asiolink is now protocol agnostic to 11219 allow for the addition of fallback to TCP if a fetch response 11220 indicates truncation. 11221 (Trac #554, git 9739cbce2eaffc7e80640db58a8513295cf684de) 11222 11223176. [func] likun 11224 src/lib/cache: Rename one interface: from lookupClosestRRset() 11225 to lookupDeepestNS(), and remove one parameter of it. 11226 (Trac #492, git ecbfb7cf929d62a018dd4cdc7a841add3d5a35ae) 11227 11228175. [bug] jerry 11229 src/bin/xfrout: Xfrout use the case-sensitive mode to compress 11230 names in an AXFR massage. 11231 (Trac #253, git 004e382616150f8a2362e94d3458b59bb2710182) 11232 11233174. [bug]* jinmei 11234 src/lib/dns: revised dnssectime functions so that they don't rely 11235 on the time_t type (whose size varies on different systems, which 11236 can lead to subtle bugs like some form of "year 2038 problem"). 11237 Also handled 32-bit wrap around issues more explicitly, with more 11238 detailed tests. The function API has been changed, but the effect 11239 should be minimal because these functions are mostly private. 11240 (Trac #61, git 09ece8cdd41c0f025e8b897b4883885d88d4ba5d) 11241 11242173. [bug] jerry 11243 python/isc/notify: A notify_out test fails without network 11244 connectivity, encapsulate the socket behavior using a mock 11245 socket class to fix it. 11246 (Trac #346, git 319debfb957641f311102739a15059f8453c54ce) 11247 11248172. [func] jelte 11249 Improved the bindctl cli in various ways, mainly concerning 11250 list and map item addressing, the correct display of actual values, 11251 and internal help. 11252 (Trac #384, git e5fb3bc1ed5f3c0aec6eb40a16c63f3d0fc6a7b2) 11253 11254171. [func] vorner 11255 b10-auth, src/lib/datasrc: in memory data source now works as a 11256 complete data source for authoritative DNS servers and b10-auth 11257 uses it. It still misses major features, however, including 11258 DNSSEC support and zone transfer. 11259 (Last Trac #553, but many more, 11260 git 6f031a09a248e7684723c000f3e8cc981dcdb349) 11261 11262170. [bug] jinmei 11263 Tightened validity checks in the NSEC3 constructors, both "from 11264 "text" and "from wire". Specifically, wire data containing 11265 invalid type bitmaps or invalid lengths of salt or hash is now 11266 correctly rejected. 11267 (Trac #117, git 9c690982f24fef19c747a72f43c4298333a58f48) 11268 11269169. [func] jelte 11270 Added a basic implementation for a resolver cache (though not 11271 used yet). 11272 (Trac #449, git 8aa3b2246ae095bbe7f855fd11656ae3bdb98986) 11273 11274168. [bug] vorner 11275 Boss no longer has the -f argument, which was undocumented and 11276 stayed as a relict of previous versions, currently causing only 11277 strange behaviour. 11278 (Trac #572, git 17f237478961005707d649a661cc72a4a0d612d4) 11279 11280167. [bug] naokikambe 11281 Fixed failure of termination of msgq_test.py with python3 11282 coverage (3.3.1). 11283 (Trac #573, git 0e6a18e12f61cc482e07078776234f32605312e5) 11284 11285166. [func] jelte 11286 The resolver now sends back a SERVFAIL when there is a client 11287 timeout (timeout_client config setting), but it will not stop 11288 resolving (until there is a lookup timeout or a result). 11289 (Trac #497 and #489, git af0e5cd93bebb27cb5c4457f7759d12c8bf953a6) 11290 11291165. [func] jelte 11292 The resolver now handles CNAMEs, it will follow them, and include 11293 them in the answer. The maximum length of CNAME chains that is 11294 supported is 16. 11295 (Trac #497, git af0e5cd93bebb27cb5c4457f7759d12c8bf953a6) 11296 11297164. [bug] y-aharen 11298 IntervalTimer: Modified the interface to accept interval in 11299 milliseconds. It shortens the time of the tests of IntervalTimer. 11300 (Trac #452, git c9f6acc81e24c4b8f0eb351123dc7b43f64e0914) 11301 11302163. [func] vorner 11303 The pimpl design pattern is used in UDPServer, with a shared 11304 pointer. This makes it smaller to copy (which is done a lot as a 11305 side effect of being coroutine) and speeds applications of this 11306 class (notably b10-auth) up by around 10%. 11307 (Trac #537, git 94cb95b1d508541201fc064302ba836164d3cbe6) 11308 11309162. [func] stephen 11310 Added C++ logging, allowing logging at different severities. 11311 Code specifies the message to be logged via a symbol, and the 11312 logging code picks up the message from an in-built dictionary. 11313 The contents of the dictionary can be replaced at run-time by 11314 locale-specific messages. A message compiler program is provided 11315 to create message header files and supply the default messages. 11316 (Trac #438, git 7b1606cea7af15dc71f5ec1d70d958b00aa98af7) 11317 11318161. [func] stephen 11319 Added ResponseScrubber class to examine response from 11320 a server and to remove out-of-bailiwick RRsets. Also 11321 does cross-section checks to ensure consistency. 11322 (Trac #496, git b9296ca023cc9e76cda48a7eeebb0119166592c5) 11323 11324160. [func] jelte 11325 Updated the resolver to take 3 different timeout values; 11326 timeout_query for outstanding queries we sent while resolving 11327 timeout_client for sending an answer back to the client 11328 timeout_lookup for stopping the resolving 11329 (currently 2 and 3 have the same final effect) 11330 (Trac #489, git 578ea7f4ba94dc0d8a3d39231dad2be118e125a2) 11331 11332159. [func] smann 11333 The resolver now has a configurable set of root servers to start 11334 resolving at (called root_addresses). By default these are not 11335 (yet) filled in. If empty, a hardcoded address for f-root will be 11336 used right now. 11337 (Trac #483, git a07e078b4feeb01949133fc88c9939254c38aa7c) 11338 11339158. [func] jelte 11340 The Resolver module will now do (very limited) resolving, if not 11341 set to forwarding mode (i.e. if the configuration option 11342 forward_addresses is left empty). It only supports referrals that 11343 contain glue addresses at this point, and does no other processing 11344 of authoritative answers. 11345 (Trac #484, git 7b84de4c0e11f4a070e038ca4f093486e55622af) 11346 11347157. [bug] vorner 11348 One frozen process no longer freezes the whole b10-msgq. It caused the 11349 whole system to stop working. 11350 (Trac #420, git 93697f58e4d912fa87bc7f9a591c1febc9e0d139) 11351 11352156. [func] stephen 11353 Added ResponseClassifier class to examine response from 11354 a server and classify it into one of several categories. 11355 (Trac #487, git 18491370576e7438c7893f8551bbb8647001be9c) 11356 11357bind10-devel-20110120 released on January 20, 2011 11358 11359155. [doc] jreed 11360 Miscellaneous documentation improvements for man pages and 11361 the guide, including auth, resolver, stats, xfrout, and 11362 zonemgr. (git c14c4741b754a1eb226d3bdc3a7abbc4c5d727c0) 11363 11364154. [bug] jinmei 11365 b10-xfrin/b10-zonemgr: Fixed a bug where these programs didn't 11366 receive command responses from CC sessions. Eventually the 11367 receive buffer became full, and many other components that rely 11368 on CC channels would stall (as noted in #420 and #513). This is 11369 an urgent care fix due to the severity of the problem; we'll need 11370 to revisit it for cleaner fix later. 11371 (Trac #516, git 62c72fcdf4617e4841e901408f1e7961255b8194) 11372 11373153. [bug] jelte 11374 b10-cfgmgr: Fixed a bug where configuration updates sometimes 11375 lost previous settings in the configuration manager. 11376 (Trac #427, git 2df894155657754151e0860e2ca9cdbed7317c70) 11377 11378152. [func]* jinmei 11379 b10-auth: Added new configuration variable "statistics-interval" 11380 to allow the user to change the timer interval for periodic 11381 statistics updates. The update can also be disabled by setting 11382 the value to 0. Disabling statistics updates will also work as 11383 a temporary workaround of a known issue that b10-auth can block in 11384 sending statistics and stop responding to queries as a result. 11385 (Trac #513, git 285c5ee3d5582ed6df02d1aa00387f92a74e3695) 11386 11387151. [bug] smann 11388 lib/log/dummylog.h: 11389 lib/log/dummylog.cc: Modify dlog so that it takes an optional 11390 2nd argument of type bool (true or false). This flag, if 11391 set, will cause the message to be printed whether or not 11392 -v is chosen. 11393 (Trac #432, git 880220478c3e8702d56d761b1e0b21b77d08ee5a) 11394 11395150. [bug] jelte 11396 b10-cfgmgr: No longer save the configuration on exit. Configuration 11397 is already saved if it is changed successfully, so writing it on 11398 exit (and hence, when nothing has changed too) is unnecessary and 11399 may even cause problems. 11400 (Trac #435, git fd7baa38c08d54d5b5f84930c1684c436d2776dc) 11401 11402149. [bug] jelte 11403 bindctl: Check if the user session has disappeared (either by a 11404 timeout or by a server restart), and reauthenticate if so. This 11405 fixes the 'cmdctl not running' problem. 11406 (Trac #431, git b929be82fec5f92e115d8985552f84b4fdd385b9) 11407 11408148. [func] jelte 11409 bindctl: Command results are now pretty-printed (i.e. printed in 11410 a more readable form). Empty results are no longer printed at all 11411 (used to print '{}'), and the message 11412 'send the command to cmd-ctrl' has also been removed. 11413 (git 3954c628c13ec90722a2d8816f52a380e0065bae) 11414 11415147. [bug] jinmei 11416 python/isc/config: Fixed a bug that importing custom configuration 11417 (in b10-config.db) of a remote module didn't work. 11418 (Trac #478, git ea4a481003d80caf2bff8d0187790efd526d72ca) 11419 11420146. [func] jelte 11421 Command arguments were not validated internally against their 11422 specifications. This change fixes that (on the C++ side, Python 11423 side depends on an as yet planned addition). Note: this is only 11424 an added internal check, the cli already checks format. 11425 (Trac #473, git 5474eba181cb2fdd80e2b2200e072cd0a13a4e52) 11426 11427145. [func]* jinmei 11428 b10-auth: added a new command 'loadzone' for (re)loading a 11429 specific zone. The command syntax is generic but it is currently 11430 only feasible for class IN in memory data source. To reload a 11431 zone "example.com" via bindctl, execute the command as follows: 11432 > Auth loadzone origin = example.com 11433 (Trac #467 git 4f7e1f46da1046de527ab129a88f6aad3dba7562 11434 from 1d7d3918661ba1c6a8b1e40d8fcbc5640a84df12) 11435 11436144. [build] jinmei 11437 Introduced a workaround for clang++ build on FreeBSD (and probably 11438 some other OSes). If building BIND 10 fails with clang++ due to 11439 a link error about "__dso_handle", try again from the configure 11440 script with CXX_LIBTOOL_LDFLAGS=-L/usr/lib (the path actually 11441 doesn't matter; the important part is the -L flag). This 11442 workaround is not automatically enabled as it's difficult to 11443 detect the need for it dynamically, and must be enabled via the 11444 variable by hand. 11445 (Trac #474, git cfde436fbd7ddf3f49cbbd153999656e8ca2a298) 11446 11447143. [build] jinmei 11448 Fixed build problems with clang++ in unit tests due to recent 11449 changes. No behavior change. (Trac #448, svn r4133) 11450 11451142. [func] jinmei 11452 b10-auth: updated query benchmark so that it can test in memory 11453 data source. Also fixed a bug that the output buffer isn't 11454 cleared after query processing, resulting in misleading results 11455 or program crash. This is a regression due to change #135. 11456 (Trac #465, svn r4103) 11457 11458141. [bug] jinmei 11459 b10-auth: Fixed a bug that the authoritative server includes 11460 trailing garbage data in responses. This is a regression due to 11461 change #135. (Trac #462, svn r4081) 11462 11463140. [func] y-aharen 11464 src/bin/auth: Added a feature to count queries and send counter 11465 values to statistics periodically. To support it, added wrapping 11466 class of asio::deadline_timer to use as interval timer. 11467 The counters can be seen using the "Stats show" command from 11468 bindctl. The result would look like: 11469 ... "auth.queries.tcp": 1, "auth.queries.udp": 1 ... 11470 Using the "Auth sendstats" command you can make b10-auth send the 11471 counters to b10-stats immediately. 11472 (Trac #347, svn r4026) 11473 11474139. [build] jreed 11475 Introduced configure option and make targets for generating 11476 Python code coverage report. This adds new make targets: 11477 report-python-coverage and clean-python-coverage. The C++ 11478 code coverage targets were renamed to clean-cpp-coverage 11479 and report-cpp-coverage. (Trac #362, svn r4023) 11480 11481138. [func]* jinmei 11482 b10-auth: added a configuration interface to support in memory 11483 data sources. For example, the following command to bindctl 11484 will configure a memory data source containing the "example.com" 11485 zone with the zone file named "example.com.zone": 11486 > config set Auth/datasources/ [{"type": "memory", "zones": \ 11487 [{"origin": "example.com", "file": "example.com.zone"}]}] 11488 By default, the memory data source is disabled; it must be 11489 configured explicitly. To disable it again, specify a null list 11490 for Auth/datasources: 11491 > config set Auth/datasources/ [] 11492 Notes: it's currently for class IN only. The zone files are not 11493 actually loaded into memory yet (which will soon be implemented). 11494 This is an experimental feature and the syntax may change in 11495 future versions. 11496 (Trac #446, svn r3998) 11497 11498137. [bug] jreed 11499 Fix run_*.sh scripts that are used for development testing 11500 so they use a msgq socket file in the build tree. 11501 (Trac #226, svn r3989) 11502 11503136. [bug] jelte 11504 bindctl (and the configuration manager in general) now no longer 11505 accepts 'unknown' data; i.e. data for modules that it does not know 11506 about, or configuration items that are not specified in the .spec 11507 files. 11508 (Trac #202, svn r3967) 11509 11510135. [func] each 11511 Add b10-resolver. This is an example recursive server that 11512 currently does forwarding only and no caching. 11513 (Trac #327, svn r3903) 11514 11515134. [func] vorner 11516 b10-resolver supports timeouts and retries in forwarder mode. 11517 (Trac #401, svn r3660) 11518 11519133. [func] vorner 11520 New temporary logging function available in isc::log. It is used by 11521 b10-resolver. 11522 (Trac #393, r3602) 11523 11524132. [func] vorner 11525 The b10-resolver is configured through config manager. 11526 It has "listen_on" and "forward_addresses" options. 11527 (Trac #389, r3448) 11528 11529131. [func] jerry 11530 src/lib/datasrc: Introduced two template classes RBTree and RBNode 11531 to provide the generic map with domain name as key and anything as 11532 the value. Because of some unresolved design issue, the new classes 11533 are only intended to be used by memory zone and zone table. 11534 (Trac #397, svn r3890) 11535 11536130. [func] jerry 11537 src/lib/datasrc: Introduced a new class MemoryDataSrc to provide 11538 the general interface for memory data source. For the initial 11539 implementation, we don't make it a derived class of AbstractDataSrc 11540 because the interface is so different (we'll eventually 11541 consider this as part of the generalization work). 11542 (Trac #422, svn r3866) 11543 11544129. [func] jinmei 11545 src/lib/dns: Added new functions masterLoad() for loading master 11546 zone files. The initial implementation can only parse a limited 11547 form of master files, but BIND 9's named-compilezone can convert 11548 any valid zone file into the acceptable form. 11549 (Trac #423, svn r3857) 11550 11551128. [build] vorner 11552 Test for query name = '.', type = DS to authoritative nameserver 11553 for root zone was added. 11554 (Trac #85, svn r3836) 11555 11556127. [bug] stephen 11557 During normal operation process termination and resurrection messages 11558 are now output regardless of the state of the verbose flag. 11559 (Trac #229, svn r3828) 11560 11561126. [func] ocean 11562 The Nameserver Address Store (NSAS) component has been added. It takes 11563 care of choosing an IP address of a nameserver when a zone needs to be 11564 contacted. 11565 (Trac #356, Trac #408, svn r3823) 11566 11567bind10-devel-20101201 released on December 01, 2010 11568 11569125. [func] jelte 11570 Added support for addressing individual list items in bindctl 11571 configuration commands; If you have an element that is a list, you 11572 can use foo[X] integer 11573 (starting at 0) 11574 (Trac #405, svn r3739) 11575 11576124. [bug] jreed 11577 Fix some wrong version reporting. Now also show the version 11578 for the component and BIND 10 suite. (Trac #302, svn r3696) 11579 11580123. [bug] jelte 11581 src/bin/bindctl printed values had the form of python literals 11582 (e.g. 'True'), while the input requires valid JSON (e.g. 'true'). 11583 Output changed to JSON format for consistency. (svn r3694) 11584 11585122. [func] stephen 11586 src/bin/bind10: Added configuration options to Boss to determine 11587 whether to start the authoritative server, recursive server (or 11588 both). A dummy program has been provided for test purposes. 11589 (Trac #412, svn r3676) 11590 11591121. [func] jinmei 11592 src/lib/dns: Added support for TSIG RDATA. At this moment this is 11593 not much of real use, however, because no protocol support was 11594 added yet. It will soon be added. (Trac #372, svn r3649) 11595 11596120. [func] jinmei 11597 src/lib/dns: introduced two new classes, TSIGKey and TSIGKeyRing, 11598 to manage TSIG keys. (Trac #381, svn r3622) 11599 11600119. [bug] jinmei 11601 The master file parser of the python datasrc module incorrectly 11602 regarded a domain name beginning with a decimal number as a TTL 11603 specification. This confused b10-loadzone and had it reject to 11604 load a zone file that contains such a name. 11605 Note: this fix is incomplete and the loadzone would still be 11606 confused if the owner name is a syntactically indistinguishable 11607 from a TTL specification. This is part of a more general issue 11608 and will be addressed in Trac #413. (Trac #411, svn r3599) 11609 11610118. [func] jinmei 11611 src/lib/dns: changed the interface of 11612 AbstractRRset::getRdataIterator() so that the internal 11613 cursor would point to the first RDATA automatically. This 11614 will be a more intuitive and less error prone behavior. 11615 This is a backward compatible change. (Trac #410, r3595) 11616 11617117. [func] jinmei 11618 src/lib/datasrc: added new zone and zone table classes for the 11619 support of in memory data source. This is an intermediate step to 11620 the bigger feature, and is not yet actually usable in practice. 11621 (Trac #399, svn r3590) 11622 11623116. [bug] jerry 11624 src/bin/xfrout: Xfrout and Auth will communicate by long tcp 11625 connection, Auth needs to make a new connection only on the first 11626 time or if an error occurred. 11627 (Trac #299, svn r3482) 11628 11629115. [func]* jinmei 11630 src/lib/dns: Changed DNS message flags and section names from 11631 separate classes to simpler enums, considering the balance between 11632 type safety and usability. API has been changed accordingly. 11633 More documentation and tests were provided with these changes. 11634 (Trac #358, r3439) 11635 11636114. [build] jinmei 11637 Supported clang++. Note: Boost >= 1.44 is required. 11638 (Trac #365, svn r3383) 11639 11640113. [func]* zhanglikun 11641 Folder name 'utils'(the folder in /src/lib/python/isc/) has been 11642 renamed to 'util'. Programs that used 'import isc.utils.process' 11643 now need to use 'import isc.util.process'. The folder 11644 /src/lib/python/isc/Util is removed since it isn't used by any 11645 program. (Trac #364, r3382) 11646 11647112. [func] zhang likun 11648 Add one mixin class to override the naive serve_forever() provided 11649 in python library socketserver. Instead of polling for shutdown 11650 every poll_interval seconds, one socketpair is used to wake up 11651 the waiting server. (Trac #352, svn r3366) 11652 11653111. [bug]* Vaner 11654 Make sure process xfrin/xfrout/zonemgr/cmdctl can be stopped 11655 properly when user enter "ctrl+c" or 'Boss shutdown' command 11656 through bindctl. The ZonemgrRefresh.run_timer and 11657 NotifyOut.dispatcher spawn a thread themselves. 11658 (Trac #335, svn r3273) 11659 11660110. [func] Vaner 11661 Added isc.net.check module to check ip addresses and ports for 11662 correctness and isc.net.addr to hold IP address. The bind10, xfrin 11663 and cmdctl programs are modified to use it. 11664 (Trac #353, svn r3240) 11665 11666109. [func] naokikambe 11667 Added the initial version of the stats module for the statistics 11668 feature of BIND 10, which supports the restricted features and 11669 items and reports via bindctl command. (Trac #191, r3218) 11670 Added the document of the stats module, which is about how stats 11671 module collects the data (Trac #170, [wiki:StatsModule]) 11672 11673108. [func] jerry 11674 src/bin/zonemgr: Provide customizable configurations for 11675 lowerbound_refresh, lowerbound_retry, max_transfer_timeout and 11676 jitter_scope. (Trac #340, r3205) 11677 11678107. [func] likun 11679 Remove the parameter 'db_file' for command 'retransfer' of 11680 xfrin module. xfrin.spec will not be generated by script. 11681 (Trac #329, r3171) 11682 11683106. [bug] likun 11684 When xfrin can't connect with one zone's master, it should tell 11685 the bad news to zonemgr, so that zonemgr can reset the timer for 11686 that zone. (Trac #329, r3170) 11687 11688105. [bug] Vaner 11689 Python processes: they no longer take 100% CPU while idle 11690 due to a busy loop in reading command session in a nonblocking way. 11691 (Trac #349, svn r3153), (Trac #382, svn r3294) 11692 11693104. [bug] jerry 11694 bin/zonemgr: zonemgr should be attempting to refresh expired zones. 11695 (Trac #336, r3139) 11696 11697103. [bug] jerry 11698 lib/python/isc/log: Fixed an issue with python logging, 11699 python log shouldn't die with OSError. (Trac #267, r3137) 11700 11701102. [build] jinmei 11702 Disable threads in ASIO to minimize build time dependency. 11703 (Trac #345, r3100) 11704 11705101. [func] jinmei 11706 src/lib/dns: Completed Opcode and Rcode implementation with more 11707 tests and documentation. API is mostly the same but the 11708 validation was a bit tightened. (Trac #351, svn r3056) 11709 11710100. [func] Vaner 11711 Python processes: support naming of python processes so 11712 they're not all called python3. 11713 (Trac #322, svn r3052) 11714 1171599. [func]* jinmei 11716 Introduced a separate EDNS class to encapsulate EDNS related 11717 information more cleanly. The related APIs are changed a bit, 11718 although it won't affect most of higher level applications. 11719 (Trac #311, svn r3020) 11720 1172198. [build] jinmei 11722 The ./configure script now tries to search some common include 11723 paths for boost header files to minimize the need for explicit 11724 configuration with --with-boost-include. (Trac #323, svn r3006) 11725 1172697. [func] jinmei 11727 Added a micro benchmark test for query processing of b10-auth. 11728 (Trac #308, svn r2982) 11729 1173096. [bug] jinmei 11731 Fixed two small issues with configure: Do not set CXXFLAGS so that 11732 it can be customized; Make sure --disable-static works. 11733 (Trac #325, r2976) 11734 11735bind10-devel-20100917 released on September 17, 2010 11736 1173795. [doc, bug] jreed 11738 Add b10-zonemgr manual page. Update other docs to introduce 11739 this secondary manager. 11740 bin/xfrout and bin/zonemgr: Fixed some stderr output. 11741 (Trac #341, svn r2951) 11742 (Trac #342, svn r2949) 11743 1174494. [bug] jelte 11745 bin/xfrout: Fixed a problem in xfrout where only 2 or 3 RRs 11746 were used per DNS message in the xfrout stream. 11747 (Trac #334, r2931) 11748 1174993. [bug] jinmei 11750 lib/datasrc: A DS query could crash the library (and therefore, 11751 e.g. the authoritative server) if some RR of the same apex name 11752 is stored in the hot spot cache. (Trac #307, svn r2923) 11753 1175492. [func]* jelte 11755 libdns_python (the python wrappers for libdns++) has been renamed 11756 to pydnspp (Python DNS++). Programs and libraries that used 11757 'import libdns_python' now need to use 'import pydnspp'. 11758 (Trac #314, r2902) 11759 1176091. [func]* jinmei 11761 lib/cc: Use const pointers and const member functions for the API 11762 as much as possible for safer operations. Basically this does not 11763 change the observable behavior, but some of the API were changed 11764 in a backward incompatible manner. This change also involves more 11765 copies, but at this moment the overhead is deemed acceptable. 11766 (Trac #310, r2803) 11767 1176890. [build] jinmei 11769 (Darwin/Mac OS X specific) Specify DYLD_LIBRARY_PATH for tests and 11770 experimental run under the source tree. Without this loadable 11771 python modules refer to installation paths, which may confuse the 11772 operation due to version mismatch or even trigger run time errors 11773 due to missing libraries. (Trac #313, r2782) 11774 1177589. [build] jinmei 11776 Generate b10-config.db for tests at build time so that the source 11777 tree does not have to be writable. (Trac #315, r2776) 11778 1177988. [func] jelte 11780 Blocking reads on the msgq command channel now have a timeout 11781 (defaults to 4 seconds, modifiable as needed by modules). 11782 Because of this, modules will no longer block indefinitely 11783 if they are waiting for a message that is not sent for whatever 11784 reason. (Trac #296, r2761) 11785 1178687. [func] zhanglikun 11787 lib/python/isc/notifyout: Add the feature of notify-out, when 11788 zone axfr/ixfr finishing, the server will notify its slaves. 11789 (Trac #289, svn r2737) 11790 1179186. [func] jerry 11792 bin/zonemgr: Added zone manager module. The zone manager is one 11793 of the co-operating processes of BIND 10, which keeps track of 11794 timers and other information necessary for BIND 10 to act as a 11795 slave. (Trac #215, svn r2737) 11796 1179785. [build]* jinmei 11798 Build programs using dynamic link by default. A new configure 11799 option --enable-static-link is provided to force static link for 11800 executable programs. Statically linked programs can be run on a 11801 debugger more easily and would be convenient for developers. 11802 (Trac #309, svn r2723) 11803 11804bind10-devel-20100812 released on August 12, 2010 11805 1180684. [bug] jinmei, jerry 11807 This is a quick fix patch for the issue: AXFR fails half the 11808 time because of connection problems. xfrout client will make 11809 a new connection every time. (Trac #299, svn r2697) 11810 1181183. [build]* jreed 11812 The configure --with-boost-lib option is removed. It was not 11813 used since the build included ASIO. (svn r2684) 11814 1181582. [func] jinmei 11816 bin/auth: Added -u option to change the effective process user 11817 of the authoritative server after invocation. The same option to 11818 the boss process will be propagated to b10-auth, too. 11819 (Trac #268, svn r2675) 11820 1182181. [func] jinmei 11822 Added a C++ framework for micro benchmark tests. A supplemental 11823 library functions to build query data for the tests were also 11824 provided. (Trac #241, svn r2664) 11825 1182680. [bug] jelte 11827 bindctl no longer accepts configuration changes for unknown or 11828 non-running modules (for the latter, this is until we have a 11829 way to verify those options, at which point it'll be allowed 11830 again). 11831 (Trac #99, r2657) 11832 1183379. [func] feng, jinmei 11834 Refactored the ASIO link interfaces to move incoming XFR and 11835 NOTIFY processing to the auth server class. Wrapper classes for 11836 ASIO specific concepts were also provided, so that other BIND 10 11837 modules can (eventually) use the interface without including the 11838 ASIO header file directly. On top of these changes, AXFR and 11839 NOTIFY processing was massively improved in terms of message 11840 validation and protocol conformance. Detailed tests were provided 11841 to confirm the behavior. 11842 Note: Right now, NOTIFY doesn't actually trigger subsequent zone 11843 transfer due to security reasons. (Trac #221, r2565) 11844 1184578. [bug] jinmei 11846 lib/dns: Fixed miscellaneous bugs in the base32 (hex) and hex 11847 (base16) implementation, including incorrect padding handling, 11848 parser failure in decoding with a SunStudio build, missing 11849 validation on the length of encoded hex string. Test cases were 11850 more detailed to identify these bugs and confirm the fix. Also 11851 renamed the incorrect term of "base32" to "base32hex". This 11852 changed the API, but they are not intended to be used outside 11853 libdns++, so we don't consider it a backward incompatible change. 11854 (Trac #256, r2549) 11855 1185677. [func] zhanglikun 11857 Make error message be more friendly when running cmdctl and it's 11858 already running (listening on same port)(Trac #277, r2540) 11859 1186076. [bug] jelte 11861 Fixed a bug in the handling of 'remote' config modules (i.e. 11862 modules that peek at the configuration of other modules), where 11863 they answered 'unknown command' to commands for those other 11864 modules. (Trac #278, r2506) 11865 1186675. [bug] jinmei 11867 Fixed a bug in the sqlite3 data source where temporary strings 11868 could be referenced after destruction. It caused various lookup 11869 failures with SunStudio build. (Trac #288, r2494) 11870 1187174. [func]* jinmei 11872 Refactored the cc::Session class by introducing an abstract base 11873 class. Test code can use their own derived mock class so that 11874 tests can be done without establishing a real CC session. This 11875 change also modified some public APIs, mainly in the config 11876 module. (Trac #275, r2459) 11877 1187873. [bug] jelte 11879 Fixed a bug where in bindctl, locally changed settings were 11880 reset when the list of running modules is updated. (Trac #285, 11881 r2452) 11882 1188372. [build] jinmei 11884 Added -R when linking python wrapper modules to libpython when 11885 possible. This helps build BIND 10 on platforms that install 11886 libpython whose path is unknown to run-time loader. NetBSD is a 11887 known such platform. (Trac #148, r2427) 11888 1188971. [func] each 11890 Add "-a" (address) option to bind10 to specify an address for 11891 the auth server to listen on. 11892 1189370. [func] each 11894 Added a hot-spot cache to libdatasrc to speed up access to 11895 repeatedly-queried data and reduce the number of queries to 11896 the underlying database; this should substantially improve 11897 performance. Also added a "-n" ("no cache") option to 11898 bind10 and b10-auth to disable the cache if needed. 11899 (Trac #192, svn r2383) 11900 11901bind10-devel-20100701 released on July 1, 2010 11902 1190369. [func]* jelte 11904 Added python wrappers for libdns++ (isc::dns), and libxfr. This 11905 removes the dependency on Boost.Python. The wrappers don't 11906 completely implement all functionality, but the high-level API 11907 is wrapped, and current modules use it now. 11908 (Trac #181, svn r2361) 11909 1191068. [func] zhanglikun 11911 Add options -c (--certificate-chain) to bindctl. Override class 11912 HTTPSConnection to support server certificate validation. 11913 Add support to cmdctl.spec file, now there are three configurable 11914 items for cmdctl: 'key_file', 'cert_file' and 'accounts_file', 11915 all of them can be changed in runtime. 11916 (Trac #127, svn r2357) 11917 1191867. [func] zhanglikun 11919 Make bindctl's command parser only do minimal check. 11920 Parameter value can be a sequence of non-space characters, 11921 or a string surrounded by quotation marks (these marks can 11922 be a part of the value string in escaped form). Make error 11923 message be more friendly. (If there is some error in 11924 parameter's value, the parameter name will be provided). 11925 Refactor function login_to_cmdctl() in class BindCmdInterpreter: 11926 avoid using Exception to catch all exceptions. 11927 (Trac #220, svn r2356) 11928 1192966. [bug] each 11930 Check for duplicate RRsets before inserting data into a message 11931 section; this, among other things, will prevent multiple copies 11932 of the same CNAME from showing up when there's a loop. (Trac #69, 11933 svn r2350) 11934 1193565. [func] shentingting 11936 Various loadzone improvements: allow optional comment for 11937 $TTL, allow optional origin and comment for $INCLUDE, allow 11938 optional comment for $ORIGIN, support BIND9 extension of 11939 time units for TTLs, and fix bug to not use class as part 11940 of label name when records don't have a label but do have 11941 a class. Added verbose options to exactly what is happening 11942 with loadzone. Added loadzone test suite of different file 11943 formats to load. 11944 (Trac #197, #199, #244, #161, #198, #174, #175, svn r2340) 11945 1194664. [func] jerry 11947 Added python logging framework. It is for testing and 11948 experimenting with logging ideas. Currently, it supports 11949 three channels (file, syslog and stderr) and five levels 11950 (debug, info, warning, error and critical). 11951 (Trac #176, svn r2338) 11952 1195363. [func] shane 11954 Added initial support for setuid(), using the "-u" flag. This will 11955 be replaced in the future, but for now provides a reasonable 11956 starting point. 11957 (Trac #180, svn r2330) 11958 1195962. [func] jelte 11960 bin/xfrin: Use the database_file as configured in Auth to transfers 11961 bin/xfrout: Use the database_file as configured in Auth to transfers 11962 1196361. [bug] jelte 11964 bin/auth: Enable b10-auth to be launched in source tree 11965 (i.e. use a zone database file relative to that) 11966 1196760. [build] jinmei 11968 Supported SunStudio C++ compiler. Note: gtest still doesn't work. 11969 (Trac #251, svn r2310) 11970 1197159. [bug] jinmei 11972 lib/datasrc, bin/auth: The authoritative server could return a 11973 SERVFAIL with a partial answer if it finds a data source broken 11974 while looking for an answer. This can happen, for example, if a 11975 zone that doesn't have an NS RR is configured and loaded as a 11976 sqlite3 data source. (Trac #249, r2286) 11977 1197858. [bug] jinmei 11979 Worked around an interaction issue between ASIO and standard C++ 11980 library headers. Without this ASIO didn't work: sometimes the 11981 application crashes, sometimes it blocked in the ASIO module. 11982 (Trac #248, svn r2187, r2190) 11983 1198457. [func] jinmei 11985 lib/datasrc: used a simpler version of Name::split (change 31) for 11986 better readability. No behavior change. (Trac #200, svn r2159) 11987 1198856. [func]* jinmei 11989 lib/dns: renamed the library name to libdns++ to avoid confusion 11990 with the same name of library of BIND 9. 11991 (Trac #190, svn r2153) 11992 1199355. [bug] shane 11994 bin/xfrout: xfrout exception on Ctrl-C now no longer generates 11995 exception for 'Interrupted system call' 11996 (Trac #136, svn r2147) 11997 1199854. [bug] zhanglikun 11999 bin/xfrout: Enable b10-xfrout can be launched in source 12000 code tree. 12001 (Trac #224, svn r2103) 12002 1200353. [bug] zhanglikun 12004 bin/bindctl: Generate a unique session ID by using 12005 socket.gethostname() instead of socket.gethostbyname(), 12006 since the latter one could make bindctl stall if its own 12007 host name can't be resolved. 12008 (Trac #228, svn r2096) 12009 1201052. [func] zhanglikun 12011 bin/xfrout: When xfrout is launched, check whether the 12012 socket file is being used by one running xfrout process, 12013 if it is, exit from python. If the file isn't a socket file 12014 or nobody is listening, it will be removed. If it can't 12015 be removed, exit from python. 12016 (Trac #151, svn r2091) 12017 12018bind10-devel-20100602 released on June 2, 2010 12019 1202051. [build] jelte 12021 lib/python: Add bind10_config.py module for paths and 12022 possibly other configure-time variables. Allow some components 12023 to find spec files in build tree when ran from source. 12024 (Trac #223) 12025 1202650. [bug] zhanglikun 12027 bin/xfrin: a regression in xfrin: it can't communicate with 12028 a remote server. (Trac #218, svn r2038) 12029 1203049. [func]* jelte 12031 Use unix domain sockets for msgq. For b10-msgq, the command 12032 line options --msgq-port and -m were removed. For bind10, 12033 the -msgq-port option was removed, and the -m command line 12034 option was changed to be a filename (instead of port number). 12035 (Trac #183, svn r2009) 12036 1203748. [func] jelte 12038 bin/auth: Use asio's io_service for the msgq handling. 12039 (svn r2007) 12040 1204147. [func] zhanglikun 12042 bin/cmdctl: Add value/type check for commands sent to 12043 cmdctl. (Trac #201, svn r1959) 12044 1204546. [func] zhanglikun 12046 lib/cc: Fix real type data encoding/decoding. (Trac #193, 12047 svn r1959) 12048 1204945. [func] zhanglikun 12050 bin/bind10: Pass verbose option to more modules. (Trac 12051 #205, svn r1957) 12052 1205344. [build] jreed 12054 Install headers for libdns and libexception. (Trac #68, 12055 svn r1941) 12056 1205743. [func] jelte 12058 lib/cc: Message queuing on cc channel. (Trac #58, svn r1870) 12059 1206042. [func] jelte 12061 lib/python/isc/config: Make temporary file with python 12062 tempfile module instead of manual with fixed name. (Trac 12063 #184, svn r1859) 12064 1206541. [func] jelte 12066 Module descriptions in spec files. (Trac #90, svn r1856) 12067 1206840. [build] jreed 12069 Report detected features and configure settings at end of 12070 configure output. (svn r1836) 12071 1207239. [func]* each 12073 Renamed libauth to libdatasrc. 12074 1207538. [bug] zhanglikun 12076 Send command 'shutdown' to Xfrin and Xfrout when boss receive SIGINT. 12077 Remove unused socket file when Xfrout process exits. Make sure Xfrout 12078 exit by itself when it receives SIGINT, instead of being killed by the 12079 signal SIGTERM or SIGKILL sent from boss. 12080 (Trac #135, #151, #134, svn r1797) 12081 1208237. [build] jinmei 12083 Check for the availability of python-config. (Trac #159, 12084 svn r1794) 12085 1208636. [func] shane 12087 bin/bind10: Miscellaneous code cleanups and improvements. 12088 (Trac #40, svn r2012) 12089 1209035. [bug] jinmei 12091 bin/bindctl: fixed a bug that it didn't accept IPv6 addresses as 12092 command arguments. (Trac #219, svn r2022) 12093 1209434. [bug] jinmei 12095 bin/xfrin: fixed several small bugs with many additional unit 12096 tests. Fixes include: IPv6 transport support, resource leak, 12097 and non IN class support. (Trac #185, svn r2000) 12098 1209933. [bug] each 12100 bin/auth: output now prepended with "[b10-auth]" (Trac 12101 #109, svn r1985) 12102 1210332. [func]* each 12104 bin/auth: removed custom query-processing code, changed 12105 boost::asio code to use plain asio instead, and added asio 12106 headers to the source tree. This allows building without 12107 using an external boost library. (Trac #163, svn r1983) 12108 1210931. [func] jinmei 12110 lib/dns: added a separate signature for Name::split() as a 12111 convenient wrapper for common usage. (Trac #49, svn r1903) 12112 1211330. [bug] jinmei 12114 lib/dns: parameter validation of Name::split() was not sufficient, 12115 and invalid parameters could cause integer overflow and make the 12116 library crash. (Trac #177, svn r1806) 12117 12118bind10-devel-20100421 released on April 21, 2010 12119 1212029. [build] jreed 12121 Enable Python unit tests for "make check". (svn r1762) 12122 1212328. [bug] jreed 12124 Fix msgq CC test so it can find its module. (svn r1751) 12125 1212627. [build] jelte 12127 Add missing copyright license statements to various source 12128 files. (svn r1750) 12129 1213026. [func] jelte 12131 Use PACKAGE_STRING (name + version) from config.h instead 12132 of hard-coded value in CH TXT version.bind replies (Trac 12133 #114, svn r1749) 12134 1213525. [func]* jreed 12136 Renamed msgq to b10-msgq. (Trac #25, svn r1747, r1748) 12137 1213824. [func] jinmei 12139 Support case-sensitive name compression in MessageRenderer. 12140 (Trac #142, svn r1704) 12141 1214223. [func] jinmei 12143 Support a simple name with possible compression. (svn r1701) 12144 1214522. [func] zhanglikun 12146 b10-xfrout for AXFR-out support added. (svn r1629, r1630) 12147 1214821. [bug] zhanglikun 12149 Make log message more readable when xfrin failed. (svn 12150 r1697) 12151 1215220. [bug] jinmei 12153 Keep stderr for child processes if -v is specified. (svn 12154 r1690, r1698) 12155 1215619. [bug] jinmei 12157 Allow bind10 boss to pass environment variables from parent. 12158 (svn r1689) 12159 1216018. [bug] jinmei 12161 Xfrin warn if bind10_dns load failed. (svn r1688) 12162 1216317. [bug] jinmei 12164 Use sqlite3_ds.load() in xfrin module and catch Sqlite3DSError 12165 explicitly. (svn r1684) 12166 1216716. [func]* zhanglikun 12168 Removed print_message and print_settings configuration 12169 commands from Xfrin. (Trac #136, svn r1682) 12170 1217115. [func]* jinmei 12172 Changed zone loader/updater so trailing dot is not required. 12173 (svn r1681) 12174 1217514. [bug] shane 12176 Change shutdown to actually SIGKILL properly. (svn r1675) 12177 1217813. [bug] jinmei 12179 Don't ignore other RRs than SOA even if the second SOA is 12180 found. (svn r1674) 12181 1218212. [build] jreed 12183 Fix tests and testdata so can be used from a read-only 12184 source directory. 12185 1218611. [build] jreed 12187 Make sure python tests scripts are included in tarball. 12188 (svn r1648) 12189 1219010. [build] jinmei 12191 Improve python detection for configure. (svn r1622) 12192 121939. [build] jinmei 12194 Automake the python binding of libdns. (svn r1617) 12195 121968. [bug] zhanglikun 12197 Fix log errors which may cause xfrin module to crash. (svn 12198 r1613) 12199 122007. [func] zhanglikun 12201 New API for inserting zone data to sqlite3 database for 12202 AXFR-in. (svn r1612, r1613) 12203 122046. [bug] jreed 12205 More code review, miscellaneous cleanups, style guidelines, 12206 and new and improved unit tests added. 12207 122085. [doc] jreed 12209 Manual page cleanups and improvements. 12210 122114. [bug] jinmei 12212 NSEC RDATA fixes for buffer overrun lookups, incorrect 12213 boundary checks, spec-non-conformant behaviors. (svn r1611) 12214 122153. [bug] jelte 12216 Remove a re-raise of an exception that should only have 12217 been included in an error answer on the cc channel. (svn 12218 r1601) 12219 122202. [bug] mgraff 12221 Removed unnecessary sleep() from ccsession.cc. (svn r1528) 12222 122231. [build]* jreed 12224 The configure --with-boostlib option changed to --with-boost-lib. 12225 12226bind10-devel-20100319 released on March 19, 2010 12227 12228For complete code revision history, see 12229 http://gitlab.isc.org/isc-projects/kea 12230Specific git changesets can be accessed at: 12231 http://gitlab.isc.org/isc-projects/kea/commit/rrr 12232or after cloning the original git repository by executing: 12233 % git diff rrrr^ rrrr 12234Prior to gitlab, we used Trac for bug tickets. Those tickets 12235can be accessed at: http://oldkea.isc.org/ticket/nnnn 12236 12237LEGEND 12238[bug] General bug fix. This is generally a backward compatible change, 12239 unless it's deemed to be impossible or very hard to keep 12240 compatibility to fix the bug. 12241[build] Compilation and installation infrastructure change. 12242[doc] Update to documentation. This shouldn't change run time behavior. 12243[func] new feature. In some cases this may be a backward incompatible 12244 change, which would require a bump of major version. 12245[sec] Security hole fix. This is no different than a general bug 12246 fix except that it will be handled as confidential and will cause 12247 security patch releases. 12248[perf] Performance related change. 12249 12250*: Backward incompatible or operational change. 12251