]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Wyszynski [Thu, 6 Nov 2014 17:51:40 +0000 (09:51 -0800)]
server_hooks.h is required by callout_manager.h
Marcin Wyszynski [Wed, 5 Nov 2014 18:30:28 +0000 (10:30 -0800)]
export CalloutManager for testing statically linked libraries
Tomek Mrugalski [Wed, 29 Oct 2014 14:36:45 +0000 (15:36 +0100)]
[master] ChangeLog update after #3555 merge.
Tomek Mrugalski [Wed, 29 Oct 2014 14:30:27 +0000 (15:30 +0100)]
[master] Unit-test fix after #3555 merge.
Tomek Mrugalski [Wed, 29 Oct 2014 14:00:41 +0000 (15:00 +0100)]
[master] Merge branch 'trac3555' (MAC storage in Lease6, memfile)
Tomek Mrugalski [Wed, 29 Oct 2014 13:59:05 +0000 (14:59 +0100)]
Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Jeremy C. Reed [Wed, 29 Oct 2014 13:44:33 +0000 (06:44 -0700)]
fix some misspellings
Tomek Mrugalski [Wed, 29 Oct 2014 13:41:05 +0000 (14:41 +0100)]
[master] ChangeLog updated after #3549 merge.
Tomek Mrugalski [Wed, 29 Oct 2014 13:39:36 +0000 (14:39 +0100)]
[master] Merge branch 'trac3549' (extract MAC from link-local address)
Tomek Mrugalski [Wed, 29 Oct 2014 13:34:22 +0000 (14:34 +0100)]
[3555] Changes after review:
- better handling of leases without HWAddr
- Implement tests for Lease{4,6}::toText()
Thomas Markwalder [Tue, 28 Oct 2014 20:32:14 +0000 (16:32 -0400)]
[master] Added Changelog entry 851 for #3470.
Thomas Markwalder [Tue, 28 Oct 2014 20:10:54 +0000 (16:10 -0400)]
[master] Merge branch 'trac3470'
Thomas Markwalder [Tue, 28 Oct 2014 20:07:32 +0000 (16:07 -0400)]
[3470] Addressed review comments
Corrected two replacments of getSignalStates() that were overlooked.
Francis Dupont [Tue, 28 Oct 2014 16:25:36 +0000 (17:25 +0100)]
update git hash
Francis Dupont [Tue, 28 Oct 2014 16:24:16 +0000 (17:24 +0100)]
moved gtest sources to ext/gtest [Trac #3162]
Francis Dupont [Tue, 28 Oct 2014 15:56:17 +0000 (16:56 +0100)]
fix trivial bug
Francis Dupont [Tue, 28 Oct 2014 15:55:50 +0000 (16:55 +0100)]
fold too long lines
Tomek Mrugalski [Mon, 27 Oct 2014 19:48:18 +0000 (20:48 +0100)]
[3555] Added @todo for Lease{4,6}::toText() methods.
Tomek Mrugalski [Mon, 27 Oct 2014 19:40:00 +0000 (20:40 +0100)]
[3555] Lease6::matches now checks hwaddr
Tomek Mrugalski [Mon, 27 Oct 2014 18:12:53 +0000 (19:12 +0100)]
[3555] Changes after review:
- Comments updated
- getRawHWAddr renamed to getHWAddrVector and moved to Lease class
- HWAddr object is now copied in copy ctor and = operator
Tomek Mrugalski [Mon, 27 Oct 2014 15:15:13 +0000 (16:15 +0100)]
[master] ChangeLog updated after 3486 merge.
Tomek Mrugalski [Wed, 22 Oct 2014 13:04:32 +0000 (15:04 +0200)]
[3486] DHCPv6 now processed vendor-class option properly.
Francis Dupont [Tue, 21 Oct 2014 22:35:29 +0000 (00:35 +0200)]
update commit hash
Francis Dupont [Tue, 21 Oct 2014 22:34:39 +0000 (00:34 +0200)]
[trac3593] added truncated HMAC support to TSIG
Francis Dupont [Tue, 21 Oct 2014 18:41:45 +0000 (20:41 +0200)]
update commit hash
Francis Dupont [Tue, 21 Oct 2014 18:40:48 +0000 (20:40 +0200)]
[trac3614] removed no longer used --with-shared-memory and dependencies
Tomek Mrugalski [Tue, 21 Oct 2014 17:37:13 +0000 (19:37 +0200)]
[3555] PgSQL update after Lease4->hwaddr_ type changed.
Tomek Mrugalski [Tue, 21 Oct 2014 17:36:53 +0000 (19:36 +0200)]
[3555] MySQL update after Lease4->hwaddr_ type changed.
Tomek Mrugalski [Tue, 21 Oct 2014 12:57:18 +0000 (14:57 +0200)]
[3555] CSVFile::validateHeader() is now virtual
Tomek Mrugalski [Tue, 21 Oct 2014 12:44:47 +0000 (14:44 +0200)]
[3555] Version number check in Memfile.
Tomek Mrugalski [Tue, 21 Oct 2014 12:15:38 +0000 (14:15 +0200)]
[3555] Extra unit-tests implemented, memfile version bumped to 2.0
Tomek Mrugalski [Tue, 21 Oct 2014 12:10:06 +0000 (14:10 +0200)]
[3555] CSVRow.append() implemented.
Francis Dupont [Tue, 21 Oct 2014 10:52:21 +0000 (12:52 +0200)]
update commit hash
Francis Dupont [Tue, 21 Oct 2014 10:51:13 +0000 (12:51 +0200)]
[trac3162] partial fix of subdir-objects spurious warnings on OSX
Thomas Markwalder [Mon, 20 Oct 2014 14:27:45 +0000 (10:27 -0400)]
[trac3470] Replace static containers with shared pointers in SignalSet
Changed the functions, getRegisteredSignals() and getSignalStates()
to instantiate static shared pointers and return these, rather than
raw pointers to statically declared containers.
Added private shared pointer members to SignalSet, registered_signals_
and signal_states_. These are initialized within SignalSet constructors
by calling the functions getRegisteredSignals() and getSignalStates()
respectively. This ensures that both static lists remain inscope until
all SignalSets have been destroyed.
Replaced use of getRegisteredSignals() and getSignalStates() with
new private members, registered_signals_ and signal_states_.
Removed work-around code in src/bin/d2/d_controller.cc put in place
until this ticket was resolved.
Marcin Siodelski [Fri, 17 Oct 2014 16:11:46 +0000 (18:11 +0200)]
[master] Added Changelog entry for #3560.
Tomek Mrugalski [Fri, 17 Oct 2014 16:06:40 +0000 (18:06 +0200)]
[3555] Lease4,Lease6 now uses HWAddr structure.
Marcin Siodelski [Fri, 17 Oct 2014 15:57:30 +0000 (17:57 +0200)]
[master] Merge branch 'trac3560'
Marcin Siodelski [Fri, 17 Oct 2014 13:49:18 +0000 (15:49 +0200)]
[3560] Addressed review comments.
Stephen Morris [Thu, 16 Oct 2014 18:51:39 +0000 (19:51 +0100)]
[3560] Minor changes to header comments
Marcin Siodelski [Wed, 15 Oct 2014 12:34:30 +0000 (14:34 +0200)]
[master] Merge branch 'trac3589'
Marcin Siodelski [Wed, 15 Oct 2014 12:33:49 +0000 (14:33 +0200)]
[3589] Addressed review comments raised in the second review.
Marcin Siodelski [Wed, 15 Oct 2014 11:49:07 +0000 (13:49 +0200)]
[master] Added ChangeLog entry for #3615.
Marcin Siodelski [Wed, 15 Oct 2014 11:21:06 +0000 (13:21 +0200)]
[master] Merge branch 'trac3615'
Marcin Siodelski [Wed, 15 Oct 2014 11:19:42 +0000 (13:19 +0200)]
[3615] Fixed timings in the ioSignals D2 test to prevent races.
Agreed on this change on Jabber.
Tomek Mrugalski [Wed, 15 Oct 2014 10:44:32 +0000 (12:44 +0200)]
[3589] Trailing underscores added to OptionDescriptor members.
Marcin Siodelski [Wed, 15 Oct 2014 09:47:31 +0000 (11:47 +0200)]
[3615] Restore default logging config for the tests which alter it.
Marcin Siodelski [Wed, 15 Oct 2014 09:29:25 +0000 (11:29 +0200)]
[3615] Applied patches attached to tickets #3615 and #3617.
The former replaces the -v with the -d parameter in D2 unit tests. This
enables the D2 tests that were skipped when the -v parameter was in use.
The -v causes D2 to print version number and exits. The other patch is
for printing configuration summary in D2 which we were not aware was failing
because tests used to be skipped with -v parameter.
Marcin Siodelski [Wed, 15 Oct 2014 08:48:42 +0000 (10:48 +0200)]
[master] Added ChangeLog entry for #3367.
Marcin Siodelski [Wed, 15 Oct 2014 08:29:44 +0000 (10:29 +0200)]
[master] Merge branch 'trac3367'
Marcin Siodelski [Tue, 14 Oct 2014 15:01:22 +0000 (17:01 +0200)]
[3589] Added a paragraph about CfgOption class into developer's guide.
This was also suggested in the review.
Marcin Siodelski [Tue, 14 Oct 2014 14:23:53 +0000 (16:23 +0200)]
[3560] Added previously omitted file.
Marcin Siodelski [Tue, 14 Oct 2014 14:23:13 +0000 (16:23 +0200)]
[3589] Addressed review comments.
Tomek Mrugalski [Tue, 14 Oct 2014 12:30:00 +0000 (14:30 +0200)]
Merge branch 'trac3549' of ssh://git.kea.isc.org/git/kea into trac3549
Tomek Mrugalski [Tue, 14 Oct 2014 12:29:31 +0000 (14:29 +0200)]
[3549] Changes after review:
- It's called getMACFromIPv6() now
- Tests for u,g bits added.
- u bit is now flipped properly.
- Unit tests updated to reflect above changes.
Marcin Siodelski [Tue, 14 Oct 2014 10:24:32 +0000 (12:24 +0200)]
[3560] Added todo for Host class.
Marcin Siodelski [Tue, 14 Oct 2014 10:15:55 +0000 (12:15 +0200)]
[3560] Disallow IPv4 and IPv6 multicast addresses for IPv6 reservations.
Marcin Siodelski [Tue, 14 Oct 2014 09:43:41 +0000 (11:43 +0200)]
[3560] Added methods to add classes to the Host object.
Marcin Siodelski [Tue, 14 Oct 2014 08:47:10 +0000 (10:47 +0200)]
[3560] Client classes may now be created from the csv string.
Tomek Mrugalski [Mon, 13 Oct 2014 20:27:46 +0000 (22:27 +0200)]
[3589] Compilation fix.
Marcin Siodelski [Mon, 13 Oct 2014 17:37:38 +0000 (19:37 +0200)]
[3560] Added new accessors and modifiers to the Host class.
Marcin Siodelski [Mon, 13 Oct 2014 16:38:08 +0000 (18:38 +0200)]
[3367] Moved OptionalValue class to the util library.
Marcin Siodelski [Mon, 13 Oct 2014 15:56:59 +0000 (17:56 +0200)]
[3367] Removed excessive call to setCiaddr in DHCPv4 server.
Marcin Siodelski [Mon, 13 Oct 2014 15:27:04 +0000 (17:27 +0200)]
[master] Added ChangeLog entry for #3537.
Marcin Siodelski [Mon, 13 Oct 2014 12:47:40 +0000 (14:47 +0200)]
[master] Merge branch 'trac3537'
Francis Dupont [Sat, 11 Oct 2014 15:24:39 +0000 (17:24 +0200)]
spelling
Francis Dupont [Sat, 11 Oct 2014 15:19:20 +0000 (17:19 +0200)]
spelling
Francis Dupont [Sat, 11 Oct 2014 15:17:58 +0000 (17:17 +0200)]
spelling
Francis Dupont [Sat, 11 Oct 2014 15:09:18 +0000 (17:09 +0200)]
reindent getMACFromSrcLinkLocalAddr() comment
Francis Dupont [Sat, 11 Oct 2014 14:50:08 +0000 (16:50 +0200)]
spelling
Marcin Siodelski [Fri, 10 Oct 2014 18:42:18 +0000 (20:42 +0200)]
[3560] Implemented rest of the functions in the Host class.
Also, added documentation to the Host class.
Marcin Siodelski [Fri, 10 Oct 2014 09:32:22 +0000 (11:32 +0200)]
[3560] Basic implementation of the Host class.
Tomek Mrugalski [Thu, 9 Oct 2014 13:50:39 +0000 (15:50 +0200)]
[3367] Missing doxygen tag added.
Tomek Mrugalski [Thu, 9 Oct 2014 12:43:06 +0000 (14:43 +0200)]
[3549] Pkt::getMAC(HWADDR_SOURCE_IPV6_LINK_LOCAL) implemented.
Marcin Siodelski [Wed, 8 Oct 2014 14:30:44 +0000 (16:30 +0200)]
[3537] Kea logs that the packet contains invalid giaddr/hops combination.
Tomek Mrugalski [Tue, 7 Oct 2014 17:55:10 +0000 (19:55 +0200)]
[3549] getMACFromIPv6LinkLocal implemented (direct version, relay tbd)
Tomek Mrugalski [Wed, 8 Oct 2014 11:45:54 +0000 (13:45 +0200)]
[master] Merge branch 'trac3546' (forgotten compilation fix)
Tomek Mrugalski [Wed, 8 Oct 2014 11:45:43 +0000 (13:45 +0200)]
[3546] Compilation fix
Tomek Mrugalski [Wed, 8 Oct 2014 11:21:51 +0000 (13:21 +0200)]
[master] ChangeLog updated after trac3546
Tomek Mrugalski [Wed, 8 Oct 2014 11:20:36 +0000 (13:20 +0200)]
Merge branch 'trac3546'
Tomek Mrugalski [Wed, 8 Oct 2014 11:18:23 +0000 (13:18 +0200)]
[3546] Renamed MAC_SOURCE_* consts to HWADDR_SOURCE_*
Marcin Siodelski [Wed, 8 Oct 2014 08:14:47 +0000 (10:14 +0200)]
[3546] Trivial: updated copyright date.
Wlodek Wencel [Wed, 8 Oct 2014 07:57:47 +0000 (09:57 +0200)]
[master] typo fixed in dhcpv4 option name with code 38, tcp-keepalive-interval
Tomek Mrugalski [Tue, 7 Oct 2014 14:17:42 +0000 (16:17 +0200)]
[3546] (hopefully) last changes after review:
- clarified that returned offset refers to last successfully parsed option
- unpackOptions6() now returns proper offset if vendor-option is truncated
Marcin Siodelski [Tue, 7 Oct 2014 14:07:48 +0000 (16:07 +0200)]
[3367] Set 0 ciaddr for DHCPOFFER and DHCPNAK.
Marcin Siodelski [Tue, 7 Oct 2014 13:51:23 +0000 (15:51 +0200)]
[3367] Implemented unit test for checking ciaddr.
Tomek Mrugalski [Mon, 6 Oct 2014 18:20:48 +0000 (20:20 +0200)]
[3546] Yet another review changes:
- duplicate warning removed.
- unpackVendorOptions4 now returns proper offset when option is truncated
Tomek Mrugalski [Mon, 6 Oct 2014 17:36:20 +0000 (19:36 +0200)]
[3546] Another changes after review:
- (offset - 4) explained better
- Modified Dhcpv6Srv::unpackOptions()
- setHWAddrMember() mac_addr renamed (this time for real)
- Commented out unused variables
- RelayInfo now uses DEFAULT_ADDRESS6 in ctor
- LibDHCP::unpackOptions6 and callback now used uniformly
- Clarified that ERO is Echo Request Option (RFC4994)
- unpackOptions4 in libdhcp and Dhcp4Srv no longer throw when
truncated option is received.
Marcin Siodelski [Mon, 6 Oct 2014 16:36:34 +0000 (18:36 +0200)]
[3546] Corrected a typo.
Tomek Mrugalski [Mon, 6 Oct 2014 10:43:26 +0000 (12:43 +0200)]
[3546] Pkt6::unpack now handles problems with exceptions, not return false
Tomek Mrugalski [Mon, 6 Oct 2014 09:14:09 +0000 (11:14 +0200)]
[3546] Changes after review:
- Pkt4, Pkt6 classes now have descriptions
- Many descriptions updated in Pkt class
- Pkt::addOption() moved back to Pkt (from Pkt6)
- DEFAULT_ADDRESS{,6} are now in private namespace.
- copyright updated
Tomek Mrugalski [Fri, 3 Oct 2014 18:52:21 +0000 (20:52 +0200)]
[3546] Changes after review
Tomek Mrugalski [Fri, 3 Oct 2014 10:20:28 +0000 (12:20 +0200)]
[3546] MAC_SOURCE_* values are now a bitmask
Tomek Mrugalski [Thu, 2 Oct 2014 13:49:16 +0000 (15:49 +0200)]
[3546] hw_type in HWAddr class is now 16 bits long.
Marcin Siodelski [Wed, 1 Oct 2014 09:38:35 +0000 (11:38 +0200)]
[3589] CfgOptionDef::copy overrides old configuration.
Tomek Mrugalski [Tue, 30 Sep 2014 17:57:46 +0000 (19:57 +0200)]
[3546] Initial version of Pkt::getMAC() method implemented.
Marcin Siodelski [Tue, 30 Sep 2014 17:56:08 +0000 (19:56 +0200)]
[3589] Refactored merge/copy to mergeTo/copyTo in CfgOption.
Marcin Siodelski [Tue, 23 Sep 2014 08:05:51 +0000 (10:05 +0200)]
[3589] Option data configuration parsers store parsed data into cfgmgr.
Marcin Siodelski [Mon, 22 Sep 2014 14:38:14 +0000 (16:38 +0200)]
[3589] Moved subnet-specific option configuration to CfgOption class.
Marcin Siodelski [Mon, 22 Sep 2014 11:14:25 +0000 (13:14 +0200)]
[3589] Add options confiuration object to the SrvConfig object.