carp: retire ioctl(2) API

All supported stable branches use netlink(4) API to configure carp(4).
The deleted code also has kernel stack leak vulnerability, that requires
extra effort to fix.

Reviewed by:		pouria, kp
Differential Revision:	https://reviews.freebsd.org/D55804
This commit is contained in:
Gleb Smirnoff
2026-03-12 09:30:46 -07:00
parent 7e68af7ce2
commit 72472e52e3
6 changed files with 133 additions and 352 deletions
+3 -9
View File
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd April 12, 2024
.Dd March 11, 2026
.Dt CARP 4
.Os
.Sh NAME
@@ -71,10 +71,7 @@ and
.Cm advskew
are put inside CARP advertisements.
These values can be configured using
.Xr ifconfig 8 ,
or through the
.Dv SIOCSVH
.Xr ioctl 2 .
.Xr ifconfig 8 .
.Pp
CARP defaults to using multicast messages, but can be configured to unicast
announcements to peers using the
@@ -88,10 +85,7 @@ and
Note that TTL verification is disabled if the peer address is not a multicast
address.
These values can be configured using
.Xr ifconfig 8 ,
or through the
.Dv SIOCSPEER
.Xr ioctl 2 .
.Xr ifconfig 8 .
.Pp
.Xr carp 4
can be configured to use either the non-standard CARP protocol, or VRRPv3 (RFC 5798).