See this project for explanation.
This server listens on the standard TFTP 69/udp port and waits for GET requests with filenames matching the regex v1_tftp_udp_\d+.
Details:
v1- protocol version_tftp_udp_- literal string\d+- local socket port number or0
Request and response lengths are approximately equal in bytes, limiting the server’s usefulness in UDP amplification attacks.
It's recommended to run this daemon from systemd with limited priviliges using socket activation.
- install proper binary from
build/*/tftpudpdinto/usr/local/bin/tftpudpd - copy
tftpudpd.serviceandtftpudpd.socketfromexamples/systemd/directory into/etc/systemd/system - enable & start both
tftpudpd.serviceandtftpudpd.socketwithsystemctlcommand