Trojan Rs Versions Save

Trojan server and proxy programs written in Rust

v0.16.0

1 year ago

v0.15.0

1 year ago

New Features

  • new application based on Tauri and Wintun to provide pc users a convenient way to work with.
  • upgrade Smoltcp to 0.9
  • add a new feature for the server-side like NAT behavior of UDP to prevent arbitrary connection.
  • add a new feature for the proxy to sniff target host reachability to determine if the route should be redirected to the proxy.

v0.9.2

2 years ago

New Features

  • wintun mode can enable you to run trojan on windows which creates a tun device
  • dns mode can start a DNS server which operates like dnsmasq

Changelog

  • fix connection leak

v0.8.5

2 years ago

Changelog

  • Remove all reregister calling, only register once and read until WouldBlock, then immediately write until done or WouldBlock.
  • Using WouldBlock for buffer limitation
  • Unify connection status and extract a trait for it
  • Move configuration to lazy_static for reducing parameters
  • Remove ip marker as it is not necessary
  • Optimize connection closing implementation for more readbility

v0.7.3

2 years ago
  • Fix DNS query blocking problem

v0.7.0

2 years ago

Do not use this release

Changelog

  • Upgrade mio to 0.7, and this was a big upgrade because some interfaces were changed.
  • Change dns query to using mio Waker and using rayon instead of thread
  • Some minor changes to ensure stability.

Bug

  • Poll not reregistered when DNS query is done and the connection will block forever.

v0.6.0

3 years ago

Changelog

  • UDP performance optimized
  • Added buffer limitation
  • Fix tiny bugs

v0.5.0

3 years ago

When target connection closed or client connection closed, there could be some data in buffer not sent to counterpart, the previous version did not resolve this problem, so a lot of weird things can happen, such as Google Play did not work properly, download always broke at the last kilobytes. All these problems were solved by this version.

v0.4.0

3 years ago

Trojan must be slower than SS when connecting because of https connection mechanism. This release provide a pre-created connection pool. It is disabled by default because I am not sure if this change can be a clue for GFW to figure out something, so use this feature at your own risk.

Code was reorganized as more rust style

v0.3.2

4 years ago

1、Fix UDP Server bug 2、Add reopen feature, kill -SIGUSR2 would reopen logs on linux 3、Some help information update