]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
6 years ago[master] Avoid unused warnings 18-lib-process-config-version
Francis Dupont [Fri, 17 Aug 2018 19:36:00 +0000 (21:36 +0200)] 
[master] Avoid unused warnings

6 years ago[master] missing reference in catch
Francis Dupont [Fri, 17 Aug 2018 08:21:22 +0000 (10:21 +0200)] 
[master] missing reference in catch

6 years ago[master] Avoid unwanted fallthrough
Francis Dupont [Fri, 17 Aug 2018 08:20:26 +0000 (10:20 +0200)] 
[master] Avoid unwanted fallthrough

6 years agoReplaced gitlab issue number by merge request one.
Francis Dupont [Thu, 16 Aug 2018 16:05:21 +0000 (12:05 -0400)] 
Replaced gitlab issue number by merge request one.

6 years ago[master] Update git hash
Francis Dupont [Thu, 16 Aug 2018 14:02:24 +0000 (16:02 +0200)] 
[master] Update git hash

6 years ago[master] Finishing merge of gitlab#11 (keactrl version on macOS)
Francis Dupont [Thu, 16 Aug 2018 14:01:27 +0000 (16:01 +0200)] 
[master] Finishing merge of gitlab#11 (keactrl version on macOS)

6 years ago[11-keactrl-test-verifying-version-output-for-various-daemons-fails-on-macos] updated...
Francis Dupont [Thu, 16 Aug 2018 13:57:35 +0000 (15:57 +0200)] 
[11-keactrl-test-verifying-version-output-for-various-daemons-fails-on-macos] updated Changelog before merge

6 years ago[11-keactrl-test-verifying-version-output-for-various-daemons-fails-on-macos] spuriou...
Francis Dupont [Thu, 16 Aug 2018 13:37:09 +0000 (15:37 +0200)] 
[11-keactrl-test-verifying-version-output-for-various-daemons-fails-on-macos] spurious extra space

6 years ago[master] Merge branch 'master' of gitlab.isc.org:isc-projects/kea
Francis Dupont [Thu, 16 Aug 2018 12:11:47 +0000 (14:11 +0200)] 
[master] Merge branch 'master' of gitlab.isc.org:isc-projects/kea

6 years ago[master] regen flex/bison
Francis Dupont [Thu, 16 Aug 2018 11:44:40 +0000 (11:44 +0000)] 
[master] regen flex/bison

6 years ago[master] regen flex/bison
Francis Dupont [Thu, 16 Aug 2018 11:37:55 +0000 (11:37 +0000)] 
[master] regen flex/bison

6 years ago[master] Fixed broken log message in MySQL lease manager
Thomas Markwalder [Thu, 16 Aug 2018 10:52:59 +0000 (06:52 -0400)] 
[master] Fixed broken log message in MySQL lease manager

src/lib/dhcpsrv/mysql_lease_mgr.cc
    Added missing argument for DHCPSRV_MYSQL_GET_DUID message

6 years agoUpdate README
Vicky Risk [Tue, 14 Aug 2018 18:10:32 +0000 (14:10 -0400)] 
Update README

6 years agoUpdate README with link to new Gitlab repo
Vicky Risk [Tue, 14 Aug 2018 18:06:32 +0000 (14:06 -0400)] 
Update README with link to new Gitlab repo

6 years ago[master] Added ChangeLog entry 1443 for trac 5705.
Thomas Markwalder [Tue, 14 Aug 2018 14:14:15 +0000 (10:14 -0400)] 
[master] Added ChangeLog entry 1443 for trac 5705.

6 years ago[master] kea-dhcp4 now supports global host reservations
Thomas Markwalder [Tue, 14 Aug 2018 14:02:34 +0000 (10:02 -0400)] 
[master] kea-dhcp4 now supports global host reservations

    Merge branch 'trac5705'

6 years ago[5705] Minor review revisions
Thomas Markwalder [Tue, 14 Aug 2018 12:24:55 +0000 (08:24 -0400)] 
[5705] Minor review revisions

