[PATCH v3 00/18] add "windowsize" (RFC 7440) support for tftp

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Tue Aug 16 02:40:49 PDT 2022


Sascha Hauer <sha at pengutronix.de> writes:

>> The tftp "windowsize" greatly improves the performance of tftp
>> transfers.  This patchset adds support for it.
>
> There's a variant of the tftp-hpa package with RFC7440 support here:
> https://github.com/ClausKlein/tftp-hpa.git

thx; seems to work with it.  I had to comment out the setuid() stuff to
run it as an ordinary user but can start it then as

| ./tftpd/tftpd --address [::]:1230 -s /var/lib/tftpboot/ -vvv -l -L  -p


In barebox then

:/ tftp -P 1230 data-100MiB /tmp/a && sha1sum /tmp/a
        [################################################################] 104857600 bytes, 100631094 bytes/s


Enrico



More information about the barebox mailing list