<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/watchcat, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-07-09T06:12:14Z</updated>
<entry>
<title>watchcat: update package maintainers</title>
<updated>2026-07-09T06:12:14Z</updated>
<author>
<name>Dharmik Parmar</name>
</author>
<published>2026-07-02T03:31:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1b740c366e15f288002d1aba1954e269cffa6bd9'/>
<id>urn:sha1:1b740c366e15f288002d1aba1954e269cffa6bd9</id>
<content type='text'>
List Daniel F. Dickinson and Dharmik Parmar as watchcat maintainers.

This gives future package issues and reviews active contacts.

Signed-off-by: Dharmik Parmar &lt;dharmikparmar2004@yahoo.com&gt;
</content>
</entry>
<entry>
<title>watchcat: resolve logical interface names</title>
<updated>2026-07-09T06:12:14Z</updated>
<author>
<name>Dharmik Parmar</name>
</author>
<published>2026-07-02T03:31:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=dd826b7de646897b2534b19c45966fc95d536a65'/>
<id>urn:sha1:dd826b7de646897b2534b19c45966fc95d536a65</id>
<content type='text'>
Allow logical interface references in watchcat interface options.

Resolve those names to real netifd devices for ping -I.

Keep logical names for ifup and real-device find_config behavior.

Use separate helpers for ping and restart values to avoid eval.

Treat ModemManager mm_iface_name=null as empty, not a modem name.

Signed-off-by: Dharmik Parmar &lt;dharmikparmar2004@yahoo.com&gt;
</content>
</entry>
<entry>
<title>watchcat: clarify recovery timer baseline</title>
<updated>2026-07-01T11:59:43Z</updated>
<author>
<name>Dharmik Parmar</name>
</author>
<published>2026-06-24T17:07:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=785f816efcc68abd00f63a064227d76e21b6693c'/>
<id>urn:sha1:785f816efcc68abd00f63a064227d76e21b6693c</id>
<content type='text'>
Keep the default restart timing based on the moment the recovery action
is triggered.

The optional reset_failure_timer path still starts a fresh failure window
after the recovery action finishes. This makes the two timing modes
explicit.

Signed-off-by: Dharmik Parmar &lt;dharmikparmar2004@yahoo.com&gt;
</content>
</entry>
<entry>
<title>watchcat: add optional failure timer reset</title>
<updated>2026-06-23T06:16:47Z</updated>
<author>
<name>Dharmik Parmar</name>
</author>
<published>2026-05-11T18:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=94502932205c017112e616701ec93bd3887e7d2f'/>
<id>urn:sha1:94502932205c017112e616701ec93bd3887e7d2f</id>
<content type='text'>
Add an opt-in reset_failure_timer option for restart_iface and
run_script modes.

When enabled, watchcat starts a fresh failure window after the
recovery action finishes before allowing another recovery action.
The existing behavior remains the default.

Document the intended default and reset_failure_timer timing
behavior in TIMINGS.md and use a safer string comparison for the
reset_failure_timer check.

Signed-off-by: Dharmik Parmar &lt;dharmikparmar2004@yahoo.com&gt;
</content>
</entry>
<entry>
<title>watchcat: clarify restart log wording</title>
<updated>2026-06-23T06:16:47Z</updated>
<author>
<name>Dharmik Parmar</name>
</author>
<published>2026-05-09T20:17:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=624ac97d9436d2a6d1d9aef1d06fd4ede6bde02b'/>
<id>urn:sha1:624ac97d9436d2a6d1d9aef1d06fd4ede6bde02b</id>
<content type='text'>
Clarify the restart_iface logging so the message reflects that the
configured action happens only after the failure period is reached.

Signed-off-by: Dharmik Parmar &lt;dharmikparmar2004@yahoo.com&gt;
</content>
</entry>
<entry>
<title>watchcat: use logical network to fix restart_interface</title>
<updated>2026-04-11T06:13:01Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-04-05T15:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=c3a85b96de31a8aa888443b1c57d31907e8eb74d'/>
<id>urn:sha1:c3a85b96de31a8aa888443b1c57d31907e8eb74d</id>
<content type='text'>
Watchcat was failing to restart layer-3 interfaces when in mode
'restart_iface'. The previously attempted fix made the situation
worse in that it resulted in layer 2 interfaces also failing to
start.