6 years ago[5705] Changes after review
Tomek Mrugalski [Tue, 14 Aug 2018 10:55:53 +0000 (12:55 +0200)] 
[5705] Changes after review

 - doc updated
 - mostly comments

6 years ago[5705] Added global HR documentation to the admin guide
Thomas Markwalder [Fri, 10 Aug 2018 18:51:58 +0000 (14:51 -0400)] 
[5705] Added global HR documentation to the admin guide

modified:   doc/guide/dhcp4-srv.xml

6 years ago[5705] kea-dhcp4 now fully supports globl HRs
Thomas Markwalder [Fri, 10 Aug 2018 17:48:30 +0000 (13:48 -0400)] 
[5705] kea-dhcp4 now fully supports globl HRs

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
    Added support for HR_GLOBAL mode

src/bin/dhcp4/tests/dhcp4_test_utils.cc
    Minor modifications to output exception and config text
    when parsing fails.

src/bin/dhcp4/tests/host_unittest.cc
    New tests to make sure reservation matching behaves
    according to reservation modes

src/lib/dhcpsrv/network.cc
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
    Adding missed bits needed to parse HR_GLOBAL mode

6 years ago[5705] AllocEngine4 now matches clients to global HRs
Thomas Markwalder [Fri, 10 Aug 2018 12:56:21 +0000 (08:56 -0400)] 
[5705] AllocEngine4 now matches clients to global HRs

src/bin/dhcp4/tests/Makefile.am
src/bin/dhcp4/tests/host_unittest.cc - new file with global HR tests

src/lib/dhcpsrv/alloc_engine.*
    findGlobalReservation() - new function that searches for global HR

    findReservation() - calls findGlobalReservation() if mode is global

    hasAddressReservation()
    ClientContext4::currentHost()
        - modified to recognize global HRs

src/lib/dhcpsrv/network.h
    Added new mode, Netork::HR_GLOBAL

src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
    TEST_F(AllocEngine4Test, globalReservationReservedAddressDiscover)
    TEST_F(AllocEngine4Test, globalReservationReservedAddressRequest)
    TEST_F(AllocEngine4Test, globalReservationDynamicDiscover)
    TEST_F(AllocEngine4Test, globalReservationDynamicRequest) - new tests

6 years ago[github99] ChangeLog entries 1436-1441 restored, 1442 added. github99
Tomek Mrugalski [Mon, 13 Aug 2018 17:12:38 +0000 (19:12 +0200)] 
[github99] ChangeLog entries 1436-1441 restored, 1442 added.

6 years ago[github99] compilation warning removed.
Tomek Mrugalski [Mon, 13 Aug 2018 10:12:22 +0000 (12:12 +0200)] 
[github99] compilation warning removed.

6 years ago[optimize_query] fixed review comments
Sunil Kallukudige Sreedhar Mayya [Fri, 10 Aug 2018 20:00:44 +0000 (22:00 +0200)] 
[optimize_query] fixed review comments

6 years ago[optimize_query] Add new index for query by DUID
mayya [Sun, 22 Jul 2018 15:00:50 +0000 (17:00 +0200)] 
[optimize_query] Add new index for query by DUID
 Fixes #98

6 years ago[github99] Temporarily removing entries to avoid merge errors.
Tomek Mrugalski [Mon, 13 Aug 2018 15:54:23 +0000 (17:54 +0200)] 
[github99] Temporarily removing entries to avoid merge errors.

6 years ago[extend_host_struct] remove white space errors
Tomek Mrugalski [Mon, 13 Aug 2018 15:49:45 +0000 (17:49 +0200)] 
[extend_host_struct] remove white space errors

 cherry-picked commit d8bfc574ba2bf8b982a46b947b03db5dd8f65922
  by Mayya Sunil

6 years agominor fixes
mayya [Mon, 16 Jul 2018 21:55:03 +0000 (23:55 +0200)] 
minor fixes

6 years ago[gitlab9] Imported relevant bits from github99
Tomek Mrugalski [Mon, 13 Aug 2018 15:47:53 +0000 (17:47 +0200)] 
[gitlab9] Imported relevant bits from github99

 - Covers changes up to 4358737d43ee1b6c8618a1a8aa3cc7273634ed48,
   but without unnecessary things.

6 years ago[master] Added ChangeLog for issue #8. master_gitlab
Marcin Siodelski [Mon, 13 Aug 2018 17:41:20 +0000 (19:41 +0200)] 
[master] Added ChangeLog for issue #8.

6 years ago[gitlab8] Added log message indicating that the unix socket acceptor is opened.
Marcin Siodelski [Mon, 13 Aug 2018 17:38:35 +0000 (19:38 +0200)] 
[gitlab8] Added log message indicating that the unix socket acceptor is opened.

6 years ago[gitlab11] ChangeLog updated.
Tomek Mrugalski [Mon, 13 Aug 2018 13:45:23 +0000 (15:45 +0200)] 
[gitlab11] ChangeLog updated.

6 years ago[gitlab11] Fixed portability problem in keactrl.version-command on macos
Tomek Mrugalski [Mon, 13 Aug 2018 13:06:17 +0000 (15:06 +0200)] 
[gitlab11] Fixed portability problem in keactrl.version-command on macos

6 years ago[master] Added ChangeLog entry 1440 for Trac #5704
Thomas Markwalder [Thu, 9 Aug 2018 14:51:46 +0000 (10:51 -0400)] 
[master] Added ChangeLog entry 1440 for Trac #5704

6 years ago[master] Infrastructure for global host reserverations
Thomas Markwalder [Thu, 9 Aug 2018 14:44:45 +0000 (10:44 -0400)] 
[master] Infrastructure for global host reserverations

- Internal representation of unused subnets is now SunbetID == SUBNET_ID_UNUSED
- Host Reservations with a subnet id value of SUBNET_ID_GLOBAL are global
- kea-dhcp4/6 servers can now parser reservations at the global level

6 years ago[5704] Addressed review comments
Thomas Markwalder [Thu, 9 Aug 2018 13:22:43 +0000 (09:22 -0400)] 
[5704] Addressed review comments

    Updated config unit tests, rolled back eval/lexer.cc, etc...

6 years ago[gitlab9] changelog updated 9-kea-admin-keactrl-doesn-t-report-kea-version-trac5411
Tomek Mrugalski [Thu, 9 Aug 2018 10:55:51 +0000 (12:55 +0200)] 
[gitlab9] changelog updated

6 years ago[gitlab9] doc updated, test renamed
Tomek Mrugalski [Thu, 9 Aug 2018 10:37:18 +0000 (12:37 +0200)] 
[gitlab9] doc updated, test renamed

6 years ago[gitlab9] keactrl version command implemented
Tomek Mrugalski [Thu, 9 Aug 2018 10:26:34 +0000 (12:26 +0200)] 
[gitlab9] keactrl version command implemented

7 years ago[gitlab9] Changes after review:
Tomek Mrugalski [Wed, 8 Aug 2018 13:08:43 +0000 (15:08 +0200)] 
[gitlab9] Changes after review:

 - man pages updated
 - kea-admin help updated slightly.

7 years ago[gitlab9] Keactrl now returns its version.
Tomek Mrugalski [Fri, 6 Jul 2018 17:27:55 +0000 (19:27 +0200)] 
[gitlab9] Keactrl now returns its version.

7 years ago[gitlab9] kea-admin now reports its version.
Tomek Mrugalski [Fri, 6 Jul 2018 17:21:46 +0000 (19:21 +0200)] 
[gitlab9] kea-admin now reports its version.

7 years ago[5704] host backends and kea-dhcp4/6 support global HR storage
Thomas Markwalder [Tue, 7 Aug 2018 10:46:30 +0000 (06:46 -0400)] 
[5704] host backends and kea-dhcp4/6 support global HR storage

- Added constants for special SubnetIDs:
    SUBNET_ID_GLOBAL, SUBNET_ID_MAX, SUBNET_ID_UNUSED

- Modified code throughout to use these constants, rather than hard-coded
  values.   Note, MySQL and PostgreSQL host backends convert from NULL to
  UNUSED and back.

- kea-dhcp4/6 servers will now parse a "reservations" element at the global
  level.

src/lib/dhcpsrv/subnet_id.h
    Added constants SubnetID SUBNET_ID_GLOBAL, SUBNET_ID_MAX, SUBNET_ID_UNUSED

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
    kea-dhcp4 parsing now handles reservations as a global element

src/bin/dhcp4/tests/config_parser_unittest.cc
    TEST_F(Dhcp4ParserTest, globalReservations) - new test to
    verify global HR parsing

src/bin/dhcp4/tests/dora_unittest.cc
src/lib/dhcpsrv/cfg_hosts.cc
src/lib/dhcpsrv/host.cc
src/lib/dhcpsrv/host_mgr.cc
src/lib/dhcpsrv/mysql_host_data_source.cc
src/lib/dhcpsrv/parsers/host_reservation_parser.cc
src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
src/lib/dhcpsrv/tests/alloc_engine_utils.cc
src/lib/dhcpsrv/tests/host_mgr_unittest.cc
src/lib/dhcpsrv/tests/host_reservation_parser_unittest.cc
src/lib/dhcpsrv/tests/host_reservations_list_parser_unittest.cc
src/lib/dhcpsrv/tests/host_unittest.cc
    Replaced SubnetID 0 with SUBNET_ID_UNUSED

src/lib/dhcpsrv/srv_config.cc
    SrvConfig::toElement() - added global reservations output

src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc
    TEST_F(CfgHostsTest, globalSubnetIDs)
    TEST_F(CfgHostsTest, unusedSubnetIDs) - new tests

src/lib/dhcpsrv/tests/host_unittest.cc
    Replaced SubnetID 0 with SUBNET_ID_UNUSED
    TEST_F(HostTest, toText)  - updated to verify global ID output

src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
    TEST_F(MySqlHostDataSourceTest, globalSubnetId4)
    TEST_F(MySqlHostDataSourceTest, globalSubnetId6) - new tests

src/lib/dhcpsrv/tests/srv_config_unittest.cc
    TEST_F(SrvConfigTest, unparseHR) - added global HRs

src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.*
    GenericHostDataSourceTest::testGlobalSubnetId4()
    GenericHostDataSourceTest::testGlobalSubnetId6()

src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
    kea-dhcp6 now parses reservations as a global element

src/bin/dhcp6/tests/config_parser_unittest.cc
    TEST_F(Dhcp6ParserTest, globalReservations) - new test

7 years ago[5704] Added subnet-id = 0 unit tests to host data sources
Thomas Markwalder [Thu, 2 Aug 2018 19:43:56 +0000 (15:43 -0400)] 
[5704] Added subnet-id = 0 unit tests to host data sources

    Added tests to verify backends support storing and fetching
    reservations with either v4 or v6 subnet-id values of 0.

7 years ago[master] ChangeLog update after #5683 merge. ha_phase2
Tomek Mrugalski [Tue, 31 Jul 2018 17:18:15 +0000 (19:18 +0200)] 
[master] ChangeLog update after #5683 merge.

7 years ago[5683] if clause moved in Lease parsers trac5683
Tomek Mrugalski [Tue, 31 Jul 2018 16:58:13 +0000 (18:58 +0200)] 
[5683] if clause moved in Lease parsers

7 years ago[5683] Minor word-smithing
Thomas Markwalder [Tue, 31 Jul 2018 14:50:19 +0000 (10:50 -0400)] 
[5683] Minor word-smithing

