[squid-users] tcp_outgoing_address mixes addresses

From: Laurie <laurie@dont-contact.us>
Date: Thu, 01 Dec 2005 11:20:33 -0700

Hello,

I'm having a problem with tcp_outgoing_address. The requests seem to get
mixed up. Requests that should go out from one specified address can go
out on any of the available addresses. This only happens when requests
that should go out from different addresses happen at the same time.

For Example, if I have only one user, all the requests go out from the
correct address. If I have two users the requests seem to be split up on
the two addresses.

I am using the pre-packaged squid that comes with Fedora 4.

I have one system with multiple users. The system has an ip address for
each user. Each user is using a different squid port. I have the
following config:

acl station_1_port myport 3128
acl station_2_port myport 3129
acl station_3_port myport 3130
acl station_4_port myport 3131
acl station_5_port myport 3132
acl station_6_port myport 3133
tcp_outgoing_address 192.168.123.89 station_1_port
tcp_outgoing_address 192.168.123.90 station_2_port
tcp_outgoing_address 192.168.123.91 station_3_port
tcp_outgoing_address 192.168.123.92 station_4_port
tcp_outgoing_address 192.168.123.93 station_5_port
tcp_outgoing_address 192.168.123.94 station_6_port

For testing, I have setup another box with squid and used it as a parent
proxy to see where the requests are coming from. Log attached. Here is
breakdown of what is happening in the log.

I went to google.com on station 1 (192.168.123.89) - worked fine.
Waited a little while.
I went to msn.com in station 2 (192.168.123.90) - worked fine.
Waited a little while.
I went to slashdot.org on station 1 and yahoo.com on station 2 at the
same time. Requests go out on both addresses.

-- 
***********************************
Laurie Reeves, Software Developer
http://www.userful.com/ 
2nd Floor, 928-6th Ave SW
Calgary, AB T2P 0V5
Tel: 403-289-2177 ext. 211
     866-USERFUL (873-7385)
Fax: 403-206-7010

Received on Thu Dec 01 2005 - 11:20:45 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST