1. 21 Nov, 2015 1 commit
  2. 20 Oct, 2015 1 commit
    • Marcin Siodelski's avatar
      [3977] Name change requests are now generated when lease is reused. · 5de74693
      Marcin Siodelski authored
      This change triggered a lot of code refactoring for generating the
      NameChangeRequests. Long story short is that the functions responsible
      for generating NCRs from the lease information have been moved to
      the libdhcpsrv where they better fit and where they may be used
      by both allocation engine and the servers.
      5de74693
  3. 06 Oct, 2015 1 commit
  4. 25 Sep, 2015 1 commit
  5. 17 Sep, 2015 1 commit
  6. 16 Sep, 2015 2 commits
  7. 15 Sep, 2015 1 commit
  8. 08 Sep, 2015 2 commits
  9. 25 Aug, 2015 1 commit
  10. 24 Aug, 2015 1 commit
    • Thomas Markwalder's avatar
      [2615] v4 clients may now release out-of-range leases · 6bffb344
      Thomas Markwalder authored
          Modified v4 server to not enforce subnet match when clients attempt
          to release an existing, but out-of-range lease.
      
          Added a battery of unit tests to verify proper v4 server behavior
          when clients attempt to renew or release out-of-range addresses.
      
      src/bin/dhcp4/dhcp4_messages.mes
       - deleted DHCP4_RELEAE_FILE_NO SUBNET as it is now obsolete
      
      src/bin/dhcp4/dhcp4_srv.cc
       -  Dhcpv4Srv::processRelease() - removed the check to make sure the
          release pertains to a configured subnet.  This allows clients to
          release leases after configuration changes rendered them out of
          range.
      
      src/bin/dhcp4/tests/Makefile.am
        - added out_of_range_unittest.cc
      
      src/bin/dhcp4/tests/out_of_range_unittest.cc
       - New file containing DHCPv4 tests for server behavior regarding
         renews and releases of "out of range" addresses.
      
      src/bin/dhcp4/tests/release_unittest.cc
       - TEST_F(ReleaseTest, releaseNoSubnet) - modified the test to
         verify that a client CAN release an out-of-range lease
      6bffb344
  11. 20 Aug, 2015 3 commits
  12. 12 Aug, 2015 1 commit
    • Thomas Markwalder's avatar
      [3997] Corrected DHCP4 server crash on exit when DDNS is enabled · 5e855328
      Thomas Markwalder authored
      Rather that stopping it explicitly, the server was relying D2ClientMgr
      to stop itself during its own destruction.  This was falling over during
      process wind-down because the IfaceMgr singletone was being destroyed before
      the D2ClientMgr instance.
      The server destructor now explicitly stops the D2ClientMgr.
      
      src/bin/dhcp4/dhcp4_messages.mes
          added DHCP4_SRV_D2STOP_ERROR log message
      
      src/bin/dhcp4/dhcp4_srv.cc
          Dhcpv4Srv::stopD2() - new method stops the NCR sender, causing it to
          unregister its WathSocket from IfaceMgr
      
          Dhcpv4Srv::~Dhcpv4Srv() - added call to Dhcpv4Srv::stopD2()
      
      src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
          Enabled DNS updates in the CONFIG string.  This ensures the D2
          client will be started during system tests
      5e855328
  13. 08 Jul, 2015 2 commits
  14. 02 Jul, 2015 1 commit
    • Thomas Markwalder's avatar
      [3769] DHPCv4 now uses PID file, made pid test common · 24267d20
      Thomas Markwalder authored
      src/lib/testutils/dhcp_test_lib.sh.in
          - server_pid_file_test() - common test for any server
          to verify PID file management
      
      src/bin/d2/tests/d2_process_tests.sh.in
          remmoved duplicate_server_start_test
          now calls server_pid_file_test
      
      Added PID file creation to DHCP4
          src/bin/dhcp4/dhcp4_messages.mes
          -  added log DHCP4_ALREADY_RUNNING
      
          src/bin/dhcp4/main.cc
          - added logic to create the PID and catch
          exception specific to PID conflict
      
          src/bin/dhcp4/tests/Makefile.am
          - exports KEA_PIDFILE_DIR
      
          src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
          - added call to server_pid_file_test
      
          src/bin/dhcp4/tests/dhcp4_unittests.cc
          - main(int argc, char* argv[])
          sets env var KEA_PIDFILE_DIR
      24267d20
  15. 30 Jun, 2015 2 commits
  16. 23 Jun, 2015 1 commit
  17. 22 Jun, 2015 1 commit
  18. 10 Jun, 2015 1 commit
  19. 09 Jun, 2015 1 commit
  20. 03 Jun, 2015 1 commit
  21. 02 Jun, 2015 1 commit
  22. 15 May, 2015 2 commits
  23. 12 May, 2015 2 commits
  24. 05 May, 2015 1 commit
  25. 04 May, 2015 2 commits
  26. 02 May, 2015 1 commit
  27. 20 Apr, 2015 2 commits
  28. 15 Apr, 2015 1 commit
    • Thomas Markwalder's avatar
      [3743] Add bad_packet logger to dhcp4 server · 086343cf
      Thomas Markwalder authored
      doc/guide/logging.xml - added new logger description
      src/bin/dhcp4/dhcp4_log.cc - added bad_packet logger and log name declarations
      src/bin/dhcp4/dhcp4_log.h - added bad_packet and log name externs
      src/bin/dhcp4/dhcp4_messages.mes - changed drop and NAK message identifiers
      src/bin/dhcp4/dhcp4_srv.cc - changed packet drop and NAK log invocations
      src/bin/dhcp4/main.cc - used extern for log name
      086343cf
  29. 02 Apr, 2015 1 commit
  30. 18 Mar, 2015 1 commit