7 years ago[5683] Corrected text to mention subnet-id = 0 case.
Tomek Mrugalski [Tue, 31 Jul 2018 13:25:38 +0000 (15:25 +0200)] 
[5683] Corrected text to mention subnet-id = 0 case.

7 years ago[5683] Doc updated.
Tomek Mrugalski [Tue, 31 Jul 2018 13:23:16 +0000 (15:23 +0200)] 
[5683] Doc updated.

7 years ago[5683] subnet-id is now optional in subnetX-add, subnetX-update
Tomek Mrugalski [Tue, 31 Jul 2018 13:13:48 +0000 (15:13 +0200)] 
[5683] subnet-id is now optional in subnetX-add, subnetX-update

7 years ago[master] Changelog update after 5682 merge.
Tomek Mrugalski [Mon, 30 Jul 2018 18:09:52 +0000 (20:09 +0200)] 
[master] Changelog update after 5682 merge.

7 years ago[5682] Added two missing log messages trac5682
Tomek Mrugalski [Mon, 30 Jul 2018 17:02:47 +0000 (19:02 +0200)] 
[5682] Added two missing log messages

7 years ago[5682] Added extra tests for LeaseFileLoader
Tomek Mrugalski [Mon, 30 Jul 2018 15:26:06 +0000 (17:26 +0200)] 
[5682] Added extra tests for LeaseFileLoader

7 years ago[5682] addLease() parameter is const again
Tomek Mrugalski [Mon, 30 Jul 2018 14:32:01 +0000 (16:32 +0200)] 
[5682] addLease() parameter is const again

7 years ago[5682] SrvConfigTest.unparse fix
Tomek Mrugalski [Mon, 30 Jul 2018 14:12:21 +0000 (16:12 +0200)] 
[5682] SrvConfigTest.unparse fix

7 years ago[5682] Changes after review:
Tomek Mrugalski [Mon, 30 Jul 2018 13:02:45 +0000 (15:02 +0200)] 
[5682] Changes after review:

 - doc updated (no longer claims leaseX-add is covered, v6 is not
   just a pointer anymore)
 - removed calls from MemfileLeaseMgr::addLease
 - removed unnecessary static calls
 - removed no longer needed unit-tests
 - wrote extra unit-tests for lease file loader

7 years ago[5682] Revert "[5682] Corrective sanity checks implemented for leaseX-add"
Tomek Mrugalski [Mon, 30 Jul 2018 12:20:30 +0000 (14:20 +0200)] 
[5682] Revert "[5682] Corrective sanity checks implemented for leaseX-add"

This reverts commit 4d1462582ff4aa1ec663dba5d2dadedb7c0984ed.

7 years ago[5682] Added test that demonstrates broken lease update
Thomas Markwalder [Thu, 26 Jul 2018 20:11:58 +0000 (16:11 -0400)] 
[5682] Added test that demonstrates broken lease update

7 years ago[5682] Docs written
Tomek Mrugalski [Thu, 26 Jul 2018 11:15:44 +0000 (13:15 +0200)] 
[5682] Docs written

7 years ago[5682] Parsers regenerated
Tomek Mrugalski [Wed, 25 Jul 2018 23:36:49 +0000 (01:36 +0200)] 
[5682] Parsers regenerated

7 years ago[5682] Corrective sanity checks implemented for leaseX-add
Tomek Mrugalski [Wed, 25 Jul 2018 23:35:44 +0000 (01:35 +0200)] 
[5682] Corrective sanity checks implemented for leaseX-add

7 years ago[5682] config_get unit-tests regenerated.
Tomek Mrugalski [Wed, 25 Jul 2018 22:40:34 +0000 (00:40 +0200)] 
[5682] config_get unit-tests regenerated.

7 years ago[5682] Removed const from addLease for other lease backends.
Tomek Mrugalski [Wed, 25 Jul 2018 22:33:14 +0000 (00:33 +0200)] 
[5682] Removed const from addLease for other lease backends.

