| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/29149/root/usr/bin/ |
Upload File : |
#!/bin/sh
# Copyright (c) 2000-2016 Synology Inc. All rights reserved.
#
# A version 6 iptables wrapper that aims to replace with original iptables
# This wrapper will excute the orginal iptables and retry when EAGAIN is received
RETRY_TIMES=5
RETRY_INTERVAL_MIN_SECS=1
RETRY_INTERVAL_MAX_SECS=3
i=0
while [ ${i} -lt ${RETRY_TIMES} ]; do
/usr/bin/xtables-legacy-multi ip6tables $@
originalExitCode=$?
# Resource problem (resource temporarily unavailable)
if [ ${originalExitCode} -ne 4 ]; then
exit ${originalExitCode}
fi
sleep $((RETRY_INTERVAL_MIN_SECS + RANDOM % RETRY_INTERVAL_MAX_SECS))
i=$((i+1))
done
exit ${originalExitCode}