Ritter, Nicholas wrote:
Error in squid cache.log:
2008/07/16 15:21:20| tproxy ip=10.48.1.3,0x301300a,port=0 ERROR ASSIGN 2008/07/16 15:21:24| tproxy ip=10.48.1.3,0x301300a,port=0 ERROR ASSIGN 2008/07/16 15:21:52| NETDB state saved; 0 entries, 0 msec 2008/07/16 15:23:35| tproxy ip=10.48.1.3,0x301300a,port=0 ERROR ASSIGN 2008/07/16 15:24:41| tproxy ip=10.48.1.3,0x301300a,port=0 ERROR ASSIGN
You are required to set 'tcp_outgoing_address' in squid.conf.
Like I said, the whole setup is working nicely...but I have only tested it with serving less than 10 clients, and I want to make sure the error I am seing is not going to give me performance/stability problems down the road.
Working nicely ..... hmmm, did you check the outgoing address of the connections, whether they have been spoofed with the original addresses of the clients ?
Once I resolve this issue, I will be posting to the Squid Wiki and to anyone who is interested a CentOS 5.2 HOWTO.
What additional new information you have generated out of this ? You are using the information already on the net to perform your setup and I don't see anything new. Distro version and flavour are irrelevant as far as tproxy is concerned. You only need to match the kernel version. Once the kernel version is matched, tproxy will be happy.