Skip to content

Just a simple tftp server that runs as a windows service.

License

Notifications You must be signed in to change notification settings

chzar/just-a-tftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

just-a-tftp

Just a simple tftp server that runs as a windows service.

I put this server together to replace the default tftp server bundled with Windows Deployment Service. It is suitable for serving PXE boot files on windows or as a general purpose tftp server.

Those looking for a linux solution should use hpa-tftpd.

Based on:
github.com/kardianos/service
github.com/pin/tftp

Usage

Example:

justatftp.exe --dir ./ --ro=false --conns :69

Flags:

--dir Path to directory you want to serve. Recommended to use unix style absolute paths. Default ./
--ro When true, the tftp server runs in read only mode. Default false
--conns Connection string. Examples :69, 0.0.0.0:69, 192.168.1.1:69. Default: :69

Installing the service

justatftp.exe --dir ./ --ro=true --conns :69 install

Uninstalling the service

justatftp.exe --dir ./ --ro=true --conns :69 uninstall

Logging

just-a-tftp logs to the windows event log when run as a service.

A note about PXE booting

juat-a-tftp does not implement variable window sizing like the server bundled in Windows Deployment Services. This means that you will not be able to transfer large WIM or ISO images using justatftpd. You should use either pxelinux or iPXE to transfer large files over HTTP. Most modern NBPs support this feature.

About

Just a simple tftp server that runs as a windows service.

Resources

License

Stars

Watchers

Forks

Packages

No packages published