Publication date: 2019-07-25
The physical interface of a virtual machine running Strongswan starts replying to all ARP requests seen. This happens after some time and disrupts communication in the Ethernet segment. It did not seem related to Strongswan. The behavior reminds of ProxyARP but ProxyARP is disabled.
I did lots of unsuccessful attempts to stop this behavior:
What I did not try is filtering ARP in QEMU (see https://libvirt.org/firewall.html) since I've finally found the root cause:
StrongSwan has an farp plug-in. This causes the undesired behaviour. It just needs to be disabled to get rid of the problem. Under Alpine Linux it can be disabled in "/etc/strongswan.d/charon/farp.conf".
Others experienced the same trouble: "Incoming arp-requests on an independent interface are incorrectly answered by farp plugin.", described in https://github.com/openvnf/vnf-ipsec/issues/11.