B. Blechschmidt
500f6ef21f
Add file descriptor support
2023-04-10 23:24:53 +02:00
B. Blechschmidt
fd48be5feb
Parameterize IP addresses in manual tests
2023-04-10 11:05:06 +02:00
B. Blechschmidt
70cea8e11f
Add manual tests for half open connections
2023-04-10 10:57:41 +02:00
B. Blechschmidt
6d9767db42
Add SOCKS4 support to CI
2023-04-03 00:39:13 +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
73f54c4a90
Adapt tests to use the setup functionality
2023-03-30 01:50:30 +02: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
ssrlive
d4410264e6
refine code
2023-03-25 16:44:33 +08:00
B. Blechschmidt
ce8ecbe44e
Fix CI
2023-03-25 02:01:17 +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
B. Blechschmidt
280073ebfe
Fix test framework
2023-03-24 18:04:27 +01:00
ssrlive
ad388f897a
refine TunToProxy struct
2023-03-24 09:27:31 +08:00
B. Blechschmidt
5295721461
Enable logging in tests
2023-03-23 18:11:08 +01:00
B. Blechschmidt
d13c7ff61b
Add DNS tests
2023-03-23 14:51:56 +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
B. Blechschmidt
ca3aadcf1a
Use dotenvy instead of unmaintained dotenv and use it for the tests
2023-03-22 18:06:51 +01:00
B. Blechschmidt
3e33244e26
Do not leak secret
2023-03-22 16:30:30 +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
ac60f39a88
Add Dockerfile and test script for tests
2023-03-21 23:15:16 +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