python-tx-tftp icon indicating copy to clipboard operation
python-tx-tftp copied to clipboard

TFTP Proxy

Open robertpenz opened this issue 10 years ago • 0 comments

I'm looking into the possible to extend your code to provide following features for a read only tftp server:

  • If a file is requested and the file can be found on the file system it will be delivered
  • If the file can not be found a request will be send to a configured remote server and its answer/file will be returned

We want to use that for PXE booting of systems. Some files (the biggest normally) are distributed to the various locations and update very seldom and the few and small files that are device specific are retrieved from the central management server.

For me it seems possible to inherit the FilesystemReader and put some tftp client code into it for the request of the remote server if the file was not found. Which leads to following questions:

  • Is this the right place to extend your code?
  • Is the tftp client code implemented in your lib (I could not really find it ...) or do I need to use an other lib for this?
  • do you've any examples how to use access the client part of the code if it exists?

robertpenz avatar Feb 28 '14 10:02 robertpenz