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
Built Distributions
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3aaf282a1b45a6e2728a554e654182aee2dfeb5b2a5a8e08273418cf55c2ba0e |
|
MD5 | 82c273d1a2cad45cd32e62632a7c31fe |
|
BLAKE2b-256 | 56b9c884dba675df1a61b4be81a2cccb1029aca0e8d441862acc49b72c293d44 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c858688c5e68418813964fbd583c56f48f04bc435f94c121e09517e2e07e81f |
|
MD5 | b163d83477456fdb385a9b1f2a0a1faf |
|
BLAKE2b-256 | 9d1811f22d0e7f783cebcc0456ae0952dec9f1eeab141e2006f31f9d9c98adde |
File details
Details for the file dyntftpd-0.4.0-py2-none-any.whl
.
File metadata
- Download URL: dyntftpd-0.4.0-py2-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bda06a61591fd2c2417b32c94a91eb1fdd3c65941ef765eea9d9313165603b7 |
|
MD5 | cd9d6e9ea814098857dab20c6478b781 |
|
BLAKE2b-256 | da20724cf9e68d45fb942df6df17c9c63ccf133e52d393cec9f9fba90faa5c55 |