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.
2024-02-24 22:09:14 +01:00
ssrlive
a1083273ee
Ffi2 ( #90 )
2024-02-13 10:46:13 +08:00
ssrlive
a26621bbcd
Ffi ( #89 )
2024-02-12 21:36:18 +08:00
Andrej Mihajlov
2a9775ce2e
Introduce cancellation token and reduce amount of code ( #88 )
...
Test passed on Android. Thanks a lot.
2024-02-11 00:36:54 +08:00
ssrlive
2434c62524
Bump version 0.2.6
2024-02-10 20:21:28 +08:00
Andrej Mihajlov
9a4bd9f800
Re-export the missing types that are used within Args ( #87 )
2024-02-10 19:59:48 +08:00
ssrlive
9c4fa4260a
beginning async version ( #84 )
2024-02-01 19:15:32 +08:00
ssrlive
97c4aa5137
rustfmt max_width = 140
2023-11-13 20:30:24 +08:00
B. Blechschmidt
e08a0f683d
Allow multiple bypass IP addresses/CIDRs in routing setup
...
See issue #73 .
2023-10-29 23:48:38 +01:00
ssrlive
989c42ee61
Windows support ( #72 )
2023-10-23 09:44:27 +08:00
ssrlive
c1ea5f1af2
rename bypass_ip to bypass ( #66 )
2023-10-03 11:39:06 +08:00
ssrlive
b5d8f0ee48
EXIT_TRIGGER_TOKEN
2023-09-26 18:25:59 +08:00
ssrlive
b8dab403e9
reading code
2023-09-03 10:40:40 +08:00
ssrlive
0044756f78
--dns-addr option
2023-08-31 15:59:07 +08:00
ssrlive
bbb8d3b244
port to windows or macos ( #61 )
2023-08-31 14:31:02 +08:00
ssrlive
11d4e4a0dc
minor changes
2023-08-23 10:45:37 +08:00
ssrlive
d7861128f4
IPv6 enabled
2023-08-23 10:35:21 +08:00
ssrlive
89aeffe195
dns over tcp
2023-08-21 19:58:13 +08:00
ssrlive
46ca342aba
connection_managers renamed to connection_manager
2023-08-11 15:49:39 +08:00
ssrlive
ff9c258fbd
re-formatting with max_width = 120
2023-08-08 23:45:16 +08:00
ssrlive
30d7217374
refine VirtualDns
2023-08-06 18:31:49 +08:00
ssrlive
5ce2e85919
trust-dns-proto import
2023-08-06 12:22:58 +08:00
ssrlive
1031f586f7
Refine code logic
2023-08-05 15:52:32 +08:00
ssrlive
c61b6c74cd
swith socks5-impl
2023-07-24 20:48:56 +02:00
Jorge Alejandro Jimenez Luna
86429ee8eb
Initial support digest auth scheme
2023-06-22 13:09:36 -04:00
B. Blechschmidt
5e218c2130
Use pipe for exiting
2023-04-27 22:42:55 +02:00
B. Blechschmidt
0c45714a45
Merge Android support branch
2023-04-17 22:37:55 +02:00
B. Blechschmidt
42878c29fd
Rename SOCKS module
2023-04-15 12:10:48 +02:00
ssrlive
7442abece5
integrate to android
2023-04-14 20:17:10 +02:00
ssrlive
62a04229db
shutdown function
2023-04-14 20:17:10 +02:00
B. Blechschmidt
500f6ef21f
Add file descriptor support
2023-04-10 23:24:53 +02:00
B. Blechschmidt
15703a4823
Use nix crate instead of interacting with libc directly, drop privileges
2023-04-01 21:18:01 +02:00
B. Blechschmidt
4a48b297f3
Restore network configuration on Drop
2023-03-25 21:41:40 +01:00
B. Blechschmidt
1a4a8c4c16
Add auto setup method
2023-03-25 21:12:41 +01:00
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
2023-03-25 13:07:49 +01:00
B. Blechschmidt
a5aac8c0a4
Merge SOCKS4 support
...
The SOCKS4 tests in the CI pipeline will currently fail, as no SOCKS4
test server for automated testing has been set up yet.
2023-03-25 01:53:30 +01:00
B. Blechschmidt
341bab5586
Implement SOCKS4
2023-03-25 01:39:46 +01:00
ssrlive
31e8d4791e
remove s2e function
2023-03-24 16:32:47 +08:00
ssrlive
ad388f897a
refine TunToProxy struct
2023-03-24 09:27:31 +08:00
B. Blechschmidt
3de8b992d4
Merge branch 'ssrlive' into dns-robustness
2023-03-23 13:21:54 +01:00
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.
2023-03-23 13:03:01 +01:00
ssrlive
4af656039e
refine code
2023-03-23 16:47:44 +08:00
ssrlive
e637a55e6a
move error handler to a separate module
2023-03-22 15:51:08 +01:00
B. Blechschmidt
e509a81d67
Supply Proxy type to main_entry instead of individual args and adapt test cases
2023-03-22 13:18:07 +01:00
B. Blechschmidt
2f295c3fdc
Use Option type for credentials
...
This commit applys the diff by @ssrlive from
3223ca4e22 (commitcomment-105521241)
.
2023-03-22 12:18:41 +01:00
B. Blechschmidt
3223ca4e22
Pass proxy via URL
2023-03-22 11:17:28 +01:00
B. Blechschmidt
d2aef08e3c
Implement SOCKS5 authentication
2023-03-22 01:02:27 +01:00
ssrlive
4ce2bdf0ba
separate to lib and exe
2023-03-20 17:28:57 +01:00