mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Use systemtap to force MPTCP on all applications
This commit is contained in:
parent
8d1055668f
commit
fdcd1c59f9
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,9 @@ _openvpn_bonding() {
|
||||||
sysctl -p /etc/sysctl.d/90-shadowsocks.conf 2>&1 >/dev/null
|
sysctl -p /etc/sysctl.d/90-shadowsocks.conf 2>&1 >/dev/null
|
||||||
modprobe bonding 2>&1 >/dev/null
|
modprobe bonding 2>&1 >/dev/null
|
||||||
ip link add omr-bonding type bond 2>&1 >/dev/null
|
ip link add omr-bonding type bond 2>&1 >/dev/null
|
||||||
|
[ -n "$(uname -r | grep '6.1')" ] && {
|
||||||
|
stap -g /usr/share/systemtap-mptcp/mptcp-app.stap 2>&1 &
|
||||||
|
}
|
||||||
while true; do
|
while true; do
|
||||||
_glorytun_udp
|
_glorytun_udp
|
||||||
_glorytun_tcp
|
_glorytun_tcp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue