Opened 16 years ago
Closed 15 years ago
#3532 closed defect (fixed)
TFTP client can not handle big files
Reported by: | Martin Forssen | Owned by: | |
---|---|---|---|
Component: | network/NAT | Version: | VirtualBox 2.1.4 |
Keywords: | Cc: | ||
Guest type: | Solaris | Host type: | Linux |
Description
There is a bug in the built-in tftp client used when doing pxe boots. It fails to download a file if the file is so big that it requires more than 65535 data packets. Files this big (like to OpenSolaris miniroot) will cause the block index to wrap around (since it is only 16 bits), and the code does not handle that, instead it keeps resending acks to block 65535
The fix is simple and I have attached a diff.
Attachments (2)
Change History (4)
by , 16 years ago
comment:1 by , 15 years ago
Component: | other → network/NAT |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This affects only VirtualBox OSE, since it relies on the PXE implementation from Etherboot. Thanks for providing the required information and a patch.
It will not be mentioned in the changelog file, since the binary packages provided on virtualbox.org contain the Intel PXE boot code. Would be rather misleading.
The public svn repository will have the fix quite soon, and whenever we release maintenance versions the OSE tarballs will have it as well.
Patch which fixes the problem