-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Expand file tree
/
Copy pathmptcpify_example.txt
More file actions
44 lines (30 loc) · 1.21 KB
/
mptcpify_example.txt
File metadata and controls
44 lines (30 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Demonstrations of mptcpify, the Linux eBPF/bcc version.
mptcpify forces the application to use to MPTCP instead of TCP.
mptcpify has been verified with iperf3 and rsync[TCP module]. It can be used
for incresing the speed of transferring data with rsync.
The MPTCP configuration is decribed in
https://www.mptcp.dev/pm.html
USAGE message:
usage: sudo python ./mptcpify.py [-h] [-t TARGETS]
mptcpify try to force applications to use MPTCP instead of TCP
options:
-h, --help show this help message and exit
-t TARGETS, --targets TARGETS
use ',' for multi targets, eg: 'iperf3,rsync'. Without '-t', it can works on all applications by default.
Here are some example output.
1、curl
$ curl https://check.mptcp.dev
You are not using MPTCP.
$ sudo python3 mptcpify.py -t curl &
$ curl https://check.mptcp.dev
You are using MPTCP.
2、iperf3
'iperf.sh' can be obtained through th link below:
https://github.com/Dwyane-Yan/bcc_test_iperf/blob/main/iperf.sh
$ sudo ./iperf.sh
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 11.4 MBytes 95.3 Mbits/sec
$ sudo python3 mptcpify.py -t iperf3
$ sudo ./iperf.sh
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 87.0 MBytes 729 Mbits/sec