7 years ago[5682] Unit-tests written for lease file loader
Tomek Mrugalski [Wed, 25 Jul 2018 22:31:15 +0000 (00:31 +0200)] 
[5682] Unit-tests written for lease file loader

7 years ago[5682] get-config unit-test rebuilds partially automated.
Tomek Mrugalski [Wed, 25 Jul 2018 21:25:43 +0000 (23:25 +0200)] 
[5682] get-config unit-test rebuilds partially automated.

7 years ago[5682] sanity-checker can now use staging/current config, tests improved
Tomek Mrugalski [Wed, 25 Jul 2018 19:07:10 +0000 (21:07 +0200)] 
[5682] sanity-checker can now use staging/current config, tests improved

7 years ago[5682] Sanity checks unittests in libdhcpsrv are now working
Tomek Mrugalski [Wed, 25 Jul 2018 04:00:43 +0000 (06:00 +0200)] 
[5682] Sanity checks unittests in libdhcpsrv are now working

7 years ago[5682] Example configs added.
Tomek Mrugalski [Tue, 24 Jul 2018 18:42:58 +0000 (20:42 +0200)] 
[5682] Example configs added.

7 years ago[5682] DHCP4, DHCP6 parsers extended to support sanity-checks
Tomek Mrugalski [Tue, 24 Jul 2018 18:42:04 +0000 (20:42 +0200)] 
[5682] DHCP4, DHCP6 parsers extended to support sanity-checks

7 years ago[5682] Consistency checks implemented in libdhcpsrv
Tomek Mrugalski [Tue, 24 Jul 2018 18:41:07 +0000 (20:41 +0200)] 
[5682] Consistency checks implemented in libdhcpsrv

7 years ago[master] ChangeLog updated after 5680 merge.
Tomek Mrugalski [Fri, 27 Jul 2018 11:56:08 +0000 (13:56 +0200)] 
[master] ChangeLog updated after 5680 merge.

7 years ago[5680] Changes after review trac5680
Tomek Mrugalski [Fri, 27 Jul 2018 11:52:14 +0000 (13:52 +0200)] 
[5680] Changes after review

7 years ago[5680] Updated kea admin guide
Thomas Markwalder [Mon, 23 Jul 2018 11:55:56 +0000 (07:55 -0400)] 
[5680] Updated kea admin guide

dhcp4-srv.xml
dhcp6-srv.xml
    Added sections for host-name-sanitizing

7 years ago[5680] Use raw text from dns::Name to cope with escape sequences
Thomas Markwalder [Fri, 20 Jul 2018 16:11:00 +0000 (12:11 -0400)] 
[5680] Use raw text from dns::Name to cope with escape sequences

src/lib/dhcpsrv/d2_client_mgr.h
    D2ClientMgr::adjustDomainName() - modified to start with
    raw text domain name, this allows us to cope with escape
    sequences

src/lib/dhcpsrv/tests/d2_client_unittest.cc
    Updated unit tests

7 years ago[5680] Add ability to fetch unescaped string from dns::Name
Thomas Markwalder [Fri, 20 Jul 2018 15:21:23 +0000 (11:21 -0400)] 
[5680] Add ability to fetch unescaped string from dns::Name

src/lib/dns/labelsequence.cc
src/lib/dns/labelsequence.h
    Added LabelSequence::toRawText()

src/lib/dns/name.cc
src/lib/dns/name.h
    Added Name::toRawText() and LabelSequence::toRawText()

src/lib/dns/tests/labelsequence_unittest.cc
src/lib/dns/tests/name_unittest.cc
    Added unit tests

7 years ago[5680] Added unit tests to verify kea-dhcp6 santizes FQDN values
Thomas Markwalder [Thu, 19 Jul 2018 20:06:29 +0000 (16:06 -0400)] 
[5680] Added unit tests to verify kea-dhcp6 santizes FQDN values

modified:   src/bin/dhcp6/tests/fqdn_unittest.cc

