Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Releases: decathorpe/mitmproxy_wireguard

0.1.22

04 Apr 12:00
e9143cd
Compare
Choose a tag to compare
  • Pin x25519-dalek dependency to =2.0.0-pre.1 to fix build issues with recent
    releases that contain breaking changes.
  • Include Cargo.lock in sdist archives.

0.1.21

30 Mar 18:19
a6ce922
Compare
Choose a tag to compare
  • Update to pyo3 v0.18.2, which includes a fix for a rare race condition.
  • Minor fix for wrong method signature in stub file.

0.1.20

12 Jan 16:33
fbe2c89
Compare
Choose a tag to compare
  • Fix memory leak in TcpStream.read, which caused any bytes object returned by this method never to be garbage collected.
  • Run cleanup of TCP connection handler tasks eagerly instead of only at task shutdown.

0.1.19

24 Nov 00:19
e06ec83
Compare
Choose a tag to compare
  • Fix check that prevents initializing multiple TCP connections when receiving duplicate SYN packets.
  • Update dependencies (including tokio 1.22.0). Raises MSRV to 1.64.0.

0.1.18

13 Nov 21:27
a87c5a8
Compare
Choose a tag to compare
  • Expose the "original" (i.e. not the address inside the WireGuard tunnel) source address of WireGuard UDP packets in TcpStream via TcpStream.get_extra_info("original_src").
  • Internal refactoring to simplify code for spawning TCP connection handler coroutines, which makes it possible to check whether they raised an exception (which were previously just silently ignored).
  • Update all Rust dependencies, including an update to PyO3 v0.17.3, which is the first release that marked support for Python 3.11 as official.

0.1.17

04 Nov 13:30
0e063a0
Compare
Choose a tag to compare
  • Ensure that the virtual network device does not block unnecessarily and that it is always polled when necessary. Fixes a regression that was introduced in version 0.1.16.

0.1.16

02 Nov 00:43
e61b4c2
Compare
Choose a tag to compare
  • Optimize event processing in the internal network stack by always consuming as many events as possible before polling the virtual network device and processing open TCP sockets.
  • Ensure that only one TCP socket is created per connection, even if SYN packets are resent for some reason.
  • Channel sizes for processing events in the internal network stack are increased to avoid errors with full channels when some tasks don't keep up.
  • Logging calls are removed from the network task's hot loop unless the project is built in debug mode.
  • Failures to send to channels that were already closed when processing data that was received for sockets are now ignored to avoid crashes.

0.1.15

29 Oct 22:48
ae5e0fe
Compare
Choose a tag to compare

With this version, source files for the test client binary are manually included in published sdists to ensure the sources which are published on PyPI can actually be built. d'oh ...

0.1.14

29 Oct 22:47
bbd32cd
Compare
Choose a tag to compare
  • Increase buffer size for WireGuard packets to accommodate large outgoing packets.
  • Check length of outgoing packets and drop packets that are larger than the maximum possible WireGuard packet payload (maximum packet size - WireGuard header length) to avoid crashes with super-sized packets.

0.1.13

07 Oct 16:27
a33de63
Compare
Choose a tag to compare
  • Update dependencies to the latest versions (pyo3 v0.17, pyo3-asyncio v0.17, pyo3-log v0.7), now that pyo3-asyncio v0.17 was released with pyo3 v0.17 support.
  • Switch back from patched version of pyo3-asyncio to the official releases, since v0.17 incorporates our patch.