]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4915: Detect IPv6 loopback binding errors (#355)
authorAmos Jeffries <yadij@users.noreply.github.com>
Thu, 24 Jan 2019 16:43:47 +0000 (16:43 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 25 Jan 2019 15:40:37 +0000 (15:40 +0000)
commit4685e7ba556dd81facf98e6a8e5503211cff3f1a
tree10aea05557c5b89110bbbd3706dbc4bb14b1b324
parente6dbb95a188639ae01b32e49325dec79e25f6821
Bug 4915: Detect IPv6 loopback binding errors (#355)

Systems which have been partially 'IPv6 disabled' may allow
sockets to be opened and used but missing the IPv6 loopback
address.

Implement the outstanding TODO to detect such failures and
disable IPv6 support properly within Squid when they are found.

This should fix bug 4915 auth_param helper startup and similar
external_acl_type helper issues. For security such helpers are
not permitted to use the machine default IP address which is
globally accessible.
src/ip/tools.cc