7 years ago[5680] kea-dhcp4 supports client FQDN name sanitizing
Thomas Markwalder [Thu, 19 Jul 2018 19:36:30 +0000 (15:36 -0400)] 
[5680] kea-dhcp4 supports client FQDN name sanitizing

src/lib/dhcpsrv/d2_client_mgr.h
    D2ClientMgr::adjustDomainName() - added logic to
    sanitize the inbound FQDN name when configured to do so

src/lib/dhcpsrv/tests/d2_client_unittest.cc
    TEST(D2ClientMgr, sanitizeFqdnV4)
    TEST(D2ClientMgr, sanitizeFqdnV6) - new tests

src/bin/dhcp4/tests/fqdn_unittest.cc
    TEST_F(NameDhcpv4SrvTest, sanitizeFqdn) - new test

7 years ago[5680] User guide updated with new params
Thomas Markwalder [Tue, 10 Jul 2018 19:32:57 +0000 (15:32 -0400)] 
[5680] User guide updated with new params

doc/guide/dhcp4-srv.xml
    Added discussion of new params to Dhcp4/dhcp-ddns section

src/lib/dhcpsrv/d2_client_cfg.h
    fixed missing params doxygen error

7 years ago[5680] kea-dhcp4 now uses hostname sanititzer when configured for it
Thomas Markwalder [Tue, 10 Jul 2018 17:31:49 +0000 (13:31 -0400)] 
[5680] kea-dhcp4 now uses hostname sanititzer when configured for it

src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::processHostnameOption() - sanitizes client hostname
    if configured to do so

src/bin/dhcp4/tests/fqdn_unittest.cc
    TEST_F(NameDhcpv4SrvTest, sanitizeHostname) - new test to
    verify hostname sanitizing works as expected

src/lib/dhcpsrv/d2_client_cfg.h
    D2ClientConfig::getHostnameSanitizer() added missing getter

src/lib/dhcpsrv/tests/d2_client_unittest.cc
    TEST(D2ClientConfigTest, constructorsAndAccessors) - updated to
    verify hostname sanitizing stuff

src/lib/util/strutil.cc
    fixed regex compilation issue

7 years ago[5680] Refactor stringSanitizer func into StringSanitizer class
Thomas Markwalder [Tue, 10 Jul 2018 14:48:09 +0000 (10:48 -0400)] 
[5680] Refactor stringSanitizer func into StringSanitizer class

modified:
    src/lib/dhcpsrv/d2_client_cfg.cc
    src/lib/dhcpsrv/d2_client_cfg.h
    src/lib/util/strutil.cc
    src/lib/util/strutil.h
    src/lib/util/tests/strutil_unittest.cc

7 years ago[5680] kea-dhcp4/6 now parse hostname-char-set and hostname-char-replacment params
Thomas Markwalder [Mon, 9 Jul 2018 17:36:06 +0000 (13:36 -0400)] 
[5680] kea-dhcp4/6 now parse hostname-char-set and hostname-char-replacment params

Added to parsing and parsing unit tests.
Servers do not yet utilize the values.

Modified:

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy

src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.

src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy

src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.

7 years ago[5680] Added support for D2 client hostname sanitizer parms to dhcpsrv lib
Thomas Markwalder [Mon, 9 Jul 2018 14:11:40 +0000 (10:11 -0400)] 
[5680] Added support for D2 client hostname sanitizer parms to dhcpsrv lib

src/lib/dhcpsrv/d2_client_cfg.*
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
src/lib/dhcpsrv/tests/d2_client_unittest.cc
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
    Added defaults and handling for new params,
    hostname-char-set and hostname-char-replacement

7 years ago[5680] Added a couple more unit test cases
Thomas Markwalder [Fri, 6 Jul 2018 18:48:41 +0000 (14:48 -0400)] 
[5680] Added a couple more unit test cases

7 years ago[5680] Added sanitizeString() function to libutil
Thomas Markwalder [Fri, 6 Jul 2018 17:14:05 +0000 (13:14 -0400)] 
[5680] Added sanitizeString() function to libutil

