1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 11:21:56 +00:00

Use systemtap to force MPTCP on all applications

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-06-13 11:24:22 +00:00
parent 8d1055668f
commit fdcd1c59f9

View file

@ -151,6 +151,9 @@ _openvpn_bonding() {
sysctl -p /etc/sysctl.d/90-shadowsocks.conf 2>&1 >/dev/null
modprobe bonding 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
_glorytun_udp
_glorytun_tcp