]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Finished merge of trac3618 (truncated packet/option/vendor-option)
authorFrancis Dupont <fdupont@isc.org>
Fri, 19 Jun 2015 09:37:49 +0000 (11:37 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 19 Jun 2015 09:37:49 +0000 (11:37 +0200)
1  2 
ChangeLog
src/lib/dhcp/libdhcp++.cc
src/lib/dhcp/pkt4.cc
src/lib/dhcp/pkt6.cc
src/lib/dhcp/tests/libdhcp++_unittest.cc
src/lib/dhcp/tests/pkt4_unittest.cc
src/lib/dhcp/tests/pkt6_unittest.cc

diff --cc ChangeLog
index 368f3ff2ee98034784639148a629b6e7c65ddfbc,9cb64e00188295b25f03433a82a87d3a50957248..77b16f067393dca9701b93e7d6cf944a2ab11c80
+++ b/ChangeLog
++962.  [func]          fdupont
++      Make the parsing of options and vendor options more consistent
++      between v4 and v6. In addition make the parsing more robust
++      against malformed packets.
++      (Trac #3618, git xxx)
++
 +961.  [func]          fdupont
 +      Improved error messages when handling invalid or malformed
 +      configuration file. File and line number are printed, when
 +      available.
 +      (Trac #3697, git 70fc36e164e988c251bdaaee7e27c5f6407e0f4c)
 +
 +960.  [build]         fdupont
 +      Get rid of the last bundy pieces of code.
 +      (Trac #3732, git 6b7da42f902fabb6855e54a19ea472c18ba82a93)
 +
 +959.  [build]         fdupont
 +      Removed no longer used logging in cc and config libraries.
 +      (Trac #3732, git 8d0324f4786900db953489ebaa9e018b1238543f)
 +
 +958.  [func]          tomek
 +      DHCPv4 server now supports control channel, implemented over UNIX
 +      socket. Currently supported commands are: statistic-get,
 +      statistic-reset, statistic-remove, statistic-get-all,
 +      statistic-reset-all, statistic-remove-all, shutdown.
 +      (Trac #3880, git 688658395518f0b97d5384af81ceab5206691ad5)
 +
 +957.  [func]          tomek
 +      Per IPv4 subnet statistics (subnet[id].assigned-addresses and
 +      subnet[id].total-addresses) has been implemented.
 +      (Trac #3798, git bab2030f56bbf390959f9f9238a8acc62d583c70)
 +
 +956.  [func]          marcin
 +      Improved log messages emitted by the allocation engine,
 +      which now uses a dedicated logger.
 +      (Trac #3852, git 923928774f4f59c887d768cf155b5978e838a6f2)
 +
 +955.  [func]          tmark
 +      Added unit tests to kea-admin for testing the lease-dump command
 +      with a PostgreSQL backend. Updated PostgreSQL database installation
 +      instructions in Kea Administrator's guide to include use of kea-admin
 +      tool.
 +      (Trac #3884, git 0772b7df2a89e1019141be1d0ddec30d53c4b919)
 +
 +954.  [func]          fdupont
 +      Enhance the versioning information printed by the executables and
 +      make it more consistent across all of the executables. "-v" is for
 +      basic Kea version information, "-V" provides more detailed
 +      versioning and versions for external dynamic libraries, finally
 +      "-W" provides the configure report from the configuration step
 +      during the build of Kea.
 +      (Trac #3513, git 584cf666e101c6cb5c9af76175ddd867ece85764)
 +      (Trac #3859, git 384e6c6225de18fc97d606e4a1972baeef598ba4)
 +
 +953.  [bug]           fdupont
 +      Corrected the setting of string characters to values above 127
 +      in HMAC tests.
 +      (Trac #3829, git 54f4ec64e513fea1547631122dc1af8579fae3db)
 +
 +952.  [bug]           fdupont
 +      Made some loop indexes an unsigned type to avoid compiler warnings
 +      where the termination condition is comparison with an unsigned
 +      value.
 +      (Trac #3833, git 3db9f1d78f59856b982a1ff84c3b5a1ba7ea39df)
 +
 +951.  [build]         fdupont
 +      Removed BUNDY configuration backend.
 +      (Trac #3732, git 96364cbbb15318c8f55d5b287cda0990d3eaae32)
 +
 +950.  [doc]           marcin
 +      Updated section about logging in the User Guide. Also,
 +      updated Hooks Developer's Guide with the recommendations for
 +      the developers about use of logging in hooks libraries.
 +      (Trac #3805, git b403de1f335a2fb5098c9abc0858b8137892f868)
 +
 +949.  [func]          tmark
 +      kea-admin now supports dumping MySQL and PostgreSQL lease tables
 +      to CSV file, via a new command "lease-dump".  This is primarily
 +      intended for use as a diagnostic tool.
 +      (Trac #3802, git 6ec774e8523e7f8415d6cd18c34062489e127847)
 +
 +948.  [bug]           fdupont
 +      libdhcpsrv: check if new host reservation tries to use an already
 +      reserved address.
 +      (Trac #3652, git 4f10b78341b197bd321fbf2ec71db7420e40718d)
 +
 +947.  [func]          marcin
 +      DHCPv6 server now supports Rapid Commit option.
 +      (Trac #3070, git a6b6156aaa95ab74c69a537e90483f82e9fbe4a2)
 +
 +946.  [doc]           tmark
 +      Added doucmentation for kea-admin "lease-dump" command to the
 +      Kea Admininstrator's Guide and kea-admin man page.
 +      (Trac #3803, git 54b59b7ef02f6428405794066ea779e9bd4c0b6e)
 +
 +945.  [func]          marcin
 +      Improved log messages emitted by the DHCPv6 server. Also,
 +      the server is now using multiple distinct loggers for logging
 +      messages pertaining to different functional parts of the
 +      code, e.g. packet transmission, lease allocation, DDNS etc.
 +      (Trac #3807, git c95ebdaf39c3d8d78d83d53db15824c60078f566)
 +
 +944.    [func]      tmark
 +      kea-admin commands lease-init, lease-version, and lease-upgrade
 +      now support PostgreSQL. Note that at this time the PostgreSQL
 +      backend only supports Kea schema version 1.0, so there are no
 +      upgrades available.
 +      (Trac #3883, git 990a0d72fa247e4a12e2608994204c48274e4cd6)
 +
 +943.  [func]          sar
 +      Split the DHCP-DDNS logging messages amongst several loggers to
 +      allow the administrator finer control over debugging messages.
 +      Messages pertaining to the name change requests processing include
 +      an ID, currently the DHCID, to identify the transactions.
 +      (Trac #3808, git 4fbe08234049de6ef67bb5cdb244d180a7a4c3a9)
 +
 +942.  [func]          tomek
 +      18 new statistics added in DHCPv4 server: generic packet counters,
 +      per packet type counters, parsing failure and packet drops.
 +      (Trac #3794, git a61f40c44910a09699a9a566a5ec35ab758564ba)
 +
 +941.  [bug]           marcin
 +      Configuration parser for host reservations returns an error
 +      when an unsupported parameter is specified.
 +      (Trac 3810, git 54ee0f6328a303c366dd8239e768dfc4a23a5d9b)
 +
 +940.  [bug]           fdupont
 +      DHCPv4 server drops DHCPRELEASE messages sent from a bad
 +      location (i.e., no subnet can be selected)
 +      (Trac 3504, git f0f13ac74779f76ed7af91bd5dab3d11ba00be79)
 +
 +939.  [bug]           fdupont
 +      Small fix in HooksDhcpv4SrvTest.subnet4SelectSimple unit-test.
 +      (Trac 3881, git a21afdffec41fceb61e6760d4108d670b2eabe75)
 +
 +938.  [build]         fdupont
 +      Removed Python from the log library (code, message compiler and
 +      documentation)
 +      (Trac #3734, git d24b7c9716c6eb7a3e9dd2cb3fd2d1bfe4e1201f)
 +
 +937.  [bug]           fdupont
 +      The log ID LOG_UNRECOGNISED_DIRECTIVE was changed to
 +      LOG_UNRECOGNIZED_DIRECTIVE to follow US English spelling.
 +      (Trac #3762, git 235e3304746352e9341008225f9f2392586a9f66)
 +
 +936.  [bug]           fdupont
 +      Added an ASSERT to avoid a crash in HooksDhcpv4SrvTest
 +      subnet4SelectSimple unit test. Fixed out of bounds vector accesses
 +      in perfdhcp (which should not be able to handle links
 +      with long (i.e., more than 6 bytes) link-layer addresses).
 +      (Trac #3868, git c20f47e19d6060605c0611754db7b66b08553caa)
 +
 +935.  [bug]           fdupont
 +      Fixed 3 out of bounds accesses on vectors in DHCP++ code.
 +      (Trac #3854, git de263ad0008f3494a85592f78db1ec662b68e689)
 +
 +934.  [bug]           fdupont
 +      Renamed the DHCP-DDNS constant INVALID_SOCKET to SOCKET_NOT_VALID
 +      to avoid conflicting with a constant of that name defined on some
 +      operating systems.
 +      (Trac #3861, git 28205225ceed03ff3126e43cd06cedbaa7d8d657)
 +
 +933.  [func]*         marcin
 +      DHCPv4 server by default identifies a client using the
 +      client-identifier, if present. The new configuration
 +      parameter 'match-client-id' allows for disabling this
 +      behavior, i.e. 'chaddr' field is used to identify the
 +      client instead.
 +      (Trac #3747, git b9dc6ffd0f3396e9da8e0c83fd82164b8b8af011)
 +
  932.  [func]          kalmus
        MySQL schema has been extended with tables that can store
        host reservation. This ticket updates database schema only,
Simple merge
Simple merge
Simple merge
Simple merge
index 53c01bd017e5de1557b3e6eb664b9c83433771ed,3fbe9a4824968e8d6341fae55beab31a21316852..8d17e9393f13ab1c6db7120ee23f11f8b50e35a6
mode 100644,100755..100644