adamveld12 / go-tftp

WIP tftp server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

WIP tftp server

License:Apache License 2.0


Languages

Language:Go 89.7%Language:Dockerfile 5.5%Language:Makefile 4.8%