TFTP is a client/server for TFTP network protocols. The TFTP protocol is a simpler version of classic FTP, primarily used to update firmware on network devices such as routers, commuters or IP phones. It can also start remote computers (PXE).

Support for local IP

The OutgoingTransfer and IncomingTransfer interfaces also provide the RemoteAddr method which returns the peer IP address and port as a net.UDPAddr. The RequestPacketInfo interface provides a LocalIP method with returns the local IP address as a net.IP that the request is being handled on. These can be used for detailed logging in a server handler, among other things.

Note that LocalIP may return nil or an unspecified IP address if finding that is not supported on a particular operating system by the Go net libraries, or if you call it as a TFTP client.

The app is written in Golang and it is released under the MIT license

License

MIT License

Resources & Downloads

GitHub - pedroalbanese/tftp: TFTP server and client library for Golang
TFTP server and client library for Golang. Contribute to pedroalbanese/tftp development by creating an account on GitHub.
TFTP
Download TFTP for free. Command-line Trivial File Transfer Protocol Daemon RFC 1350. Cross-platform Trivial File Transfer Protocol Daemon. As the name implies, TFTP is a client/server for TFTP network protocols.