Commit graph

158 commits

Author SHA1 Message Date
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
msoulier
f2b7d5d811 Updated testcases
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@25 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-11 03:58:39 +00:00
msoulier
837344caf2 Updated makefile
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@24 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-11 03:40:08 +00:00
msoulier
08af50ac0e Adding makefile
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@23 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-11 03:32:35 +00:00
msoulier
99b3bbd36d Moved LICENSE to COPYING
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@22 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-10 02:17:56 +00:00
msoulier
2e42f990c0 Added test for WRQ packet
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@21 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-09 02:47:59 +00:00
msoulier
6ebd6fcbc8 Fixed broken decode, and adjusted the client options.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@20 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-09 02:44:27 +00:00
msoulier
6db1b2cfda Starting on unit tests
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@19 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-08 13:58:41 +00:00
msoulier
e771f670fb Fixed handling of port
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@17 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-05 16:38:33 +00:00
msoulier
cb75a4b281 Updating for production
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@16 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-05 16:32:59 +00:00
msoulier
19e8f0f14c Freezing 0.2
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@14 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-05 16:16:29 +00:00
msoulier
0a13eb5716 Fixed poor EOF detection
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@13 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-05 14:18:16 +00:00
msoulier
ed15161e81 Got variable blocksizes working.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@12 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-05 03:38:28 +00:00
msoulier
c24bba272f Added confirmation of incoming traffic to known remote host.
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@11 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-04 22:16:26 +00:00
msoulier
c11ac3a321 Restructured in preparation for tftp options
git-svn-id: https://tftpy.svn.sourceforge.net/svnroot/tftpy/trunk@10 63283fd4-ec1e-0410-9879-cb7f675518da
2006-10-04 17:32:05 +00:00