Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/src/linux-oracle-5.13-headers-5.13.0-1018/tools/testing/selftests/bpf/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/bash # SPDX-License-Identifier: GPL-2.0 # # setup tunnels for flow dissection test readonly SUFFIX="test_$(mktemp -u XXXX)" CONFIG="remote 127.0.0.2 local 127.0.0.1 dev lo" setup() { ip link add "ipip_${SUFFIX}" type ipip ${CONFIG} ip link add "gre_${SUFFIX}" type gre ${CONFIG} ip link add "sit_${SUFFIX}" type sit ${CONFIG} echo "tunnels before test:" ip tunnel show ip link set "ipip_${SUFFIX}" up ip link set "gre_${SUFFIX}" up ip link set "sit_${SUFFIX}" up } cleanup() { ip tunnel del "ipip_${SUFFIX}" ip tunnel del "gre_${SUFFIX}" ip tunnel del "sit_${SUFFIX}" echo "tunnels after test:" ip tunnel show } trap cleanup EXIT setup "$@" exit "$?" |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0046 ]-- |