[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 00/19] UEFI networking support including ipv6 + dhcpv6
From: |
Robbie Harwood |
Subject: |
[PATCH v4 00/19] UEFI networking support including ipv6 + dhcpv6 |
Date: |
Mon, 9 Jan 2023 18:30:26 -0500 |
This series is an omnibus of changes we carry for networking that has
accumulated since at least 2015. While most of it did not receive review when
previously posted, one did, so I'm using that as an excuse to call this v4.
At the start, this includes a proposed revert of
ac8a37dda0eabdd80506bebe4fb9a5a9fd227935 ("net/http: Allow use of non-standard
TCP/IP ports"). In 2016, a different approach to this more in keeping with
the way port numbers are typically specified was posted on-list:
https://lists.gnu.org/archive/html/grub-devel/2016-04/msg00071.html [1]
At least Debian, Red Hat, SUSE, and Ubuntu have carried it since then, which
means that code in the wild expects this syntax, not the other syntax.
(Others may have as well - I didn't do an exhaustive check - but hopefully
that's enough to convey the point.)
At this point, the division of code between patches is mostly organic. I've
folded bugfixes into their original commits and moved a few other things
around, so while this doesn't exactly match the division in the rhboot tree,
it does match the code. At this version, the only code differences are style
adjustments and rebasing around the vlan changes that merged since 2.06.
Be well,
--Robbie
1: For the curious, while the strtoull patch mentioned there was also not
taken, the issue is no longer present.
Aaron Miller (1):
net: read bracketed ipv6 addrs and port numbers
Ian Page Hands (1):
efinet: Add DHCP proxy support
Javier Martinez Canillas (3):
efi/http: Enclose literal IPv6 addresses in square brackets
http: Prepend prefix when the HTTP path is relative
normal/main: Discover the device to read the config from as a fallback
Mark Salter (1):
use fw_path prefix when fallback searching for grub config
Michael Chang (6):
efinet: add structures for PXE messages
grub.texi: Add net_bootp6 doumentation
bootp: Process DHCPACK packet during HTTP Boot
efinet Configure network from UEFI device path
efinet: set DNS server from UEFI protocol
Support UEFI networking protocols
Paulo Flabiano Smorigo (1):
Add fw_path variable to detect config file on efi
Peter Jones (4):
efinet + bootp: add net_bootp6 command supporting dhcpv6
efinet: also use the firmware acceleration for http
efi/http: match protocol+hostname of boot url in root_url
Try mac/guid/etc before grub.cfg on tftp config files
Robbie Harwood (1):
Revert "net/http: Allow use of non-standard TCP/IP ports"
Stephen Benjamin (1):
Prepend prefix when HTTP path is relative
docs/grub.texi | 50 +-
grub-core/Makefile.core.def | 12 +
grub-core/io/bufio.c | 2 +-
grub-core/kern/efi/efi.c | 96 +-
grub-core/kern/ieee1275/init.c | 28 +-
grub-core/kern/main.c | 22 +-
grub-core/net/bootp.c | 965 ++++++++++++++++++-
grub-core/net/drivers/efi/efinet.c | 521 +++++++++-
grub-core/net/efi/dhcp.c | 357 +++++++
grub-core/net/efi/efi_netfs.c | 57 ++
grub-core/net/efi/http.c | 490 ++++++++++
grub-core/net/efi/ip4_config.c | 417 ++++++++
grub-core/net/efi/ip6_config.c | 423 +++++++++
grub-core/net/efi/net.c | 1416 ++++++++++++++++++++++++++++
grub-core/net/efi/pxe.c | 354 +++++++
grub-core/net/http.c | 76 +-
grub-core/net/ip.c | 39 +
grub-core/net/net.c | 235 ++++-
grub-core/net/tftp.c | 10 +-
grub-core/normal/main.c | 149 ++-
include/grub/efi/api.h | 397 +++++++-
include/grub/efi/dhcp.h | 347 +++++++
include/grub/efi/http.h | 215 +++++
include/grub/net.h | 81 ++
include/grub/net/efi.h | 144 +++
util/grub-mknetdir.c | 23 +-
26 files changed, 6736 insertions(+), 190 deletions(-)
create mode 100644 grub-core/net/efi/dhcp.c
create mode 100644 grub-core/net/efi/efi_netfs.c
create mode 100644 grub-core/net/efi/http.c
create mode 100644 grub-core/net/efi/ip4_config.c
create mode 100644 grub-core/net/efi/ip6_config.c
create mode 100644 grub-core/net/efi/net.c
create mode 100644 grub-core/net/efi/pxe.c
create mode 100644 include/grub/efi/dhcp.h
create mode 100644 include/grub/efi/http.h
create mode 100644 include/grub/net/efi.h
--
2.39.0
- [PATCH v4 00/19] UEFI networking support including ipv6 + dhcpv6,
Robbie Harwood <=
- [PATCH v4 01/19] Revert "net/http: Allow use of non-standard TCP/IP ports", Robbie Harwood, 2023/01/09
- [PATCH v4 04/19] efinet: add structures for PXE messages, Robbie Harwood, 2023/01/09
- [PATCH v4 10/19] efinet: also use the firmware acceleration for http, Robbie Harwood, 2023/01/09
- [PATCH v4 02/19] net: read bracketed ipv6 addrs and port numbers, Robbie Harwood, 2023/01/09
- [PATCH v4 11/19] efi/http: match protocol+hostname of boot url in root_url, Robbie Harwood, 2023/01/09
- [PATCH v4 14/19] Try mac/guid/etc before grub.cfg on tftp config files, Robbie Harwood, 2023/01/09
- [PATCH v4 06/19] bootp: Process DHCPACK packet during HTTP Boot, Robbie Harwood, 2023/01/09
- [PATCH v4 12/19] Add fw_path variable to detect config file on efi, Robbie Harwood, 2023/01/09
- [PATCH v4 13/19] use fw_path prefix when fallback searching for grub config, Robbie Harwood, 2023/01/09
- [PATCH v4 08/19] efinet: set DNS server from UEFI protocol, Robbie Harwood, 2023/01/09