Re: [MERGE] [3.1] Clean up commReset use in combination with tproxy or tcp_outgoing_address

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Wed, 12 May 2010 18:35:11 +0200

ons 2010-05-12 klockan 15:07 +1200 skrev Amos Jeffries:

> http_access allow all
>
> acl to_ipv6 dst ipv6
> tcp_outgoing_address 2001:... to_ipv6
> tcp_outgoing_address 192.168.... !to_ipv6

I would guess this fails if the address Squid then tries to connect to
ends up being ipv4, in similar manners to how it got confused for tproxy
intercepted ipv4 clients if the requested host has ipv6 addresses.

A possible interim solution: Excend the patch to skip IPv4 addresses if
local endpoint bound to an IPv6 address, similar to how it skips IPv6
addresses if bound to IPv4.

Regards
Henrik
Received on Wed May 12 2010 - 16:35:24 MDT

This archive was generated by hypermail 2.2.0 : Thu May 13 2010 - 12:00:10 MDT