1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-15 07:24:00 +03:00
systemd/src/libsystemd-dhcp
Tom Gundersen 8fa2eeace7 sd-dhcp: don't reject packets with the 'wrong' source port
The RFC does not specify that the packets from the DHCP server must come from
the DHCP server port, only that that's where they should be sent.

This fixes a problem when running networkd in VirtualBox.

Thanks to Sébastien Luttringer for reporting the bug and very patiently testing
various fixes.
2014-02-23 22:59:43 +01:00
..
dhcp-internal.h sd-dhcp: equally verify udp and raw dhcp messages 2014-02-23 16:16:09 +01:00
dhcp-lease.c sd-dhcp-client: split sd_dhcp_lease from sd_dhcp_client 2014-02-07 15:48:35 +01:00
dhcp-lease.h sd-dhcp-client: split sd_dhcp_lease from sd_dhcp_client 2014-02-07 15:48:35 +01:00
dhcp-network.c sd-dhcp: network - don't hardcode ports 2014-02-15 12:14:45 +01:00
dhcp-option.c libsystemd-dhcp: revert merge into libsystemd 2014-01-21 00:04:53 +01:00
dhcp-packet.c sd-dhcp: don't reject packets with the 'wrong' source port 2014-02-23 22:59:43 +01:00
dhcp-protocol.h sd-dhcp: minimum options size is part of the protocol 2014-02-15 12:14:45 +01:00
Makefile libsystemd-dhcp: revert merge into libsystemd 2014-01-21 00:04:53 +01:00
sd-dhcp-client.c sd-dhcp: use FIONREAD to get correct size of incoming DHCP packet 2014-02-23 17:52:31 +01:00
test-dhcp-client.c test: always use assert_se in tests 2014-02-22 21:24:36 +01:00
test-dhcp-option.c test: always use assert_se in tests 2014-02-22 21:24:36 +01:00