[Bug 277349] The net.inet.ip.source_address_validation should ignore CARP IP in backup state

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277349

--- Comment #6 from Zhenlei Huang <[email protected]> ---
(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 connections
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**.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.