Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch atftpd to support bigger file transfer via rollover #1

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

othiman
Copy link

@othiman othiman commented Apr 11, 2017

Hallo,

leider ist die aktuelle Version von atftpd im OPSI auf Dateien, die kleiner sind als 65536 * (MTU -Header) beschränkt (unter 100 MB bei MTU von 1500). Gerade bei initrd Transfers (z.B. miniroot-x64.bz) stößt man recht schnell an die Grenze, wenn das Linux etwas komplexer ist. Außerdem fordert z.B. Grub nur 1024KB Blöcke via tftp an, so dass das Laden des miniroot-x64.bz fehlschlägt, weil es zu groß ist. Daher hier ein Patch, der dieses Problem umgeht.

Viele Grüße
Thomas Schlien

- if file is bigger than 65536 blocks atftpd previously failed
- now block_number starts over at 0 and file is read continuously
srett added a commit to srett/atftp that referenced this pull request Jan 10, 2018
uibmz pushed a commit that referenced this pull request Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant