Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Mar 2024 03:54:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 277349] The net.inet.ip.source_address_validation should ignore CARP IP in backup state
Message-ID:  <bug-277349-7501-LSrhDwuGZx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277349-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277349-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=3D277349

--- Comment #6 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Gleb Smirnoff from comment #1)
> I think we had discussion on this some time ago. I suggested to make the
> BACKUP IP address to be treated as non-local for all purposes except bind=
(2).
Generally good. And, the bind socket should not accept any incoming connect=
ions
even they are locally originated.

> Here is a patch to try. I did not test it, but it gives an idea on what
> am I talking about. It should change more that just source IP address
> validation. The main question is whether there are any scenario that the
> patch would break.

The change seems good if we treat CARP BACKUP IP addresses as NOT **local**.

--=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-277349-7501-LSrhDwuGZx>