This was because we are passed the interface name (e.g. eth0,
l2p0, or br-lan), but ifup needs the logical network (e.g. 'lan'
which corresponds to the network device).

Update to use find_config from /lib/network/config.sh to find the
logical network from the interface name, and use ifup on the
logical network to restart the underlying interface(s) associated
with the logical network.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>watchcat: fix interface reset does not work</title>
<updated>2026-03-03T18:06:13Z</updated>
<author>
<name>Daniel F. Dickinson</name>
</author>
<published>2026-01-25T09:48:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=14e0e9e73753e2f23260edb2fd4994f68a68cdea'/>
<id>urn:sha1:14e0e9e73753e2f23260edb2fd4994f68a68cdea</id>
<content type='text'>
As reported in #23410 Network interface reset doesn't work as expected
on a Wireguard VPN interface and in #27927 lt2p interface won't reboot,
and mentioned in #27248, the current implementation of the option to
restart an interface when connectivity check fails for some period does
not result in an interface restart for all interface.

Notably 'virtual' interfaces such as Wireguard and L2TP do not restart.

The solution that works is to use `ifup &lt;interface&gt;` instead of only
changing the link status.

This commit is based on the one in #27248 by @rondoval, who unfortunately
has not updated the commit message as requested for half a year.

Signed-off-by: Daniel F. Dickinson &lt;dfdpublic@wildtechgarden.ca&gt;
</content>
</entry>
<entry>
<title>luci-app-watchcat: revert unnecessary quoting in init script</title>
<updated>2025-12-26T08:51:51Z</updated>
<author>
<name>Ivan Diaz</name>
</author>
<published>2025-12-23T13:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=407617b78662f7fb0d4640ded0c2afbcc7c72e6e'/>
<id>urn:sha1:407617b78662f7fb0d4640ded0c2afbcc7c72e6e</id>
<content type='text'>
The quoting added in r18 for pinghosts is not needed. Multi-host support
remains fully functional, but the extra quotes caused inconsistent argument
handling between /etc/init.d/watchcat and /usr/bin/watchcat.sh,
especially for single-IP configurations.

This revert removes the unnecessary quoting in the init script and LUCI,
restoring consistent behavior while keeping multiple ping hosts supported.

Fixes: #28100 (watchcat: error if only one address is specified in pinghosts)
Signed-off-by: Ivan Diaz &lt;diaz.it@icloud.com&gt;
</content>
</entry>
<entry>
<title>watchcat: passing the interface in the ping_reboot</title>
<updated>2025-12-12T15:40:40Z</updated>
<author>
<name>Vasileios Anagnostopoulos</name>
</author>
<published>2025-11-26T13:50:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=3f52746c790357325d3de50967bfd64d1e2329a1'/>
<id>urn:sha1:3f52746c790357325d3de50967bfd64d1e2329a1</id>
<content type='text'>
Although the watchcat_ping function also checked the iface variable, that
variable was never populated. As a result we could not check if there was
connectivity via a specific interface.

Signed-off-by: Vasileios Anagnostopoulos &lt;anagnwstopoulos@hotmail.com&gt;
</content>
</entry>
<entry>
<title>watchcat: set default value for mmifacename to prevent argument shift</title>
<updated>2025-12-09T11:12:19Z</updated>
<author>
<name>Ivan Diaz</name>
</author>
<published>2025-11-21T22:13:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=dfe2967675c8203f360234759e6c9ca7f44948a9'/>
<id>urn:sha1:dfe2967675c8203f360234759e6c9ca7f44948a9</id>
<content type='text'>
Set mmifacename default to "null" instead of an empty string to avoid
argument displacement when the value is not defined. Also remove leftover
debug comments from previous commit.

Signed-off-by: Ivan Diaz &lt;diaz.it@icloud.com&gt;
</content>
</entry>
</feed>
