]>
git.ipfire.org Git - thirdparty/kea.git/log
Francis Dupont [Fri, 19 Jan 2024 13:44:26 +0000 (14:44 +0100)]
[#2022] Added PARK status handle
Francis Dupont [Wed, 17 Jan 2024 08:47:47 +0000 (09:47 +0100)]
[#2022] Finished RADIUS v6 server code
Francis Dupont [Tue, 16 Jan 2024 13:35:52 +0000 (14:35 +0100)]
[#2022] Reorganized v6 code
Wlodek Wencel [Wed, 31 Jan 2024 11:34:04 +0000 (12:34 +0100)]
[#3240] version in configure.ac changed to 2.5.6-git
Wlodek Wencel [Mon, 29 Jan 2024 12:23:00 +0000 (13:23 +0100)]
[#3237] release changes
Wlodek Wencel [Mon, 29 Jan 2024 12:11:19 +0000 (13:11 +0100)]
[#3237] release changes
Wlodek Wencel [Mon, 29 Jan 2024 09:17:26 +0000 (10:17 +0100)]
[#3237] release changes
Andrei Pavel [Fri, 26 Jan 2024 17:47:27 +0000 (19:47 +0200)]
[#2788] add RAII struct for exhausting options
Andrei Pavel [Fri, 15 Dec 2023 10:36:24 +0000 (12:36 +0200)]
[#2788] reset optarg
optarg is not reset in musl's getopt and it leaks values to other flags.
Reset it for all systems because it cannot hurt. If you remove the
optarg reset, you should see the bug in action on alpine systems in
DstubControllerTest.commandLineArgs when parsing argv2:
```
[ RUN ] DStubControllerTest.commandLineArgs
d_controller_unittests.cc:102: Failure
Expected equality of these values:
std::string(ex.what())
Which is: "unsupported option: -b cfgName"
"unsupported option: -b"
[ FAILED ] DStubControllerTest.commandLineArgs (14 ms)
```
Andrei Pavel [Fri, 15 Dec 2023 10:07:30 +0000 (12:07 +0200)]
[#2788] exhaust options before throwing error
Prior to this change, if parseArgs() was called twice during the same
program lifetime and it stumbled on an unsupported option and throwed an
exception on the first call, the previous set of arguments lived on to
be parsed by the second call. This is a situation that likely arises
only in unit tests, but let us fix it properly to at least silence the unit
test failure on alpine, which was happening because of different
implementation of getopt from musl, and which motivated looking into how
getopt behaves. To make the bug evident even in a non-alpine environment, add an
EXPECT_THROW_MSG in DStubControllerTest.commandLineArgs when parsing argv3, and
see that it outputs "unsupported option: [s]" instead of
"extraneous command line information".
Andrei Pavel [Fri, 15 Dec 2023 08:53:19 +0000 (10:53 +0200)]
[#2788] make all commandLineArgs tests more strict
Razvan Becheriu [Fri, 26 Jan 2024 12:59:07 +0000 (14:59 +0200)]
[#3235] bump up library versions for 2.5.5 release
Razvan Becheriu [Fri, 26 Jan 2024 12:33:14 +0000 (14:33 +0200)]
[#1790] updated list of CB parameters
Razvan Becheriu [Fri, 26 Jan 2024 12:25:58 +0000 (14:25 +0200)]
[#1790] added ChangeLog entry
Razvan Becheriu [Thu, 25 Jan 2024 23:22:46 +0000 (01:22 +0200)]
[#1790] added parameters to ARM
Razvan Becheriu [Thu, 25 Jan 2024 22:16:11 +0000 (00:16 +0200)]
[#1790] addressed review comments
Razvan Becheriu [Thu, 25 Jan 2024 11:35:39 +0000 (13:35 +0200)]
[#1790] added UTs
Razvan Becheriu [Wed, 24 Jan 2024 19:55:20 +0000 (21:55 +0200)]
[#1790] add tool to parse CB parameters
Razvan Becheriu [Wed, 17 Jan 2024 16:52:05 +0000 (18:52 +0200)]
[#1790] add support for top level maps in global CB parameters
Andrei Pavel [Thu, 25 Jan 2024 16:02:29 +0000 (18:02 +0200)]
[#3198] add ChangeLog entry
Andrei Pavel [Fri, 26 Jan 2024 09:25:14 +0000 (11:25 +0200)]
[#3198] add tests for empty yang option data
Andrei Pavel [Fri, 26 Jan 2024 09:24:51 +0000 (11:24 +0200)]
[#3198] add expectEqWithDiff to testutils
Andrei Pavel [Thu, 25 Jan 2024 19:05:27 +0000 (21:05 +0200)]
[#3198] fix reinstall.sh for YANG modules
Andrei Pavel [Thu, 25 Jan 2024 15:20:54 +0000 (17:20 +0200)]
[#3198] change --edit to --import in docs
to avoid ambiguities caused by the merge operation in sysrepocfg --edit
Andrei Pavel [Wed, 10 Jan 2024 09:46:00 +0000 (11:46 +0200)]
[#3198] ignore errors when regenerating hashes
The script complains about hashes missing, but that is only temporary until they
are regenerated. A second call to check-hashes.sh will now properly check them
at the end.
Andrei Pavel [Wed, 10 Jan 2024 09:43:58 +0000 (11:43 +0200)]
[#3198] bump up revisions for YANG modules
Andrei Pavel [Wed, 10 Jan 2024 09:20:26 +0000 (11:20 +0200)]
[#3198] make data a key for option-data in code
- Add ability to set list element that only has keys in Translator::setItem.
- Explicitly set list elements in case they contain only keys which can
be more common now that data is a key since it is likely one can have
entries that only have code, space, and data.
- Handle no data as empty data when setting, and empty data as no data
when getting. This avoids the need to add an empty "data" element to
all options that lack it in all-options.json so that the unit tests
pass. But this goes to show that data-less entries may be encountered
in production as well, so more importantly this caters to that
scenario.
- Adjust data in kea4/all-options.json to not contain singlequotes.
There was only one occurrence of it. This is a limitation related
to unit testing only. Opened issue 3216 about it.
- Add missing tests that are not strictly related to the data key, but
they are related to option data:
- TranslatorOptionDataListTestv6.getEmpty
- TranslatorOptionDataListTestv4.get
- TranslatorOptionDataListTestv6.setEmpty
- TranslatorOptionDataListTestv4.set
- Add unit tests:
- TranslatorOptionDataListTestv4.optionsSameCodeAndSpace
- TranslatorOptionDataListTestv6.optionsSameCodeAndSpace
- Add snippet that tests setting of list element with keys only in
TranslatorTest.setItem.
Andrei Pavel [Wed, 10 Jan 2024 09:17:32 +0000 (11:17 +0200)]
[#3198] add data as key for option-data in YANG modules
Setting mandatory for keys is redundant as mentioned in RFC 7950 section
7.8.2: Any "mandatory" statements in the key leafs are ignored.
So they were removed. This now makes it consistent with how data is
declared in option-data as well.
Andrei Pavel [Tue, 23 Jan 2024 12:57:08 +0000 (14:57 +0200)]
[#3229] hammer.py prepare-system --just-configure
Andrei Pavel [Thu, 18 Jan 2024 12:44:30 +0000 (14:44 +0200)]
[#3123] add documentation for the peer-updates flag in radius
Razvan Becheriu [Fri, 12 Jan 2024 14:31:50 +0000 (16:31 +0200)]
[#3119] use range based for loop or BOOST_FOREACH
Razvan Becheriu [Wed, 20 Dec 2023 19:16:01 +0000 (21:16 +0200)]
[#3119] replace const auto with auto const
Razvan Becheriu [Wed, 20 Dec 2023 19:06:42 +0000 (21:06 +0200)]
[#3119] use auto const& whenever possible
Francis Dupont [Mon, 4 Dec 2023 09:18:55 +0000 (10:18 +0100)]
[#3119] Fixed some coverity reported defects
Piotrek Zadroga [Fri, 20 Oct 2023 12:06:23 +0000 (14:06 +0200)]
[#3119] static cast time_t to uint32
Piotrek Zadroga [Fri, 20 Oct 2023 12:00:23 +0000 (14:00 +0200)]
[#3119] correct auto in for-loops
Francis Dupont [Thu, 14 Dec 2023 14:21:15 +0000 (15:21 +0100)]
[#3149] Rewrote getLeases6ByLink
Francis Dupont [Wed, 17 Jan 2024 09:11:12 +0000 (10:11 +0100)]
[#3149] Addressed comments
Francis Dupont [Fri, 12 Jan 2024 14:35:52 +0000 (15:35 +0100)]
[#3149] Added testGetLeases6SubnetIdPaged
Francis Dupont [Fri, 12 Jan 2024 13:11:37 +0000 (14:11 +0100)]
[#3149] Moved to getLeases6 overload
Francis Dupont [Thu, 14 Dec 2023 14:44:04 +0000 (15:44 +0100)]
[#3149] Simplified getLinks
Francis Dupont [Thu, 14 Dec 2023 14:21:15 +0000 (15:21 +0100)]
[#3149] Rewrote getLeases6ByLink
Francis Dupont [Fri, 12 Jan 2024 23:28:45 +0000 (00:28 +0100)]
[#3149] Fixed mysql admin tests
Francis Dupont [Fri, 12 Jan 2024 23:12:02 +0000 (00:12 +0100)]
[#3149] Removed old version tests
Francis Dupont [Fri, 12 Jan 2024 15:10:49 +0000 (16:10 +0100)]
[#3149] Moved admin tests to last versions
Francis Dupont [Wed, 13 Dec 2023 17:02:24 +0000 (18:02 +0100)]
[#3149] Added a new index
Piotrek Zadroga [Mon, 15 Jan 2024 11:03:39 +0000 (12:03 +0100)]
[#3074] addressed review comments
Piotrek Zadroga [Mon, 15 Jan 2024 10:44:15 +0000 (11:44 +0100)]
[#3074] internal opt type refactor
Piotrek Zadroga [Wed, 10 Jan 2024 16:39:41 +0000 (17:39 +0100)]
[#3074] addressed review comments
Piotrek Zadroga [Wed, 10 Jan 2024 11:44:44 +0000 (12:44 +0100)]
[#3074] code cleaning
Piotrek Zadroga [Wed, 10 Jan 2024 09:26:46 +0000 (10:26 +0100)]
[#3074] subnet_addr vars refactor
Piotrek Zadroga [Wed, 10 Jan 2024 08:53:59 +0000 (09:53 +0100)]
[#3074] improve exceptions messages
Piotrek Zadroga [Tue, 9 Jan 2024 13:18:28 +0000 (14:18 +0100)]
[#3074] io address comment correction
Piotrek Zadroga [Wed, 22 Nov 2023 16:13:23 +0000 (17:13 +0100)]
[#3074] addressed review comments
Piotrek Zadroga [Wed, 22 Nov 2023 15:57:03 +0000 (16:57 +0100)]
[#3074] addressed review comments
Piotrek Zadroga [Wed, 22 Nov 2023 14:46:16 +0000 (15:46 +0100)]
[#3074] ARM update
Piotrek Zadroga [Wed, 22 Nov 2023 14:36:49 +0000 (15:36 +0100)]
[#3074] UTs updated
Piotrek Zadroga [Wed, 22 Nov 2023 10:09:09 +0000 (11:09 +0100)]
[#3074] option example update
Piotrek Zadroga [Wed, 22 Nov 2023 09:18:46 +0000 (10:18 +0100)]
[#3074] comments updated
Piotrek Zadroga [Wed, 22 Nov 2023 09:17:12 +0000 (10:17 +0100)]
[#3074] option def validation
Piotrek Zadroga [Tue, 21 Nov 2023 21:09:26 +0000 (22:09 +0100)]
[#3074] introduce new OPT_CUSTOM_TYPE
Piotrek Zadroga [Wed, 18 Oct 2023 08:16:28 +0000 (10:16 +0200)]
[#3074] add missing std ns
Piotrek Zadroga [Tue, 17 Oct 2023 11:01:59 +0000 (13:01 +0200)]
[#3074] added ChangeLog entry
Also, some other corrections.
Piotrek Zadroga [Tue, 17 Oct 2023 10:48:59 +0000 (12:48 +0200)]
[#3074] add more UTs
Piotrek Zadroga [Mon, 16 Oct 2023 21:18:45 +0000 (23:18 +0200)]
[#3074] code cleaning + docs
Piotrek Zadroga [Thu, 12 Oct 2023 20:09:45 +0000 (22:09 +0200)]
[#3074] unpack reworked
Piotrek Zadroga [Thu, 12 Oct 2023 20:09:35 +0000 (22:09 +0200)]
[#3074] change option type to binary
Piotrek Zadroga [Wed, 11 Oct 2023 11:25:28 +0000 (13:25 +0200)]
[#3074] added some comments
Piotrek Zadroga [Tue, 10 Oct 2023 16:35:09 +0000 (18:35 +0200)]
[#3074] adding UTs for option 121
Piotrek Zadroga [Tue, 10 Oct 2023 13:24:16 +0000 (15:24 +0200)]
[#3074] adding option 121 in ARM
Piotrek Zadroga [Tue, 10 Oct 2023 13:21:07 +0000 (15:21 +0200)]
[#3074] adding example of option 121
Piotrek Zadroga [Tue, 10 Oct 2023 11:46:40 +0000 (13:46 +0200)]
[#3074] new option in factorySpecialFormatOption
Piotrek Zadroga [Tue, 10 Oct 2023 11:36:58 +0000 (13:36 +0200)]
[#3074] WIP new class for v4 option 121
Piotrek Zadroga [Mon, 9 Oct 2023 20:12:12 +0000 (22:12 +0200)]
[#3074] WIP new class for v4 option 121
Piotrek Zadroga [Fri, 6 Oct 2023 12:12:32 +0000 (14:12 +0200)]
[#3074] new class for v4 option 121
Piotrek Zadroga [Wed, 4 Oct 2023 12:37:17 +0000 (14:37 +0200)]
[#3074] initial def of DHCPv4 option 121
Initial definition of DHCPv4 option code 121
Classless Static Route Option - described in RFC 3442
Marcin Siodelski [Fri, 5 Jan 2024 16:25:04 +0000 (17:25 +0100)]
[#3178] Include server-name in status-get
Marcin Siodelski [Fri, 5 Jan 2024 14:49:04 +0000 (15:49 +0100)]
[#3178] Correct grammar in the comments
Marcin Siodelski [Fri, 5 Jan 2024 14:46:08 +0000 (15:46 +0100)]
[#3178] Corrections in the HA messages desc
Marcin Siodelski [Fri, 5 Jan 2024 14:43:34 +0000 (15:43 +0100)]
[#3178] Added missing comments to ha_impl.h
Marcin Siodelski [Fri, 5 Jan 2024 14:38:57 +0000 (15:38 +0100)]
[#3178] Small ARM edits after review
Marcin Siodelski [Wed, 3 Jan 2024 09:10:45 +0000 (10:10 +0100)]
[#3178] Added ChangeLog for #3178
Marcin Siodelski [Wed, 3 Jan 2024 08:39:57 +0000 (09:39 +0100)]
[#3178] Documented hub-and-spoke
Marcin Siodelski [Tue, 2 Jan 2024 12:58:08 +0000 (13:58 +0100)]
[#3178] Log the number of applied leases
Marcin Siodelski [Tue, 2 Jan 2024 10:41:28 +0000 (11:41 +0100)]
[#3178] Handle no subnet selected in HA
Marcin Siodelski [Wed, 20 Dec 2023 11:59:33 +0000 (12:59 +0100)]
[#3178] Partition synchronized leases
Marcin Siodelski [Mon, 18 Dec 2023 12:49:30 +0000 (13:49 +0100)]
[#3178] Added status-get test for H&S
Marcin Siodelski [Thu, 7 Dec 2023 14:33:38 +0000 (15:33 +0100)]
[#3178] Different CS callback names
Different HA services register their critical sections under different
names.
Marcin Siodelski [Tue, 5 Dec 2023 11:56:46 +0000 (12:56 +0100)]
[#3178] Implemented subnetX_select in HA
The subnet4_select and subnet6_select callouts are used when HA config
contains multiple relationships. In this case the logic filtering the
packets must be ran after subnet selection because the selected subnet
contains the info which relationship the packet belongs to.
Wlodzimierz Wencel [Wed, 3 Jan 2024 10:49:14 +0000 (10:49 +0000)]
[#3186] arm packages can be build and uploaded, new systems support added
Razvan Becheriu [Mon, 18 Dec 2023 17:00:32 +0000 (19:00 +0200)]
[#3108] addressed review comments
Razvan Becheriu [Mon, 11 Dec 2023 11:29:10 +0000 (13:29 +0200)]
[#3108] fixed log message
Razvan Becheriu [Thu, 9 Nov 2023 10:46:08 +0000 (12:46 +0200)]
[#3108] added warning message to disable "ip-reservations-unique"
- suggest disabling "ip-reservations-unique" flag if multiple reservations
for the same IP address are found
Razvan Becheriu [Thu, 14 Dec 2023 20:20:10 +0000 (22:20 +0200)]
[#3191] fix botan code after function rename
Andrei Pavel [Thu, 14 Dec 2023 08:58:56 +0000 (10:58 +0200)]
[#3168] add anchors to RADIUS docs
Francis Dupont [Tue, 12 Dec 2023 09:39:50 +0000 (10:39 +0100)]
[#3168] Removed old RADIUS
Razvan Becheriu [Thu, 14 Dec 2023 07:44:43 +0000 (09:44 +0200)]
[#3019] updated documentation and added ChangeLog entry
Razvan Becheriu [Wed, 13 Dec 2023 16:15:49 +0000 (18:15 +0200)]
[#3019] addressed review comments
Razvan Becheriu [Tue, 12 Dec 2023 08:35:52 +0000 (10:35 +0200)]
[#3019] addressed review comments
Razvan Becheriu [Wed, 18 Oct 2023 15:30:33 +0000 (18:30 +0300)]
[#3019] retry db open on startup