HomeFreeBSD

arp: Implement sticky ARP mode for interfaces.

Description

arp: Implement sticky ARP mode for interfaces.

Provide sticky ARP flag for network interface which marks it as the
"sticky" one similarly to what we have for bridges. Once interface is
marked sticky, any address resolved using the ARP will be saved as a
static one in the ARP table. Such functionality may be used to prevent
ARP spoofing or to decrease latencies in Ethernet networks.

The drawbacks include potential limitations in usage of ARP-based
load-balancers and high-availability solutions such as carp(4).

The implemented option is disabled by default, therefore should not
impact the default behaviour of the networking stack.

Sponsored by: Conclusive Engineering sp. z o.o.
Reviewed By: melifaro, pauamma_gundo.com
Differential Revision: https://reviews.freebsd.org/D35314
MFC after: 2 weeks

Details

Provenance
kjopek_gmail.comAuthored on May 27 2022, 11:02 AM
melifaroCommitted on May 27 2022, 12:41 PM
Reviewer
melifaro
Differential Revision
D35314: Implement sticky ARP mode for interfaces.
Parents
rG18054d0220cf: libpmc: Another update of x86 event definitions.
Branches
Unknown
Tags
Unknown