Skip to content

Commit

Permalink
ffbs-mesh-vpn-parker: Drop legacy route check
Browse files Browse the repository at this point in the history
This check was intended to check if the IPv6 address/routing
configuration is sane.
But it currently relies on a hard-coded value for ffbs, so it does not
make sense to have it for all communities.

Lately we did not see this diagnosis trigger, so it's probably safe to
remove anyway.

If we encounter problems later on we can still add a generic check.
  • Loading branch information
SmithChart committed Nov 20, 2024
1 parent b4f01b6 commit 35b7dc7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ffbs-mesh-vpn-parker/files/usr/sbin/noderoute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,5 @@ while true; do
sleep 30
done;

# sanity check: every ipv6 address should have a route
for subnet in $(ip -6 a s dev br-client | grep -Eo "2001:bf7:381:[^:]+"); do
if ! ip -6 r s dev br-client | grep -q "${subnet}::/64"; then
$LOGGER "ERROR: Missing route for ${subnet}::/64 (Node is $(batctl gw | cut -d " " -f 0).)"
fi
done
sleep 20
done

0 comments on commit 35b7dc7

Please sign in to comment.