Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lorenz/minitftpd
A tiny read-only TFTP server
https://github.com/lorenz/minitftpd
Last synced: about 24 hours ago
JSON representation
A tiny read-only TFTP server
- Host: GitHub
- URL: https://github.com/lorenz/minitftpd
- Owner: lorenz
- License: mit
- Created: 2024-02-18T17:50:46.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-18T17:53:50.000Z (11 months ago)
- Last Synced: 2024-05-19T10:00:52.742Z (8 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MiniTFTPd
*A tiny read-only TFTP server*This is a tiny read-only zero-configuration utility TFTP server.
It always serves the contents of the directory it was called in.## Installation
This requires an up-to-date Go toolchain, currently there are no precompiled binaries provided.```sh
go install git.dolansoft.org/lorenz/minitftpd@latest
```Binding to the TFTP server port (69) requires special privileges on Unix-style
systems like Linux and MacOS older than 10.14.On Linux you can chose between running minitftpd as root, granting CAP_NET_BIND_SERVICE
to the binary (`sudo setcap CAP_NET_BIND_SERVICE=+eip /path/to/minitftpd`) or disabling
the privileged ports feature on the whole machine/network namespace
(`sysctl -w net.ipv4.ip_unprivileged_port_start=0`).On older versions of MacOS (before 10.14) one needs to run minitftpd as root, more recent
versions do no longer enforce privileged ports.## Usage
Just start minitftpd in the directory you're trying to serve. That's it.