1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00
systemd-stable/src/libsystemd-network
Yu Watanabe 37d4bf1cd2 sd-dhcp-server: allow to send header only message
If we receive a header only message, and the server is running in relay
mode, then the assertion was triggered.

Fixes #26151.

(cherry picked from commit b52031dbbc)
(cherry picked from commit 7aeb2a8d4e)
(cherry picked from commit 41fdc8ed32)
2023-02-13 21:10:07 +00:00
..
arp-util.c arp-util: drop redundant line 2021-11-09 09:32:09 +01:00
arp-util.h arp-util: shorten BPF code a bit 2021-10-21 22:39:25 +09:00
dhcp6-internal.h sd-dhcp6-client: expose client_parse_message() 2022-01-18 12:11:49 +01:00
dhcp6-lease-internal.h dhcp6: drop unnecessary space 2021-12-06 19:15:41 +09:00
dhcp6-network.c sd-dhcp6-client: introduce sd_dhcp6_lease_get_timestamp() 2021-10-20 02:36:20 +09:00
dhcp6-option.c Byte order to host before using the lifetime 2021-11-30 03:05:02 +09:00
dhcp6-protocol.h sd-dhcp6-client: add missing parenthesis 2021-10-12 20:48:19 +09:00
dhcp-client-internal.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp-identifier.c netif-util: rename net_get_name_persistent() -> net_get_persistent_name() 2021-11-09 08:24:10 +09:00
dhcp-identifier.h dhcp: do not use ifindex when generating iaid in tests 2021-06-12 03:19:08 +09:00
dhcp-internal.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
dhcp-lease-internal.h sd-dhcp-client: support 6rd option 2021-12-07 20:32:02 +09:00
dhcp-network.c dhcp: shorten BPF code a bit 2021-10-21 22:39:53 +09:00
dhcp-option.c rfc3046 implementation 2021-05-08 15:59:29 +09:00
dhcp-packet.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp-protocol.h dhcp: fix potential buffer overflow 2022-11-04 13:02:20 +01:00
dhcp-server-internal.h network: dhcp-server: introduce Router= setting to specify router address 2021-11-03 03:15:00 +09:00
fuzz-dhcp6-client.c dhcp: do not use ifindex when generating iaid in tests 2021-06-12 03:19:08 +09:00
fuzz-dhcp6-client.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
fuzz-dhcp-server.c sd-dhcp-server: support static lease outside of address pool 2021-08-11 16:43:26 +09:00
fuzz-dhcp-server.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
fuzz-lldp-rx.c sd-lldp-rx: rename sd_lldp -> sd_lldp_rx 2021-09-27 23:55:11 +09:00
fuzz-lldp-rx.options test: also rename {test,fuzz}-lldp.c 2021-09-27 23:55:11 +09:00
fuzz-ndisc-rs.c tree-wide: use UINT64_MAX or friends 2021-03-05 07:10:13 +09:00
fuzz-ndisc-rs.options fuzzers: move several fuzzers 2021-01-19 07:04:19 +09:00
icmp6-util.c icmp6: shorten code a bit 2021-10-21 22:40:03 +09:00
icmp6-util.h tree-wide: use in_addr_is_set() or friends 2021-02-18 03:48:07 +09:00
lldp-neighbor.c sd-lldp: use memcpy_safe() as the buffer size may be zero 2022-05-25 16:33:10 +02:00
lldp-neighbor.h sd-lldp-rx: rename sd_lldp -> sd_lldp_rx 2021-09-27 23:55:11 +09:00
lldp-network.c lldp: shorten code a bit 2021-10-21 22:39:43 +09:00
lldp-network.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
lldp-rx-internal.h libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
meson.build meson: move files' closing brace to separate line 2022-03-05 21:03:32 +00:00
ndisc-internal.h sd-ndisc: drop unused functions 2021-10-29 22:05:27 +09:00
ndisc-router.c sd-ndisc: drop unused function 2022-05-25 16:33:10 +02:00
ndisc-router.h libsystemd-network: make log_dhcp_client() or friends include interface name 2021-03-04 05:51:28 +09:00
network-common.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
network-common.h libsystemd-network: do not warn when log_dhcp_client() or friends with NULL 2021-10-26 08:09:40 +09:00
network-internal.c alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
network-internal.h alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size() 2021-05-19 16:42:37 +02:00
radv-internal.h sd-radv: shorten the default lifetime for prefix/route prefix 2021-10-27 23:58:35 +09:00
sd-dhcp6-client.c sd-dhcp6-client: fix sending prefix delegation request during rebind 2022-02-14 22:00:56 +00:00
sd-dhcp6-lease.c dhcp6: make sd_dhcp6_lease_get_dns() and friends accepts NULL 2021-11-26 20:20:05 +09:00
sd-dhcp-client.c sd-dhcp-client: gracefully handle invalid ether type client ID 2023-01-28 00:50:04 +00:00
sd-dhcp-lease.c libsystemd-network: FTBS in c2x mode 2023-01-28 00:50:04 +00:00
sd-dhcp-server.c sd-dhcp-server: allow to send header only message 2023-02-13 21:10:07 +00:00
sd-ipv4acd.c sd-ipv4acd: actually drop the arp packet from one of the host interface 2022-04-28 19:00:24 +02:00
sd-ipv4ll.c libsystemd-network: make sd_dhcp_client_get_ifname() or friends return negative errno on error 2021-09-29 03:37:09 +09:00
sd-lldp-rx.c libsystemd-network: ignore -ENETDOWN or friends in recv() 2021-12-09 09:10:51 +01:00
sd-lldp-tx.c Fix placement of TTL TLV in LLDP transmit 2022-05-25 16:33:52 +02:00
sd-ndisc.c sd-ndisc: ignore failure in sending solicitation 2022-11-04 13:09:20 +01:00
sd-radv.c sd-radv: do not use goto for non-error-handling cases 2021-12-19 12:23:14 +00:00
test-acd.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-dhcp6-client.c test: add testcase for broken NTP server option 2022-01-18 12:11:58 +01:00
test-dhcp-client.c tree-wide: use C99 __func__ rather than obsolete __FUNCTION__ 2021-10-11 14:10:39 +02:00
test-dhcp-option.c test-dhcp-option: inline iterator variable declarations 2021-12-08 10:13:50 +01:00
test-dhcp-server.c sd-dhcp-server: make sd_dhcp_server_start() no-op if it is already running 2021-06-08 06:33:27 +09:00
test-ipv4ll-manual.c Drop the text argument from assert_not_reached() 2021-08-03 10:05:10 +02:00
test-ipv4ll.c tree-wide: use C99 __func__ rather than obsolete __FUNCTION__ 2021-10-11 14:10:39 +02:00
test-lldp-rx.c sd-lldp-rx: rename sd_lldp -> sd_lldp_rx 2021-09-27 23:55:11 +09:00
test-ndisc-ra.c sd-radv: shorten the default lifetime for prefix/route prefix 2021-10-27 23:58:35 +09:00
test-ndisc-rs.c sd-ndisc: drop unused functions 2021-10-29 22:05:27 +09:00
test-sd-dhcp-lease.c license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00