<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/keepalived, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-12-02T12:29:34Z</updated>
<entry>
<title>keepalived: fix hotplug sync overwriting unlisted files</title>
<updated>2026-12-02T12:29:34Z</updated>
<author>
<name>Francesco Benini</name>
</author>
<published>2026-12-02T09:12:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3d60cb11768eb1a5c1a4b508f82f7f5187582a01'/>
<id>urn:sha1:3d60cb11768eb1a5c1a4b508f82f7f5187582a01</id>
<content type='text'>
Keepalived hotplug scripts can either declare files or folders to sync
with add_sync_file, or only handle VRRP state transitions without
declaring any sync files.

When a hotplug script does not call add_sync_file, SYNC_FILES_LIST is
empty. While checking if an incoming file belongs to a declared folder,
the loop strips the path down to an empty string. Calling list_contains
with an empty SYNC_FILES_LIST and an empty path returns true, causing
the script to overwrite all incoming files onto the destination root.

This commit adds a guard to skip sync when SYNC_FILES_LIST is empty,
stops the folder walk before the path becomes empty, and avoids an
infinite loop in is_sync_file_in_folder if a relative path is passed.

Signed-off-by: Francesco Benini &lt;francy.benini@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: add missing dependency</title>
<updated>2026-11-18T13:16:21Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2026-11-18T03:18:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=42fbf3097171d0294652ce228e98cd22bb94227f'/>
<id>urn:sha1:42fbf3097171d0294652ce228e98cd22bb94227f</id>
<content type='text'>
When using keepalived for VRRP with use_vmac, keepalived tries to
insert firewall rules to prevent duplicate IGMP and MLD packets from
being sent. Without such rule, these packets are sent once with the MAC
address of the macvlan interface, and once with the MAC from the
underlying interface, e.g.:

```
13:05:13.034266 00:00:5e:00:02:1f &gt; 33:33:00:00:00:02, ethertype IPv6 (0x86dd), length 86: (hlim 1, next-header HBH (0), payload length 32) :: &gt; ff02::2: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::2
13:05:13.514304 00:90:7f:d7:e0:d2 &gt; 33:33:00:00:00:02, ethertype IPv6 (0x86dd), length 86: (hlim 1, next-header HBH (0), payload length 32) fe80::290:7fff:fed7:e0d2 &gt; ff02::2: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener reportmax resp delay: 0 addr: ff02::2
```

When keepalived uses the nftables backend to insert these rules, it
requires the nft_dup_ipv4 and nft_dup_ipv6 kernel modules to be loaded.
If they are missing, keepalived silently fails to insert the rules.

This results in MAC address flapping, which can, depending on the rest
of your configuration, result in intermittent connectivity loss,
excessive SNMP traps being sent, and log spam.

On my core switch, about 60% of the log events are caused by this:

```
Nov 18 2026 05:26:20+02:00 cs0 L2IFPPI/4/MFLPVLANALARM:OID 1.3.6.1.4.1.2011.5.25.160.3.7 MAC move detected, VLANID=31, MacAddress=0000-5e00-021f, Original-Port=MultiGE0/0/23, Flapping port=MultiGE0/0/24. Please check the network accessed to flapping port.
Nov 18 2026 05:27:03+02:00 cs0 L2IFPPI/5/MACCHANGE_TRAPINFO:OID 1.3.6.1.4.1.2011.5.25.315.3.1 MAC address information: 010000001c1001f00005e00021f.
Nov 18 2026 05:29:07+02:00 cs0 L2IFPPI/5/MACCHANGE_TRAPINFO:OID 1.3.6.1.4.1.2011.5.25.315.3.1 MAC address information: 010000001d1001f00005e00021f.
```

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>keepalived: fix empty status from rpcd dump</title>
<updated>2026-11-14T11:10:29Z</updated>
<author>
<name>Alexander Wilhelm</name>
</author>
<published>2026-10-15T09:39:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f8721fb6412ed82c1c3a4428d52564a898816f32'/>
<id>urn:sha1:f8721fb6412ed82c1c3a4428d52564a898816f32</id>
<content type='text'>
The LuCI VRRP status page (luci-app-keepalived) stays empty because 'ubus
call keepalived dump' always returns '{}'. The rpcd plugin asks keepalived
to write /tmp/keepalived.json, but this never works:

