14 releases

0.2.12 Mar 13, 2024
0.2.10 Nov 4, 2023
0.2.6 Jul 17, 2023
0.1.5 Mar 20, 2023

#597 in Command line utilities

Download history 181/week @ 2024-02-23 25/week @ 2024-03-01 83/week @ 2024-03-08 50/week @ 2024-03-15 10/week @ 2024-03-22 17/week @ 2024-03-29 86/week @ 2024-04-05

191 downloads per month

MIT license

75KB
2K SLoC

TFTP Server Daemon

Pure Rust implementation of a Trivial File Transfer Protocol server daemon.

This server implements RFC 1350, The TFTP Protocol (Revision 2). It also supports the following RFC 2347 TFTP Option Extensions:

Security

Since TFTP servers do not offer any type of login or access control mechanisms, this server only allows transfer and receiving inside a chosen folder, and disallows external file access.

Documentation

Documentation for the project can be found in docs.rs.

Usage

To install the server using Cargo:

cargo install tftpd
tftpd --help

To run the server on the IP address 0.0.0.0, read-only, on port 1234 in the /home/user/tftp directory:

tftpd -i 0.0.0.0 -p 1234 -d "/home/user/tftp" -r

License

This project is licensed under the MIT License.

No runtime deps

Features