This is a modern re-implementation of tftpd (trivial file transfer protocol) server.
This implementaion of tftpd is fully self contained, stand-alone, statically linked binary, with zero dependencies. Doesn't require inetd
or anything else. It can be run as a Docker container with ease.
./tftpd -root_dir=/some/path
The server must bind to port 69/udp
, which may require elevated privileges.
https://hub.docker.com/r/tenox7/tftpd
Inside docker container root dir is /srv
:
docker run -d --name tftpd -v /some/dir:/srv -p 69:69 tenox7/tftpd:latest
- This code has been writen entirely by Claude
- License: Public Domain