Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Fork of the original (unmaintained?) atftp client and server from https://sourceforge.net/p/atftp/ -- it has several bug reports open for years now, some of them crashes, invalid memory accesses, some users even provided patches. This is an attempt to fix most of the issues since we (still) run atftpd in production. Maybe this code dump will hel…

License

srett/atftp

Repository files navigation

This is a fork of what seems to be the latest official atftp code
base on sourceforce (https://sourceforge.net/p/atftp/).

As of now I don't plan on extending atftp but just fix bugs, due
to time constraints. The one exception is the rollover patch
to support large file transfers, taken from a PR to opsi-atftp
(opsi-org/opsi-atftpd#1)

Feel free to open issues for any problems you encounter. Since
I'm not at all familiar with the code base there's some chance
something broke though my patching, although the test.sh from
the test directory still reports that all is well.

The motivation for this repo was that we suddenly encountered
frequent crashes under high load which were easily reproduced
and tracked down to a race condition.
Researching revealed that there seems to be no active maintainer
for atftp, nor did I find any forks that try to address any
of the bugs that have been reported on the original sourceforge
project page.
Regarding the state of atftp we're currently considering moving
away from it. Until we've decided on a replacement, this is the
version that's running in production.

Original unmodified README content follows:

    Jean-Pierre Lefebvre <helix@step.polymtl.ca>
    August 20th, 2000
    -----------------

atftp stands for Advanced Trivial File Transfer Protocol. It is called
"advanced", by contrast to others TFTP servers, for two reasons.
Firstly, it is intended to be fully compliant with all related
RFCs. This include RFC1350, RFC2090, RFC2347, RFC2348 and RFC2349. To
my knowledge, there is no TFTP server currently available in the
public domain that fulfills this requirement. Secondly, atftp is
intended for serving boot files to large clusters. It is
multi-threaded and support multicast (RFC2090 and PXE), allowing
faster boot of hundreds of machine simultaneously.

I started writing the atftp server after trying to boot Debian from
the LAN using pxelinux (distributed with syslinux). Since pxelinux
needs support for the "tsize" option defined in RFC2349, I looked for
different TFTP servers but found none that fulfilled my needs.

With atftp, I have successfully used pxelinux and dhcpd to boot from
the LAN. Unfortunately, new development will slow down since I do it
on my spare time and atftp now does what I need.  However, atftp is
actively maintained. Comments, bug reports and patches are welcome.

Great thanks to my brother Remi who works on the client and server
implementation and the debian packaging.


    Authors
    -------

Jean-Pierre Lefebvre	<helix@step.polymtl.ca>
Remi Lefebvre		<remi@debian.org>


    Contributors
    ------------

Jeff Miller		<jeff.miller@transact.com.au>
Leif Lindholm		<leif.lindholm@i3micro.com>
Jens Schmidt		<Jens.A.Schmidt@dxd.ericsson.se>
Svend Odgaard		<Svend.Odgaard@dxd.ericsson.se>
Joshua Aune		<luken@linuxnetworx.com>
Mario Lorenz		<Mario.Lorenz@km3.de>
Allen Reese		<areese@lnxi.com>
Thayne Harbaugh		<tharbaugh@lnxi.com>
Thomas Anders		<thomas.anders@blue-cable.de>
Michał Rzechonek	<m.rzechonek@kelvatek.com>
Florian Fainelli	<f.fainelli@gmail.com>

About

Fork of the original (unmaintained?) atftp client and server from https://sourceforge.net/p/atftp/ -- it has several bug reports open for years now, some of them crashes, invalid memory accesses, some users even provided patches. This is an attempt to fix most of the issues since we (still) run atftpd in production. Maybe this code dump will hel…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published