Commit graph

75 commits

Author SHA1 Message Date
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