1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00
systemd/src/libsystemd-network
Evgeny Vereshchagin be1eae4fad tests: also fuzz packets sent in the DHCP6_STATE_SOLICITATION state
With aborts enabled the fuzzer can catch issues like
26a63b8132
Let's extend it a bit to let it cover issues like
https://github.com/systemd/systemd/pull/22406#discussion_r798932098
2022-02-05 14:50:12 +09: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-13 20:20:19 +09: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 dhcp-identifier: always use a fixed machine-id while fuzzing 2022-02-02 20:44:27 +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 sd-dhcp-client,sd-dhcp-client-server: set chaddr in dhcp_message_init() 2022-01-24 04:18:20 +09:00
dhcp-lease-internal.h sd-dhcp-lease: store static routes and classless static routes in different arrays 2022-02-02 10:02:44 +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 sd-dhcp-client,sd-dhcp-client-server: set chaddr in dhcp_message_init() 2022-01-24 04:18:20 +09:00
dhcp-protocol.h license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
dhcp-server-internal.h sd-dhcp-server: support packet from non-Ethernet interface 2022-01-24 04:18:20 +09:00
fuzz-dhcp6-client-send.c tests: also fuzz packets sent in the DHCP6_STATE_SOLICITATION state 2022-02-05 14:50:12 +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-client.c tests: fuzz client_handle_offer 2022-01-29 00:59:56 +00:00
fuzz-dhcp-server-relay-message.c tests: fuzz dhcp_server_relay_message 2022-01-27 13:49:36 +09:00
fuzz-dhcp-server.c fuzz-dhcp-server: add static leases 2022-02-01 11:56:22 +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 libsystemd-network: drop _public_ attribute 2021-10-29 22:13:23 +09: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 tests: fuzz client_send_message 2022-02-03 13:43:49 +09:00
ndisc-internal.h sd-ndisc: drop unused functions 2021-10-29 22:05:27 +09:00
ndisc-router.c libsystemd-network: drop _public_ attribute 2021-10-29 22:13:23 +09: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 sd-dhcp-lease: store static routes and classless static routes in different arrays 2022-02-02 10:02:44 +09: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-05 14:11:33 +09: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,sd-dhcp-client-server: set chaddr in dhcp_message_init() 2022-01-24 04:18:20 +09:00
sd-dhcp-lease.c sd-dhcp-lease: store static routes and classless static routes in different arrays 2022-02-02 10:02:44 +09:00
sd-dhcp-server.c sd-dhcp-server: convert null address for e.g. DNS to server address 2022-02-01 16:09:17 +09:00
sd-ipv4acd.c libsystemd-network: ignore -ENETDOWN or friends in recv() 2021-12-09 09:10:51 +01: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 sd-lldp-tx: drop unused and useless function 2021-11-01 08:57:17 +00:00
sd-ndisc.c libsystemd-network: ignore -ENETDOWN or friends in recv() 2021-12-09 09:10:51 +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-13 20:21:40 +09: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 sd-dhcp-client,sd-dhcp-client-server: set chaddr in dhcp_message_init() 2022-01-24 04:18:20 +09:00
test-dhcp-server.c test-dhcp-server: add tests for static lease 2022-02-01 11:56:22 +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