1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 10:52:44 +01:00
RIOT/sys
Marian Buschsieweke ab116ec71c
sys/net/nanocoap: Fix sending bogus separate responses
When module `nanocoap_server_separate` is not used, the functions to
send separate responses are still provided, just in a broken version:
They will send the separate replies from a different endpoint than the
request was received at (even on machines with only one IP address, as
also the source port is randomized).

This changes the behavior to only provide the functions for separate
response when the do work, so that others will detect an invalid
configuration at compile time rather than at run time.

The documentation is duly updated.
2024-12-13 08:40:43 +01:00
..
analog_util *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
app_metadata *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
arduino *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
auto_init treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
base64 *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
benchmark *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
bhp *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
bitfield *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
bloom *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
bus *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
can treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
cb_mux *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
checksum *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
chunked_ringbuffer *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
clif *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
coding *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
color *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
congure *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
cpp11-compat *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
cpp_new_delete *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
crypto sys/psa_crypto: chacha20 oneshot gluecode 2024-10-17 10:25:59 +02:00
cxx_ctor_guards *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
debug_irq_disable *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
div *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
ecc *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
eepreg *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
embunit sys/embunit: return failure state in TextUIRunner_end() 2024-04-03 13:22:51 +02:00
entropy_source *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
event Merge pull request #20847 from benpicco/event_assert 2024-10-25 08:11:51 +00:00
evtimer sys/evtimer/evtimer.c: change comment from xtimer to ztimer 2024-11-22 21:14:02 +01:00
fido2 sys/fido2: Small fix to dependencies && cleanup 2024-11-25 11:03:03 +01:00
fmt sys/fmt: add scn_buf_hex() 2024-12-12 14:28:28 +01:00
frac *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
fs *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
fuzzing fuzzing: Add uri_parser fuzzer setup 2022-12-19 13:03:45 +01:00
hashes sys/psa_crypto: added sha3 glue code 2024-07-13 04:35:21 +02:00
include sys/net/nanocoap: Fix sending bogus separate responses 2024-12-13 08:40:43 +01:00
iolist *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
isrpipe sys/isrpipe/read_timeout: don't set up timer if data is available 2024-04-08 16:42:45 +02:00
libc *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
log_color *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
log_printfnoformat *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
luid sys/luid: luid_custom() use fixed width int 2024-10-28 14:51:44 +01:00
malloc_monitor sys: add malloc_monitor, deprecate malloc_tracing 2024-03-26 10:00:24 +01:00
malloc_thread_safe sys: add malloc_monitor, deprecate malloc_tracing 2024-03-26 10:00:24 +01:00
matstat sys/matstat: fix compilation with newlib 2024-10-09 22:23:40 +02:00
memarray *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
mineplex *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
net sys/net/nanocoap: Fix sending bogus separate responses 2024-12-13 08:40:43 +01:00
newlib_syscalls_default sys/*: expose periph/pm.h 2024-04-08 11:20:14 +02:00
od *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
oneway-malloc *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
phydat Merge pull request #20529 from Teufelchen1/deprecate/phydat_str 2024-04-04 11:24:04 +00:00
picolibc_syscalls_default sys/*: expose periph/pm.h 2024-04-08 11:20:14 +02:00
pipe *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
pm_layered *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
posix sys/posix/pthread: Add pthread_attr_getstack and pthread_attr_setstack 2024-10-29 13:29:54 +00:00
preprocessor *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
progress_bar *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
ps core/thread: fix thread_measure_stack_free() 2024-05-31 19:54:10 +02:00
psa_crypto Merge pull request #20720 from netd-tud/chacha20-glue-code-implementation 2024-10-29 16:52:30 +00:00
puf_sram sys/puf_sram: move dependency resolution in its own Makefile.dep 2023-06-15 10:24:54 +02:00
random sys/random: fix SHAxPRNG init_by_array 2024-05-31 23:29:09 +02:00
riotboot sys/slot_aux: add build system integration for AUX slot 2024-02-28 11:49:05 +01:00
rtc_utils *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
rust_riotmodules Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal 2024-03-27 16:39:56 +00:00
rust_riotmodules_standalone rust: bump rust-riot-wrappers 2024-11-22 11:14:34 +01:00
saul_reg *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
sched_round_robin *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
schedstatistics *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
sema *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
sema_inv *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
senml *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
seq *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
shell sys/shell: reduce overhead of XFA shell commands 2024-11-22 11:14:34 +01:00
shell_lock *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
slot_aux sys/slot_aux: add build system integration for AUX slot 2024-02-28 11:49:05 +01:00
ssp *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
stdio Merge pull request #19837 from HendrikVE/stdio_uart_add_flush_rx 2024-11-27 11:27:03 +00:00
stdio_nimble stdio_nimble: port to new interface 2024-02-09 15:24:22 +01:00
stdio_null stdio_null: port to new interface 2024-02-09 15:24:22 +01:00
stdio_rtt stdio_rtt: port to new interface 2024-02-09 15:24:22 +01:00
stdio_semihosting stdio_semihosting: port to new interface 2024-02-09 15:31:21 +01:00
stdio_uart stdio_uart: port to new interface 2024-02-09 15:24:22 +01:00
stdio_udp stdio_udp: port to new interface 2024-02-09 15:24:22 +01:00
suit suit: move CoAP endpoints to the example 2024-11-26 19:49:20 +01:00
test_utils sys/test_utils: hide legacy events behind netdev_legacy_api 2024-11-15 14:09:18 +01:00
timex *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
tiny_strerror *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
trace *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
trickle *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
tsrb *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
universal_address sys: Use size_t print format specifier 2023-12-21 12:02:19 +01:00
uri_parser *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
usb usbus/cdc_ecm: port to netdev_new_api 2024-11-21 19:14:16 +01:00
usb_board_reset *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
ut_process *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
uuid *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
vfs sys/vfs: add vfs_readline() 2024-05-15 11:20:38 +02:00
vfs_util sys/vfs_util: add vfs_file_exists() 2024-05-15 11:20:38 +02:00
xtimer *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
zptr sys: zptr: initial commit 2020-02-11 13:59:59 +01:00
ztimer sys/ztimer: fix re-scheduling of timers 2024-10-18 14:52:11 -04:00
ztimer64 sys/ztimer64: fix build when PRIu64 is not defined 2024-05-24 19:19:40 +02:00
doc.txt sys/doc.txt: add sys_compression doxygen group 2023-02-27 15:09:08 +01:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile sys: Add PSA Crypto Module 2023-08-31 14:38:49 +02:00
Makefile.dep nanocoap_fs: add nanoCoAP as VFS backend 2024-05-29 11:32:22 +02:00
Makefile.include sys/slot_aux: add build system integration for AUX slot 2024-02-28 11:49:05 +01:00