Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tftpd from tftp-hpa project [1] is more featureful (man tftpd(8) [2]).
Also dnsmasq supports secure read-only TFTP server (man dnsmasq(8) [3]).
Our tftpd implementation requires inetd to run, that is quite a rarity
nowadays, that's why it has been disabled 737d8a9 ("tftpd: stop building
by default") 2 years ago (released in s20200821).
OpenWrt still uses our implementation [4], but it can be replaced with
tftp-hpa (same size as our implementation, also uses inetd).
Projects which require systemd service should use dnsmasq.
[1] https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git
[2] https://manpages.debian.org/unstable/tftpd-hpa/tftpd.8.en.html
[3] https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
[4] https://github.com/openwrt/packages/blob/abb0501e2828db50782591ecb0f11beb0c0b6bb3/net/iputils/Makefile#L42
Link: #363
Suggested-by: Noah Meyerhans noahm@debian.org
Suggested-by: Mike Frysinger vapier@gentoo.org
Acked-by: Mike Gilbert floppym@gentoo.org
Signed-off-by: Petr Vorel pvorel@suse.cz