Commit Graph

172 Commits (master)

Author SHA1 Message Date
msoulier 596af4075f Fixed division by zero error in rate calculations in download function of
client. Thanks to Stefaan Vanheesbeke for the report. 


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@81 63283fd4-ec1e-0410-9879-cb7f675518da
2008-05-20 02:12:31 +00:00
msoulier 3b1bae3470 Fix for bug [ 1932330 ] binary downloads fail in Windows.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@80 63283fd4-ec1e-0410-9879-cb7f675518da
2008-05-20 02:00:46 +00:00
msoulier 648564ccfc Updated README.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@78 63283fd4-ec1e-0410-9879-cb7f675518da
2008-01-31 02:27:25 +00:00
msoulier 792df2d6e2 Updated ChangeLog
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@77 63283fd4-ec1e-0410-9879-cb7f675518da
2008-01-31 02:21:52 +00:00
msoulier 941f5bfa7d Updating version to 0.4.4
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@76 63283fd4-ec1e-0410-9879-cb7f675518da
2008-01-31 02:21:21 +00:00
msoulier f8af287f32 Fixing 1851544 - server not tolerant of unsupported options
Thanks to Landon Jurgens for the report.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@75 63283fd4-ec1e-0410-9879-cb7f675518da
2007-12-16 15:48:36 +00:00
msoulier 89a8382cf1 Updated for 0.4.3 release.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@73 63283fd4-ec1e-0410-9879-cb7f675518da
2007-07-17 01:17:24 +00:00
msoulier 2a98d72540 Removed redundant comparison.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@72 63283fd4-ec1e-0410-9879-cb7f675518da
2007-07-16 22:55:50 +00:00
msoulier 955ced3747 Fixing string/integer comparison.
Thanks to Simon P. Ditner, bug #1755146.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@71 63283fd4-ec1e-0410-9879-cb7f675518da
2007-07-16 22:53:08 +00:00
msoulier 493dcac93e Updated for 0.4.2
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@69 63283fd4-ec1e-0410-9879-cb7f675518da
2007-06-05 02:12:41 +00:00
msoulier bb47795b70 Fixed unit test for factory
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@68 63283fd4-ec1e-0410-9879-cb7f675518da
2007-06-05 02:09:44 +00:00
msoulier d9665e19fc Updating docs for epydoc.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@67 63283fd4-ec1e-0410-9879-cb7f675518da
2007-03-31 02:03:36 +00:00
msoulier b68ceca9d8 Updated build process.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@66 63283fd4-ec1e-0410-9879-cb7f675518da
2007-03-31 01:51:42 +00:00
msoulier d8730c7df4 Adding epydoc target.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@65 63283fd4-ec1e-0410-9879-cb7f675518da
2007-03-31 01:40:31 +00:00
msoulier 0b41ffba9c Updated ChangeLog
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@64 63283fd4-ec1e-0410-9879-cb7f675518da
2007-03-15 00:01:37 +00:00
msoulier 8f5595c6f9 Simplifying use of optparse. Thanks to Steven Bethard for the suggestions.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@63 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-23 02:09:38 +00:00
msoulier 5c52975f5f Removed mention of sorceror's apprentice problem.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@62 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-17 03:10:46 +00:00
msoulier c8df0fdd3a Rearranged packaging a bit to fix an importing problem.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@61 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-17 03:04:32 +00:00
msoulier c7d86d36df Supplying a default blksize options in the server.
Fix for 1633625.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@60 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-17 01:40:02 +00:00
msoulier 07906cdbd9 Added a check for rogue packets in the server.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@59 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-10 02:27:12 +00:00
msoulier f53e68bcd5 Making the lib backwards-compatible to Python 2.3.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@58 63283fd4-ec1e-0410-9879-cb7f675518da
2007-02-09 18:48:48 +00:00
msoulier efd248f9c9 Rolling to version 0.4.1.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@56 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 17:09:26 +00:00
msoulier 95b6a72576 Restructuring single lib into a package.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@55 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 06:12:47 +00:00
msoulier a1ad552a96 Restructuring single lib into a package.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@54 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 06:10:02 +00:00
msoulier c43a24ce26 Restructuring single lib into a package.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@53 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 06:08:22 +00:00
msoulier 5e6d8fe13f Restructuring single lib into a package.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@52 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 06:08:05 +00:00
msoulier 6eb1501242 Fixing install location of library.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@51 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-17 05:02:36 +00:00
msoulier 15023eba57 Added server to package.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@49 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-16 04:29:23 +00:00
msoulier ac2faa3926 Updated ChangeLog, and rolled version to 0.4
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@48 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-16 04:26:21 +00:00
msoulier f79a1e9828 Making server exit gracefully.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@47 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-15 23:35:48 +00:00
msoulier 16ebbf2d16 Tweak to EOF handling in server.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@46 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-15 04:08:20 +00:00
msoulier 772370578a First working server tests with two clients.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@45 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-15 04:01:05 +00:00
msoulier 5cfbae3dc7 Added lots in the server to support a download, with timeouts.
Not yet tested with a client, but the damn thing runs.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@44 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-15 03:04:40 +00:00
msoulier d5b7276fb9 Fixed a bug in handling block number rollovers.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@43 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-15 00:44:33 +00:00
msoulier 7441f0a43a Got handling of file not found working in server.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@42 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-14 02:45:18 +00:00
msoulier 3b4d17704e Starting on sample server.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@41 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-14 02:30:09 +00:00
msoulier 94ef067e94 Successful test on basic select loop
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@40 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-14 02:29:46 +00:00
msoulier 6f186f2a33 Added some security checks around the tftproot.
Further fleshed-out the handler. Still not actually starting the transfer.


git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@39 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-11 02:59:19 +00:00
msoulier b5a96ec96e Fleshing out server handler implementation.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@38 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-10 23:23:59 +00:00
msoulier fc2a587641 Started on the server
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@37 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-10 19:12:43 +00:00
msoulier aece5aaf2e Added --debug option to sample client.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@36 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-09 21:42:02 +00:00
msoulier 204cce4fbb Adding license
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@34 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-09 02:15:23 +00:00
msoulier 4fc510bcbf Adding ChangeLog
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@33 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-09 01:54:03 +00:00
msoulier 07e29760b9 Bumped the version.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@32 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-09 01:17:40 +00:00
msoulier 104dfe03cd Changed the port variables to something more intelligent.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@31 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-09 01:11:39 +00:00
msoulier 15c5a0f7c6 Fixing poor TID implementation.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@30 63283fd4-ec1e-0410-9879-cb7f675518da
2006-12-09 00:45:37 +00:00
msoulier 8e6cd77aa7 Added testcase for TftpPacketFactory.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@29 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-25 01:41:03 +00:00
msoulier 7486502647 Implemented retries on download timeouts.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@28 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-13 01:54:56 +00:00
msoulier 0528b1bdbc Added some info statements regarding option negotiation.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@27 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-13 01:38:33 +00:00
msoulier 4c7304184a Updated testcases, fixed one error in decode_options
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@26 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-13 01:27:30 +00:00