Re: [squid-users] Prefer or force ipv6 usage on dual stack interface

2024-07-17 Thread Alex Rousskov
On 2024-07-17 02:22, Rasmus Horndrup wrote: why it went with the ipv4 conn over ipv6 in the second case. Squid went with IPv4 because Squid established the corresponding TCP/IPv4 connection before it could establish the corresponding TCP/IPv6 connection. Squid started with an IPv4 connection

Re: [squid-users] Prefer or force ipv6 usage on dual stack interface

2024-07-16 Thread Rasmus Horndrup
Thank you. I’ll look into that. But is there anything from the logs I’m missing, for an indication as to why it went with the ipv4 conn over ipv6 in the second case. As I understood, it should prefer ipv6? > On 16 Jul 2024, at 20.46, Alex Rousskov > wrote: > > On 2024-07-16 09:31, Rasmus Ho

Re: [squid-users] Prefer or force ipv6 usage on dual stack interface

2024-07-16 Thread Alex Rousskov
On 2024-07-16 09:31, Rasmus Horndrup wrote: how can I basically force squid to use IPv6? One can modify Squid source code to enforce that rule OR * ban requests targeting raw IPv4 addresses _and_ * ensure your /etc/hosts is not in the way _and_ * use a DNS resolver that never sends IPv4 addres

Re: [squid-users] Prefer or force ipv6 usage on dual stack interface

2024-07-16 Thread Amos Jeffries
On 17/07/24 01:31, Rasmus Horndrup wrote: Hi, On a dual stack network interface I’m interested in using squid as a ipv6 only forward proxy. My general understanding was that squid will prefer to use ipv6 whenever available, but I’m having issues with squid seemingly preferring ipv4 in some cas

Re: [squid-users] Prefer or force ipv6 usage on dual stack interface

2024-07-16 Thread Dieter Bloms
Hello Rasmus, squid has implemented the happy eyeballs algorithm, so squid uses the best protocol to reach the server. More infos about happy eyeball can be found here: https://datatracker.ietf.org/doc/html/rfc8305 On Tue, Jul 16, Rasmus Horndrup wrote: > Hi, > On a dual stack network interfac