From c65e9c54ce444491613cde892e3a682093e68334 Mon Sep 17 00:00:00 2001 From: funman300 Date: Tue, 11 Aug 2026 05:20:24 +0000 Subject: [PATCH] observe: correct a stale comment calling the catch-all 'other' It is a TOTAL -- every packet reaching the chain counts there, including ones already counted by a named-port rule. The old wording invited reading the number as a remainder, which is how 15 unexplained attempts got misread earlier. --- openfut-blaze-host/openfut-observe.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openfut-blaze-host/openfut-observe.sh b/openfut-blaze-host/openfut-observe.sh index 07af41f..2c54270 100755 --- a/openfut-blaze-host/openfut-observe.sh +++ b/openfut-blaze-host/openfut-observe.sh @@ -98,7 +98,9 @@ cmd_off() { echo "observing off: removed $removed hook(s) and the chain, verified none remain" } -# "portpackets", catch-all reported as "other". +# "portpackets". The final catch-all is reported as TOTAL, not "other": +# every packet reaching the chain counts there, including ones already counted +# by a named-port rule above it. counters() { ipt -L "$CHAIN" -v -n -x 2>/dev/null | awk ' /dpt:/ { for(i=1;i<=NF;i++) if($i ~ /^dpt:/){ sub(/dpt:/,"",$i); print $i "\t" $1 } ; next }