Skip to content

Releases: dndx/phantun

v0.7.0

21 Nov 17:28
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update nix requirement from 0.25 to 0.26 by @dependabot in #91
  • chore(deps): update pnet requirement from 0.31 to 0.33 by @dependabot in #97
  • Add docker support by @pexcn in #92
  • chore(deps): bump docker/build-push-action from 3 to 4 by @dependabot in #100
  • chore(docker): use Debian as base image. by @dndx in #108
  • chore(deps): update socket2 requirement from 0.4 to 0.5 by @dependabot in #103
  • chore(deps): update pretty_env_logger requirement from 0.4 to 0.5 by @dependabot in #117
  • chore(deps): update flume requirement from 0.10 to 0.11 by @dependabot in #128
  • chore(deps): update tokio-tun requirement from 0.7 to 0.9 by @dependabot in #122
  • chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #131
  • chore(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #132
  • chore(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #134
  • chore(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #133
  • chore(deps): update pnet requirement from 0.33 to 0.34 by @dependabot in #124
  • chore(deps): update nix requirement from 0.26 to 0.27 by @dependabot in #129
  • style(phantun): fix Clippy warnings by @dndx in #136
  • chore(deps): update tokio-tun requirement from 0.9 to 0.11 by @dependabot in #139
  • chore(deps): update nix requirement from 0.27 to 0.28 by @dependabot in #150
  • chore(deps): bump softprops/action-gh-release from 1 to 2 by @dependabot in #151
  • Update README to include incoming interface (-i tun0) in client NAT commands by @RPallas92 in #163
  • Revert "Update README to include incoming interface (-i tun0) in client NAT commands" by @dndx in #164
  • fix(fake-tcp): when connect()-ing, attempt to get ephemeral port using algorithm similar to Linux by @dndx in #162
  • chore(*): bump dependencies and release new version by @dndx in #170
  • chore(deps): bump docker/build-push-action from 5 to 6 by @dependabot in #157

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

25 Oct 15:42
Compare
Choose a tag to compare

Bumped tokio, tokio-tun and clap to latest versions.

Re-enabled MIPS build.

v0.5.0

13 May 15:42
Compare
Choose a tag to compare

New option --handshake-packet that allows additional packet to be sent to the other end after TCP connection establishment. Please run Phantun binary with -h to see detailed usage.

v0.4.2

16 Apr 17:00
Compare
Choose a tag to compare

This release adds full IPv6 support to Phantun and fake-tcp. Plantun is not officially end-to-end IPv6 compatible!

Configuration for IPv6 requires additional sysctl and nftables change, please check the updated README.md.

For existing IPv4 users, nothing is expected to break.

Note for users upgrading from v0.4.1 and has IPv6 enabled, the link local address used by Phantun by default has changed and is now RFC compliant. Please see README.md or run with the -h option to see the new address. You may need to change the firewall DNAT address accordingly. IPv4 users can ignore this.

v0.4.1

16 Apr 11:01
Compare
Choose a tag to compare

Note: this version contains a slight problem where site-local address used by Phantun by default has been deprecated. Use v0.4.1 instead for IPv6 usage (no issue with IPv4)

This release adds full IPv6 support to Phantun and fake-tcp. Plantun is not officially end-to-end IPv6 compatible!

Configuration for IPv6 requires additional sysctl and nftables change, please check the updated README.md.

For existing IPv4 users, nothing is expected to break.

v0.3.2

10 Apr 13:15
Compare
Choose a tag to compare

Another performance oriented release. This release removed the use of AsyncMutex in receiver and replaced with flume. As a result single stream performance increased by 200% and multiple streams performance increased further by 17% from v0.3.1.

v0.3.1

10 Apr 08:42
Compare
Choose a tag to compare

This release includes fixes to RST packet generation to avoid nf_contrack reporting invalid packets.

See https://github.com/dndx/phantun/releases/tag/v0.3.0 for performance improvements in the v0.3.x series.

v0.3.0

09 Apr 15:44
Compare
Choose a tag to compare
  • Bumped the dependency to the latest.
  • Contains an optimization #41 which utilizes SO_REUSEPORT to create multiple UDP sockets for the same connection and spawns Tokio tasks for each available CPU core.
    • According to my benchmark, this improved throughput on multi-core systems such as Raspberry Pi by 20%-30%.

v0.2.5

03 Jan 15:53
Compare
Choose a tag to compare

Bumped dependencies clap to v3.0.0 which contains a visually more appealing usage and bumped tokio to v1.15.0.

v0.2.4

05 Dec 15:15
Compare
Choose a tag to compare

Bumped dependencies clap to v2.34.0 and tokio to v1.14.0.