[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 8/9] net: dhcp: actually send out DHCPv4 DISCOVER and REQU
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v2 8/9] net: dhcp: actually send out DHCPv4 DISCOVER and REQUEST messages |
Date: |
Thu, 21 Feb 2019 23:19:59 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Feb 12, 2019 at 05:46:59PM +0000, Andre Przywara wrote:
> From: Andrei Borzenkov <address@hidden>
>
> Even though we were parsing some DHCP options sent by the server, so far
> we are only using the BOOTP 2-way handshake, even when talking to a DHCP
> server.
>
> Change this by actually sending out DHCP DISCOVER packets instead of the
> generic (mostly empty) BOOTP BOOTREQUEST packets.
>
> A pure BOOTP server would ignore the extra DHCP options in the DISCOVER
> packet and would just reply with a BOOTREPLY packet, which we also
> handle in the code.
>
> Signed-off-by: Andre Przywara <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel
- Re: [PATCH v2 2/9] net: dhcp: replace parse_dhcp_vendor() with find_dhcp_option(), (continued)
- [PATCH v2 3/9] net: dhcp: refactor DHCP packet transmission into separate function, Andre Przywara, 2019/02/12
- [PATCH v2 4/9] net: dhcp: make grub_net_process_dhcp take an interface, Andre Przywara, 2019/02/12
- [PATCH v2 5/9] net: dhcp: introduce per-interface timeout, Andre Przywara, 2019/02/12
- [PATCH v2 6/9] net: dhcp: use DHCP options for name and bootfile, Andre Przywara, 2019/02/12
- [PATCH v2 8/9] net: dhcp: actually send out DHCPv4 DISCOVER and REQUEST messages, Andre Przywara, 2019/02/12
- Re: [PATCH v2 8/9] net: dhcp: actually send out DHCPv4 DISCOVER and REQUEST messages,
Daniel Kiper <=
- [PATCH v2 7/9] net: dhcp: allow receiving DHCP OFFER and ACK packets, Andre Przywara, 2019/02/12
- [PATCH v2 9/9] net: dhcp: add explicit net_dhcp command, Andre Przywara, 2019/02/12