Marian Buschsieweke
1fa7db2eda
Merge pull request #20855 from benpicco/coap_block_finish-fix
...
nanocoap: always write at least 1 byte in coap_block2_finish()
2024-09-12 15:01:19 +00:00
Fabian Hüßler
02e513e04b
sys/include/net: better documentation of nanocoap_sock_request_cb
2024-09-10 16:44:19 +02:00
Fabian Hüßler
95b46ee2a5
sys/net/application_layer/nanocoap: add nanocoap_sock_get_non
2024-09-10 16:43:44 +02:00
Benjamin Valentin
66fe083d9b
nanocoap: always write at least 1 byte in coap_block2_finish()
...
The CoAP block option gets written twice:
First a 'dummy' value is written by `coap_opt_add_block2()`, later this gets
overwritten by the real option value by coap_block2_finish().
The problem arises when the size of the option changes.
If the option ends up smaller than the dummy, we have garbage bytes after the
real option value, corrupting the packet.
To mitigate this, always write at least one option byte (which will be a 0 byte)
to ensure the dummy data is overwritten.
fixes #20686
2024-09-07 16:11:23 +02:00
benpicco
73e90c5049
Merge pull request #20371 from xnumad/nib-next-hop-addr
...
gnrc_ipv6_nib: Force unspecified next hop addresses
2024-09-02 12:13:28 +00:00
xnumad
8b73628dc8
gnrc_ipv6_nib: refactor
...
Invert condition, add assert
2024-08-31 10:40:17 +02:00
benpicco
022630c043
Merge pull request #20836 from benpicco/sys/gcoap-thread_name
...
gcoap: the name of the gcoap thread should be gcoap
2024-08-27 08:56:50 +00:00
xnumad
606a11b87d
gnrc_ipv6_nib: fix: offl-only: overwrite unspecified address
...
Co-Authored-By: fabian18 <15147337+fabian18@users.noreply.github.com>
2024-08-26 18:26:57 +02:00
benpicco
1626919da7
Merge pull request #20684 from fabian18/pr/fix_gcoap_observe_response_correlation
...
sys/net/application_layer/gcoap: fix Observe notifications correlation
2024-08-26 14:11:59 +00:00
Benjamin Valentin
f95dc978fa
gcoap: the name of the gcoap thread should be gcoap
2024-08-26 15:44:26 +02:00
benpicco
73581fa56e
Merge pull request #20784 from ML-PA-Consulting-GmbH/dl/riot/20240715__nib__static_ll_addr_excludes
...
nib.c: add interface selection rules for static link local address assignment
2024-08-26 09:59:44 +00:00
Daniel Lockau
7240d37fc2
nib.c: allow selection of interfaces for static link local addresses
2024-08-26 08:31:21 +02:00
chrysn
ea40036529
rust: Update all locked versions
...
This pulls in several updates for which there is no urgent need, but
also no good reason *not* to do them (especially as they may contain bug
fixes, even critical ones).
2024-08-22 17:49:39 +02:00
chrysn
2ef929369f
rust: Update locked riot-wrappers and riot-example-modules versions
2024-08-22 17:49:25 +02:00
chrysn
c0288f7d40
rust: Update to riot-wrappers 0.9
2024-08-22 17:33:40 +02:00
Fabian Hüßler
a181c7b543
sys/gcoap: add public function to find a resource by path
2024-08-21 17:49:48 +02:00
Fabian Hüßler
c1535d25ba
nanocoap: constify coap_match_path() API
2024-08-21 17:49:48 +02:00
Fabian Hüßler
08f6ec49c4
gcoap: lock CoAP state mutex in observe API
2024-08-21 17:49:48 +02:00
Fabian Hüßler
a2a7f41a59
gcoap: send Observe notifications from request address
2024-08-21 17:34:18 +02:00
Fabian Hüßler
04d95ab0e8
gcoap: debug for _find_req_memo_by_token()
2024-08-21 17:34:18 +02:00
chrysn
a26366371d
sys/ztimer: Remove the deprecated ztimer_now64
...
This has been scheduled for removal after 2022.10, and its replacement
ztimer64_now has long been available.
2024-08-20 20:52:37 +02:00
Fabian Hüßler
0614db9cd5
sys/net/application_layer/gcoap: fix Observe notifications correlation
2024-07-31 23:01:17 +02:00
Martine Lenders
11ea4a359d
Merge pull request #20801 from Teufelchen1/fix/dhcpv6
...
net/dhcpv6: Improve option handling in dhcpv6 advertise
2024-07-31 07:51:42 +00:00
Bennet Blischke
cc9855b3ae
net/dhcpv6: Improve option handling in dhcpv6 advertise
2024-07-30 19:21:09 +02:00
Teufelchen
1e6164fd68
Merge pull request #20549 from chrysn-pull-requests/gcoap-asan
...
gcoap: Avoid reading beyond defined input buffer
2024-07-30 10:13:41 +00:00
mguetschow
fe3a4e24a1
Merge pull request #20798 from benpicco/gcoap-fix-guards
...
net/gcoap: fix guards around defines
2024-07-30 08:13:06 +00:00
xnumad
3ab7896b18
gnrc_ipv6_nib: Force unspecified next hop addresses
2024-07-29 20:10:13 +02:00
Benjamin Valentin
2aaaf6df9e
net/gcoap: fix guards around defines
2024-07-29 19:04:15 +02:00
benpicco
9781bc0ad3
Merge pull request #20757 from xnumad/offl-lifetimes
...
gnrc/ipv6: Store all SLAAC prefixes
2024-07-29 14:06:22 +00:00
benpicco
41204c8b81
Merge pull request #20450 from benpicco/THREAD_CREATE_STACKTEST-delete
...
core/thread: always use THREAD_CREATE_STACKTEST when DEVELHELP is enabled
2024-07-29 11:52:06 +00:00
Benjamin Valentin
312a550f1a
treewide: remove THREAD_CREATE_STACKTEST from thread creation
2024-07-29 11:45:58 +02:00
xnumad
e25066768b
gnrc/ipv6: Store all SLAAC prefixes
...
Incl. off-link ones, since lifetimes for the autoconfigured addresses are managed by the prefix entry.
2024-07-28 09:53:55 +02:00
benpicco
dd06b3727c
Merge pull request #20786 from mguetschow/rust-wrappers-bump
...
rust: bump rust-riot-{sys,wrappers} version
2024-07-15 14:31:42 +00:00
Mikolai Gütschow
b07eddd66a
rust: bump rust-riot-{sys,wrappers} version
...
both only bump the version number with no functional changes
2024-07-15 14:14:41 +02:00
mguetschow
9ca96967c0
Merge pull request #20698 from netd-tud/sha3_implementation
...
sys/psa_crypto: sha3 support
2024-07-15 10:32:17 +00:00
Martine Lenders
53d853342f
doc: fix links to GNRC master thesis
2024-07-15 11:25:30 +02:00
Wunderbaeumchen
9b502027ab
sys/psa_crypto: added sha3 glue code
2024-07-13 04:35:21 +02:00
mguetschow
3e712a54ca
Merge pull request #20673 from Einhornhool/pr/update-cryptoauth-shell-command
...
sys/shell: Update cryptoauthlib shell commands
2024-07-11 06:54:52 +00:00
Lena Boeckmann
1ce304cee0
sys/shell/cmds/cryptoauthlib: Fix key slot number
2024-07-10 13:53:01 +02:00
benpicco
4ba7c46e4d
Merge pull request #20711 from fabian18/pr/gcoap_aux_local_in_req_send
...
gcoap: propagate local tx aux to gcoap_req_send() and in _handler_req()
2024-07-05 12:07:38 +00:00
xnumad
81a1e997f0
gnrc/ipv6: fix: Overflow in sent packet
2024-07-03 20:15:04 +02:00
xnumad
1e4a85f1e6
gnrc/ipv6: fix: Avoid overflow if prefix already expired
...
Check similarly to `_handle_pfx_timeout`
2024-07-03 20:14:45 +02:00
Marian Buschsieweke
8821f1f301
Merge pull request #20730 from maribu/tree-wide/musl/fixes
...
tree wide: compilation fixes for `native64` on musl systems
2024-06-15 17:12:03 +00:00
mguetschow
b879bbd491
Merge pull request #20745 from LP-HAW/fix-ocb-mode
...
sys/crypto: fix OCB mode
2024-06-14 08:39:00 +00:00
LP-HAW
b51d8e3478
sys/crypto: fix OCB mode
2024-06-11 18:26:14 +02:00
fabian18
d6d9d5f3da
Merge pull request #20329 from fabian18/nib_rtr_fixes
...
nib: some fixes when a router or a prefix is deleted
2024-06-10 08:38:49 +00:00
benpicco
78da4bc1c7
Merge pull request #20725 from fabian18/pr/nanocoap_sock_fix_ctx_release
...
nanocoap/sock: fix state handling for mismatching message ID in `nanocoap_sock_request_cb()`
2024-06-07 16:19:13 +00:00
Marian Buschsieweke
6a3d689238
sys/xtimer: add IWYU pragmas
...
This include what you use (IWYU) pragmas so that clang based linters
(such as clangd) treat the use of `xtimer_...()` functions as a use
of the `xtimer.h` header, even if the implementation of those functions
come from a compatibility wrapper.
2024-06-07 12:05:43 +02:00
Fabian Hüßler
5145b29b55
nanocoap/sock: fix context release
2024-06-06 11:24:41 +02:00
Marian Buschsieweke
be387a25bd
sys/posix: Don't shadow <sys/select.h> on native
...
This fixes compilation issues on musl, where the host POSIX headers
don't mix well with RIOT's POSIX headers.
This adds an conditional `#include_next <sys/select.h>` to RIOT's
`<sys/select.h>` header.
2024-06-05 21:47:56 +02:00