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

Sascha Hauer sha at pengutronix.de
Fri Aug 19 00:10:36 PDT 2022


On Tue, Aug 16, 2022 at 11:40:49AM +0200, Enrico Scholz wrote:
> 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

I didn't manage to run it as non-root. As root it works as expected
though. The speed gain is really impressive.

I saw that atftp already contains a patch for RFC7440 support, so sooner
or later RFC7440 will find its way to the distributions.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list