Skip to main content

A simple TFTP server

Project description

dyntftpd

A simple, extendable Python implementation of a TFTP server.

Features:

  • Easily customizable (override dyntftpd.TFTPServer and dyntftpd.handlers.*)

  • Can act as a HTTP proxy. The TFTP client can request a HTTP url, the TFTP server downloads and returns it.

  • Code is mostly unit tested and easy to read

Limitations:

  • Only handle RRQ requests

  • Don’t drop privileges after creating the listening socket :-(

  • No documentation but pydoc

Changelog

0.4.0 (2015-04-16)

  • In HTTP handler, the cache filename contains client’s source port and human readable datetime, making debugging easier.

  • We no longer create a thread for each request.

  • API break: move load_file and unload_file from TFTP handlers to Session.

  • Use CleverHandler instead of FileSystemHandler by default.

  • Free resources if client disconnect before completing a transfert.

0.3.0 (2015-02-05)

  • Add unload_file callback in TFTPUDPHandler, called when the transfer of a file is over and successful.

  • Remove cache files for successful transfers in HTTPHandler.

0.2.1 (2014-11-06)

  • Create HTTPHandler.

  • Create CleverHandler to dispatch to HTTPHandler or FileSystemHandler depending on the requested file.

0.2.0 (2014-10-13)

  • Use ThreadingMixin to serve multiple requests at the same time.

  • Accept option blksize.

0.1.1 (2014-09-29)

  • Accept, and ignore extra request options.

0.1.0 (2014-09-08)

  • Initial release.

  • Only accept TFTP read requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dyntftpd-0.4.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distributions

dyntftpd-0.4.0-py2.7.egg (29.1 kB view details)

Uploaded Source

dyntftpd-0.4.0-py2-none-any.whl (14.8 kB view details)

Uploaded Python 2

File details

Details for the file dyntftpd-0.4.0.tar.gz.

File metadata

  • Download URL: dyntftpd-0.4.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dyntftpd-0.4.0.tar.gz
Algorithm Hash digest
SHA256 3aaf282a1b45a6e2728a554e654182aee2dfeb5b2a5a8e08273418cf55c2ba0e
MD5 82c273d1a2cad45cd32e62632a7c31fe
BLAKE2b-256 56b9c884dba675df1a61b4be81a2cccb1029aca0e8d441862acc49b72c293d44

See more details on using hashes here.

File details

Details for the file dyntftpd-0.4.0-py2.7.egg.

File metadata

  • Download URL: dyntftpd-0.4.0-py2.7.egg
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dyntftpd-0.4.0-py2.7.egg
Algorithm Hash digest
SHA256 3c858688c5e68418813964fbd583c56f48f04bc435f94c121e09517e2e07e81f
MD5 b163d83477456fdb385a9b1f2a0a1faf
BLAKE2b-256 9d1811f22d0e7f783cebcc0456ae0952dec9f1eeab141e2006f31f9d9c98adde

See more details on using hashes here.

File details

Details for the file dyntftpd-0.4.0-py2-none-any.whl.

File metadata

File hashes

Hashes for dyntftpd-0.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 3bda06a61591fd2c2417b32c94a91eb1fdd3c65941ef765eea9d9313165603b7
MD5 cd9d6e9ea814098857dab20c6478b781
BLAKE2b-256 da20724cf9e68d45fb942df6df17c9c63ccf133e52d393cec9f9fba90faa5c55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page