[squid-users] tcp_outgoing_address binds to wrong interface

Amos Jeffries squid3 at treenet.co.nz
Tue Jun 30 04:35:23 UTC 2015


On 30/06/2015 8:54 a.m., Nick Rogers wrote:
> Hello,
> 
> I am experiencing an issue with squid 3.5.5 and FreeBSD 10.1 where
> tcp_outgoing_address correctly rewrites the source address of outgoing
> packets, but fails to bind the socket to the correct interface. I've been
> using this kind of setup/configuration for quite some time (since the squid
> 2.7 days), so I believe something between squid 3.3 and squid 3.5 has
> broken this behavior, or it is a problem with FreeBSD 10.x that I do not
> understand. FWIW squid 3.3.3 on FreeBSD 9.x behaves correctly with the same
> config.

FYI: Squid has nothing to do with interface binding. That is 100%
internal to the kernel routing stack.

All Squid is able to do is set the IP and port for the connection as a
hint to the routing. Whether the hint is taken and used is outside our
control.

Amos



More information about the squid-users mailing list