Commit graph

496 commits

Author SHA1 Message Date
B. Blechschmidt
56d0dd9d42 Fix SOCKS5 domain name address type sending 2023-03-22 19:28:48 +01:00
B. Blechschmidt
1a5eeece6f Prepare DNS support 2023-03-22 19:11:28 +01:00
B. Blechschmidt
ca3aadcf1a Use dotenvy instead of unmaintained dotenv and use it for the tests 2023-03-22 18:06:51 +01:00
ssrlive
c82c610c4b .env file support 2023-03-22 17:56:17 +01:00
B. Blechschmidt
3e33244e26 Do not leak secret 2023-03-22 16:30:30 +01:00
B. Blechschmidt
9ae74f10f6 Fix port in README 2023-03-22 16:24:41 +01:00
B. Blechschmidt
4aba996b64 Reflect authentication support in README 2023-03-22 16:07:44 +01:00
ssrlive
e637a55e6a move error handler to a separate module 2023-03-22 15:51:08 +01:00
B. Blechschmidt
5cbb13247f Run tests with GitHub actions 2023-03-22 15:39: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
8dd075a7f4 Adapt README to new interface 2023-03-22 12:08:07 +01:00
B. Blechschmidt
5df3877042 Merge branch 'ssrlive' into auth 2023-03-22 12:03:51 +01:00
B. Blechschmidt
3223ca4e22 Pass proxy via URL 2023-03-22 11:17:28 +01:00
ssrlive
730d8c7045
Remove the modification to the routing table 2023-03-22 10:24:55 +08:00
B. Blechschmidt
0fb58bec5d Implement HTTP proxy authentication 2023-03-22 02:54:21 +01:00
B. Blechschmidt
d2aef08e3c Implement SOCKS5 authentication 2023-03-22 01:02:27 +01:00
B. Blechschmidt
ac60f39a88 Add Dockerfile and test script for tests 2023-03-21 23:15:16 +01:00
B. Blechschmidt
c1aaec6159 Make manager references immutable 2023-03-21 01:08:44 +01:00
B. Blechschmidt
072701c379 Update README example
973f7225e8 changed the CLI. Reflect that
change in the README example.
2023-03-21 00:20:05 +01:00
B. Blechschmidt
f6b4369fba Run tests sequentially
Since we share a tun device and routes, the tests do not support being
executed in parallel.
2023-03-21 00:06:15 +01:00
B. Blechschmidt
1ac5428db5 Add tests 2023-03-20 23:52:38 +01:00
B. Blechschmidt
53458fe84f Apply clippy suggestions 2023-03-20 18:20:55 +01:00
B. Blechschmidt
0be38b6481 Set up CI 2023-03-20 18:12:58 +01:00
B. Blechschmidt
2f4be7a6cd Run cargo fmt 2023-03-20 17:56:54 +01:00
ssrlive
4ce2bdf0ba separate to lib and exe 2023-03-20 17:28:57 +01:00
B. Blechschmidt
95820d6e31 Add IPv6 support 2023-03-20 16:36:54 +01:00
B. Blechschmidt
5a9903e82e Update smoltcp to version 0.9 2023-03-20 16:17:59 +01:00
ssrlive
7655dee3fb ArgProxyType 2023-03-20 17:52:15 +08:00
ssrlive
ebe91081d4 minor changes 2023-03-20 17:27:28 +08:00
ssrlive
0128be4f1d cargo sort 2023-03-20 15:36:02 +08:00
ssrlive
b7a56032b9
Update README.md 2023-03-20 15:09:19 +08:00
ssrlive
384c10f439 update readme file 2023-03-20 14:16:07 +08:00
ssrlive
973f7225e8 upgrade clap module 2023-03-20 14:13:06 +08:00
ssrlive
25d775af47
remove clippy warning 2023-03-19 14:27:01 +08:00
B. Blechschmidt
be3d7e314b Check whether connection is still active upon mio event
Fix issue #3
2022-12-10 21:29:57 +01:00
B. Blechschmidt
41c22fa4d4 Improve README and do not panic when reading from proxy fails 2022-08-17 00:04:08 +02:00
B. Blechschmidt
b3ddf7462c
Merge pull request #2 from kujeger/logging
Use log for logging
2022-08-16 23:49:25 +02:00
Nikolai Vincent Vaags
c5e95fcc14 Use log for logging 2022-08-16 16:18:25 +02:00
B. Blechschmidt
45b69a2243
Merge pull request #1 from dxfgg17/master
Cleaning and update
2022-08-02 18:25:17 +02:00
B. Blechschmidt
2ab7ff79c2
Update LICENSE 2022-08-02 18:24:25 +02:00
Elvis Gallagher
8d408bbe76 Cleaning and update 2022-08-01 14:36:58 +00:00
B. Blechschmidt
8af93a278e Fix route description 2021-09-03 15:12:13 +02:00
B. Blechschmidt
93f0444028 Remove redundant HashMap 2021-09-02 22:36:47 +02:00
B. Blechschmidt
5b6ac8b206 Improve error handling 2021-09-02 21:59:56 +02:00
B. Blechschmidt
6607df83cd Initial commit 2021-09-02 15:02:19 +02:00