Pranav Desai wrote:
> Hello All,
>
> I am running
> Squid Cache: Version 2.6.STABLE12
> configure options: '--prefix=/usr/squid' '--exec-prefix=/usr/squid'
> '--sysconfdir=/usr/squid/etc' '--enable-snmp'
> '--enable-err-languages=English' '--enable-underscores'
> '--enable-linux-netfilter' '--enable-storeio=ufs,aufs,coss'
> '--with-pthreads' '--enable-coss-aio-ops' '--with-aufs-threads=24'
> '--enable-linux-tproxy' '--enable-removal-policies=lru,heap'
> '--enable-internal-dns' '--with-maxfd=65535' '--enable-allowdot'
>
> The cache is at ~500req/s load.
>
> I need to bind the outgoing data to a particular interface so I have
> added the following code in comm_connect_addr
<snip>
1) Please use a more recent squid. Particularly if buidling it yourself.
2.6 is now an old version.
2) see "tcp_outgoing_address" and "udp_outgoing_address" setting already
available in Squid. They do exactly what you are trying to patch.
Amos
-- Please use Squid 2.7.STABLE4 or 3.0.STABLE9Received on Sat Oct 11 2008 - 02:27:16 MDT
This archive was generated by hypermail 2.2.0 : Sun Oct 12 2008 - 12:00:02 MDT