LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Squid + LVS - tunneling

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, 'Elías' <esandoval@xxxxxxx>
Subject: RE: Squid + LVS - tunneling
From: Peter Mueller <pmueller@xxxxxxxxxxxx>
Date: Wed, 27 Nov 2002 13:00:17 -0800
Hi Elias,

> I don't understand about your answer "Setup LVS-tun with httpd on the
> squid box and does LVS work to it?". I've configured only the 
> dev tunl0
> in the squid box. My ifconfig -a in the squid box is

I just meant, if you have apache instead of squid on port 8080 does it work?

> Squid box
> 
> oldprox3:/usr/local/squid/etc# tcpdump -n port 8080 -i tunl0
> tcpdump: listening on tunl0
> 08:20:44.134919 142.10.0.245.33312 > 142.10.1.93.8080: S
> 2922199777:2922199777(0) win 5840 <mss 1460,sackOK,timestamp 6737970
> 0,nop,wscale 0> (DF)
> 08:20:47.126799 142.10.0.245.33312 > 142.10.1.93.8080: S
> 2922199777:2922199777(0) win 5840 <mss 1460,sackOK,timestamp 6738270
> 0,nop,wscale 0> (DF)
> 08:20:53.127056 142.10.0.245.33312 > 142.10.1.93.8080: S
> 2922199777:2922199777(0) win 5840 <mss 1460,sackOK,timestamp 6738870
> 0,nop,wscale 0> (DF)
> 08:21:05.127541 142.10.0.245.33312 > 142.10.1.93.8080: S
> 2922199777:2922199777(0) win 5840 <mss 1460,sackOK,timestamp 6740070
> 0,nop,wscale 0> (DF)

this looks good, at least syns are getting in.

> I've put in squid.conf http_conf 142.10.1.93:8080

netstat -anp | grep LISTEN | grep squid shows squid listening on
142.10.1.93:8080?

can you post your squid.conf?

P


<Prev in Thread] Current Thread [Next in Thread>