From ccf4281e7eeb662759dc62700032f4d81942b373 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Mon, 18 Nov 2024 21:43:31 +0400 Subject: [PATCH] initial commit --- bench_curl_direct.txt | 73 +++++++++++ bench_iperf_direct.txt | 33 +++++ bench_sb_socks.txt | 132 +++++++++++++++++++ bench_sb_trojan.txt | 195 +++++++++++++++++++++++++++ bench_sb_trojan_fail.txt | 140 ++++++++++++++++++++ bench_sb_vless.txt | 277 +++++++++++++++++++++++++++++++++++++++ bench_xray_socks.txt | 184 ++++++++++++++++++++++++++ bench_xray_trojan.txt | 218 ++++++++++++++++++++++++++++++ bench_xray_vless.txt | 168 ++++++++++++++++++++++++ cert.pem | 18 +++ config.json | 101 ++++++++++++++ config_xray.json | 121 +++++++++++++++++ key.pem | 28 ++++ server.json | 73 +++++++++++ server_xray.json | 82 ++++++++++++ 15 files changed, 1843 insertions(+) create mode 100644 bench_curl_direct.txt create mode 100644 bench_iperf_direct.txt create mode 100644 bench_sb_socks.txt create mode 100644 bench_sb_trojan.txt create mode 100644 bench_sb_trojan_fail.txt create mode 100644 bench_sb_vless.txt create mode 100644 bench_xray_socks.txt create mode 100644 bench_xray_trojan.txt create mode 100644 bench_xray_vless.txt create mode 100644 cert.pem create mode 100644 config.json create mode 100644 config_xray.json create mode 100644 key.pem create mode 100644 server.json create mode 100644 server_xray.json diff --git a/bench_curl_direct.txt b/bench_curl_direct.txt new file mode 100644 index 0000000..33afe6f --- /dev/null +++ b/bench_curl_direct.txt @@ -0,0 +1,73 @@ +~/code/smp-socks> hyperfine -m 50 'curl https://dc09.ru/Marisa.m4a' 'curl --proxy socks5://127.0.0.1:2080 https://dc09.ru/Marisa.m4a' 'curl --proxy socks5://127.0.0.1:2081 https://dc09.ru/Marisa.m4a' 'curl --proxy socks5://127.0.0.1:2009 https://dc09.ru/Marisa.m4a' +Benchmark 1: curl https://dc09.ru/Marisa.m4a + Time (mean ± σ): 477.2 ms ± 51.9 ms [User: 41.2 ms, System: 16.0 ms] + Range (min … max): 383.3 ms … 697.7 ms 50 runs + +Benchmark 2: curl --proxy socks5://127.0.0.1:2080 https://dc09.ru/Marisa.m4a + Time (mean ± σ): 478.6 ms ± 44.4 ms [User: 21.5 ms, System: 7.6 ms] + Range (min … max): 376.4 ms … 681.2 ms 50 runs + +Benchmark 3: curl --proxy socks5://127.0.0.1:2081 https://dc09.ru/Marisa.m4a + Time (mean ± σ): 467.7 ms ± 47.8 ms [User: 18.5 ms, System: 7.4 ms] + Range (min … max): 374.2 ms … 662.8 ms 50 runs + +Benchmark 4: curl --proxy socks5://127.0.0.1:2009 https://dc09.ru/Marisa.m4a + Time (mean ± σ): 593.1 ms ± 191.5 ms [User: 33.4 ms, System: 9.7 ms] + Range (min … max): 436.2 ms … 1824.6 ms 50 runs + + Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options. + +Summary + curl --proxy socks5://127.0.0.1:2081 https://dc09.ru/Marisa.m4a ran + 1.02 ± 0.15 times faster than curl https://dc09.ru/Marisa.m4a + 1.02 ± 0.14 times faster than curl --proxy socks5://127.0.0.1:2080 https://dc09.ru/Marisa.m4a + 1.27 ± 0.43 times faster than curl --proxy socks5://127.0.0.1:2009 https://dc09.ru/Marisa.m4a +~/code/smp-socks> [''] | append ($proxies | each { "--proxy socks5://127.0.0.1:" + $in }) | each { "\'curl " + $in + " http://dc09.ru\'" } | str join ' ' 18.11.2024 15:24:57 +'curl http://dc09.ru' 'curl --proxy socks5://127.0.0.1:2080 http://dc09.ru' 'curl --proxy socks5://127.0.0.1:2081 http://dc09.ru' 'curl --proxy socks5://127.0.0.1:2009 http://dc09.ru' +~/code/smp-socks> hyperfine -m 200 'curl http://dc09.ru' 'curl --proxy socks5://127.0.0.1:2080 http://dc09.ru' 'curl --proxy socks5://127.0.0.1:2081 http://dc09.ru' 'curl --proxy socks5://127.0.0.1:2009 http://dc09.ru' +Benchmark 1: curl http://dc09.ru + Time (mean ± σ): 60.5 ms ± 4.3 ms [User: 5.2 ms, System: 4.5 ms] + Range (min … max): 51.0 ms … 81.7 ms 200 runs + +Benchmark 2: curl --proxy socks5://127.0.0.1:2080 http://dc09.ru + Time (mean ± σ): 62.2 ms ± 4.6 ms [User: 5.0 ms, System: 4.8 ms] + Range (min … max): 49.1 ms … 69.9 ms 200 runs + +Benchmark 3: curl --proxy socks5://127.0.0.1:2081 http://dc09.ru + Time (mean ± σ): 61.6 ms ± 4.3 ms [User: 4.9 ms, System: 4.7 ms] + Range (min … max): 51.2 ms … 76.4 ms 200 runs + +Benchmark 4: curl --proxy socks5://127.0.0.1:2009 http://dc09.ru + Time (mean ± σ): 62.3 ms ± 4.5 ms [User: 5.1 ms, System: 5.0 ms] + Range (min … max): 51.7 ms … 90.6 ms 200 runs + +Summary + curl http://dc09.ru ran + 1.02 ± 0.10 times faster than curl --proxy socks5://127.0.0.1:2081 http://dc09.ru + 1.03 ± 0.11 times faster than curl --proxy socks5://127.0.0.1:2080 http://dc09.ru + 1.03 ± 0.10 times faster than curl --proxy socks5://127.0.0.1:2009 http://dc09.ru +~/code/smp-socks> [''] | append ($proxies | each { "--proxy socks5://127.0.0.1:" + $in }) | each { "\'curl " + $in + " https://github.com\'" } | str join ' ' +'curl https://github.com' 'curl --proxy socks5://127.0.0.1:2080 https://github.com' 'curl --proxy socks5://127.0.0.1:2081 https://github.com' 'curl --proxy socks5://127.0.0.1:2009 https://github.com' +~/code/smp-socks> hyperfine -m 50 'curl https://github.com' 'curl --proxy socks5://127.0.0.1:2080 https://github.com' 'curl --proxy socks5://127.0.0.1:2081 https://github.com' 'curl --proxy socks5://127.0.0.1:2009 https://github.com' +Benchmark 1: curl https://github.com + Time (mean ± σ): 402.1 ms ± 22.8 ms [User: 44.9 ms, System: 9.5 ms] + Range (min … max): 365.3 ms … 449.8 ms 50 runs + +Benchmark 2: curl --proxy socks5://127.0.0.1:2080 https://github.com + Time (mean ± σ): 390.5 ms ± 25.6 ms [User: 37.0 ms, System: 7.1 ms] + Range (min … max): 338.6 ms … 445.5 ms 50 runs + +Benchmark 3: curl --proxy socks5://127.0.0.1:2081 https://github.com + Time (mean ± σ): 390.8 ms ± 20.7 ms [User: 23.3 ms, System: 5.3 ms] + Range (min … max): 342.3 ms … 426.0 ms 50 runs + +Benchmark 4: curl --proxy socks5://127.0.0.1:2009 https://github.com + Time (mean ± σ): 527.5 ms ± 30.3 ms [User: 41.0 ms, System: 6.9 ms] + Range (min … max): 470.7 ms … 588.9 ms 50 runs + +Summary + curl --proxy socks5://127.0.0.1:2080 https://github.com ran + 1.00 ± 0.08 times faster than curl --proxy socks5://127.0.0.1:2081 https://github.com + 1.03 ± 0.09 times faster than curl https://github.com + 1.35 ± 0.12 times faster than curl --proxy socks5://127.0.0.1:2009 https://github.com +~/code/smp-socks> diff --git a/bench_iperf_direct.txt b/bench_iperf_direct.txt new file mode 100644 index 0000000..1a6708c --- /dev/null +++ b/bench_iperf_direct.txt @@ -0,0 +1,33 @@ +~/sb> iperf3 -c dc09.ru --bidir 18.11.2024 20:33:49 +Connecting to host dc09.ru, port 5201 +[ 5] local 100.74.226.136 port 43922 connected to 90.156.229.231 port 5201 +[ 7] local 100.74.226.136 port 43926 connected to 90.156.229.231 port 5201 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 13.4 MBytes 112 Mbits/sec 0 918 KBytes +[ 7][RX-C] 0.00-1.00 sec 2.62 MBytes 22.0 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.9 MBytes 91.2 Mbits/sec 0 918 KBytes +[ 7][RX-C] 1.00-2.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.0 MBytes 92.3 Mbits/sec 0 918 KBytes +[ 7][RX-C] 2.00-3.00 sec 4.00 MBytes 33.6 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.9 MBytes 91.2 Mbits/sec 0 918 KBytes +[ 7][RX-C] 3.00-4.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.0 MBytes 92.3 Mbits/sec 0 918 KBytes +[ 7][RX-C] 4.00-5.00 sec 5.25 MBytes 44.1 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.9 MBytes 91.2 Mbits/sec 0 918 KBytes +[ 7][RX-C] 5.00-6.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.0 MBytes 92.3 Mbits/sec 0 918 KBytes +[ 7][RX-C] 6.00-7.00 sec 4.00 MBytes 33.6 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.9 MBytes 91.2 Mbits/sec 0 918 KBytes +[ 7][RX-C] 7.00-8.00 sec 3.00 MBytes 25.2 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.0 MBytes 92.3 Mbits/sec 0 918 KBytes +[ 7][RX-C] 8.00-9.00 sec 3.50 MBytes 29.4 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.9 MBytes 91.2 Mbits/sec 0 918 KBytes +[ 7][RX-C] 9.00-10.00 sec 4.25 MBytes 35.6 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 112 MBytes 93.7 Mbits/sec 0 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.4 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 39.8 MBytes 33.3 Mbits/sec 114 sender +[ 7][RX-C] 0.00-10.03 sec 39.1 MBytes 32.7 Mbits/sec receiver + +iperf Done. diff --git a/bench_sb_socks.txt b/bench_sb_socks.txt new file mode 100644 index 0000000..32e3b60 --- /dev/null +++ b/bench_sb_socks.txt @@ -0,0 +1,132 @@ +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:36:53 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 44892 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 44906 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.9 MBytes 183 Mbits/sec 8 1.94 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.00 MBytes 33.5 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 12.0 MBytes 101 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.00 MBytes 33.6 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.0 MBytes 83.8 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 3.00-4.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.1 MBytes 84.9 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 4.00-5.00 sec 3.12 MBytes 26.2 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.0 MBytes 101 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 5.00-6.00 sec 3.75 MBytes 31.5 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 9.88 MBytes 82.8 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 6.00-7.00 sec 4.38 MBytes 36.7 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 12.1 MBytes 102 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 7.00-8.00 sec 4.38 MBytes 36.7 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.0 MBytes 83.9 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 8.00-9.00 sec 4.38 MBytes 36.7 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.0 MBytes 101 Mbits/sec 0 1.94 MBytes +[ 7][RX-C] 9.00-10.00 sec 4.88 MBytes 40.9 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 8 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.2 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 50.8 MBytes 42.6 Mbits/sec 8 sender +[ 7][RX-C] 0.00-10.03 sec 41.0 MBytes 34.3 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:37:18 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 36654 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 36660 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.4 MBytes 179 Mbits/sec 6 2.56 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.8 MBytes 98.6 Mbits/sec 5 2.56 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.25 MBytes 35.7 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.6 MBytes 97.5 Mbits/sec 5 2.56 MBytes +[ 7][RX-C] 2.00-3.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 9.62 MBytes 80.7 Mbits/sec 5 2.56 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.2 MBytes 94.3 Mbits/sec 5 2.56 MBytes +[ 7][RX-C] 4.00-5.00 sec 6.12 MBytes 51.4 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.4 MBytes 95.4 Mbits/sec 3 2.56 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 9.88 MBytes 82.8 Mbits/sec 4 2.56 MBytes +[ 7][RX-C] 6.00-7.00 sec 6.25 MBytes 52.4 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.1 MBytes 93.3 Mbits/sec 1 2.56 MBytes +[ 7][RX-C] 7.00-8.00 sec 6.88 MBytes 57.7 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 12.0 MBytes 101 Mbits/sec 1 2.56 MBytes +[ 7][RX-C] 8.00-9.00 sec 7.62 MBytes 64.0 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.2 MBytes 94.4 Mbits/sec 4 2.56 MBytes +[ 7][RX-C] 9.00-10.00 sec 7.25 MBytes 60.8 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 102 Mbits/sec 39 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.3 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 67.9 MBytes 56.9 Mbits/sec 8 sender +[ 7][RX-C] 0.00-10.03 sec 58.2 MBytes 48.7 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:37:32 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 48284 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 48296 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.8 MBytes 182 Mbits/sec 5 6.68 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.50 MBytes 29.4 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 9.88 MBytes 82.8 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.88 MBytes 40.9 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.0 MBytes 83.9 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.0 MBytes 83.9 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 6.00-7.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.1 MBytes 84.9 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.62 MBytes 47.2 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 9.00-10.00 sec 5.75 MBytes 48.2 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 5 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.4 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 60.0 MBytes 50.3 Mbits/sec 7 sender +[ 7][RX-C] 0.00-10.03 sec 50.0 MBytes 41.8 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:37:46 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 49148 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 49156 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.6 MBytes 190 Mbits/sec 7 4.68 MBytes +[ 7][RX-C] 0.00-1.00 sec 2.88 MBytes 24.1 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.9 MBytes 91.2 Mbits/sec 4 4.68 MBytes +[ 7][RX-C] 1.00-2.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.5 MBytes 88.1 Mbits/sec 3 4.68 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 3 4.68 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.1 MBytes 93.3 Mbits/sec 2 4.68 MBytes +[ 7][RX-C] 4.00-5.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 9.38 MBytes 78.6 Mbits/sec 3 4.68 MBytes +[ 7][RX-C] 5.00-6.00 sec 6.00 MBytes 50.3 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 12.2 MBytes 103 Mbits/sec 2 4.68 MBytes +[ 7][RX-C] 6.00-7.00 sec 6.50 MBytes 54.5 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.2 MBytes 86.0 Mbits/sec 2 4.68 MBytes +[ 7][RX-C] 7.00-8.00 sec 7.00 MBytes 58.7 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.0 MBytes 92.3 Mbits/sec 3 4.68 MBytes +[ 7][RX-C] 8.00-9.00 sec 7.62 MBytes 64.0 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.5 MBytes 88.1 Mbits/sec 0 4.68 MBytes +[ 7][RX-C] 9.00-10.00 sec 8.25 MBytes 69.2 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 101 Mbits/sec 29 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.3 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 66.8 MBytes 56.0 Mbits/sec 13 sender +[ 7][RX-C] 0.00-10.03 sec 56.0 MBytes 46.8 Mbits/sec receiver + +iperf Done. diff --git a/bench_sb_trojan.txt b/bench_sb_trojan.txt new file mode 100644 index 0000000..86353d2 --- /dev/null +++ b/bench_sb_trojan.txt @@ -0,0 +1,195 @@ +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:00:24 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 46474 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 46482 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.1 MBytes 177 Mbits/sec 3 2.75 MBytes +[ 7][RX-C] 0.00-1.00 sec 2.88 MBytes 24.1 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.5 MBytes 96.5 Mbits/sec 2 2.75 MBytes +[ 7][RX-C] 1.00-2.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 9.75 MBytes 81.8 Mbits/sec 0 2.75 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.25 MBytes 35.7 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 0 2.75 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.1 MBytes 93.3 Mbits/sec 0 2.75 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.9 MBytes 91.2 Mbits/sec 1 2.75 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 12.2 MBytes 103 Mbits/sec 2 2.75 MBytes +[ 7][RX-C] 6.00-7.00 sec 5.38 MBytes 45.1 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.8 MBytes 90.2 Mbits/sec 0 2.75 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.0 MBytes 92.3 Mbits/sec 0 2.75 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.2 MBytes 94.4 Mbits/sec 2 2.75 MBytes +[ 7][RX-C] 9.00-10.00 sec 5.38 MBytes 45.1 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 10 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.0 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 54.8 MBytes 45.9 Mbits/sec 20 sender +[ 7][RX-C] 0.00-10.03 sec 46.6 MBytes 39.0 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:00:45 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 36944 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 36950 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.9 MBytes 192 Mbits/sec 3 5.93 MBytes +[ 7][RX-C] 0.00-1.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.0 MBytes 83.9 Mbits/sec 2 5.93 MBytes +[ 7][RX-C] 1.00-2.00 sec 6.00 MBytes 50.3 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 12.4 MBytes 104 Mbits/sec 2 5.93 MBytes +[ 7][RX-C] 2.00-3.00 sec 6.75 MBytes 56.6 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 9.75 MBytes 81.8 Mbits/sec 1 5.93 MBytes +[ 7][RX-C] 3.00-4.00 sec 7.50 MBytes 62.9 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.2 MBytes 94.4 Mbits/sec 3 5.93 MBytes +[ 7][RX-C] 4.00-5.00 sec 7.88 MBytes 66.1 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.0 MBytes 83.9 Mbits/sec 0 5.93 MBytes +[ 7][RX-C] 5.00-6.00 sec 6.88 MBytes 57.7 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 12.8 MBytes 107 Mbits/sec 5 5.93 MBytes +[ 7][RX-C] 6.00-7.00 sec 7.88 MBytes 66.1 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 9.62 MBytes 80.7 Mbits/sec 1 5.93 MBytes +[ 7][RX-C] 7.00-8.00 sec 8.38 MBytes 70.3 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.5 MBytes 96.5 Mbits/sec 2 5.93 MBytes +[ 7][RX-C] 8.00-9.00 sec 6.62 MBytes 55.6 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 9.38 MBytes 78.6 Mbits/sec 1 5.93 MBytes +[ 7][RX-C] 9.00-10.00 sec 7.38 MBytes 61.9 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 100 Mbits/sec 20 sender +[ 5][TX-C] 0.00-10.04 sec 108 MBytes 90.5 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 77.9 MBytes 65.3 Mbits/sec 24 sender +[ 7][RX-C] 0.00-10.04 sec 70.2 MBytes 58.7 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:00:57 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 55668 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 55670 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 20.2 MBytes 170 Mbits/sec 5 6.31 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.00 MBytes 33.5 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.9 MBytes 91.2 Mbits/sec 0 6.31 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.6 MBytes 89.1 Mbits/sec 1 6.31 MBytes +[ 7][RX-C] 2.00-3.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.0 MBytes 92.2 Mbits/sec 1 6.31 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 12.0 MBytes 101 Mbits/sec 2 6.31 MBytes +[ 7][RX-C] 4.00-5.00 sec 6.38 MBytes 53.5 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 9.25 MBytes 77.6 Mbits/sec 2 6.31 MBytes +[ 7][RX-C] 5.00-6.00 sec 7.00 MBytes 58.7 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.4 MBytes 95.4 Mbits/sec 3 6.31 MBytes +[ 7][RX-C] 6.00-7.00 sec 7.38 MBytes 61.9 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 12.4 MBytes 104 Mbits/sec 2 6.31 MBytes +[ 7][RX-C] 7.00-8.00 sec 8.00 MBytes 67.1 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.8 MBytes 90.2 Mbits/sec 1 6.31 MBytes +[ 7][RX-C] 8.00-9.00 sec 8.25 MBytes 69.2 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.8 MBytes 90.2 Mbits/sec 2 6.31 MBytes +[ 7][RX-C] 9.00-10.00 sec 5.88 MBytes 49.3 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 119 MBytes 100 Mbits/sec 19 sender +[ 5][TX-C] 0.00-10.03 sec 108 MBytes 90.2 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 73.8 MBytes 61.9 Mbits/sec 14 sender +[ 7][RX-C] 0.00-10.03 sec 63.2 MBytes 52.9 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:01:15 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 45936 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 45952 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 19.4 MBytes 162 Mbits/sec 2 639 KBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 703 KBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +^C[ 5][TX-C] 2.00-2.53 sec 0.00 Bytes 0.00 bits/sec 0 703 KBytes +[ 7][RX-C] 2.00-2.53 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-2.53 sec 19.4 MBytes 64.3 Mbits/sec 2 sender +[ 5][TX-C] 0.00-2.53 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-2.53 sec 0.00 Bytes 0.00 bits/sec sender +[ 7][RX-C] 0.00-2.53 sec 0.00 Bytes 0.00 bits/sec receiver +iperf3: interrupt - the client has terminated +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 21:01:19 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 52476 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 52484 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 19.4 MBytes 162 Mbits/sec 4 1.69 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 1.69 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 1.69 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +iperf3: error - control socket has closed unexpectedly +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 1 18.11.2024 21:05:46 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 54152 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 54164 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.4 MBytes 188 Mbits/sec 2 5.31 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.00 MBytes 33.5 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec 0 5.31 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.00 MBytes 33.6 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 9.62 MBytes 80.7 Mbits/sec 0 5.31 MBytes +[ 7][RX-C] 2.00-3.00 sec 3.12 MBytes 26.2 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 1 5.31 MBytes +[ 7][RX-C] 3.00-4.00 sec 3.50 MBytes 29.4 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.6 MBytes 97.5 Mbits/sec 0 5.31 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.00 MBytes 33.6 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.4 MBytes 87.0 Mbits/sec 2 5.31 MBytes +[ 7][RX-C] 5.00-6.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.0 MBytes 92.3 Mbits/sec 0 5.31 MBytes +[ 7][RX-C] 6.00-7.00 sec 3.12 MBytes 26.2 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 12.0 MBytes 101 Mbits/sec 0 5.31 MBytes +[ 7][RX-C] 7.00-8.00 sec 3.25 MBytes 27.3 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 9.12 MBytes 76.6 Mbits/sec 0 5.31 MBytes +[ 7][RX-C] 8.00-9.00 sec 2.38 MBytes 19.9 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.9 MBytes 99.6 Mbits/sec 1 5.31 MBytes +[ 7][RX-C] 9.00-10.00 sec 3.00 MBytes 25.2 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 102 Mbits/sec 6 sender +[ 5][TX-C] 0.00-10.03 sec 110 MBytes 91.7 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 43.0 MBytes 36.1 Mbits/sec 6 sender +[ 7][RX-C] 0.00-10.03 sec 33.8 MBytes 28.2 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:06:30 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 37224 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 37232 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 20.9 MBytes 175 Mbits/sec 3 1.25 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 12.4 MBytes 104 Mbits/sec 1 1.25 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 9.62 MBytes 80.7 Mbits/sec 1 1.25 MBytes +[ 7][RX-C] 2.00-3.00 sec 3.25 MBytes 27.3 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 3 1.25 MBytes +[ 7][RX-C] 3.00-4.00 sec 3.88 MBytes 32.5 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.0 MBytes 92.3 Mbits/sec 4 1.25 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.1 MBytes 93.3 Mbits/sec 2 1.25 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.8 MBytes 90.2 Mbits/sec 2 1.25 MBytes +[ 7][RX-C] 6.00-7.00 sec 6.12 MBytes 51.4 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 9.75 MBytes 81.8 Mbits/sec 3 1.25 MBytes +[ 7][RX-C] 7.00-8.00 sec 6.88 MBytes 57.7 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 12.4 MBytes 104 Mbits/sec 5 1.25 MBytes +[ 7][RX-C] 8.00-9.00 sec 7.25 MBytes 60.8 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.9 MBytes 91.2 Mbits/sec 5 1.25 MBytes +[ 7][RX-C] 9.00-10.00 sec 6.38 MBytes 53.5 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 101 Mbits/sec 29 sender +[ 5][TX-C] 0.00-10.04 sec 108 MBytes 90.6 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 62.1 MBytes 52.1 Mbits/sec 19 sender +[ 7][RX-C] 0.00-10.04 sec 53.6 MBytes 44.8 Mbits/sec receiver + +iperf Done. diff --git a/bench_sb_trojan_fail.txt b/bench_sb_trojan_fail.txt new file mode 100644 index 0000000..2bd2815 --- /dev/null +++ b/bench_sb_trojan_fail.txt @@ -0,0 +1,140 @@ +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:43:14 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 33144 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 33146 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.1 MBytes 177 Mbits/sec 4 6.00 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.4 MBytes 95.3 Mbits/sec 4 6.00 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.75 MBytes 48.2 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.6 MBytes 89.1 Mbits/sec 0 6.00 MBytes +[ 7][RX-C] 2.00-3.00 sec 6.75 MBytes 56.6 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.0 MBytes 92.4 Mbits/sec 1 6.00 MBytes +[ 7][RX-C] 3.00-4.00 sec 6.38 MBytes 53.5 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 9.38 MBytes 78.6 Mbits/sec 2 6.00 MBytes +[ 7][RX-C] 4.00-5.00 sec 6.25 MBytes 52.4 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.2 MBytes 103 Mbits/sec 0 6.00 MBytes +[ 7][RX-C] 5.00-6.00 sec 7.00 MBytes 58.7 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.8 MBytes 90.2 Mbits/sec 2 6.00 MBytes +[ 7][RX-C] 6.00-7.00 sec 7.62 MBytes 64.0 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.4 MBytes 87.0 Mbits/sec 1 6.00 MBytes +[ 7][RX-C] 7.00-8.00 sec 8.38 MBytes 70.3 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.1 MBytes 93.4 Mbits/sec 1 6.00 MBytes +[ 7][RX-C] 8.00-9.00 sec 9.00 MBytes 75.6 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.6 MBytes 97.5 Mbits/sec 0 6.00 MBytes +[ 7][RX-C] 9.00-10.00 sec 7.38 MBytes 61.9 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 100 Mbits/sec 15 sender +[ 5][TX-C] 0.00-10.03 sec 108 MBytes 90.6 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 76.2 MBytes 64.0 Mbits/sec 24 sender +[ 7][RX-C] 0.00-10.03 sec 69.2 MBytes 57.9 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:43:36 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 42394 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 42396 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.6 MBytes 190 Mbits/sec 2 3.93 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.8 MBytes 90.2 Mbits/sec 3 3.93 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.0 MBytes 92.3 Mbits/sec 3 3.93 MBytes +[ 7][RX-C] 2.00-3.00 sec 6.00 MBytes 50.3 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 1 3.93 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 9.62 MBytes 80.7 Mbits/sec 1 3.93 MBytes +[ 7][RX-C] 4.00-5.00 sec 5.38 MBytes 45.1 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.1 MBytes 93.3 Mbits/sec 2 3.93 MBytes +[ 7][RX-C] 5.00-6.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.4 MBytes 95.4 Mbits/sec 2 3.93 MBytes +[ 7][RX-C] 6.00-7.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.9 MBytes 91.2 Mbits/sec 2 3.93 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.0 MBytes 92.3 Mbits/sec 2 3.93 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.38 MBytes 45.1 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.9 MBytes 91.2 Mbits/sec 1 3.93 MBytes +[ 7][RX-C] 9.00-10.00 sec 5.88 MBytes 49.3 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 102 Mbits/sec 19 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.0 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 60.0 MBytes 50.3 Mbits/sec 21 sender +[ 7][RX-C] 0.00-10.03 sec 53.0 MBytes 44.3 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:43:48 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 47364 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 47376 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 20.8 MBytes 174 Mbits/sec 3 6.06 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.8 MBytes 90.2 Mbits/sec 2 6.06 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.75 MBytes 48.2 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 12.4 MBytes 104 Mbits/sec 0 6.06 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.38 MBytes 36.7 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 9.75 MBytes 81.8 Mbits/sec 0 6.06 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.9 MBytes 91.2 Mbits/sec 3 6.06 MBytes +[ 7][RX-C] 4.00-5.00 sec 6.00 MBytes 50.3 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.4 MBytes 104 Mbits/sec 0 6.06 MBytes +[ 7][RX-C] 5.00-6.00 sec 6.75 MBytes 56.6 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 9.25 MBytes 77.6 Mbits/sec 1 6.06 MBytes +[ 7][RX-C] 6.00-7.00 sec 7.50 MBytes 62.9 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 12.4 MBytes 104 Mbits/sec 0 6.06 MBytes +[ 7][RX-C] 7.00-8.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.8 MBytes 90.2 Mbits/sec 0 6.06 MBytes +[ 7][RX-C] 8.00-9.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.9 MBytes 91.2 Mbits/sec 0 6.06 MBytes +[ 7][RX-C] 9.00-10.00 sec 5.62 MBytes 47.2 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 101 Mbits/sec 9 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.0 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 64.4 MBytes 54.0 Mbits/sec 14 sender +[ 7][RX-C] 0.00-10.03 sec 55.2 MBytes 46.2 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:44:01 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 59110 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 59122 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 19.5 MBytes 163 Mbits/sec 3 4.31 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 4.31 MBytes +[ 7][RX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 19.5 MBytes 16.4 Mbits/sec 3 sender +[ 5][TX-C] 0.00-10.02 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 13.0 MBytes 10.9 Mbits/sec 7 sender +[ 7][RX-C] 0.00-10.02 sec 0.00 Bytes 0.00 bits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:44:14 +iperf3: error - control socket has closed unexpectedly +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 20:44:47 +iperf3: error - control socket has closed unexpectedly +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 20:45:43 +iperf3: error - control socket has closed unexpectedly +~/iperf/src> ./iperf3 -c dc09.ru --socks5 127.0.0.1:2081 +iperf3: error - control socket has closed unexpectedly diff --git a/bench_sb_vless.txt b/bench_sb_vless.txt new file mode 100644 index 0000000..529346b --- /dev/null +++ b/bench_sb_vless.txt @@ -0,0 +1,277 @@ +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:51:50 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 47364 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 47366 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 20.8 MBytes 174 Mbits/sec 6 5.00 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 9.75 MBytes 81.8 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.75 MBytes 48.2 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.1 MBytes 93.3 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 2.00-3.00 sec 6.50 MBytes 54.5 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.1 MBytes 93.3 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 3.00-4.00 sec 7.25 MBytes 60.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.5 MBytes 96.5 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 4.00-5.00 sec 8.00 MBytes 67.1 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 9.75 MBytes 81.7 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.88 MBytes 49.2 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.5 MBytes 96.5 Mbits/sec 2 5.00 MBytes +[ 7][RX-C] 6.00-7.00 sec 4.75 MBytes 39.9 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.4 MBytes 95.3 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.62 MBytes 47.1 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.1 MBytes 93.3 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.62 MBytes 47.2 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.6 MBytes 97.5 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 9.00-10.00 sec 4.38 MBytes 36.7 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 100 Mbits/sec 9 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 90.9 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 66.0 MBytes 55.4 Mbits/sec 13 sender +[ 7][RX-C] 0.00-10.03 sec 58.5 MBytes 48.9 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:52:06 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 60160 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 60176 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.6 MBytes 181 Mbits/sec 4 5.06 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.25 MBytes 27.3 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.1 MBytes 93.2 Mbits/sec 5 5.06 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.38 MBytes 36.7 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.8 MBytes 90.3 Mbits/sec 5 5.06 MBytes +[ 7][RX-C] 2.00-3.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.0 MBytes 92.3 Mbits/sec 5 5.06 MBytes +[ 7][RX-C] 3.00-4.00 sec 6.00 MBytes 50.3 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.9 MBytes 91.2 Mbits/sec 5 5.06 MBytes +[ 7][RX-C] 4.00-5.00 sec 6.88 MBytes 57.7 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.6 MBytes 89.1 Mbits/sec 5 5.06 MBytes +[ 7][RX-C] 5.00-6.00 sec 7.75 MBytes 65.0 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 12.4 MBytes 104 Mbits/sec 4 5.06 MBytes +[ 7][RX-C] 6.00-7.00 sec 6.88 MBytes 57.7 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.4 MBytes 87.0 Mbits/sec 4 5.06 MBytes +[ 7][RX-C] 7.00-8.00 sec 7.38 MBytes 61.9 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.6 MBytes 89.1 Mbits/sec 4 5.06 MBytes +[ 7][RX-C] 8.00-9.00 sec 7.88 MBytes 66.1 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.0 MBytes 101 Mbits/sec 2 5.06 MBytes +[ 7][RX-C] 9.00-10.00 sec 8.50 MBytes 71.3 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 102 Mbits/sec 43 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 90.9 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 72.8 MBytes 61.0 Mbits/sec 18 sender +[ 7][RX-C] 0.00-10.03 sec 64.0 MBytes 53.5 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:52:19 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 37664 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 37674 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.2 MBytes 187 Mbits/sec 4 4.87 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec 1 4.87 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.88 MBytes 40.9 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.8 MBytes 90.2 Mbits/sec 0 4.87 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 1 4.87 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 9.75 MBytes 81.8 Mbits/sec 1 4.87 MBytes +[ 7][RX-C] 4.00-5.00 sec 2.50 MBytes 21.0 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.0 MBytes 101 Mbits/sec 1 4.87 MBytes +[ 7][RX-C] 5.00-6.00 sec 2.38 MBytes 19.9 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.1 MBytes 93.4 Mbits/sec 1 4.87 MBytes +[ 7][RX-C] 6.00-7.00 sec 2.12 MBytes 17.8 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.4 MBytes 87.0 Mbits/sec 1 4.87 MBytes +[ 7][RX-C] 7.00-8.00 sec 2.62 MBytes 22.0 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.6 MBytes 89.1 Mbits/sec 0 4.87 MBytes +[ 7][RX-C] 8.00-9.00 sec 3.25 MBytes 27.2 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.1 MBytes 93.4 Mbits/sec 1 4.87 MBytes +[ 7][RX-C] 9.00-10.00 sec 3.88 MBytes 32.5 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 102 Mbits/sec 11 sender +[ 5][TX-C] 0.00-10.03 sec 110 MBytes 91.6 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 43.4 MBytes 36.4 Mbits/sec 11 sender +[ 7][RX-C] 0.00-10.03 sec 35.2 MBytes 29.5 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:52:40 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 39800 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 39804 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 17.1 MBytes 144 Mbits/sec 1 639 KBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 639 KBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 639 KBytes +[ 7][RX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0 639 KBytes +[ 7][RX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 639 KBytes +[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec +^C[ 5][TX-C] 5.00-5.63 sec 0.00 Bytes 0.00 bits/sec 0 639 KBytes +[ 7][RX-C] 5.00-5.63 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-5.63 sec 17.1 MBytes 25.5 Mbits/sec 1 sender +[ 5][TX-C] 0.00-5.63 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-5.63 sec 0.00 Bytes 0.00 bits/sec sender +[ 7][RX-C] 0.00-5.63 sec 0.00 Bytes 0.00 bits/sec receiver +iperf3: interrupt - the client has terminated +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 20:52:51 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 55082 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 55086 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 17.9 MBytes 150 Mbits/sec 4 5.06 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 5.06 MBytes +[ 7][RX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 17.9 MBytes 15.0 Mbits/sec 4 sender +[ 5][TX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 13.8 MBytes 11.5 Mbits/sec 1 sender +[ 7][RX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:53:29 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 48944 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 48956 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.4 MBytes 179 Mbits/sec 1 4.25 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.50 MBytes 29.3 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec 2 4.25 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 9.88 MBytes 82.8 Mbits/sec 1 4.25 MBytes +[ 7][RX-C] 2.00-3.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.6 MBytes 97.5 Mbits/sec 2 4.25 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.9 MBytes 91.2 Mbits/sec 1 4.25 MBytes +[ 7][RX-C] 4.00-5.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.4 MBytes 95.4 Mbits/sec 1 4.25 MBytes +[ 7][RX-C] 5.00-6.00 sec 6.12 MBytes 51.4 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.8 MBytes 90.2 Mbits/sec 0 4.25 MBytes +[ 7][RX-C] 6.00-7.00 sec 6.38 MBytes 53.5 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.2 MBytes 86.0 Mbits/sec 0 4.25 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.9 MBytes 91.2 Mbits/sec 0 4.25 MBytes +[ 7][RX-C] 8.00-9.00 sec 6.50 MBytes 54.5 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.0 MBytes 101 Mbits/sec 2 4.25 MBytes +[ 7][RX-C] 9.00-10.00 sec 7.25 MBytes 60.8 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 101 Mbits/sec 10 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.2 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 61.8 MBytes 51.8 Mbits/sec 23 sender +[ 7][RX-C] 0.00-10.03 sec 55.6 MBytes 46.5 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:53:53 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 50736 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 50740 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.5 MBytes 189 Mbits/sec 4 3.87 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 9.75 MBytes 81.8 Mbits/sec 3 3.87 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.75 MBytes 48.2 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.0 MBytes 92.3 Mbits/sec 4 3.87 MBytes +[ 7][RX-C] 2.00-3.00 sec 6.50 MBytes 54.5 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.2 MBytes 94.4 Mbits/sec 1 3.87 MBytes +[ 7][RX-C] 3.00-4.00 sec 7.12 MBytes 59.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.4 MBytes 95.4 Mbits/sec 3 3.87 MBytes +[ 7][RX-C] 4.00-5.00 sec 7.88 MBytes 66.1 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.5 MBytes 88.1 Mbits/sec 3 3.87 MBytes +[ 7][RX-C] 5.00-6.00 sec 8.75 MBytes 73.4 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.5 MBytes 96.5 Mbits/sec 4 3.87 MBytes +[ 7][RX-C] 6.00-7.00 sec 9.50 MBytes 79.7 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 9.88 MBytes 82.8 Mbits/sec 2 3.87 MBytes +[ 7][RX-C] 7.00-8.00 sec 10.1 MBytes 84.9 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.0 MBytes 92.3 Mbits/sec 2 3.87 MBytes +[ 7][RX-C] 8.00-9.00 sec 8.38 MBytes 70.3 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.2 MBytes 94.4 Mbits/sec 1 3.87 MBytes +[ 7][RX-C] 9.00-10.00 sec 9.38 MBytes 78.6 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 101 Mbits/sec 27 sender +[ 5][TX-C] 0.00-10.03 sec 108 MBytes 90.4 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 86.8 MBytes 72.8 Mbits/sec 24 sender +[ 7][RX-C] 0.00-10.03 sec 78.0 MBytes 65.2 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 20:54:57 +iperf3: SOCKS5 CONNECT failed with error 3 + +iperf3: error - socks5 Handshake with the server failed: +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 1 18.11.2024 20:55:01 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 44134 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 44140 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.9 MBytes 183 Mbits/sec 2 5.00 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.6 MBytes 97.5 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.8 MBytes 90.2 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 2.00-3.00 sec 3.88 MBytes 32.5 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.5 MBytes 88.1 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 3.00-4.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.8 MBytes 90.2 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 4.00-5.00 sec 3.75 MBytes 31.5 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.2 MBytes 94.3 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 5.00-6.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 12.0 MBytes 101 Mbits/sec 2 5.00 MBytes +[ 7][RX-C] 6.00-7.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.1 MBytes 84.9 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 7.00-8.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 12.0 MBytes 101 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 8.00-9.00 sec 4.25 MBytes 35.7 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.8 MBytes 90.1 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 9.00-10.00 sec 5.12 MBytes 43.0 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 9 sender +[ 5][TX-C] 0.00-10.03 sec 110 MBytes 91.6 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 49.5 MBytes 41.5 Mbits/sec 14 sender +[ 7][RX-C] 0.00-10.03 sec 39.6 MBytes 33.1 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 20:55:22 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 59870 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 59884 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 17.6 MBytes 148 Mbits/sec 2 4.56 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 4.56 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +^C[ 5][TX-C] 2.00-2.71 sec 0.00 Bytes 0.00 bits/sec 0 4.56 MBytes +[ 7][RX-C] 2.00-2.71 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-2.71 sec 17.6 MBytes 54.6 Mbits/sec 2 sender +[ 5][TX-C] 0.00-2.71 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-2.71 sec 0.00 Bytes 0.00 bits/sec sender +[ 7][RX-C] 0.00-2.71 sec 0.00 Bytes 0.00 bits/sec receiver +iperf3: interrupt - the client has terminated diff --git a/bench_xray_socks.txt b/bench_xray_socks.txt new file mode 100644 index 0000000..d42ce58 --- /dev/null +++ b/bench_xray_socks.txt @@ -0,0 +1,184 @@ +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:32:09 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 57018 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 57020 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.8 MBytes 191 Mbits/sec 5 7.31 MBytes +[ 7][RX-C] 0.00-1.00 sec 2.75 MBytes 23.1 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 9.88 MBytes 82.8 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 1.00-2.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.0 MBytes 83.9 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 2.00-3.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 3.00-4.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 12.0 MBytes 101 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 4.00-5.00 sec 3.75 MBytes 31.5 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.0 MBytes 83.8 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 5.00-6.00 sec 4.25 MBytes 35.6 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 12.0 MBytes 101 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 6.00-7.00 sec 4.88 MBytes 40.9 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.1 MBytes 85.0 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.38 MBytes 45.1 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 12.0 MBytes 101 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.0 MBytes 83.9 Mbits/sec 0 7.31 MBytes +[ 7][RX-C] 9.00-10.00 sec 6.50 MBytes 54.5 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 101 Mbits/sec 5 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.5 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 54.9 MBytes 46.0 Mbits/sec 18 sender +[ 7][RX-C] 0.00-10.03 sec 43.8 MBytes 36.6 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:32:51 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 54268 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 54270 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 18.6 MBytes 156 Mbits/sec 2 3.43 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 3.43 MBytes +[ 7][RX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 18.6 MBytes 15.6 Mbits/sec 2 sender +[ 5][TX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 15.9 MBytes 13.3 Mbits/sec 2 sender +[ 7][RX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:33:27 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 40096 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 40100 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 20.8 MBytes 174 Mbits/sec 3 3.06 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 3.06 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +^C[ 5][TX-C] 2.00-2.75 sec 0.00 Bytes 0.00 bits/sec 0 3.06 MBytes +[ 7][RX-C] 2.00-2.75 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-2.75 sec 20.8 MBytes 63.2 Mbits/sec 3 sender +[ 5][TX-C] 0.00-2.75 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-2.75 sec 0.00 Bytes 0.00 bits/sec sender +[ 7][RX-C] 0.00-2.75 sec 0.00 Bytes 0.00 bits/sec receiver +iperf3: interrupt - the client has terminated +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 21:33:40 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 45126 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 45128 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.0 MBytes 176 Mbits/sec 3 1.81 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 1.00 MBytes 8.39 Mbits/sec 0 1.81 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 1.81 MBytes +[ 7][RX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 22.0 MBytes 18.5 Mbits/sec 3 sender +[ 5][TX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 17.0 MBytes 14.3 Mbits/sec 1 sender +[ 7][RX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver + +iperf Done. +~/iperf/src> 18.11.2024 21:34:08 +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:34:09 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 39212 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 39228 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.6 MBytes 181 Mbits/sec 5 6.68 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 12.1 MBytes 102 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 9.88 MBytes 82.8 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.88 MBytes 40.9 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.0 MBytes 83.9 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 5.00-6.00 sec 4.88 MBytes 40.9 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 9.88 MBytes 82.8 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 6.00-7.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 12.1 MBytes 102 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 7.00-8.00 sec 3.88 MBytes 32.5 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.1 MBytes 84.9 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 8.00-9.00 sec 4.25 MBytes 35.7 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.0 MBytes 101 Mbits/sec 0 6.68 MBytes +[ 7][RX-C] 9.00-10.00 sec 3.88 MBytes 32.5 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 5 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.1 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 54.9 MBytes 46.0 Mbits/sec 35 sender +[ 7][RX-C] 0.00-10.03 sec 44.4 MBytes 37.1 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:34:25 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 53964 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 53974 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.6 MBytes 181 Mbits/sec 5 5.37 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.50 MBytes 29.4 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.6 MBytes 97.5 Mbits/sec 2 5.37 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.0 MBytes 92.3 Mbits/sec 2 5.37 MBytes +[ 7][RX-C] 2.00-3.00 sec 3.88 MBytes 32.5 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.9 MBytes 91.2 Mbits/sec 5 5.37 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.25 MBytes 35.6 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.5 MBytes 88.1 Mbits/sec 3 5.37 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.6 MBytes 97.6 Mbits/sec 3 5.37 MBytes +[ 7][RX-C] 5.00-6.00 sec 3.88 MBytes 32.5 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.2 MBytes 86.0 Mbits/sec 1 5.37 MBytes +[ 7][RX-C] 6.00-7.00 sec 3.00 MBytes 25.2 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.4 MBytes 95.3 Mbits/sec 4 5.37 MBytes +[ 7][RX-C] 7.00-8.00 sec 3.00 MBytes 25.1 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 12.4 MBytes 104 Mbits/sec 2 5.37 MBytes +[ 7][RX-C] 8.00-9.00 sec 3.50 MBytes 29.4 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.5 MBytes 96.5 Mbits/sec 2 5.37 MBytes +[ 7][RX-C] 9.00-10.00 sec 4.00 MBytes 33.6 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 123 MBytes 103 Mbits/sec 29 sender +[ 5][TX-C] 0.00-10.04 sec 109 MBytes 91.4 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 48.5 MBytes 40.7 Mbits/sec 17 sender +[ 7][RX-C] 0.00-10.04 sec 38.1 MBytes 31.8 Mbits/sec receiver + +iperf Done. diff --git a/bench_xray_trojan.txt b/bench_xray_trojan.txt new file mode 100644 index 0000000..31badef --- /dev/null +++ b/bench_xray_trojan.txt @@ -0,0 +1,218 @@ +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:35:52 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 48008 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 48012 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.6 MBytes 181 Mbits/sec 3 6.00 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.9 MBytes 99.6 Mbits/sec 0 6.00 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.1 MBytes 84.9 Mbits/sec 0 6.00 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.88 MBytes 40.9 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 2 6.00 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.1 MBytes 84.9 Mbits/sec 0 6.00 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.38 MBytes 36.7 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.5 MBytes 96.5 Mbits/sec 1 6.00 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.5 MBytes 96.5 Mbits/sec 0 6.00 MBytes +[ 7][RX-C] 6.00-7.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 9.50 MBytes 79.7 Mbits/sec 1 6.00 MBytes +[ 7][RX-C] 7.00-8.00 sec 4.38 MBytes 36.7 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.8 MBytes 90.2 Mbits/sec 1 6.00 MBytes +[ 7][RX-C] 8.00-9.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.4 MBytes 104 Mbits/sec 2 6.00 MBytes +[ 7][RX-C] 9.00-10.00 sec 4.25 MBytes 35.6 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 102 Mbits/sec 10 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.3 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 58.1 MBytes 48.8 Mbits/sec 11 sender +[ 7][RX-C] 0.00-10.03 sec 47.8 MBytes 39.9 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:36:08 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 57690 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 57700 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 23.4 MBytes 196 Mbits/sec 2 4.06 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 9.88 MBytes 82.9 Mbits/sec 4 4.06 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.88 MBytes 40.9 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.0 MBytes 92.2 Mbits/sec 3 4.06 MBytes +[ 7][RX-C] 2.00-3.00 sec 5.38 MBytes 45.0 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.6 MBytes 97.5 Mbits/sec 2 4.06 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 9.50 MBytes 79.7 Mbits/sec 2 4.06 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.25 MBytes 35.6 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.4 MBytes 104 Mbits/sec 3 4.06 MBytes +[ 7][RX-C] 5.00-6.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.2 MBytes 86.0 Mbits/sec 2 4.06 MBytes +[ 7][RX-C] 6.00-7.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.2 MBytes 94.3 Mbits/sec 2 4.06 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.9 MBytes 91.3 Mbits/sec 2 4.06 MBytes +[ 7][RX-C] 8.00-9.00 sec 4.75 MBytes 39.9 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.0 MBytes 101 Mbits/sec 3 4.06 MBytes +[ 7][RX-C] 9.00-10.00 sec 4.00 MBytes 33.6 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 25 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.3 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 56.1 MBytes 47.1 Mbits/sec 13 sender +[ 7][RX-C] 0.00-10.03 sec 46.0 MBytes 38.5 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:36:22 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 51252 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 51266 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 17.5 MBytes 147 Mbits/sec 5 2.31 MBytes +[ 7][RX-C] 0.00-1.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.0 MBytes 84.0 Mbits/sec 1 2.31 MBytes +[ 7][RX-C] 1.00-2.00 sec 6.50 MBytes 54.6 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 12.1 MBytes 102 Mbits/sec 2 2.31 MBytes +[ 7][RX-C] 2.00-3.00 sec 7.25 MBytes 60.8 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.2 MBytes 86.0 Mbits/sec 0 2.31 MBytes +[ 7][RX-C] 3.00-4.00 sec 8.00 MBytes 67.1 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.2 MBytes 86.0 Mbits/sec 2 2.31 MBytes +[ 7][RX-C] 4.00-5.00 sec 8.88 MBytes 74.4 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.2 MBytes 103 Mbits/sec 0 2.31 MBytes +[ 7][RX-C] 5.00-6.00 sec 7.88 MBytes 66.1 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.1 MBytes 84.9 Mbits/sec 0 2.31 MBytes +[ 7][RX-C] 6.00-7.00 sec 8.25 MBytes 69.2 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.5 MBytes 96.5 Mbits/sec 2 2.31 MBytes +[ 7][RX-C] 7.00-8.00 sec 8.88 MBytes 74.4 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.6 MBytes 89.1 Mbits/sec 1 2.31 MBytes +[ 7][RX-C] 8.00-9.00 sec 9.38 MBytes 78.6 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.2 MBytes 86.1 Mbits/sec 1 2.31 MBytes +[ 7][RX-C] 9.00-10.00 sec 10.1 MBytes 85.0 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 115 MBytes 96.4 Mbits/sec 14 sender +[ 5][TX-C] 0.00-10.03 sec 105 MBytes 88.1 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 91.8 MBytes 77.0 Mbits/sec 9 sender +[ 7][RX-C] 0.00-10.03 sec 80.6 MBytes 67.4 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:36:35 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 53056 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 53060 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 17.9 MBytes 150 Mbits/sec 4 703 KBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 703 KBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 703 KBytes +[ 7][RX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec +^C[ 5][TX-C] 3.00-3.73 sec 0.00 Bytes 0.00 bits/sec 0 703 KBytes +[ 7][RX-C] 3.00-3.73 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-3.73 sec 17.9 MBytes 40.2 Mbits/sec 4 sender +[ 5][TX-C] 0.00-3.73 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-3.73 sec 0.00 Bytes 0.00 bits/sec sender +[ 7][RX-C] 0.00-3.73 sec 0.00 Bytes 0.00 bits/sec receiver +iperf3: interrupt - the client has terminated +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 21:36:42 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 44244 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 44246 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 20.1 MBytes 169 Mbits/sec 7 1.87 MBytes +[ 7][RX-C] 0.00-1.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.4 MBytes 95.4 Mbits/sec 2 1.87 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.9 MBytes 91.2 Mbits/sec 0 1.87 MBytes +[ 7][RX-C] 2.00-3.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.9 MBytes 91.2 Mbits/sec 0 1.87 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.50 MBytes 46.1 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.8 MBytes 90.2 Mbits/sec 0 1.87 MBytes +[ 7][RX-C] 4.00-5.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.4 MBytes 104 Mbits/sec 1 1.87 MBytes +[ 7][RX-C] 5.00-6.00 sec 6.00 MBytes 50.3 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 9.25 MBytes 77.6 Mbits/sec 1 1.87 MBytes +[ 7][RX-C] 6.00-7.00 sec 6.62 MBytes 55.6 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 12.5 MBytes 105 Mbits/sec 2 1.87 MBytes +[ 7][RX-C] 7.00-8.00 sec 7.62 MBytes 64.0 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 9.88 MBytes 82.8 Mbits/sec 2 1.87 MBytes +[ 7][RX-C] 8.00-9.00 sec 8.38 MBytes 70.2 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.1 MBytes 93.3 Mbits/sec 3 1.87 MBytes +[ 7][RX-C] 9.00-10.00 sec 9.12 MBytes 76.6 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 119 MBytes 99.9 Mbits/sec 18 sender +[ 5][TX-C] 0.00-10.04 sec 108 MBytes 90.0 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 74.5 MBytes 62.5 Mbits/sec 22 sender +[ 7][RX-C] 0.00-10.04 sec 64.5 MBytes 53.9 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:37:15 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 47906 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 47920 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.6 MBytes 181 Mbits/sec 0 2.62 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.12 MBytes 26.2 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.0 MBytes 92.4 Mbits/sec 0 2.62 MBytes +[ 7][RX-C] 1.00-2.00 sec 2.88 MBytes 24.1 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.2 MBytes 94.3 Mbits/sec 1 2.62 MBytes +[ 7][RX-C] 2.00-3.00 sec 3.12 MBytes 26.2 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 11.1 MBytes 93.3 Mbits/sec 1 2.62 MBytes +[ 7][RX-C] 3.00-4.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.6 MBytes 97.5 Mbits/sec 1 2.62 MBytes +[ 7][RX-C] 4.00-5.00 sec 2.62 MBytes 22.0 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 12.0 MBytes 101 Mbits/sec 1 2.62 MBytes +[ 7][RX-C] 5.00-6.00 sec 2.75 MBytes 23.1 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.9 MBytes 91.2 Mbits/sec 0 2.62 MBytes +[ 7][RX-C] 6.00-7.00 sec 3.38 MBytes 28.3 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 9.50 MBytes 79.7 Mbits/sec 0 2.62 MBytes +[ 7][RX-C] 7.00-8.00 sec 3.88 MBytes 32.5 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.2 MBytes 94.4 Mbits/sec 1 2.62 MBytes +[ 7][RX-C] 8.00-9.00 sec 3.75 MBytes 31.5 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.2 MBytes 94.4 Mbits/sec 0 2.62 MBytes +[ 7][RX-C] 9.00-10.00 sec 2.88 MBytes 24.1 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 122 MBytes 102 Mbits/sec 5 sender +[ 5][TX-C] 0.00-10.03 sec 110 MBytes 91.7 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 43.4 MBytes 36.4 Mbits/sec 21 sender +[ 7][RX-C] 0.00-10.03 sec 32.0 MBytes 26.8 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:37:31 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 53072 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 53084 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 23.5 MBytes 197 Mbits/sec 5 2.94 MBytes +[ 7][RX-C] 0.00-1.00 sec 2.62 MBytes 22.0 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.4 MBytes 87.0 Mbits/sec 2 2.94 MBytes +[ 7][RX-C] 1.00-2.00 sec 2.62 MBytes 22.0 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.2 MBytes 94.4 Mbits/sec 3 2.94 MBytes +[ 7][RX-C] 2.00-3.00 sec 3.12 MBytes 26.2 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.4 MBytes 87.0 Mbits/sec 3 2.94 MBytes +[ 7][RX-C] 3.00-4.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.5 MBytes 96.5 Mbits/sec 1 2.94 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.25 MBytes 35.7 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.2 MBytes 85.9 Mbits/sec 1 2.94 MBytes +[ 7][RX-C] 5.00-6.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 11.9 MBytes 99.7 Mbits/sec 4 2.94 MBytes +[ 7][RX-C] 6.00-7.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 10.2 MBytes 85.9 Mbits/sec 1 2.94 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.75 MBytes 48.2 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.9 MBytes 91.2 Mbits/sec 2 2.94 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 12.8 MBytes 107 Mbits/sec 3 2.94 MBytes +[ 7][RX-C] 9.00-10.00 sec 4.12 MBytes 34.6 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 123 MBytes 103 Mbits/sec 25 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.3 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 52.1 MBytes 43.7 Mbits/sec 23 sender +[ 7][RX-C] 0.00-10.03 sec 41.8 MBytes 34.9 Mbits/sec receiver + +iperf Done. diff --git a/bench_xray_vless.txt b/bench_xray_vless.txt new file mode 100644 index 0000000..d48da60 --- /dev/null +++ b/bench_xray_vless.txt @@ -0,0 +1,168 @@ +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:39:06 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 46048 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 46052 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 18.6 MBytes 156 Mbits/sec 3 2.44 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.88 MBytes 32.5 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 10.5 MBytes 88.0 Mbits/sec 0 2.44 MBytes +[ 7][RX-C] 1.00-2.00 sec 5.00 MBytes 41.9 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.2 MBytes 94.4 Mbits/sec 2 2.44 MBytes +[ 7][RX-C] 2.00-3.00 sec 5.38 MBytes 45.1 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.6 MBytes 89.1 Mbits/sec 2 2.44 MBytes +[ 7][RX-C] 3.00-4.00 sec 5.75 MBytes 48.2 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.0 MBytes 92.4 Mbits/sec 1 2.44 MBytes +[ 7][RX-C] 4.00-5.00 sec 3.75 MBytes 31.5 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 11.8 MBytes 98.6 Mbits/sec 1 2.44 MBytes +[ 7][RX-C] 5.00-6.00 sec 3.62 MBytes 30.4 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 10.2 MBytes 85.9 Mbits/sec 1 2.44 MBytes +[ 7][RX-C] 6.00-7.00 sec 4.12 MBytes 34.6 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.5 MBytes 96.5 Mbits/sec 6 2.44 MBytes +[ 7][RX-C] 7.00-8.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 11.1 MBytes 93.3 Mbits/sec 1 2.44 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.38 MBytes 45.1 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 11.5 MBytes 96.6 Mbits/sec 0 2.44 MBytes +[ 7][RX-C] 9.00-10.00 sec 6.00 MBytes 50.4 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 118 MBytes 99.1 Mbits/sec 17 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.2 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 57.6 MBytes 48.3 Mbits/sec 21 sender +[ 7][RX-C] 0.00-10.03 sec 47.6 MBytes 39.8 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:39:19 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 40436 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 40440 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 19.1 MBytes 160 Mbits/sec 1 4.25 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 4.25 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +^C[ 5][TX-C] 2.00-2.62 sec 0.00 Bytes 0.00 bits/sec 0 4.25 MBytes +[ 7][RX-C] 2.00-2.62 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-2.62 sec 19.1 MBytes 61.2 Mbits/sec 1 sender +[ 5][TX-C] 0.00-2.62 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-2.62 sec 0.00 Bytes 0.00 bits/sec sender +[ 7][RX-C] 0.00-2.62 sec 0.00 Bytes 0.00 bits/sec receiver +iperf3: interrupt - the client has terminated +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 21:39:25 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 47176 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 47182 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 17.9 MBytes 150 Mbits/sec 4 703 KBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 703 KBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +^C[ 5][TX-C] 2.00-2.49 sec 0.00 Bytes 0.00 bits/sec 0 703 KBytes +[ 7][RX-C] 2.00-2.49 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-2.49 sec 17.9 MBytes 60.3 Mbits/sec 4 sender +[ 5][TX-C] 0.00-2.49 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-2.49 sec 0.00 Bytes 0.00 bits/sec sender +[ 7][RX-C] 0.00-2.49 sec 0.00 Bytes 0.00 bits/sec receiver +iperf3: interrupt - the client has terminated +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 1 18.11.2024 21:39:46 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 50626 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 50642 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 18.1 MBytes 152 Mbits/sec 1 2.50 MBytes +[ 7][RX-C] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec +[ 5][TX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0 2.50 MBytes +[ 7][RX-C] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 18.1 MBytes 15.2 Mbits/sec 1 sender +[ 5][TX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 14.6 MBytes 12.3 Mbits/sec 2 sender +[ 7][RX-C] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2080 18.11.2024 21:41:09 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 33152 connected to 127.0.0.1 port 2080 +[ 7] local 127.0.0.1 port 33162 connected to 127.0.0.1 port 2080 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 21.6 MBytes 181 Mbits/sec 5 5.00 MBytes +[ 7][RX-C] 0.00-1.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.0 MBytes 92.3 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 1.00-2.00 sec 4.50 MBytes 37.7 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 10.2 MBytes 86.0 Mbits/sec 2 5.00 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 12.0 MBytes 101 Mbits/sec 2 5.00 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 10.9 MBytes 91.2 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 4.00-5.00 sec 4.62 MBytes 38.8 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.1 MBytes 84.9 Mbits/sec 0 5.00 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 12.0 MBytes 101 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 6.00-7.00 sec 5.25 MBytes 44.0 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.0 MBytes 92.3 Mbits/sec 1 5.00 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 10.9 MBytes 91.3 Mbits/sec 2 5.00 MBytes +[ 7][RX-C] 8.00-9.00 sec 5.62 MBytes 47.2 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 9.88 MBytes 82.8 Mbits/sec 3 5.00 MBytes +[ 7][RX-C] 9.00-10.00 sec 4.50 MBytes 37.7 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 120 MBytes 100 Mbits/sec 16 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 90.9 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 60.4 MBytes 50.6 Mbits/sec 13 sender +[ 7][RX-C] 0.00-10.03 sec 49.0 MBytes 41.0 Mbits/sec receiver + +iperf Done. +~/iperf/src> ./iperf3 -c dc09.ru --bidir --socks5 127.0.0.1:2081 18.11.2024 21:41:24 +Connecting to host dc09.ru, port 5201 +[ 5] local 127.0.0.1 port 49316 connected to 127.0.0.1 port 2081 +[ 7] local 127.0.0.1 port 49324 connected to 127.0.0.1 port 2081 +[ ID][Role] Interval Transfer Bitrate Retr Cwnd +[ 5][TX-C] 0.00-1.00 sec 22.4 MBytes 188 Mbits/sec 6 6.37 MBytes +[ 7][RX-C] 0.00-1.00 sec 3.50 MBytes 29.3 Mbits/sec +[ 5][TX-C] 1.00-2.00 sec 11.6 MBytes 97.5 Mbits/sec 3 6.37 MBytes +[ 7][RX-C] 1.00-2.00 sec 3.12 MBytes 26.2 Mbits/sec +[ 5][TX-C] 2.00-3.00 sec 11.9 MBytes 99.6 Mbits/sec 5 6.37 MBytes +[ 7][RX-C] 2.00-3.00 sec 4.00 MBytes 33.6 Mbits/sec +[ 5][TX-C] 3.00-4.00 sec 10.1 MBytes 84.9 Mbits/sec 2 6.37 MBytes +[ 7][RX-C] 3.00-4.00 sec 4.75 MBytes 39.8 Mbits/sec +[ 5][TX-C] 4.00-5.00 sec 11.4 MBytes 95.4 Mbits/sec 3 6.37 MBytes +[ 7][RX-C] 4.00-5.00 sec 5.38 MBytes 45.1 Mbits/sec +[ 5][TX-C] 5.00-6.00 sec 10.8 MBytes 90.2 Mbits/sec 2 6.37 MBytes +[ 7][RX-C] 5.00-6.00 sec 5.62 MBytes 47.2 Mbits/sec +[ 5][TX-C] 6.00-7.00 sec 9.62 MBytes 80.7 Mbits/sec 2 6.37 MBytes +[ 7][RX-C] 6.00-7.00 sec 5.12 MBytes 43.0 Mbits/sec +[ 5][TX-C] 7.00-8.00 sec 11.5 MBytes 96.5 Mbits/sec 3 6.37 MBytes +[ 7][RX-C] 7.00-8.00 sec 5.88 MBytes 49.3 Mbits/sec +[ 5][TX-C] 8.00-9.00 sec 12.0 MBytes 101 Mbits/sec 2 6.37 MBytes +[ 7][RX-C] 8.00-9.00 sec 6.25 MBytes 52.4 Mbits/sec +[ 5][TX-C] 9.00-10.00 sec 10.1 MBytes 84.9 Mbits/sec 3 6.37 MBytes +[ 7][RX-C] 9.00-10.00 sec 7.00 MBytes 58.7 Mbits/sec +- - - - - - - - - - - - - - - - - - - - - - - - - +[ ID][Role] Interval Transfer Bitrate Retr +[ 5][TX-C] 0.00-10.00 sec 121 MBytes 102 Mbits/sec 31 sender +[ 5][TX-C] 0.00-10.03 sec 109 MBytes 91.1 Mbits/sec receiver +[ 7][RX-C] 0.00-10.00 sec 61.2 MBytes 51.4 Mbits/sec 21 sender +[ 7][RX-C] 0.00-10.03 sec 50.6 MBytes 42.3 Mbits/sec receiver + +iperf Done. diff --git a/cert.pem b/cert.pem new file mode 100644 index 0000000..55abf29 --- /dev/null +++ b/cert.pem @@ -0,0 +1,18 @@ +-----BEGIN CERTIFICATE----- +MIIC9zCCAd+gAwIBAgIQJiHn4BREW++jT6dhANh3mDANBgkqhkiG9w0BAQsFADAS +MRAwDgYDVQQDEwdkYzA5LnJ1MB4XDTI0MTExODEwNTYzOFoXDTI0MTIxODExNTYz +OFowEjEQMA4GA1UEAxMHZGMwOS5ydTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC +AQoCggEBANTlG2ryvSf5Fa2lsMYp5g0rg28IId2RJ7VZ6Hgv8NXNW8l0dy+StW5v +9M/2R4gDzYI3hxnhTUUzHaM0Bz4yN99Up2C+41606aLlTuiHF6JXzHMioevC5gb0 +auBWuzJ8TcXak65lWO/8VgdinDOntLRI5Os43cE0DoF9KGeks0EqfRlueTMdkyJr +T5tJu058HI3uTTChddkiHNilZEitLuEa2c1B655EoYyEKGWBHZuwikt9+Lwq2UAx +drfIJUyO21jc1zQuRXDMgawM2m5rRqafRrPSrqQ0xcLU0Y6eRQuMMDrkvyK1kx8e ++qdGBpJr7ApPQTECVpIUlSmZOMyHMx0CAwEAAaNJMEcwDgYDVR0PAQH/BAQDAgWg +MBMGA1UdJQQMMAoGCCsGAQUFBwMBMAwGA1UdEwEB/wQCMAAwEgYDVR0RBAswCYIH +ZGMwOS5ydTANBgkqhkiG9w0BAQsFAAOCAQEAZ3qC0EZcH02iwmg8cjRaCypEZDks +p2OZEYqHTF+PoTQDQOiK7Q32lgtd3TRL0cZjP2F9bcNfCW9g+Fu45VduA+JLPDYV +fS8xcAoAAS5SVL4i9mZG7ZrS28may9aCwX3ftglf3Z2ucFi/S8O6hTD0K/fq3X4V +J5WNhI7QoBQMXtwCliN5y75/IXrG+n1vte9X97ST+yUxSlKG+vugb5DKjHCHB1gY +Y+FgvYHwkm+x6AkKHr1kX6TUunCGqq/fh3se8D0QW+LtpdVv4no4XtAe+Hml1ujh +Bh1gos9F4Ls3krvggq1abGIaFZZhkmvPNOoDSEba75VxlCTtqPknmScDbA== +-----END CERTIFICATE----- diff --git a/config.json b/config.json new file mode 100644 index 0000000..ad0a11c --- /dev/null +++ b/config.json @@ -0,0 +1,101 @@ +{ + "log": { + "disabled": true + }, + "dns": { + "servers": [ + { + "tag": "cf-dns", + "address": "https://1.1.1.1/dns-query" + }, + { + "tag": "direct-dns", + "address": "1.1.1.1", + "detour": "direct-out" + }, + { + "tag": "fake-dns", + "address": "fakeip" + } + ], + "rules": [ + { + "domain": "dc09.ru", + "server": "direct-dns" + } + ], + "fakeip": { + "enabled": true, + "inet4_range": "198.18.0.0/15", + "inet6_range": "fc00::/18" + } + }, + "route": { + "final": "vless-out", + "rules": [ + { + "port": 53, + "action": "hijack-dns" + } + ] + }, + "inbounds": [ + { + "type": "socks", + "listen": "127.0.0.1", + "listen_port": 2080 + } + ], + "outbounds": [ + { + "tag": "socks-out", + "type": "socks", + "server": "dc09.ru", + "server_port": 2220, + "version": "5", + "username": "bench", + "password": "darkcat09" + }, + { + "tag": "trojan-out", + "type": "trojan", + "server": "dc09.ru", + "server_port": 2221, + "password": "darkcat09", + "tls": { + "enabled": true, + "server_name": "dc09.ru", + "certificate_path": "cert.pem", + "utls": { + "enabled": true, + "fingerprint": "random" + } + } + }, + { + "tag": "vless-out", + "type": "vless", + "server": "dc09.ru", + "server_port": 2222, + "flow": "xtls-rprx-vision", + "uuid": "11e7e1ca-cd18-493b-9da9-90c4b6f5b101", + "tls": { + "enabled": true, + "server_name": "www.google.com", + "utls": { + "enabled": true, + "fingerprint": "random" + }, + "reality": { + "enabled": true, + "public_key": "_pAH3Ao-JVJfnDw4SU7p-9SzbaWIukjSF-l9JsDqrx8", + "short_id": "abc0" + } + } + }, + { + "tag": "direct-out", + "type": "direct" + } + ] +} diff --git a/config_xray.json b/config_xray.json new file mode 100644 index 0000000..c6e1b8c --- /dev/null +++ b/config_xray.json @@ -0,0 +1,121 @@ +{ + "log": { + "loglevel": "none" + }, + "dns": { + "servers": ["fakedns", "https://1.1.1.1/dns-query"], + "queryStrategy": "UseIP" + }, + "fakedns": [ + { + "ipPool": "198.18.0.0/15", + "poolSize": 65535 + }, + { + "ipPool": "fc00::/18", + "poolSize": 65535 + } + ], + "routing": { + "rules": [ + { + "type": "field", + "port": 53, + "outboundTag": "dns-out" + }, + { + "type": "field", + "network": "tcp,udp", + "outboundTag": "vless-out" + } + ] + }, + "inbounds": [ + { + "protocol": "socks", + "listen": "127.0.0.1", + "port": 2081, + "settings": { + "udp": true + } + } + ], + "outbounds": [ + { + "tag": "socks-out", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "dc09.ru", + "port": 2220, + "users": [ + { + "user": "bench", + "pass": "darkcat09" + } + ] + } + ] + } + }, + { + "tag": "trojan-out", + "protocol": "trojan", + "settings": { + "servers": [ + { + "address": "dc09.ru", + "port": 2221, + "email": "bench", + "password": "darkcat09" + } + ] + }, + "streamSettings": { + "security": "tls", + "tlsSettings": { + "serverName": "dc09.ru", + "certificates": [ + { + "certificateFile": "cert.pem" + } + ], + "fingerprint": "random" + } + } + }, + { + "tag": "vless-out", + "protocol": "vless", + "settings": { + "vnext": [ + { + "address": "dc09.ru", + "port": 2222, + "users": [ + { + "id": "11e7e1ca-cd18-493b-9da9-90c4b6f5b101", + "encryption": "none", + "flow": "xtls-rprx-vision" + } + ] + } + ] + }, + "streamSettings": { + "security": "reality", + "realitySettings": { + "serverName": "www.google.com", + "publicKey": "_pAH3Ao-JVJfnDw4SU7p-9SzbaWIukjSF-l9JsDqrx8", + "shortId": "abc0", + "fingerprint": "random" + } + } + }, + { + "tag": "dns-out", + "protocol": "dns" + } + ] +} diff --git a/key.pem b/key.pem new file mode 100644 index 0000000..ac8156f --- /dev/null +++ b/key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDU5Rtq8r0n+RWt +pbDGKeYNK4NvCCHdkSe1Weh4L/DVzVvJdHcvkrVub/TP9keIA82CN4cZ4U1FMx2j +NAc+MjffVKdgvuNetOmi5U7ohxeiV8xzIqHrwuYG9GrgVrsyfE3F2pOuZVjv/FYH +Ypwzp7S0SOTrON3BNA6BfShnpLNBKn0ZbnkzHZMia0+bSbtOfByN7k0woXXZIhzY +pWRIrS7hGtnNQeueRKGMhChlgR2bsIpLffi8KtlAMXa3yCVMjttY3Nc0LkVwzIGs +DNpua0amn0az0q6kNMXC1NGOnkULjDA65L8itZMfHvqnRgaSa+wKT0ExAlaSFJUp +mTjMhzMdAgMBAAECggEBAKkFaBols5WLxPFDLbB2TUXBeSzqmPBusMbjJZReA2fL +DYdIZuOnJ1IRopyE28+ZrUwnx6P9YrqA1ZPf16xCdGdjrys5Ag0Ltr30LgygTFxA +NnpmUYV7C+MTo9KOKTrww1JEsaDwp4aIoMhmOrsr92R2xwAU+sHMEYQumKiIcyRV +IqtkG5kaI6guPJXsysh6iOTJSmgy7f6StCujTHXlOAKXfWkOZxsQ2IsueIDMVOWE +pyBij5Ku06gLO197Z63e9g64CDkNNJczT2uhGt1GCJRPWztnPn/Pyki+H19Bd0ub +8FgOa4FmS6AP+IbtskyzDXpZjPvG0YNqK2zhpynleYUCgYEA2T4NgzSeaYBG2+TQ +DsU8+R2NSvVpdIuxL2IxVpl3f9XHqjbbSXzYHLLr0nVfC32hwrDnp+/c1NR9Oi1c ++Rj8Cz9xkARhyJwL3oBlj0RGKy1UJOaUEgNhPO1eOhI+D1A89ELQ+I7hFR0BqPGf +yVoJKuQjQxJuhMO86p87ACl/p7MCgYEA+uB/LjSrNr+3yC0VVYCa9NGsgyWCapiV +QlpqggUvlVAU3MdfPNAKQDa+Pzhrr/2lYxXLRXX6lvK6ZPsThkDk4ttAqj0XRUka +wvM0/wnOK0pWAL1TWIX4gkhSbtu9JM5W561bLxPIxvjkKLIcVhMrBe0CbPa4Zj7g +phAbZUeOUe8CgYAtlB1Vp9aMoAM943Xbg3pVcePRFEg50Y0tOdbMKoqt4XZwue2s +L2tQKiHcGBAG4ybrKB6SV3rnlGVprVbSVHGdEoSLCMBTTJoY5qtoMZTfPjVnQJFU +bi0akVqxqF4o7Fa9kL8zRxbmTR2qCnfR0PgXbaIQUm+pnz+loh7I2+wSjQKBgQCH +PXgx72CQzf8DoRIMGpzt9w3ZUOIiFoj30QfzeVoyUo48ihmUDc5I2XnrWL3sjH6Y +kIoYssXYk5bZkuPujpMUm/8bBn3B8uvDRho+lgmXGqaMFYOVh/r0OIp/imNHMRh2 +IeSy1yZ35HoSWhmeaQzbT+3r0YCMVb8CplIuYcmd7wKBgQCGYeWAfNqiZu5+H0d9 +wIPW4EZrugFoAqoc5xZn04qNdbOpoA+btC+WW2a4XR/sOYCVnf2HExJEqoXsgy0B +flfdkumYyogqRIldoBimrBJ/wQotfJMtCIvm9o4SCEBSf3XrMGftZId9McEI4hAu +KVI9WCej+WO19I9oPNPM37CFYA== +-----END PRIVATE KEY----- diff --git a/server.json b/server.json new file mode 100644 index 0000000..1df027d --- /dev/null +++ b/server.json @@ -0,0 +1,73 @@ +{ + "log": { + "disabled": true + }, + "dns": { + "servers": [ + { + "address": "https://1.1.1.1/dns-query", + "strategy": "prefer_ipv4" + } + ] + }, + "inbounds": [ + { + "type": "socks", + "listen": "0.0.0.0", + "listen_port": 2220, + "users": [ + { + "username": "bench", + "password": "darkcat09" + } + ] + }, + { + "type": "trojan", + "listen": "0.0.0.0", + "listen_port": 2221, + "users": [ + { + "name": "bench", + "password": "darkcat09" + } + ], + "tls": { + "enabled": true, + "server_name": "dc09.ru", + "certificate_path": "cert.pem", + "key_path": "key.pem" + } + }, + { + "type": "vless", + "listen": "0.0.0.0", + "listen_port": 2222, + "users": [ + { + "name": "bench", + "uuid": "11e7e1ca-cd18-493b-9da9-90c4b6f5b101", + "flow": "xtls-rprx-vision" + } + ], + "tls": { + "enabled": true, + "server_name": "www.google.com", + "reality": { + "enabled": true, + "handshake": { + "server": "www.google.com", + "server_port": 443 + }, + "private_key": "MK99JVIOoAb8k3ZovmU3jdsTDE38y83TihnDn8rKPXI", + "short_id": ["abc0"] + } + } + } + ], + "outbounds": [ + { + "type": "direct" + } + ] +} diff --git a/server_xray.json b/server_xray.json new file mode 100644 index 0000000..b69e196 --- /dev/null +++ b/server_xray.json @@ -0,0 +1,82 @@ +{ + "log": { + "access": "none", + "error": "none", + "logLevel": "none" + }, + "dns": { + "servers": ["https://1.1.1.1/dns-query"] + }, + "inbounds": [ + { + "protocol": "socks", + "listen": "0.0.0.0", + "port": 2220, + "settings": { + "auth": "password", + "accounts": [ + { + "user": "bench", + "pass": "darkcat09" + } + ], + "udp": true + } + }, + { + "protocol": "trojan", + "listen": "0.0.0.0", + "port": 2221, + "settings": { + "clients": [ + { + "email": "bench", + "password": "darkcat09" + } + ] + }, + "streamSettings": { + "security": "tls", + "tlsSettings": { + "serverName": "dc09.ru", + "certificates": [ + { + "certificateFile": "cert.pem", + "keyFile": "key.pem" + } + ], + "fingerprint": "random" + } + } + }, + { + "protocol": "vless", + "listen": "0.0.0.0", + "port": 2222, + "settings": { + "clients": [ + { + "email": "bench", + "id": "11e7e1ca-cd18-493b-9da9-90c4b6f5b101", + "flow": "xtls-rprx-vision" + } + ], + "decryption": "none" + }, + "streamSettings": { + "security": "reality", + "realitySettings": { + "dest": "www.google.com:443", + "serverNames": ["google.com", "www.google.com"], + "privateKey": "MK99JVIOoAb8k3ZovmU3jdsTDE38y83TihnDn8rKPXI", + "shortIds": ["abc0"] + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom" + } + ] +}