File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33POOL6=" 64:ff9b::/96"
44LOWEST_IPV6_MTU=1280
5+ HANDLE_RST_DURING_FIN_RCV=" false"
56
67while [ $# -gt 0 ]; do
78 case " $1 " in
@@ -11,10 +12,16 @@ while [ $# -gt 0 ]; do
1112 --lowest-ipv6-mtu=* )
1213 LOWEST_IPV6_MTU=" ${1#* =} "
1314 ;;
15+ --handle-rst-during-fin-rcv)
16+ HANDLE_RST_DURING_FIN_RCV=" true"
17+ ;;
1418 * )
1519 printf " ************************************************************\n"
1620 printf " * Error: Invalid argument '${1} '.\n"
17- printf " * Usage: setup.sh [--pool6=<IPv6>] [--lowest-ipv6-mtu=<mtu>]\n"
21+ printf " * Usage: setup.sh [options...]\n"
22+ printf " * --pool6=<IPv6>\n"
23+ printf " * --lowest-ipv6-mtu=<mtu>\n"
24+ printf " * --handle-rst-during-fin-rcv\n"
1825 printf " ************************************************************\n"
1926 exit 1
2027 esac
2330
2431jool instance add --iptables --pool6 ${POOL6} default
2532jool global update lowest-ipv6-mtu ${LOWEST_IPV6_MTU}
33+ jool global update handle-rst-during-fin-rcv ${HANDLE_RST_DURING_FIN_RCV}
2634
2735iptables -t mangle -A PREROUTING -j JOOL
2836ip6tables -t mangle -A PREROUTING -j JOOL
You can’t perform that action at this time.
0 commit comments