]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4953: to_localhost does not include :: (#410)
authorAmos Jeffries <yadij@users.noreply.github.com>
Thu, 6 Jun 2019 12:06:41 +0000 (00:06 +1200)
committerAmos Jeffries <yadij@users.noreply.github.com>
Wed, 12 Jun 2019 11:20:09 +0000 (23:20 +1200)
commit4e94e6f08f8a48b243f7bff96ca4e4339b5464dd
tree787d52318cb9a8b42126ecb882b373ea420e56f6
parent32151ebded1afd840e8fdee00b36af7a0d08795f
Bug 4953: to_localhost does not include :: (#410)

Some OS treat unspecified destination address as an implicit
localhost connection attempt. Add ::/128 alongside the
to_localhost 0.0.0.0/32 address to let admin forbid these
connections when DNS entries wrongly contain [::].

Also, adjust ::1 to ::1/128 to match IPv4 range-based definition
and clarify that IPv6 localhost is /128 rather than /127.
src/cf.data.pre