Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2025 19:29:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 284872] [carp] Missing byte order correction causing certain unicast announcements to have invalid destination MAC address
Message-ID:  <bug-284872-7501-zMjTadiJWr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284872-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284872-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284872

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D93fbdef51a13b8facac3633f55804a59c=
a27f635

commit 93fbdef51a13b8facac3633f55804a59ca27f635
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-02-22 19:26:32 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2025-02-22 19:26:32 +0000

    tests: carp: Update test case unicast_v4 to catch PR 284872

    In the current test case unicast_v4, host one acts as a router, but it
    uses if_bridge(4) to verify the reachability to CARP master.
    Unfortunately, if_bridge(4) brings the two CARP hosts into the same
    broadcast domain, thus with an unusual (undocumented) setup, one host
    is in unicast mode but another one in multicast, or two hosts are both
    in multicast mode, the test case can falsely report success.

    Fix that by propagating route via routed(8).

    PR 284872 shows that CARP(4) happens to send packets with multicast
    destination when the unicast peer address is in the range x.x.x.224 ~
    x.x.x.239. Update the peer address in test case to catch that bug.

    PR:             284872
    Reviewed by:    kp
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D49076

 tests/sys/netinet/carp.sh | 38 +++++++++++++++++++++-----------------
 1 file changed, 21 insertions(+), 17 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284872-7501-zMjTadiJWr>