[squid-users] IPv6 only network

Alex Rousskov rousskov at measurement-factory.com
Tue Oct 31 15:32:36 UTC 2017


On 10/31/2017 01:13 AM, Amos Jeffries wrote:

> Why disabling persistence? it has nothing to do with IPv4 vs IPv6.

FWIW, the author is correctly following squid.conf instructions: "The
use of this directive using client dependent ACLs is incompatible with
the use of server side persistent connections. To ensure correct results
it is best to set server_persistent_connections to off when using this
directive in such configurations."

As you know, the tcp_outgoing_address directive has an implicit (but
documented) "preserve selected address family" rule which makes it
useless for directing requests to IPv6 servers.

Squid appears to lack a good general-purpose knob to route traffic to a
particular address family: The address resolution code accepts any
supported family, and the address selection code has no family
discrimination code either. Adding destination_access or a similar new
configuration directive (with a few new ACLs?) would address this and
similar use cases.

Alex.


> acl port1 myport 3001

> tcp_outgoing_address 2001:19f1:9232:d4d:b757:3535:1910:412e port1

> server_persistent_connections off 



More information about the squid-users mailing list