Skip to content

v6watch 0.1.0

Choose a tag to compare

@Syxhen Syxhen released this 28 Oct 13:28
· 18 commits to main since this release

First public version of v6watch, an IPv6 prefix delegation watchdog for Asuswrt-Merlin.

Some ISPs silently stop routing the delegated IPv6 prefix while its DHCPv6 lease is still valid: devices keep a "valid" but orphaned address and new connections hang. v6watch pings out from the delegated prefix every 5 minutes and, when it is not routed, asks odhcp6c for a DHCPv6 renew and, if needed, restarts the WAN (at most once per hour).

Highlights

  • Routing check with ping6 -I from the delegated prefix, plus a WAN address test to tell a dead prefix apart from a general IPv6 outage
  • DHCPv6 renew first, rate-limited WAN restart as a last resort
  • Persistent log of prefix changes (with router uptime), outages and their duration, with minimal flash writes
  • check command for a quick diagnosis without side effects
  • Idempotent installer that only appends its own line to services-start, and a clean uninstaller
  • No Entware dependencies

Install

See the README. Tested on an ASUS RT-BE88U with Asuswrt-Merlin 3006.102.9.

Full changelog: CHANGELOG.md