Ebrahim Tahernejad
4ab6f1a9bc
XCFramework build for apple ( #93 )
2 years ago
B. Blechschmidt
b3314f5abc
Properly close streams
2 years ago
ssrlive
5c228ca07e
tun_name issues
2 years ago
B. Blechschmidt
91fcd07733
Do not terminate when UDP is not supported by proxy
When an HTTP proxy is used, `new_proxy_handler` can result in an error
when a UDP packet is processed. Without this commit, this results in the
termination of tun2proxy.
2 years ago
ssrlive
a1083273ee
Ffi2 ( #90 )
2 years ago
ssrlive
a26621bbcd
Ffi ( #89 )
2 years ago
Andrej Mihajlov
2a9775ce2e
Introduce cancellation token and reduce amount of code ( #88 )
Test passed on Android. Thanks a lot.
2 years ago
ssrlive
2434c62524
Bump version 0.2.6
2 years ago
Andrej Mihajlov
9a4bd9f800
Re-export the missing types that are used within Args ( #87 )
2 years ago
ssrlive
9c4fa4260a
beginning async version ( #84 )
2 years ago
ssrlive
97c4aa5137
rustfmt max_width = 140
3 years ago
B. Blechschmidt
e08a0f683d
Allow multiple bypass IP addresses/CIDRs in routing setup
See issue #73 .
3 years ago
ssrlive
989c42ee61
Windows support ( #72 )
3 years ago
ssrlive
c1ea5f1af2
rename bypass_ip to bypass ( #66 )
3 years ago
ssrlive
b5d8f0ee48
EXIT_TRIGGER_TOKEN
3 years ago
ssrlive
b8dab403e9
reading code
3 years ago
ssrlive
0044756f78
--dns-addr option
3 years ago
ssrlive
bbb8d3b244
port to windows or macos ( #61 )
3 years ago
ssrlive
11d4e4a0dc
minor changes
3 years ago
ssrlive
d7861128f4
IPv6 enabled
3 years ago
ssrlive
89aeffe195
dns over tcp
3 years ago
ssrlive
46ca342aba
connection_managers renamed to connection_manager
3 years ago
ssrlive
ff9c258fbd
re-formatting with max_width = 120
3 years ago
ssrlive
30d7217374
refine VirtualDns
3 years ago
ssrlive
5ce2e85919
trust-dns-proto import
3 years ago
ssrlive
1031f586f7
Refine code logic
3 years ago
ssrlive
c61b6c74cd
swith socks5-impl
3 years ago
Jorge Alejandro Jimenez Luna
86429ee8eb
Initial support digest auth scheme
3 years ago
B. Blechschmidt
5e218c2130
Use pipe for exiting
3 years ago
B. Blechschmidt
42878c29fd
Rename SOCKS module
3 years ago
ssrlive
7442abece5
integrate to android
3 years ago
ssrlive
62a04229db
shutdown function
3 years ago
B. Blechschmidt
500f6ef21f
Add file descriptor support
3 years ago
B. Blechschmidt
15703a4823
Use nix crate instead of interacting with libc directly, drop privileges
3 years ago
B. Blechschmidt
4a48b297f3
Restore network configuration on Drop
3 years ago
B. Blechschmidt
1a4a8c4c16
Add auto setup method
3 years ago
B. Blechschmidt
20dc6f78f1
Refactor
This commit moves some essential types to lib and fixes one clippy
warning: https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names
3 years ago
B. Blechschmidt
341bab5586
Implement SOCKS4
3 years ago
ssrlive
31e8d4791e
remove s2e function
3 years ago
ssrlive
ad388f897a
refine TunToProxy struct
3 years ago
B. Blechschmidt
c9297124e1
Implement first, unfinished version of DNS support and fix incomplete TCP stream bug
This commit does two things:
First, it implements a first, unfinished version of the virtual DNS
functionality. This feature is incomplete and has known bugs. Since it
needs to be enabled manually, this is not a huge issue so far.
Second, the commit fixes a bug where TCP streams where not properly
relayed, causing TCP connections to stall.
3 years ago
ssrlive
4af656039e
refine code
3 years ago
ssrlive
e637a55e6a
move error handler to a separate module
3 years ago
B. Blechschmidt
e509a81d67
Supply Proxy type to main_entry instead of individual args and adapt test cases
3 years ago
B. Blechschmidt
2f295c3fdc
Use Option type for credentials
This commit applys the diff by @ssrlive from
3223ca4e22 (commitcomment-105521241) .
3 years ago
B. Blechschmidt
3223ca4e22
Pass proxy via URL
3 years ago
B. Blechschmidt
d2aef08e3c
Implement SOCKS5 authentication
3 years ago
ssrlive
4ce2bdf0ba
separate to lib and exe
3 years ago