B. Blechschmidt
498a43b471
Do not swallow error when not tracing
2 years ago
B. Blechschmidt
d03e3c268d
Improve error message
2 years ago
B. Blechschmidt
91fcd07733
Do not terminate when UDP is not supported by proxy
When an HTTP proxy is used, `new_proxy_handler` can result in an error
when a UDP packet is processed. Without this commit, this results in the
termination of tun2proxy.
2 years ago
ssrlive
bd27833c29
print error info
2 years ago
ssrlive
cfbc5fabb1
print error info
2 years ago
ssrlive
129450a9db
setup parameter issues
2 years ago
ssrlive
a1083273ee
Ffi2 ( #90 )
2 years ago
ssrlive
a26621bbcd
Ffi ( #89 )
2 years ago
ssrlive
9f60eee2e1
ArgProxy issues
2 years ago
ssrlive
5514da71f9
refine TUN_QUIT
2 years ago
Andrej Mihajlov
2a9775ce2e
Introduce cancellation token and reduce amount of code ( #88 )
Test passed on Android. Thanks a lot.
2 years ago
ssrlive
2434c62524
Bump version 0.2.6
2 years ago
Andrej Mihajlov
9a4bd9f800
Re-export the missing types that are used within Args ( #87 )
2 years ago
ssrlive
ea5ffff82c
Bump version 0.2.5
2 years ago
ssrlive
8a67915388
refactor FFI
2 years ago
ssrlive
9c4fa4260a
beginning async version ( #84 )
2 years ago
ssrlive
61ed6d62c4
clippy issues
2 years ago
ssrlive
2b3463c55c
android issues
3 years ago
ssrlive
97c4aa5137
rustfmt max_width = 140
3 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
B. Blechschmidt
67c2aa1a22
Remove unnecessary buffer
3 years ago
ssrlive
3879e04327
minor reading issues
3 years ago
ssrlive
0e654eb4bd
Ctrlc issues ( #75 )
3 years ago
ssrlive
9396db4a52
test code
3 years ago
B. Blechschmidt
c4ed29b234
Remove unnecessary SOCKS buffer
3 years ago
B. Blechschmidt
e3494d921c
Add comment for DNS fix
3 years ago
B. Blechschmidt
0ab52c623b
Fix virtual DNS
3 years ago
B. Blechschmidt
e08a0f683d
Allow multiple bypass IP addresses/CIDRs in routing setup
See issue #73 .
3 years ago
ssrlive
9b27dd2df2
refine code
3 years ago
ssrlive
989c42ee61
Windows support ( #72 )
3 years ago
ssrlive
b50cac82c0
Memory exhaustion ( #69 )
3 years ago
B. Blechschmidt
299b51667d
Restore /etc/resolv.conf if it was written directly
3 years ago
B. Blechschmidt
cea0e0fa27
Resort to writing to /etc/resolv.conf directly if mount permissions are missing
3 years ago
ssrlive
c1ea5f1af2
rename bypass_ip to bypass ( #66 )
3 years ago
ssrlive
05cb35fabb
read_data_from_tcp_stream for callback
3 years ago
ssrlive
03aa70f3c2
minor changes
3 years ago
ssrlive
a54e6ae23e
minor changes
3 years ago
ssrlive
d4568c4676
read_data_from_tcp_stream
3 years ago
ssrlive
b5d8f0ee48
EXIT_TRIGGER_TOKEN
3 years ago
ssrlive
cc46526af0
process_incoming_tcp_packets
3 years ago
ssrlive
c723adce4f
reading code
3 years ago
ssrlive
c1b322a01e
log some errors
3 years ago
ssrlive
f175813cc8
remove_connection refactor
3 years ago
ssrlive
ef6f67b975
remove_connection refactor
3 years ago
ssrlive
b8dab403e9
reading code
3 years ago
ssrlive
59fa5b155e
get_credentials removed
3 years ago
ssrlive
2122cc0ba8
useless close_connection removed
3 years ago
ssrlive
538e40d05b
reading code
3 years ago
ssrlive
5bd62d3101
log::info adjustment
3 years ago
ssrlive
e5a645638a
rename TcpProxy to ProxyHandler
3 years ago