- The JSON dump signal is hardcoded as 37. keepalived uses a signal based
  on SIGRTMIN, so the number depends on the libc. On musl (aarch64) it is
  36 ('keepalived --signum=JSON'), and signal 37 is ignored. Query the
  number from keepalived instead.

- keepalived writes the file asynchronously from its event loop, after kill
  has already returned. The script reads it immediately and finds nothing
  (0/20 attempts on aarch64). After 10 ms it is always present (20/20).
  Wait one second before reading it. Whole seconds work with every busybox
  'sleep' build.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
Signed-off-by: Alexander Wilhelm &lt;alexander.wilhelm@westermo.com&gt;
</content>
</entry>
<entry>
<title>treewide: cleanup URLs</title>
<updated>2026-05-08T20:28:27Z</updated>
<author>
<name>Yanase Yuki</name>
</author>
<published>2026-01-02T09:06:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b0d8a3d384915c2de1c5b473fcfb8b3996bb849b'/>
<id>urn:sha1:b0d8a3d384915c2de1c5b473fcfb8b3996bb849b</id>
<content type='text'>
This commit converts plain HTTP URLs to HTTPS, and updates
old or outdated URLs.

Signed-off-by: Yanase Yuki &lt;dev@zpc.st&gt;
</content>
</entry>
<entry>
<title>keepalived: bump PKG_RELEASE to 3</title>
<updated>2026-04-27T12:28:04Z</updated>
<author>
<name>Rishabh</name>
</author>
<published>2026-04-20T17:43:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2482fdd481529ae949b0611418c65029904fdce8'/>
<id>urn:sha1:2482fdd481529ae949b0611418c65029904fdce8</id>
<content type='text'>
Bump PKG_RELEASE from 2 to 3.

Signed-off-by: Rishabh &lt;rishabhshah2005@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: update config for option track_script</title>
<updated>2026-04-27T12:28:04Z</updated>
<author>
<name>Rishabh</name>
</author>
<published>2026-04-20T17:42:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0fc6a409c2196b86702111079669ee02d53a555c'/>
<id>urn:sha1:0fc6a409c2196b86702111079669ee02d53a555c</id>
<content type='text'>
Update config for option track_script in vrrp_instance to use vrrp_script
instead of track_script

Signed-off-by: Rishabh &lt;rishabhshah2005@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: remove config section track_script</title>
<updated>2026-04-27T12:28:04Z</updated>
<author>
<name>Rishabh</name>
</author>
<published>2026-04-20T17:40:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=3fb01d67c73f4914ac3f9f3825da8e69f0e92fa2'/>
<id>urn:sha1:3fb01d67c73f4914ac3f9f3825da8e69f0e92fa2</id>
<content type='text'>
Remove config section for track_script from keepalived.config
as it is not supported.

Signed-off-by: Rishabh &lt;rishabhshah2005@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: update config for vrrp_script section</title>
<updated>2026-04-27T12:28:04Z</updated>
<author>
<name>Rishabh</name>
</author>
<published>2026-04-20T17:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=09143ea2b26c7236eb66d87dcb4fe9dab72877f1'/>
<id>urn:sha1:09143ea2b26c7236eb66d87dcb4fe9dab72877f1</id>
<content type='text'>
Update config for vrrp_script in keepalived.config.
Add option name, direction and timeout in config.
Add some docs for option weight and option direction.

Signed-off-by: Rishabh &lt;rishabhshah2005@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: add option track_bfd in vrrp_instance</title>
<updated>2026-04-27T12:28:04Z</updated>
<author>
<name>Rishabh</name>
</author>
<published>2026-04-20T17:30:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=777925d4237e13d0568cecec0faf0bc38e15f94b'/>
<id>urn:sha1:777925d4237e13d0568cecec0faf0bc38e15f94b</id>
<content type='text'>
Update keepalived.config to add track_bfd option in vrrp_instance

Signed-off-by: Rishabh &lt;rishabhshah2005@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: add config for section peer</title>
<updated>2026-04-27T12:28:04Z</updated>
<author>
<name>Rishabh</name>
</author>
<published>2026-04-20T17:27:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=7673eab5651a6ab2e8a0132e0fe986d1097e8961'/>
<id>urn:sha1:7673eab5651a6ab2e8a0132e0fe986d1097e8961</id>
<content type='text'>
Update keepalived.config to add config for section peer.
`peer` is a section that can be used via 'list unicast_peer'

Signed-off-by: Rishabh &lt;rishabhshah2005@gmail.com&gt;
</content>
</entry>
</feed>
