Skip to content

brooksbp/go.tftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go.tftp

This is a work-in-progress TFTP implementation in Go.

Installation

go get github.com/brooksbp/go.tftp

Usage

Example server:

cd $GOPATH/src/github.com/brooksbp/go.tftp/cmd/tftp-server
go build

./tftp-server -listen 127.0.0.1:6969 &

# Generate a temporary 128K file.

dd if=/dev/urandom of=tmp.orig bs=1024 count=128

# Use a local TFTP client to put & get the file.

tftp -v 127.0.0.1 6969 -m binary -c put tmp.orig
tftp -v 127.0.0.1 6969 -m binary -c get tmp.orig tmp.recv
diff tmp.recv tmp.orig

fg ; Ctrl-c

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages