Skip to content

Commit eceba1f

Browse files
committed
v0.2.0
1 parent 79ac846 commit eceba1f

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
1-
this is a fork of [tftpy](https://github.com/msoulier/tftpy) with [copyparty](https://github.com/9001/copyparty)-specific [changes](https://github.com/9001/partftpy/commit/4e873925)
1+
this is a fork of [tftpy](https://github.com/msoulier/tftpy) with [copyparty](https://github.com/9001/copyparty)-specific changes
2+
3+
available [on pypi](https://pypi.org/project/partftpy/)
24

35
99.9% of the code here is copyright 2010-2021, Michael P. Soulier (msoulier@digitaltorque.ca)
46

7+
8+
# significant changes
9+
10+
* `from tftpy import TftpServer` => `from partftpy.TftpServer import TftpServer` [4e873925](https://github.com/9001/partftpy/commit/4e873925)
11+
* to make it possible to monkeypatch stuff inside `TftpServer`, for example swapping out the `os` module with a virtual filesystem, which copyparty does
12+
* crude alternative to [fknittel's proper VFS](https://github.com/msoulier/tftpy/pull/30) but copyparty was already doing this for impacket so for my purposes it's fine
13+
14+
* supports specifying a portrange to use for data transfer instead of selecting an ephemeral port [b8844c03](https://github.com/9001/partftpy/commit/b8844c03)
15+
* good for firewalls
16+
17+
* slightly yolo fix for [#140 DoS when parsing a packet with a length less than 2](https://github.com/msoulier/tftpy/issues/140) [79ac8460](https://github.com/9001/partftpy/commit/79ac8460)
18+
19+
20+
# other changes
21+
22+
* less info logs [b7e71855](https://github.com/9001/partftpy/commit/b7e71855)
23+
24+
* restored python 2.7 support [c0d19ada](https://github.com/9001/partftpy/commit/c0d19ada)
25+

partftpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
http://www.faqs.org/rfcs/rfc1350.html
88
"""
99

10-
VERSION = (0, 1, 0)
10+
VERSION = (0, 2, 0)
1111
BUILD_DT = (2024, 2, 10)
1212

1313
S_VERSION = ".".join(map(str, VERSION))

0 commit comments

Comments
 (0)