]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Tue, 22 Oct 2013 10:27:07 +0000 (12:27 +0200)]
[3194] Implemented basic vendor options support.
Kean Johnston [Tue, 22 Oct 2013 10:03:59 +0000 (12:03 +0200)]
[3073] Rremove incorrect checks for empty() that caused test failures
Kean Johnston [Tue, 22 Oct 2013 10:00:12 +0000 (12:00 +0200)]
[3073] Rremove incorrect checks for empty() that caused test failures
Marcin Siodelski [Tue, 22 Oct 2013 09:06:48 +0000 (11:06 +0200)]
[master] Added ChangeLog entry for #3199.
Marcin Siodelski [Tue, 22 Oct 2013 08:56:57 +0000 (10:56 +0200)]
[master] Merge branch 'trac3199'
Marcin Siodelski [Tue, 22 Oct 2013 08:55:36 +0000 (10:55 +0200)]
[3199] Added option 66, 67 to bind10-guide and change the type of option 2.
Thomas Markwalder [Mon, 21 Oct 2013 17:23:47 +0000 (13:23 -0400)]
[3186] Added test_users_err.txt test file for user_check lib
Added unit test data file, overlooked with prior commit. Also
added missiong include to user_file.cc and took extraneous debug
cout.
Marcin Siodelski [Mon, 21 Oct 2013 16:08:47 +0000 (18:08 +0200)]
[3200] Test that NAK lacks requested options.
Marcin Siodelski [Mon, 21 Oct 2013 15:26:20 +0000 (17:26 +0200)]
[3200] Fix the bogus processDiscover and processRequest tests.
Also, clear the output buffer in the Pkt4 and Pkt6 every time when pack()
is called.
Marcin Siodelski [Mon, 21 Oct 2013 12:41:54 +0000 (14:41 +0200)]
[3200] Respond with requested options only if lease has been assigned.
Conflicts:
src/bin/dhcp4/dhcp4_srv.cc
src/lib/dhcp/libdhcp++.cc
Thomas Markwalder [Mon, 21 Oct 2013 12:29:21 +0000 (08:29 -0400)]
[3186] Added doxygen commentary to user check hook lib
Added doxygen throughout, cleaned up unit tests. Removed CLIENT_ID type
as it was unnecessary.
Marcin Siodelski [Fri, 18 Oct 2013 13:47:44 +0000 (15:47 +0200)]
[3200] DHCPv4 PRL option is encapsulated by OptionUint8Array class.
Marcin Siodelski [Fri, 18 Oct 2013 09:21:26 +0000 (11:21 +0200)]
[3199] Added option definition for Boot-File-Name.
Marcin Siodelski [Fri, 18 Oct 2013 09:19:31 +0000 (11:19 +0200)]
[3199] Added definition of the DHCPv4 option 66.
Marcin Siodelski [Fri, 18 Oct 2013 09:18:54 +0000 (11:18 +0200)]
[3199] Fixed option definition of DHCPv4 Time Offset.
Tomek Mrugalski [Thu, 17 Oct 2013 17:13:15 +0000 (19:13 +0200)]
[3191] Unnecessary comment removed.
Tomek Mrugalski [Thu, 17 Oct 2013 17:10:50 +0000 (19:10 +0200)]
[3191] Changes after review:
- new negative unit-test for next-server written
- comments update (capitalized!)
- indents corrected
- no more raw pointers
- ChangeLog added
Thomas Markwalder [Thu, 17 Oct 2013 11:44:33 +0000 (07:44 -0400)]
[3186] Disabled use of isc::log logging in user_chk hook library.
Interrim checkin. Use of isc::logging has been disabled. Initializing
the dictionary (MessageInitializer::loadDictionary) cores on Debian. This
has something to do with the libary being opened and closed without calling
load during Kea configuration parsing and the later reopening the library.
See trac#3198.
Tomek Mrugalski [Wed, 16 Oct 2013 18:47:20 +0000 (20:47 +0200)]
[3195] BIND10 Guide updated.
Tomek Mrugalski [Wed, 16 Oct 2013 17:12:10 +0000 (19:12 +0200)]
[3195] ChangeLog updated.
Tomek Mrugalski [Wed, 16 Oct 2013 15:06:40 +0000 (17:06 +0200)]
[3195] Two unit-tests implemented for unicast sockets
Thomas Markwalder [Wed, 16 Oct 2013 14:54:54 +0000 (10:54 -0400)]
[3186] Adding logging to user_chk hook libraryU
Replaced couts with isc::log mechanisms in user_chk DHCP hook library.
Thomas Markwalder [Wed, 16 Oct 2013 11:27:55 +0000 (07:27 -0400)]
[3186] user_chk hook selects subnet6 based on user_registry
Interrim checkin. Subnet6 selection is working and user check outcome is
being written out to file, "/tmp/user_check_output.txt".
Tomek Mrugalski [Wed, 16 Oct 2013 11:09:52 +0000 (13:09 +0200)]
[3195] Socket selection for outgoing traffic improved
Tomek Mrugalski [Wed, 16 Oct 2013 09:12:52 +0000 (11:12 +0200)]
[3195] Bugfix in activate IPv6 interfaces
- exceptions are now more verbose
Tomek Mrugalski [Wed, 16 Oct 2013 08:55:26 +0000 (10:55 +0200)]
[3195] Failed unicast bind no longer terminates control session.
Tomek Mrugalski [Tue, 15 Oct 2013 16:52:11 +0000 (18:52 +0200)]
[3195] Unicast log message bumped up to INFO.
Tomek Mrugalski [Tue, 15 Oct 2013 16:12:29 +0000 (18:12 +0200)]
[3195] Initial support for unicast added.
Thomas Markwalder [Mon, 14 Oct 2013 22:43:45 +0000 (18:43 -0400)]
[3186] user_chk hook selects subnet4 based on user registry.
Interrim checkin. Subnet4 selection is working.
Thomas Markwalder [Mon, 14 Oct 2013 20:16:20 +0000 (16:16 -0400)]
[3186] Implemented initial callouts for subnet_select
Added initial callout functions and ability to load the user_chk hooks library.
Thomas Markwalder [Mon, 14 Oct 2013 18:02:18 +0000 (14:02 -0400)]
[3186] Fixed a couple of minor errors found on Fedora
Needed an include of stdint.h and to initialize the UserDataSource::open_flag_
in its constructor.
Thomas Markwalder [Mon, 14 Oct 2013 15:52:46 +0000 (11:52 -0400)]
[3186] Added support for loading user data from file
Added UserFile derivation of UserDataSource which allows the UserRegistry
to be populated from a JSON formatted file.
Tomek Mrugalski [Fri, 11 Oct 2013 18:17:32 +0000 (20:17 +0200)]
[3191] User's Guide updated
Tomek Mrugalski [Fri, 11 Oct 2013 18:17:19 +0000 (20:17 +0200)]
[3191] Unit-tests for siaddr configuration
Thomas Markwalder [Fri, 11 Oct 2013 18:10:06 +0000 (14:10 -0400)]
[3186] Initial classes in DHCP user check hook library
Adds new source tree branch, bind10/src/hooks, for maintaining
custom hooks libraries. Adds bare bones implementation of UserRegistry
for use in custom DHCP hooks library.
Tomek Mrugalski [Fri, 11 Oct 2013 18:03:40 +0000 (20:03 +0200)]
[3191] Parser is now able to parse next-server parameter
Tomek Mrugalski [Fri, 11 Oct 2013 18:02:57 +0000 (20:02 +0200)]
[3191] Subnet4 now stores siaddr
Tomek Mrugalski [Fri, 11 Oct 2013 16:01:24 +0000 (18:01 +0200)]
[master] Merge branch 'trac3184' (RAI option echoed back in DHCPv4)
Conflicts:
ChangeLog
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
Tomek Mrugalski [Fri, 11 Oct 2013 15:08:43 +0000 (17:08 +0200)]
[3184] Methods moved to dhcp4_test_utils.cc
Tomek Mrugalski [Fri, 11 Oct 2013 15:07:32 +0000 (17:07 +0200)]
[3184] Changes after review:
- ASSERT added to unit-tests
- packetFromCapture() created
- comments changes
Marcin Siodelski [Fri, 11 Oct 2013 09:50:49 +0000 (11:50 +0200)]
[master] Added ChangeLog entry for #3180.
Marcin Siodelski [Fri, 11 Oct 2013 08:57:27 +0000 (10:57 +0200)]
[master] Merge branch 'trac3180'
Thomas Markwalder [Thu, 10 Oct 2013 20:18:40 +0000 (16:18 -0400)]
[master] Removed duplicate destructor from dhcp6_test_utils.h
dhcp6 unit tests were failing to build due to an extraneous copy of the
destructor ~DhcpSrvTest.
Tomek Mrugalski [Thu, 10 Oct 2013 17:40:56 +0000 (19:40 +0200)]
[3184] Comments updated.
Tomek Mrugalski [Thu, 10 Oct 2013 17:20:13 +0000 (19:20 +0200)]
[3184] ChangeLog updated.
Tomek Mrugalski [Thu, 10 Oct 2013 17:20:02 +0000 (19:20 +0200)]
[3184] DHCPv4 RAI option is now echoed back if present.
Tomek Mrugalski [Thu, 10 Oct 2013 17:17:23 +0000 (19:17 +0200)]
[3184] unit-test for echoing back RAI implemented
Tomek Mrugalski [Thu, 10 Oct 2013 17:01:36 +0000 (19:01 +0200)]
[master] Merge branch 'trac3153' PD support in renew/release
Conflicts:
src/bin/dhcp6/tests/dhcp6_test_utils.h
Tomek Mrugalski [Thu, 10 Oct 2013 16:02:06 +0000 (18:02 +0200)]
[3153] Unrelated change: minor clean-up in DHCPv4 call to hooks
Tomek Mrugalski [Thu, 10 Oct 2013 16:01:41 +0000 (18:01 +0200)]
[3153] Changes after review:
- comments updated
- whitespaces cleaned up
- minor refactoring in DHCPv6 Srv
Marcin Siodelski [Thu, 10 Oct 2013 15:28:00 +0000 (17:28 +0200)]
[3183] Corrected a bug where microsecs timeout was passed as sec timeout.
Marcin Siodelski [Thu, 10 Oct 2013 15:15:49 +0000 (17:15 +0200)]
[3183] Passive wait for the packets to receive.
Marcin Siodelski [Thu, 10 Oct 2013 14:25:36 +0000 (16:25 +0200)]
[3183] Clean Reply packet storage every one second.
Kean Johnston [Thu, 10 Oct 2013 12:59:55 +0000 (14:59 +0200)]
[3073] Add empty() member function to Element for element lists.
It has been asserted that using empty() is more efficient than using
size() > 0 due to the possible extra work size() has to do. So provide
an empty() function, which matches the underlying Boost implementation.
Tomek Mrugalski [Thu, 10 Oct 2013 11:28:42 +0000 (13:28 +0200)]
[3184] First wireshark capture added to DHCPv4 unit-tests
Stephen Morris [Thu, 10 Oct 2013 11:04:07 +0000 (12:04 +0100)]
[3153] Minor changes to message text and comments
Marcin Siodelski [Thu, 10 Oct 2013 10:48:11 +0000 (12:48 +0200)]
[3180] Addressed additional review comments.
Tomek Mrugalski [Wed, 9 Oct 2013 17:10:02 +0000 (19:10 +0200)]
[3184] Dhcpv4SrvTest moved to dhcp4_test_utils.h file.
Mukund Sivaraman [Tue, 8 Oct 2013 10:30:56 +0000 (16:00 +0530)]
[3074] Unsubscribe from earlier CC session first
Mukund Sivaraman [Wed, 9 Oct 2013 06:12:14 +0000 (11:42 +0530)]
[3074] Add logging
Mukund Sivaraman [Wed, 9 Oct 2013 06:06:10 +0000 (11:36 +0530)]
[3074] Add logging
Mukund Sivaraman [Wed, 9 Oct 2013 06:01:59 +0000 (11:31 +0530)]
[3074] Add logging
Marcin Siodelski [Tue, 8 Oct 2013 19:05:48 +0000 (21:05 +0200)]
[3180] Addressed review comments.
Marcin Siodelski [Tue, 8 Oct 2013 12:55:42 +0000 (14:55 +0200)]
[3183] Fix bugs in the doxygen documenation for perfdhcp.
Marcin Siodelski [Tue, 8 Oct 2013 12:46:04 +0000 (14:46 +0200)]
[3183] Record timestamp of the last Renew and one other trivial fix.
Marcin Siodelski [Tue, 8 Oct 2013 12:11:01 +0000 (14:11 +0200)]
[3183] Separate rate control for Renew messages.
Marcin Siodelski [Tue, 8 Oct 2013 10:55:39 +0000 (12:55 +0200)]
[3183] Send Renew messages.
Tomek Mrugalski [Tue, 8 Oct 2013 10:23:54 +0000 (12:23 +0200)]
[3153] PD renew and release unit-tests are now passing.
Marcin Siodelski [Mon, 7 Oct 2013 13:30:52 +0000 (15:30 +0200)]
[3183] Implemented -f command line parameter to control renew rate.
Marcin Siodelski [Mon, 7 Oct 2013 12:54:40 +0000 (14:54 +0200)]
[3183] Created a container class to hold received packets.
Tomek Mrugalski [Mon, 7 Oct 2013 12:34:27 +0000 (14:34 +0200)]
[master] Merge branch 'trac3152': PD support in solicit/request
Conflicts:
ChangeLog
Tomek Mrugalski [Mon, 7 Oct 2013 12:02:24 +0000 (14:02 +0200)]
[3177] Merge branch 'trac3177' b10-dhcp6 relay traffic UDP port fix.
Conflicts:
ChangeLog
Tomek Mrugalski [Mon, 7 Oct 2013 11:44:03 +0000 (13:44 +0200)]
[3177] Pkt6Ptr is now assigned a value during initialization.
Tomek Mrugalski [Mon, 7 Oct 2013 11:12:12 +0000 (13:12 +0200)]
[3152] Changes after review: assignIA_PD cleaned up
Tomek Mrugalski [Mon, 7 Oct 2013 10:26:54 +0000 (12:26 +0200)]
[3177] Changes after review
- removed unnecessary filename reference
- setting Pkt6 fields is now done in a common function
- methods return shared_ptr instead of raw pointer
Marcin Siodelski [Mon, 7 Oct 2013 09:30:53 +0000 (11:30 +0200)]
[3180] Updated Developer Guide with an info about option parsing callbacks.
Kean Johnston [Mon, 7 Oct 2013 09:14:53 +0000 (11:14 +0200)]
[433] Check to make sure msqg isnt already running.
Check to ensure there is no existing daemon running before removing
the socket endpoint. Fail to start if one is. Added a new test to
check this behaviour.
Marcin Siodelski [Mon, 7 Oct 2013 08:56:03 +0000 (10:56 +0200)]
[3180] Fixed doxygen errors in OptionDefinition.
Marcin Siodelski [Mon, 7 Oct 2013 08:47:03 +0000 (10:47 +0200)]
[3180] Test that unpackOptions works properly for Dhcpv4Srv.
Stephen Morris [Sun, 6 Oct 2013 19:57:39 +0000 (20:57 +0100)]
[3152] Minor changes to message/comment text
Also added spaces around some operators.
Marcin Siodelski [Fri, 4 Oct 2013 19:17:07 +0000 (21:17 +0200)]
[3180] Implemented support for callback functions to parse options.
Tomek Mrugalski [Fri, 4 Oct 2013 18:57:29 +0000 (20:57 +0200)]
[3153] Support for PD in Release implemented
Tomek Mrugalski [Fri, 4 Oct 2013 18:43:36 +0000 (20:43 +0200)]
[3153] PD renewal implemented.
Tomek Mrugalski [Fri, 4 Oct 2013 18:32:41 +0000 (20:32 +0200)]
[3153] pdReleaseReject unit-test written.
Tomek Mrugalski [Fri, 4 Oct 2013 18:04:59 +0000 (20:04 +0200)]
[3153] pdReleaseBasic implemented
Tomek Mrugalski [Fri, 4 Oct 2013 17:45:48 +0000 (19:45 +0200)]
[3153] pdRenewReject test implemented.
Tomek Mrugalski [Fri, 4 Oct 2013 12:59:39 +0000 (14:59 +0200)]
[3153] First unit-test for PD renew written
Tomek Mrugalski [Thu, 3 Oct 2013 16:35:06 +0000 (18:35 +0200)]
[master] Merge branch 'trac3171' (DHCPv6-PD support in Allocation Engine)
Conflicts:
ChangeLog
Kean Johnston [Thu, 3 Oct 2013 14:37:21 +0000 (16:37 +0200)]
[681] Ignore SIGPIPE in msgq as child write failures are handled by try.
Tomek Mrugalski [Thu, 3 Oct 2013 14:16:55 +0000 (16:16 +0200)]
[3171] ChangeLog updated.
Tomek Mrugalski [Thu, 3 Oct 2013 14:14:36 +0000 (16:14 +0200)]
[3171] Changes after review:
- non-const getPools() renamed to getPoolsWritable()
- docs update
Marcin Siodelski [Thu, 3 Oct 2013 09:54:24 +0000 (11:54 +0200)]
[3171] Trivial: corrected one typo.
Kean Johnston [Thu, 3 Oct 2013 07:51:50 +0000 (09:51 +0200)]
Small fix to ensure make install works when srcdir != objdir
Kean Johnston [Thu, 3 Oct 2013 07:51:02 +0000 (09:51 +0200)]
Small fix to ensure make install works when srcdir != objdir
Tomek Mrugalski [Wed, 2 Oct 2013 18:31:23 +0000 (20:31 +0200)]
[3171] Changes after review:
- allocateLease6 => allocateLeases6()
- consts added
- consts removed
- comments added, expanded, clarified, capitalized
Tomek Mrugalski [Wed, 2 Oct 2013 11:11:11 +0000 (13:11 +0200)]
[3171] Pool::toText() implemented, exception error in AllocEngine clarified
Tomek Mrugalski [Wed, 2 Oct 2013 09:11:38 +0000 (11:11 +0200)]
[3152] ChangeLog updated
Tomek Mrugalski [Tue, 1 Oct 2013 14:55:47 +0000 (16:55 +0200)]
[3177] Comment update for docsis test with a pointer to #3180 ticket.
Tomek Mrugalski [Tue, 1 Oct 2013 14:49:13 +0000 (16:49 +0200)]
[3177] ChangeLog updated
Tomek Mrugalski [Tue, 1 Oct 2013 14:47:00 +0000 (16:47 +0200)]
[3177] Relayed traffic is now being send to the proper port
- Dhcp6Srv fix
- unit-tests written
- Added DOCSIS3.0 relayed traffic unit-test