Commit graph

76 commits

Author SHA1 Message Date
suchao
0a833d69a6 support udp gateway mode 2024-10-19 13:40:35 +08:00
suchao
87c2b666ab Merge branch 'master' of https://github.com/sujiacong/tun2proxy 2024-10-17 14:00:32 +08:00
suchao
aee8e14a22 support udp gateway mode 2024-10-17 13:59:46 +08:00
ssrlive
4ef71a5b4c --max-sessions option 2024-10-09 16:57:14 +08:00
ssrlive
c991006f4c --exit-on-fatal-error option 2024-10-07 13:29:32 +08:00
ssrlive
c9b24a865c minor changes 2024-09-29 18:17:45 +08:00
ssrlive
6dadc1504a Support windows service, fix #143 2024-09-14 09:55:27 +08:00
B. Blechschmidt
8c28f2e000 Implement --virtual-dns-pool 2024-08-28 23:06:37 +02:00
ssrlive
1dd6746bbc mimalloc usage 2024-08-02 10:18:11 +08:00
James Brown
48f527ad81
Update lib.rs (#130)
Fix #129
2024-06-28 01:35:49 +08:00
ssrlive
1789259f6f Implementation of traffic status callback 2024-06-11 17:25:13 +08:00
ssrlive
5e32994f91 unhandled transport 2024-04-23 19:54:19 +08:00
B. Blechschmidt
f418ca4fe7 Fix over-tcp DNS for HTTP proxies 2024-04-18 21:45:09 +02:00
ssrlive
d5d847fa92 Bump version 0.2.17 2024-04-14 19:18:18 +08:00
ssrlive
2df59ae596 UDP read time out case 2024-04-10 11:26:34 +08:00
ssrlive
af6a8a3cb0 minor changes 2024-04-07 21:33:04 +02:00
Remy D. Farley
f9f5401ba4 fix socks5 udp connectivity 2024-04-07 21:33:04 +02:00
ssrlive
181497e709 remove useless get_server_addr 2024-04-07 21:33:04 +02:00
Remy D. Farley
d351b5031c add support for unprivileged namespaces 2024-04-07 21:32:58 +02:00
Remy D. Farley
5e99c9f874 add no-proxy mode 2024-04-03 20:58:15 +00:00
Remy D. Farley
361cf95f4e add udp timeout option 2024-04-03 20:58:15 +00:00
ssrlive
c430d76534 tcp timeout option 2024-03-18 13:12:30 +08:00
ssrlive
bd96807bf8 minor changes 2024-03-11 08:57:18 +08:00
ssrlive
fb7b6862e5
tst (#99) 2024-03-05 12:33:47 +08:00
ssrlive
7e7aadb04b
tun shutdown issues. (#97) 2024-03-03 19:49:10 +08:00
Ebrahim Tahernejad
4ab6f1a9bc
XCFramework build for apple (#93) 2024-02-29 11:38:44 +08:00
B. Blechschmidt
b3314f5abc Properly close streams 2024-02-26 00:50:23 +01:00
ssrlive
5c228ca07e tun_name issues 2024-02-25 16:59:18 +08:00
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.
2024-02-24 22:09:14 +01:00
ssrlive
a1083273ee
Ffi2 (#90) 2024-02-13 10:46:13 +08:00
ssrlive
a26621bbcd
Ffi (#89) 2024-02-12 21:36:18 +08:00
Andrej Mihajlov
2a9775ce2e
Introduce cancellation token and reduce amount of code (#88)
Test passed on Android. Thanks a lot.
2024-02-11 00:36:54 +08:00
ssrlive
2434c62524 Bump version 0.2.6 2024-02-10 20:21:28 +08:00
Andrej Mihajlov
9a4bd9f800
Re-export the missing types that are used within Args (#87) 2024-02-10 19:59:48 +08:00
ssrlive
9c4fa4260a
beginning async version (#84) 2024-02-01 19:15:32 +08:00
ssrlive
97c4aa5137 rustfmt max_width = 140 2023-11-13 20:30:24 +08:00
B. Blechschmidt
e08a0f683d Allow multiple bypass IP addresses/CIDRs in routing setup
See issue #73.
2023-10-29 23:48:38 +01:00
ssrlive
989c42ee61
Windows support (#72) 2023-10-23 09:44:27 +08:00
ssrlive
c1ea5f1af2
rename bypass_ip to bypass (#66) 2023-10-03 11:39:06 +08:00
ssrlive
b5d8f0ee48 EXIT_TRIGGER_TOKEN 2023-09-26 18:25:59 +08:00
ssrlive
b8dab403e9 reading code 2023-09-03 10:40:40 +08:00
ssrlive
0044756f78 --dns-addr option 2023-08-31 15:59:07 +08:00
ssrlive
bbb8d3b244
port to windows or macos (#61) 2023-08-31 14:31:02 +08:00
ssrlive
11d4e4a0dc minor changes 2023-08-23 10:45:37 +08:00
ssrlive
d7861128f4 IPv6 enabled 2023-08-23 10:35:21 +08:00
ssrlive
89aeffe195 dns over tcp 2023-08-21 19:58:13 +08:00
ssrlive
46ca342aba connection_managers renamed to connection_manager 2023-08-11 15:49:39 +08:00
ssrlive
ff9c258fbd re-formatting with max_width = 120 2023-08-08 23:45:16 +08:00
ssrlive
30d7217374 refine VirtualDns 2023-08-06 18:31:49 +08:00
ssrlive
5ce2e85919 trust-dns-proto import 2023-08-06 12:22:58 +08:00