Page MenuHomeFreeBSD

tcp_wrappers: recognize IPv6 addresses/prefixes
ClosedPublic

Authored by glebius on May 11 2023, 7:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 8 2024, 12:07 PM
Unknown Object (File)
Sep 27 2024, 4:21 PM
Unknown Object (File)
Sep 16 2024, 11:29 AM
Unknown Object (File)
Sep 15 2024, 12:33 AM
Unknown Object (File)
Sep 4 2024, 10:26 AM
Unknown Object (File)
Aug 31 2024, 1:27 PM
Unknown Object (File)
Aug 31 2024, 1:27 PM
Unknown Object (File)
Aug 31 2024, 1:27 PM
Subscribers

Details

Summary

Intentionally or not, but the libwrap was written in such manner that
if your /etc/hosts.allow doesn't have any domain names, neither smart
keywords like LOCAL or KNOWN, then it will not try to resolve the
client address during the hosts check. This was achieved with the
NOT_INADDR() check that matched IPv4 addresses/prefixes. Extend this
to also skip resolve if client list token looks like IPv6.

PR: 269456

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 51454
Build 48345: arc lint + arc unit