mirror of
https://github.com/openwrt/packages.git
synced 2026-12-01 07:25:31 +04:00
42fbf3097171d0294652ce228e98cd22bb94227f
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 > 33:33:00:00:00:02, ethertype IPv6 (0x86dd), length 86: (hlim 1, next-header HBH (0), payload length 32) :: > 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 > 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 > 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 <stijn@linux-ipv6.be>
OpenWrt packages feed
Description
This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.
Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.
Usage
This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.
This feed is enabled by default. To install all its package definitions, run:
./scripts/feeds update packages
./scripts/feeds install -a -p packages
License
See LICENSE file.
Package Guidelines
See CONTRIBUTING.md file.
Description
Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
Readme
GPL-2.0
182 MiB
0 Stars
1 Watchers
0 Forks
Languages
Makefile
46.4%
Shell
35.6%
UnrealScript
7.2%
C
6.5%
C++
1.5%
Other
2.7%