VirtualBox

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)

diff.tftp (572 bytes ) - added by Martin Forssen 16 years ago.
Patch which fixes the problem
VBox.log (36.5 KB ) - added by Martin Forssen 16 years ago.
VBox.log

Download all attachments as: .zip

Change History (4)

by Martin Forssen, 16 years ago

Attachment: diff.tftp added

Patch which fixes the problem

by Martin Forssen, 16 years ago

Attachment: VBox.log added

VBox.log

comment:1 by Frank Mehnert, 15 years ago

Component: othernetwork/NAT

comment:2 by Klaus Espenlaub, 15 years ago

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette