8000 Releases · nulldotblack/wintun · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: nulldotblack/wintun

v0.5.1

29 Jan 01:59
4cc365d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.5.1

v0.5.0

10 Aug 13:51
5c801d0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

12 Jan 14:40
8988a04
Compare
Choose a tag to compare

Added

  • Adapter::get_mtu, set_dns_servers, and Adapter::get_active_network_interface_gateways: #13
  • Error::ShuttingDown: #14

Breaking Changes

  • Adding the ShuttingDown variant to wintun::Error breaks exhastive matches on previous versions. wintun::Error is now marked #[non_exhaustive] to make future additions backwards compatable

v0.3.1

17 Sep 16:07
7aa2059
Compare
Choose a tag to compare

Added

  • Support for non 32bit x86 and arm targets in all three examples

Updated

  • Adapter docs

v0.3.0

17 Sep 14:24
aa68d4c
Compare
Choose a tag to compare

Added

  • udp-echo example which mirrors packets via the tun interface
  • Adapter::get_name, Adapter::set_name, and Adapter::get_guid
  • Adapter::set_address Adapter::set_gateway, Adapter::set_netmask, or Adapter::set_network_addresses_tuple to set all three at once
    • Easily configure adapter address, netmask, and gateway properties to more easily control how it interacts with the Windows networking stack
  • And Adapter::get_addresses, Adapter::get_gateways, Adapter::get_netmask_of_address to read this state

Breaking Changes

  • Renamed enum ApiError -> enum Error and added more variants.
    • All functions returning wintun::Result are effected.
  • Removed pool: &str parameter from Adapter::create as this was removed from the wintun c library
  • Changed return type of Session::get_read_wait_event from Result<winnt::HANDLE, ()> to Result<windows::Win32::HANDLE, wintun::Error>

Plus internal refactoring and cleanup by @ssrlive in #7. Thanks!

v0.2.1

03 Dec 20:52
c8f0ed7
Compare
Choose a tag to compare

Fix typo in readme

v0.2.0

03 Dec 20:47
4efd40a
Compare
Choose a tag to compare

Added support for wintun 0.14.

Breaking Changes

  • Wintun driver versions before 0.14 are no longer support due to beraking
    changes in the C API
  • Adapter::create returns a Result<Adapter, ...> instead of a Result<CreateData, ...>.
    This was done because the underlying Wintun function was changed to only return an adapter handle
  • Adapter::create the pool parameter was removed because it was also removed from the C function
  • Adapter::delete takes no parameters and returns a Result<(), ()>.
    The force_close_sessions parameter was removed because it was removed from the
    C function. Same for the bool inside the Ok(..) variant
  • Adapter::create and Adapter::open return Arc<Adapter> instead of Adapter
  • get_running_driver_version now returns a proper Result<Version, ()>.

Added

  • reset_logger function to disable logging after a logger has been set.

v0.1.5

27 Aug 20:24
8e76882
Compare
Choose a tag to compare

Uploaded readme to crates.io

v0.1.4

27 Aug 19:59
9acb64c
Compare
Choose a tag to compare

Added panic_on_unsent_packets feature flag

v0.1.3

28 Jun 23:28
v0.1.3
3a78c11
Compare
Choose a tag to compare

Updated cargo metadata to work on docs.rs

0