[squid-users] /64 ipv6

Amos Jeffries squid3 at treenet.co.nz
Wed Feb 27 14:22:30 UTC 2019


On 28/02/19 2:38 am, mzgmedia wrote:
> we like too add maybe 1 million of IPv6 on a single squid server but probably
> the squid will crash because the config file will be too big
> 

Squid will not crash. It will determine that there are too many HTTP
ports being attempted and cleanly shutdown with an error message about that.


Use the wildcard functionality instead. Like so:

 http_port 3128

This will open *:3128 and traffic destined to _any_ IP assigned to the
machine will arrive at Squid.


PS. From the other posts in this thread you seem to be caught up on the
idea that IP addresses are somehow static things which can persist
across a proxy. This is not true, especially in IPv6 where the so-called
'privacy addressing' can cause any IP to change at any time.

HTTP is designed for this dynamic environment and has stateless
multiplexing of traffic. This means a single client<->Squid connection
can contain requests for any URL and any Squid<->server connection can
handle traffic for any client.


Amos


More information about the squid-users mailing list