Add an environment variable $SET_MTU=<val> that would set/adjust $IFACES MTU according to val:
"auto": based on the funneling (only) rules, reduce the MTU of $IFACES by either 20 bytes (TCP) or 8 bytes (UDP).
numeric_value: fix the MTU to a particular numeric value. Value should be in the range of 64-9216.
"": do nothing
A reasonable default should be picked, probably auto (?). In either of the cases the entrypoint.sh should log as INFO the detected MTU (important for debugging).
Add an environment variable
$SET_MTU=<val>
that would set/adjust$IFACES
MTU according toval
:"auto"
: based on the funneling (only) rules, reduce the MTU of$IFACES
by either 20 bytes (TCP) or 8 bytes (UDP).numeric_value
: fix the MTU to a particular numeric value. Value should be in the range of64
-9216
.""
: do nothingA reasonable default should be picked, probably
auto
(?). In either of the cases theentrypoint.sh
should log asINFO
the detected MTU (important for debugging).This issue includes CI coverage.