B. Blechschmidt
8be40a1fbd
Squashed code beautifications
commit d5fdf845bf
Author: ssrlive <[email protected] >
Date: Thu Mar 23 23:21:22 2023 +0800
Update tun2proxy.rs
commit 2540daa423
Author: ssrlive <[email protected] >
Date: Thu Mar 23 22:40:26 2023 +0800
Update main.rs
commit 9ef5efb864
Author: ssrlive <[email protected] >
Date: Thu Mar 23 22:19:06 2023 +0800
Update main.rs
commit 017ea1a17a
Author: ssrlive <[email protected] >
Date: Thu Mar 23 22:15:00 2023 +0800
Update main.rs
3 years ago
B. Blechschmidt
d13c7ff61b
Add DNS tests
3 years ago
ssrlive
32403c5423
remove the From implement
3 years ago
B. Blechschmidt
e3e402d8ce
Update .gitignore
3 years ago
B. Blechschmidt
5ce3637bde
Use dotenvy in main
3 years ago
B. Blechschmidt
4260e28a52
Improve code style
3 years ago
B. Blechschmidt
3de8b992d4
Merge branch 'ssrlive' into dns-robustness
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
d4eed896bb
SocketAddr issues
3 years ago
ssrlive
6fe44f8055
IpProtocol values
3 years ago
ssrlive
4af656039e
refine code
3 years ago
B. Blechschmidt
56d0dd9d42
Fix SOCKS5 domain name address type sending
3 years ago
B. Blechschmidt
1a5eeece6f
Prepare DNS support
3 years ago
B. Blechschmidt
ca3aadcf1a
Use dotenvy instead of unmaintained dotenv and use it for the tests
3 years ago
ssrlive
c82c610c4b
.env file support
3 years ago
B. Blechschmidt
3e33244e26
Do not leak secret
3 years ago
B. Blechschmidt
9ae74f10f6
Fix port in README
3 years ago
B. Blechschmidt
4aba996b64
Reflect authentication support in README
3 years ago
ssrlive
e637a55e6a
move error handler to a separate module
3 years ago
B. Blechschmidt
5cbb13247f
Run tests with GitHub actions
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
8dd075a7f4
Adapt README to new interface
3 years ago
B. Blechschmidt
5df3877042
Merge branch 'ssrlive' into auth
3 years ago
B. Blechschmidt
3223ca4e22
Pass proxy via URL
3 years ago
ssrlive
730d8c7045
Remove the modification to the routing table
3 years ago
B. Blechschmidt
0fb58bec5d
Implement HTTP proxy authentication
3 years ago
B. Blechschmidt
d2aef08e3c
Implement SOCKS5 authentication
3 years ago
B. Blechschmidt
ac60f39a88
Add Dockerfile and test script for tests
3 years ago
B. Blechschmidt
c1aaec6159
Make manager references immutable
3 years ago
B. Blechschmidt
072701c379
Update README example
973f7225e8 changed the CLI. Reflect that
change in the README example.
3 years ago
B. Blechschmidt
f6b4369fba
Run tests sequentially
Since we share a tun device and routes, the tests do not support being
executed in parallel.
3 years ago
B. Blechschmidt
1ac5428db5
Add tests
3 years ago
B. Blechschmidt
53458fe84f
Apply clippy suggestions
3 years ago
B. Blechschmidt
0be38b6481
Set up CI
3 years ago
B. Blechschmidt
2f4be7a6cd
Run cargo fmt
3 years ago
ssrlive
4ce2bdf0ba
separate to lib and exe
3 years ago
B. Blechschmidt
95820d6e31
Add IPv6 support
3 years ago
B. Blechschmidt
5a9903e82e
Update smoltcp to version 0.9
3 years ago
ssrlive
7655dee3fb
ArgProxyType
3 years ago
ssrlive
ebe91081d4
minor changes
3 years ago
ssrlive
0128be4f1d
cargo sort
3 years ago
ssrlive
b7a56032b9
Update README.md
3 years ago
ssrlive
384c10f439
update readme file
3 years ago
ssrlive
973f7225e8
upgrade clap module
3 years ago
ssrlive
25d775af47
remove clippy warning
3 years ago
B. Blechschmidt
be3d7e314b
Check whether connection is still active upon mio event
Fix issue #3
4 years ago
B. Blechschmidt
41c22fa4d4
Improve README and do not panic when reading from proxy fails
4 years ago
B. Blechschmidt
b3ddf7462c
Merge pull request #2 from kujeger/logging
Use log for logging
4 years ago
Nikolai Vincent Vaags
c5e95fcc14
Use log for logging
4 years ago