/go-tftp

WIP tftp server

Primary LanguageGoApache License 2.0Apache-2.0

go-tftp

GitHub Workflow Status (main) GoReportCard GitHub

An impementation of TFTP, following RFC-1350

Very WIP, written during a cup of coffee to debug a PXE booting setup

  • ✔️ tftp get - this works
  • 🤦 tftp put - this doesn't

Dev

Open main.go and hit F5 in vscode 😎

# build it
make build # docker build -t tftp-server .

# run it
make docker_run # docker run -p 6969:69 -v $PWD/files:/var/tftp-data tftp-server

# test it
make test # tftp 127.0.0.1 6969 -c get hello.txt

License

Apache License 2.0

Copyright 2023 Adam Veldhousen