]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Wed, 15 Nov 2023 13:59:39 +0000 (08:59 -0500)]
[#3084] Minor update to ARM
modified: hooks-ping-check.rst
Thomas Markwalder [Tue, 14 Nov 2023 20:21:43 +0000 (15:21 -0500)]
[#3084] Added initial ARM documentation
modified: hooks-ping-check.rst
Thomas Markwalder [Tue, 14 Nov 2023 18:32:12 +0000 (13:32 -0500)]
[#3084] Fixed missing log argument
modified: dhcp4_srv.cc
Thomas Markwalder [Mon, 13 Nov 2023 14:58:48 +0000 (09:58 -0500)]
[#3084] Remove unneeded response reset
src/bin/dhcp4/dhcp4_srv.cc
Thomas Markwalder [Fri, 10 Nov 2023 18:35:29 +0000 (13:35 -0500)]
[#3084] Clean up
Thomas Markwalder [Fri, 10 Nov 2023 18:02:32 +0000 (13:02 -0500)]
[#3084] Fix arguments going out of scope
Arguments passed to sendResponseNoThrow() via std::bind
can go out of scope before the invocation occurs.
Changed to pass-by-value.
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::sendResponseNoThrow() - changed arguments to
pass by value instead of reference.
Thomas Markwalder [Thu, 9 Nov 2023 19:58:33 +0000 (14:58 -0500)]
[#3084] Use callout argument instead of status
src/bin/dhcp4/dhcp4_messages.mes
DHCP4_HOOK_LEASE4_OFFER_ARGUMENT_MISSING - new message
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processDhcp4Query() - look for offer-address-in-use
argument in lease4_offer unpark lambda
Thomas Markwalder [Thu, 2 Nov 2023 14:03:43 +0000 (14:03 +0000)]
[#3084] Fixed log placeholder error
modified:
dhcp4_messages.cc
dhcp4_messages.mes
dhcp4_srv.cc
Thomas Markwalder [Fri, 27 Oct 2023 19:53:43 +0000 (15:53 -0400)]
[#3084] Minor clean ups
src/bin/dhcp4/dhcp4_srv.cc
Thomas Markwalder [Fri, 27 Oct 2023 15:24:34 +0000 (11:24 -0400)]
[#3084] Server declines leases after ping-check
kea-dhcp4 declines leases in the lease store
Needs additional UTs
src/bin/dhcp4/dhcp4_messages.mes
New messages:
DHCP4_SERVER_INITIATED_DECLINE_FAILED
DHCP4_SERVER_INITIATED_DECLINE
src/bin/dhcp4/dhcp4_srv.*
Dhcpv4Srv::serverDecline()
Dhcpv4Srv::serverDeclineNoThrow() - new functions to render a lease declined
after ping-check in-use outcome
Dhcpv4Srv::processDhcp4Query() - modified unpark lambda to invoke
serverDecline() following lease-offer completion if status is DROP
Razvan Becheriu [Sat, 18 Nov 2023 16:43:36 +0000 (18:43 +0200)]
[#3142] fixed deadlock
Andrei Pavel [Wed, 15 Nov 2023 18:26:02 +0000 (20:26 +0200)]
[#2442] code-block without argument not allowed
Plus a few typo fixes.
Andrei Pavel [Mon, 13 Nov 2023 14:16:44 +0000 (16:16 +0200)]
[#2442] address review comments
Andrei Pavel [Mon, 13 Nov 2023 07:16:28 +0000 (09:16 +0200)]
[#2442] enable nitpicky in sphinx
To warn about all broken references. Also fixes the few broken
references found.
Andrei Pavel [Mon, 13 Nov 2023 07:15:12 +0000 (09:15 +0200)]
[#2442] add the old RADIUS doc back
Andrei Pavel [Fri, 10 Nov 2023 10:46:49 +0000 (12:46 +0200)]
[#2442] address review comments
Andrei Pavel [Thu, 9 Nov 2023 12:23:32 +0000 (14:23 +0200)]
[#2442] add ChangeLog entry
Andrei Pavel [Thu, 9 Nov 2023 12:17:03 +0000 (14:17 +0200)]
[#2442] docs: diff between old and new RADIUS libs
Andrei Pavel [Thu, 9 Nov 2023 11:34:15 +0000 (13:34 +0200)]
[#2442] add RADIUS server example to ARM
Andrei Pavel [Thu, 9 Nov 2023 10:09:07 +0000 (12:09 +0200)]
[#2442] RADIUS UML
Andrei Pavel [Wed, 8 Nov 2023 15:21:29 +0000 (17:21 +0200)]
[#2442] move RADIUS documentation to integrations
Andrei Pavel [Tue, 7 Nov 2023 11:44:34 +0000 (13:44 +0200)]
[#2442] update RADIUS documentation
Razvan Becheriu [Wed, 15 Nov 2023 15:29:51 +0000 (17:29 +0200)]
[#1599] addressed comments
Razvan Becheriu [Wed, 8 Nov 2023 07:30:12 +0000 (09:30 +0200)]
[#1599] optimizations
Razvan Becheriu [Mon, 6 Nov 2023 11:44:09 +0000 (13:44 +0200)]
[#1599] addressed comments
Razvan Becheriu [Tue, 5 Apr 2022 12:26:38 +0000 (15:26 +0300)]
[#1599] updated unittests
Razvan Becheriu [Wed, 25 Aug 2021 06:36:24 +0000 (09:36 +0300)]
[#1599] added pause with wait for threads to stop
Razvan Becheriu [Fri, 11 Dec 2020 10:52:03 +0000 (12:52 +0200)]
[#1599] implemented pause and resume
Razvan Becheriu [Thu, 10 Dec 2020 22:21:28 +0000 (00:21 +0200)]
[#1599] optimizations
Razvan Becheriu [Thu, 10 Dec 2020 21:19:28 +0000 (23:19 +0200)]
[#1599] fixed register/unregister thread in ThreadPoolQueue
Razvan Becheriu [Thu, 10 Dec 2020 20:52:58 +0000 (22:52 +0200)]
[#1599] fixed race on wait and disable in ThreadPoolQueue
Razvan Becheriu [Wed, 8 Nov 2023 09:31:07 +0000 (11:31 +0200)]
[#3142] fixed race between start stop and wait
Andrei Pavel [Mon, 13 Nov 2023 10:04:34 +0000 (12:04 +0200)]
[#3147] trivial hammer fix: don't move files
Don't move files to themselves.
Solves error: mv: 'kea-pkg/isc-kea-2.5.4-r20231113065823.apk' and
'kea-pkg/isc-kea-2.5.4-r20231113065823.apk' are the same file
Andrei Pavel [Mon, 13 Nov 2023 09:49:32 +0000 (11:49 +0200)]
[#2969] add tex-gyre back to hammer for debian
tex-gyre is needed for generating PDF with sphinx.
Razvan Becheriu [Thu, 9 Nov 2023 17:51:30 +0000 (19:51 +0200)]
[#3138] fix typo in ARM doc for ddns-qualifying-suffix
Andrei Pavel [Mon, 6 Nov 2023 15:34:07 +0000 (17:34 +0200)]
[#2969] fix postgresql dependencies on rhel
Andrei Pavel [Fri, 3 Nov 2023 13:03:29 +0000 (15:03 +0200)]
[#2969] regenerate key to avoid SSL errors in DB
Prevents this error that happens on Debian 10:
- SSL error: Unable to get private key from '/etc/mysql/ssl/kea-server.key'
Andrei Pavel [Fri, 3 Nov 2023 12:40:02 +0000 (14:40 +0200)]
[#2969] fix a logging issue in hammer.py
Not all the lines of output were captured when running execute()
with capture=True.
Andrei Pavel [Mon, 6 Nov 2023 10:59:08 +0000 (12:59 +0200)]
[#2969] fix prepare-system in hammer.py
- fixes this error:
```
$ ./hammer.py prepare-system -p local -s fedora -r 36 -w all
File "hammer.py", line 3031, in _check_system_revision
msg = msg % (revision, "', '".join(revs))
TypeError: sequence item 0: expected str instance, tuple found
```
- also marks CentOS, FreeBSD 12, and Alpine 3.15 as unsupported
Andrei Pavel [Mon, 30 Oct 2023 14:46:47 +0000 (16:46 +0200)]
[#2969] hammer.py: log error on systemctl restart
Andrei Pavel [Fri, 3 Nov 2023 14:51:33 +0000 (16:51 +0200)]
[#2969] remove sphinx-tabs from hammer.py
- use package managers to install sphinx where possible
- simplify the logic in some areas
Andrei Pavel [Fri, 3 Nov 2023 11:10:34 +0000 (13:10 +0200)]
[#2969] replace sphinx tabs with list-table
Andrei Pavel [Wed, 25 Oct 2023 11:15:05 +0000 (14:15 +0300)]
[#2969] update install section in ARM about docs
Andrei Pavel [Wed, 18 Oct 2023 11:47:11 +0000 (14:47 +0300)]
[#2969] add sphinx-tabs to fedora, freebsd, alpine
Andrei Pavel [Tue, 17 Oct 2023 12:43:11 +0000 (15:43 +0300)]
[#2969] add two missing branch labels to an UML
- slightly unrelated, but still on the topic of documentation
Andrei Pavel [Wed, 11 Oct 2023 08:41:24 +0000 (11:41 +0300)]
[#2969] add docker quick start guide
Andrei Pavel [Tue, 10 Oct 2023 15:51:23 +0000 (18:51 +0300)]
[#2969] update supported-systems list in hammer.py
Andrei Pavel [Tue, 10 Oct 2023 15:23:10 +0000 (18:23 +0300)]
[#2969] revised the quickstart page
- added link to the cloudsmith tarball page
- added |cloudsmith_repo| substitution
- added sphinx-tabs extension
- changed yum to dnf because with the deprecation of CentOS 7, all
remaining supported rpm distributions have dnf by default.
- changed `/path/to/your/kea6/config/file.json` to the configuration
file installed by default `/etc/kea/kea-dhcp6.conf` for easier startup
- regenerated doc/sphinx/src/requirements.txt mainly to include
sphinx-tabs
- added sphinx-tabs to hammer.py
Andrei Pavel [Tue, 10 Oct 2023 15:01:53 +0000 (18:01 +0300)]
[#2969] fix space in the release version
This caused code blocks in the ARM to have spaces in filenames that in
reality aren't there.
wwencel [Thu, 26 Oct 2023 10:52:44 +0000 (12:52 +0200)]
[#3132] version bumped up to 2.5.4
wwencel [Mon, 23 Oct 2023 14:00:14 +0000 (16:00 +0200)]
[#3122] fixed typo, updated platforms.rst
Andrei Pavel [Mon, 23 Oct 2023 13:50:24 +0000 (16:50 +0300)]
[#3122] put EXTRA_DIST outside of HAVE_GTEST if-block
This prevented mock_socketsession.h from appearing in the tarball.
Continuation of #3032.
Wlodek Wencel [Mon, 23 Oct 2023 12:56:40 +0000 (14:56 +0200)]
[#3122] 2.5.3 release changes
Razvan Becheriu [Mon, 23 Oct 2023 11:00:52 +0000 (14:00 +0300)]
[#3118] bump up library versions for 2.5.3 release
Tomek Mrugalski [Mon, 16 Oct 2023 10:10:37 +0000 (12:10 +0200)]
[#3080] ChangeLog added
Tomek Mrugalski [Mon, 16 Oct 2023 10:09:24 +0000 (12:09 +0200)]
[#3080] SECURITY.md added
- This is the general format expected by Github
Piotrek Zadroga [Tue, 17 Oct 2023 13:43:17 +0000 (15:43 +0200)]
[#3095] update example for v4 option 21
Razvan Becheriu [Fri, 20 Oct 2023 11:50:29 +0000 (14:50 +0300)]
[#3111] added ChangeLog entry
Razvan Becheriu [Tue, 17 Oct 2023 09:33:58 +0000 (12:33 +0300)]
[#3111] make lfq thread safe
Thomas Markwalder [Fri, 20 Oct 2023 12:50:16 +0000 (08:50 -0400)]
[#3116] Addressed comments
Fixed ChangeLog
Thomas Markwalder [Thu, 19 Oct 2023 15:21:16 +0000 (11:21 -0400)]
[#3116] Fixed ChangeLog
Thomas Markwalder [Thu, 19 Oct 2023 15:02:14 +0000 (11:02 -0400)]
[#3116] Allow D2 to listen on ANY addresses
D2 now allows but warns when configured to listen
on 0.0.0.0 or ::
src/bin/d2/d2_process.cc
D2Process::reconfigureQueueMgr() - emit new warning
src/bin/d2/tests/d2_cfg_mgr_unittests.cc
TEST_F(D2CfgMgrTest, listenOnANYAddresses) - new test
src/lib/d2srv/d2_config.cc
D2Params::validateContents() - remove ANY address check
src/lib/d2srv/d2_messages.*
DHCP_DDNS_LISTENING_ON_ALL_INTERFACES - new message
src/lib/d2srv/d2_simple_parser.cc
D2SimpleParser::parse() - remove ANY address check
Added ChangeLog entry
Razvan Becheriu [Thu, 19 Oct 2023 11:23:20 +0000 (14:23 +0300)]
[#3017] fix failed to open socket on reconfig
Razvan Becheriu [Sat, 14 Oct 2023 05:42:17 +0000 (08:42 +0300)]
[#3017] create checkDetectIfaces to do persistent checks
Razvan Becheriu [Fri, 13 Oct 2023 22:56:20 +0000 (01:56 +0300)]
[#3017] added testing framework for using dummy test interfaces
Andrei Pavel [Wed, 11 Oct 2023 18:38:51 +0000 (21:38 +0300)]
[#3017] add ChangeLog entry
Andrei Pavel [Wed, 11 Oct 2023 17:42:09 +0000 (20:42 +0300)]
[#3017] fix interface redetection
There is no unit test added, because that would require interface
changes which need root access.
Razvan Becheriu [Fri, 6 Oct 2023 11:52:47 +0000 (14:52 +0300)]
[#2881] only check for OPT_EMPTY_TYPE
Razvan Becheriu [Thu, 31 Aug 2023 19:39:01 +0000 (22:39 +0300)]
[#2881] do not serialize data in EMPTY options with suboptions
Wlodek Wencel [Thu, 12 Oct 2023 10:02:22 +0000 (12:02 +0200)]
[#3032] log_test_messages.mes moved back to tarball
Razvan Becheriu [Wed, 27 Sep 2023 20:51:34 +0000 (23:51 +0300)]
[#3032] disable yang/pretests and testutils
Wlodek Wencel [Tue, 29 Aug 2023 12:33:10 +0000 (14:33 +0200)]
[#3032] disabled compilation of test libs when --with-gtest is not used
Razvan Becheriu [Fri, 6 Oct 2023 13:16:14 +0000 (16:16 +0300)]
[#2918] added more log messages
Razvan Becheriu [Wed, 4 Oct 2023 11:18:23 +0000 (14:18 +0300)]
[#2918] added message for requested address on DHCPREQUEST
Razvan Becheriu [Wed, 4 Oct 2023 06:45:47 +0000 (09:45 +0300)]
[#2918] added message for requested address on DHCPDISCOVER
Razvan Becheriu [Thu, 5 Oct 2023 15:29:45 +0000 (18:29 +0300)]
[#3046] fixed indentation and typos
Razvan Becheriu [Thu, 5 Oct 2023 16:08:10 +0000 (19:08 +0300)]
[#3086] reverted change and fixed indentation
Razvan Becheriu [Thu, 5 Oct 2023 10:54:38 +0000 (13:54 +0300)]
[#3086] added ChangeLog entry
Razvan Becheriu [Wed, 4 Oct 2023 06:23:15 +0000 (09:23 +0300)]
[#3086] addressed comments
Razvan Becheriu [Fri, 22 Sep 2023 17:49:48 +0000 (20:49 +0300)]
[#3086] add support for \0 in eval parser
Andrei Pavel [Fri, 6 Oct 2023 06:51:36 +0000 (09:51 +0300)]
[#2750] regenerate all SVGs
Mainly, to format them which puts every tag on a single line which makes
diffing much easier going forward, but this also updates how they look.
Andrei Pavel [Fri, 6 Oct 2023 06:50:20 +0000 (09:50 +0300)]
[#2750] fix recognizing-same-client.svg
It wasn't showing text before.
Andrei Pavel [Fri, 6 Oct 2023 06:30:37 +0000 (09:30 +0300)]
[#2750] distribute txts as well
Andrei Pavel [Tue, 3 Oct 2023 17:23:11 +0000 (20:23 +0300)]
[#2750] limit ascii uml only to sequence diagrams
Andrei Pavel [Tue, 3 Oct 2023 14:11:29 +0000 (17:11 +0300)]
[#2750] add disclaimers about atxt files
Andrei Pavel [Tue, 3 Oct 2023 13:40:33 +0000 (16:40 +0300)]
[#2750] change xq to xmllint and check if in path
- also make makefile rules in doc/sphinx/uml silent to make the
potential warning visible
- also remove trailing spaces automatically from *.atxt files
Andrei Pavel [Mon, 25 Sep 2023 13:05:02 +0000 (16:05 +0300)]
[#2750] convert KB diagram into ascii
The atxt are meant to be used in KB.
Andrei Pavel [Mon, 25 Sep 2023 13:05:38 +0000 (16:05 +0300)]
[#2750] expand on class priority in the ARM
* There were two places were priorities were discussed so they were
conflated in a single section.
* The distinction between options on one side and lease lifetimes and
DHCPv4 fields on the other side was made with regards to priority
between classes.
Andrei Pavel [Mon, 25 Sep 2023 13:01:46 +0000 (16:01 +0300)]
[#2750] add makefile rule for ascii umls
* also adds tkey.atxt and update.atxt sequence diagrams in ASCII art,
although not actively used anywhere yet
* also adds a uml rule to make all targets
Andrei Pavel [Wed, 4 Oct 2023 09:13:45 +0000 (12:13 +0300)]
[#3068] reword ChangeLog entry
Andrei Pavel [Wed, 4 Oct 2023 09:13:17 +0000 (12:13 +0300)]
[#3068] wrap some long lines
Andrei Pavel [Wed, 4 Oct 2023 08:30:47 +0000 (11:30 +0300)]
[#3068] test names start with lowercase
Andrei Pavel [Mon, 2 Oct 2023 15:01:10 +0000 (18:01 +0300)]
[#3068] add ChangeLog entry
Andrei Pavel [Mon, 2 Oct 2023 14:37:25 +0000 (17:37 +0300)]
[#3068] add comment about code obsolescence
Andrei Pavel [Mon, 2 Oct 2023 14:03:09 +0000 (17:03 +0300)]
[#3068] fix prefixesInRange after uint128_t was moved to checked_uint128_t
Andrei Pavel [Mon, 2 Oct 2023 12:07:39 +0000 (15:07 +0300)]
[#3068] add bigint support to the Element deserializer
Andrei Pavel [Mon, 2 Oct 2023 11:36:31 +0000 (14:36 +0300)]
[#3068] add unit tests for checked bigints
Andrei Pavel [Mon, 2 Oct 2023 11:34:35 +0000 (14:34 +0300)]
[#3068] switch bigints to the checked variant
Kea needs to gain knowledge of big integers overflowing and underflowing
in various places in code such as when deserializing integers where it's
important to know if the recipient can hold the value, and if the value
is accurately represented.
Andrei Pavel [Mon, 2 Oct 2023 11:32:26 +0000 (14:32 +0300)]
[#3068] add bigint deserialization unit tests
Andrei Pavel [Mon, 2 Oct 2023 11:33:50 +0000 (14:33 +0300)]
[#3068] fix shadowed member
data.cc: In member function ‘virtual void isc::data::MapElement::toJSON(std::ostream&) const’:
data.cc:919:51: warning: declaration of ‘m’ shadows a member of ‘isc::data::MapElement’ [-Wshadow]
919 | const std::map<std::string, ConstElementPtr>& m = mapValue();
| ^
In file included from data.cc:9:
../../../src/lib/cc/data.h:769:44: note: shadowed declaration is here
769 | std::map<std::string, ConstElementPtr> m;
| ^