ssrlive
2ade72e79d
publish version 0.6.0
2 years ago
ssrlive
b24d48a042
testing python script issues
2 years ago
ssrlive
6c8ae7a33f
rename target from 'tun2proxy' to 'tun2proxy-bin'
make rust compiler happy
2 years ago
B. Blechschmidt
c36c4ecf1b
Add CI workflow for functional tests
2 years ago
B. Blechschmidt
8aa2a66942
Add functional tests
2 years ago
ssrlive
9c4fa4260a
beginning async version ( #84 )
2 years ago
ssrlive
e5041e6d9e
Memory leak fixing ( #77 )
* incoming packet with FIN or RST
* read_server_n_write_proxy_handler
* testing script
* Interest::WRITABLE and continue_read
* read_data_from_tcp_stream
* logging hide
* test
* script iperf
3 years ago
ssrlive
0e654eb4bd
Ctrlc issues ( #75 )
3 years ago
ssrlive
fe85ecd15c
iperf3 testing script
3 years ago
B. Blechschmidt
286ce0ca6d
Add very basic and dirty iperf test
3 years ago
B. Blechschmidt
e08a0f683d
Allow multiple bypass IP addresses/CIDRs in routing setup
See issue #73 .
3 years ago
ssrlive
bbb8d3b244
port to windows or macos ( #61 )
3 years ago
B. Blechschmidt
5301cf8d37
Add dual stack DNS lookup test
3 years ago
ssrlive
ff9c258fbd
re-formatting with max_width = 120
3 years ago
B. Blechschmidt
500f6ef21f
Add file descriptor support
3 years ago
B. Blechschmidt
fd48be5feb
Parameterize IP addresses in manual tests
3 years ago
B. Blechschmidt
70cea8e11f
Add manual tests for half open connections
3 years ago
B. Blechschmidt
6d9767db42
Add SOCKS4 support to CI
3 years ago
B. Blechschmidt
15703a4823
Use nix crate instead of interacting with libc directly, drop privileges
3 years ago
B. Blechschmidt
73f54c4a90
Adapt tests to use the setup functionality
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
ssrlive
d4410264e6
refine code
3 years ago
B. Blechschmidt
ce8ecbe44e
Fix CI
3 years ago
B. Blechschmidt
341bab5586
Implement SOCKS4
3 years ago
B. Blechschmidt
280073ebfe
Fix test framework
3 years ago
ssrlive
ad388f897a
refine TunToProxy struct
3 years ago
B. Blechschmidt
5295721461
Enable logging in tests
3 years ago
B. Blechschmidt
d13c7ff61b
Add DNS tests
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
B. Blechschmidt
ca3aadcf1a
Use dotenvy instead of unmaintained dotenv and use it for the tests
3 years ago
B. Blechschmidt
3e33244e26
Do not leak secret
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
ac60f39a88
Add Dockerfile and test script for tests
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