]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Fri, 25 Oct 2013 18:49:49 +0000 (14:49 -0400)]
[3207] Added support for default users and delimited user id input
Vendor option default values are now taken from default users if the
client is not registered. Registry input file user ids can now contain
colons as delimiters allowing cut-and-paste from outcome file.
Thomas Markwalder [Fri, 25 Oct 2013 14:13:24 +0000 (10:13 -0400)]
[3207] Added support for TFTP_SERVER option to user_chech hook library
User check hook library now supports adding TFTP server option to DHCP
response packet options from values in user registry.
Tomek Mrugalski [Fri, 25 Oct 2013 13:20:45 +0000 (15:20 +0200)]
[master] ChangeLog updated
Tomek Mrugalski [Fri, 25 Oct 2013 13:19:25 +0000 (15:19 +0200)]
[3211] Changes after review:
- ChangeLog clarified
- Comments in option_definition.h corrected
Tomek Mrugalski [Fri, 25 Oct 2013 12:53:56 +0000 (14:53 +0200)]
[3211] Incoming IAPREFIX is now parsed properly.
Thomas Markwalder [Fri, 25 Oct 2013 12:40:13 +0000 (08:40 -0400)]
[3207] Added bootfile option output to user check hook library
Added ability to add the boot file option from the user registry to
the outbound DHCP response to user check hook library.
Tomek Mrugalski [Fri, 25 Oct 2013 11:01:49 +0000 (13:01 +0200)]
[3207] Link fix in user_chk
Tomek Mrugalski [Fri, 25 Oct 2013 10:32:10 +0000 (12:32 +0200)]
[master] ChangeLog update after 3194 merge.
Thomas Markwalder [Fri, 25 Oct 2013 10:31:05 +0000 (06:31 -0400)]
[3207] Replaced selected subnet with lease address in user check output
User check hook library's outcome output is now generated in pkt_send
callout allowing the output of lease address (or prefix) in place
of selected subnet.
Tomek Mrugalski [Fri, 25 Oct 2013 10:22:57 +0000 (12:22 +0200)]
[master] distcheck fix after 3194 merge.
Marcin Siodelski [Fri, 25 Oct 2013 10:06:19 +0000 (12:06 +0200)]
[3183] Typo correction and one todo added.
Marcin Siodelski [Fri, 25 Oct 2013 09:26:46 +0000 (11:26 +0200)]
[3183] Addressed review comments.
Marcin Siodelski [Fri, 25 Oct 2013 07:56:32 +0000 (09:56 +0200)]
[master] Merge branch 'trac3194_1'
Marcin Siodelski [Fri, 25 Oct 2013 07:47:23 +0000 (09:47 +0200)]
[master] Fixed libdhcp++ unit test to use correct buffer length for compare
Okayed on jabber.
Tomek Mrugalski [Thu, 24 Oct 2013 19:50:32 +0000 (21:50 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 24 Oct 2013 19:48:12 +0000 (21:48 +0200)]
Merge branch 'trac3201'
Tomek Mrugalski [Thu, 24 Oct 2013 19:41:17 +0000 (21:41 +0200)]
[3201] Constants moved to dhcp4.h
Tomek Mrugalski [Thu, 24 Oct 2013 19:40:57 +0000 (21:40 +0200)]
[3201] BIND10 Guide updated.
Tomek Mrugalski [Thu, 24 Oct 2013 16:55:47 +0000 (18:55 +0200)]
[3194] Unnecessary s-file removed.
Marcin Siodelski [Thu, 24 Oct 2013 16:44:20 +0000 (18:44 +0200)]
[3194] Cleanup in the OptionVendor class.
Added consts where applicable and extended comments.
Kean Johnston [Thu, 24 Oct 2013 16:26:23 +0000 (18:26 +0200)]
[433] Verify the existing daemon behaves correctly after multiple invocations
As per review, update the tests to ensure that the existing message
queue daemon still works even after we have had a failed attempt to
start a second copy of the daemon.
Marcin Siodelski [Thu, 24 Oct 2013 16:17:29 +0000 (18:17 +0200)]
[3194] Do not duplicate options in responses from the server.
Marcin Siodelski [Thu, 24 Oct 2013 16:10:07 +0000 (18:10 +0200)]
[3194] Append requested vendor options only if the lease is assigned.
Also, fix getting requested option codes from ORO.
Kean Johnston [Thu, 24 Oct 2013 15:49:06 +0000 (17:49 +0200)]
[433] Use a local variable rather than one larger in scope
As per review, don't use self._session for the check to see if there is
an existing message queue running. Rather, use a localally scoped
variable that will get cleaned up when the function exits.
Thomas Markwalder [Thu, 24 Oct 2013 15:32:09 +0000 (11:32 -0400)]
[3207] Added callouts for packet receive and send to user check hooks lib
Initial checkin creates callout functions for packet receive and send
hooks for IPv4 and IPv6. This sets thes stage for outputting user specific
options in outbound packet.
Marcin Siodelski [Thu, 24 Oct 2013 15:29:08 +0000 (17:29 +0200)]
[3194] Merge branch 'master' into trac3194_1
Marcin Siodelski [Thu, 24 Oct 2013 15:21:53 +0000 (17:21 +0200)]
[3194] Minor fixes in libdhcp++ - add consts where applicable.
Tomek Mrugalski [Thu, 24 Oct 2013 12:54:58 +0000 (14:54 +0200)]
[3210] Docs updated.
Thomas Markwalder [Thu, 24 Oct 2013 12:36:42 +0000 (08:36 -0400)]
[master] Fixed make install failure in user_chk unit tests
Yet another make issue introduced with trac3186. Unit test data files
are now looked for in the appropriate directory and copied as part of dist
check.
Tomek Mrugalski [Thu, 24 Oct 2013 12:35:28 +0000 (14:35 +0200)]
[3210] client-id echo in DHCPv4 server is now configurable
Tomek Mrugalski [Thu, 24 Oct 2013 12:26:27 +0000 (14:26 +0200)]
[3210] CfgMgr now can store a flag for echoing v4 client-id
Marcin Siodelski [Thu, 24 Oct 2013 11:36:50 +0000 (13:36 +0200)]
[3201] Test that suboptions are parsed correctly for fixed-size options.
Tomek Mrugalski [Thu, 24 Oct 2013 10:25:17 +0000 (12:25 +0200)]
[3194] Unit-test for vendor option implemented.
Marcin Siodelski [Thu, 24 Oct 2013 08:53:54 +0000 (10:53 +0200)]
[3201] Add support for DHCP options that hold only sub options.
Mukund Sivaraman [Thu, 24 Oct 2013 08:43:15 +0000 (14:13 +0530)]
[master] Add ChangeLog for #3094
Mukund Sivaraman [Thu, 24 Oct 2013 08:41:32 +0000 (14:11 +0530)]
[master] Delete trailing whitespace in ChangeLog
Mukund Sivaraman [Thu, 24 Oct 2013 06:48:49 +0000 (12:18 +0530)]
Merge branch 'trac3074'
Mukund Sivaraman [Thu, 24 Oct 2013 06:48:00 +0000 (12:18 +0530)]
[master] Fix typo
Mukund Sivaraman [Thu, 24 Oct 2013 06:47:48 +0000 (12:17 +0530)]
[master] Delete trailing space
Thomas Markwalder [Wed, 23 Oct 2013 23:22:19 +0000 (19:22 -0400)]
[master] Fixed unit test build issue in user check library
trac3186 added the user_chk hook library which had a couple of
uses of EXPECT_EQ on stl containers. Gtest 1.5 does not like this.
Thomas Markwalder [Wed, 23 Oct 2013 21:10:19 +0000 (17:10 -0400)]
[master] Added ChangeLog entry 697 for trac3186
Thomas Markwalder [Wed, 23 Oct 2013 21:06:46 +0000 (17:06 -0400)]
[master] corrected distcheck issues from trac3186
After merging, distcheck revealed a few minor issues with logging
files and unit test data files. These were corrected.
Tomek Mrugalski [Wed, 23 Oct 2013 19:23:14 +0000 (21:23 +0200)]
[3194] Changes after review:
- config parsers updated
- new unit-tests for vendor options written
- libdhcp++ cleaned up
- fixes in option_vendor.cc
- comments added and cleaned up
Thomas Markwalder [Wed, 23 Oct 2013 18:15:46 +0000 (14:15 -0400)]
[master] Merge branch 'trac3186' DHCP hook library user_chk
Adds the hooks subdirectory to bind10/dir for storing hooks shared
libraries, and the first such library for DHCP, user_chk.
Thomas Markwalder [Wed, 23 Oct 2013 18:08:10 +0000 (14:08 -0400)]
[3186] Addressed review comments.
Mostly minor cosmetics. Added logic to select callouts to
simply return if no subnets are configured.
Tomek Mrugalski [Wed, 23 Oct 2013 14:24:04 +0000 (16:24 +0200)]
[master] Merge branch 'trac3191' (next-server field in DHCPv4)
Conflicts:
ChangeLog
Tomek Mrugalski [Wed, 23 Oct 2013 13:25:57 +0000 (15:25 +0200)]
[3191] Typo fixed.
Tomek Mrugalski [Wed, 23 Oct 2013 10:00:40 +0000 (12:00 +0200)]
[master] Merge branch 'trac3195' (DHCPv6 unicast sockets)
Conflicts:
ChangeLog
Marcin Siodelski [Wed, 23 Oct 2013 07:43:44 +0000 (09:43 +0200)]
[3194] Check if option definition for Vendor option has correct format.
Marcin Siodelski [Wed, 23 Oct 2013 06:03:35 +0000 (08:03 +0200)]
[master] Added Changelog entry for #3200.
Marcin Siodelski [Wed, 23 Oct 2013 05:12:24 +0000 (07:12 +0200)]
[master] Merge branch 'trac3200'
Tomek Mrugalski [Tue, 22 Oct 2013 20:26:51 +0000 (22:26 +0200)]
[2246] Interface detection code for BSD and Solaris
- Contributed by David Carlier
- Clean-up by tomek
Marcin Siodelski [Tue, 22 Oct 2013 19:39:16 +0000 (21:39 +0200)]
[3194] Use OptionDefinition::optionFactory to create DHCPv6 vendor options.
Marcin Siodelski [Tue, 22 Oct 2013 18:32:52 +0000 (20:32 +0200)]
[3194] Use OptionDefinition::optionFactory to parse V4 Vendor option.
Tomek Mrugalski [Tue, 22 Oct 2013 18:18:30 +0000 (20:18 +0200)]
[3195] Changes after review:
- Guide updated
- Iface::addUnicast() now refeses duplicates
- addUnicast and clearUnicasts are now commented
- new unit-tests
- argument for addActiveIface is const reference again
-
Marcin Siodelski [Tue, 22 Oct 2013 16:24:34 +0000 (18:24 +0200)]
[3200] In one more AssertionFailure pass the error message as parameter.
Marcin Siodelski [Tue, 22 Oct 2013 16:20:33 +0000 (18:20 +0200)]
[3200] In two additional AssertionFailures, pass the message as parameter.
Marcin Siodelski [Tue, 22 Oct 2013 15:09:22 +0000 (17:09 +0200)]
[3200] Pass error message as a parameter of AssertionFailure.
Kean Johnston [Tue, 22 Oct 2013 14:17:39 +0000 (16:17 +0200)]
[433] Improve test and make status variable local in scope
Tomek Mrugalski [Tue, 22 Oct 2013 13:16:17 +0000 (15:16 +0200)]
[3191] Changes after review
- default value is no longer 0.0.0.0, so global value is no longer
overwritten with subnet-specific values
- added 2 new unit-tests to check if the value is really set in
server responses
- guide updated to explain that
- fix in Dhcp4ParserTest.nextServerNegative
Marcin Siodelski [Tue, 22 Oct 2013 12:47:24 +0000 (14:47 +0200)]
[3200] Changes after code review.
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