freebsd-ports/net/kea/files/patch-src-bin-keactrl-keactrl.in
Hiroki Sato 8ac54f835f Update to 1.0.0, the first production version. This includes security
fixes for CVE-2015-8373 in addition to the following improvements:

- Lease expiration. A configurable mechanism which provides the
  ability to properly clean up expired leases including hook points,
  DNS clean up, and logging.

- Client classification. Initial support for client classification
  using conditional logic expressions to test inbound packet content
  is available for both DHCPv4 and DHCPv6.

- Decline support in both DHCPv4 and DHCPv6.

- New statistics. Several new statistics have been added. They can be
  used to monitor lease expiration and decline processing.

- PXE boot. Several new DHCPv4 and DHCPv6 options useful for PXE and
  iPXE boot are now supported.

- Host Reservations in MySQL. Kea is now able to store host
  reservations in both its configuration file and a MySQL
  database. While currently available only for DHCPv4, this
  functionality will be available for DHCPv6 in an upcoming release.

- Kea 1.0.0 is released under new license Mozilla Public License
  2.0. Earlier releases were licensed under the ISC license. The new
  license is slightly more restrictive than the original ISC license.

Security:	CVE-2015-8373
Security:	https://kb.isc.org/article/AA-01318/0/CVE-2015-8373-ISC-Kea%3A-unexpected-termination-while-handling-a-malformed-packet.html
2016-01-04 18:13:37 +00:00

20 lines
730 B
Text

--- src/bin/keactrl/keactrl.in.orig 2015-12-28 12:18:45 UTC
+++ src/bin/keactrl/keactrl.in
@@ -69,7 +69,7 @@ get_pid_from_file() {
local conf_name=$(basename ${kea_config_file} | cut -f1 -d'.')
# Default the directory to --localstatedir
- local pid_file_dir=@localstatedir@/@PACKAGE@
+ local pid_file_dir=@localstatedir@/run
# Use directory override if set (primarily for testing only)
if [ ! -z $KEA_PIDFILE_DIR ]; then
@@ -252,7 +252,7 @@ check_kea_conf() {
# to the default file.
if [ -z ${KEA_LOGGER_DESTINATION} ]; then
prefix=@prefix@
- export KEA_LOGGER_DESTINATION=@localstatedir@/@PACKAGE@/kea.log
+ export KEA_LOGGER_DESTINATION=@localstatedir@/log/kea.log
fi
command=${1}