configure.ac
    Added logic to detect usable C++11 regex

src/lib/util/strutil.*
    sanitizeString() - new function that replaces all
    occurances of invalid chars in a string with a
    specified replacement

src/lib/util/tests/strutil_unittest.cc
    TEST(StringUtilTest, sanitizeString) - new test

7 years ago[master] Added ChangeLog entry for #5675.
Marcin Siodelski [Tue, 24 Jul 2018 09:39:30 +0000 (11:39 +0200)] 
[master] Added ChangeLog entry for #5675.

7 years ago[master] Merge branch 'trac5675'
Marcin Siodelski [Tue, 24 Jul 2018 09:38:10 +0000 (11:38 +0200)] 
[master] Merge branch 'trac5675'

7 years ago[5675] Added note to the HA users guide.
Marcin Siodelski [Tue, 24 Jul 2018 09:01:43 +0000 (11:01 +0200)] 
[5675] Added note to the HA users guide.

7 years ago[master] ChangeLog updated.
Tomek Mrugalski [Mon, 23 Jul 2018 14:07:03 +0000 (16:07 +0200)] 
[master] ChangeLog updated.

7 years ago[github88] Wrapped too long lines.
Tomek Mrugalski [Mon, 23 Jul 2018 14:04:55 +0000 (16:04 +0200)] 
[github88] Wrapped too long lines.

7 years ago[github88] Removed remaining instances of getLeases6(DUID)
Tomek Mrugalski [Mon, 23 Jul 2018 14:04:30 +0000 (16:04 +0200)] 
[github88] Removed remaining instances of getLeases6(DUID)

7 years ago[github88] CQL/SQL scripts corrected (unit-tests in src/bin/admin now pass)
Tomek Mrugalski [Mon, 23 Jul 2018 14:03:40 +0000 (16:03 +0200)] 
[github88] CQL/SQL scripts corrected (unit-tests in src/bin/admin now pass)

7 years ago[5675] Added a "the" to admin guide
Thomas Markwalder [Mon, 23 Jul 2018 13:21:40 +0000 (09:21 -0400)] 
[5675] Added a "the" to admin guide

7 years ago[github88] getLeases6(DUID) removed.
Tomek Mrugalski [Mon, 23 Jul 2018 12:36:10 +0000 (14:36 +0200)] 
[github88] getLeases6(DUID) removed.

7 years ago[github88] Schema creation scripts fixed.
Tomek Mrugalski [Mon, 23 Jul 2018 12:35:48 +0000 (14:35 +0200)] 
[github88] Schema creation scripts fixed.

7 years ago[extend_host_struct] Fix review comments
mayya [Mon, 16 Jul 2018 21:55:03 +0000 (23:55 +0200)] 
[extend_host_struct] Fix review comments

7 years agofixed minor issues
mayya [Mon, 16 Jul 2018 21:53:29 +0000 (23:53 +0200)] 
fixed minor issues

7 years agoreview comments 2
mayya [Sun, 15 Jul 2018 13:32:33 +0000 (15:32 +0200)] 
review comments 2

review comments 2

test1

fixed unit tests

fixed cassandra

fixed cassandra2

7 years ago[lib] Address review comments for #83
mayya [Sat, 7 Jul 2018 07:39:09 +0000 (09:39 +0200)] 
[lib] Address review comments for #83
 See  #88 for review comments

modified upgrade files

modified tests

7 years ago[lib] Extend host structure to support auth keys for reconfiguration.
mayya [Sun, 10 Jun 2018 16:45:34 +0000 (18:45 +0200)] 
[lib] Extend host structure to support auth keys for reconfiguration.
 See issue #83

7 years ago[5675] Resolve the problem of no logging paused state in waiting state.
Marcin Siodelski [Thu, 19 Jul 2018 13:23:51 +0000 (15:23 +0200)] 
[5675] Resolve the problem of no logging paused state in waiting state.