[squid-users] Minimum object freshness

2008-11-06 Thread Arun Srinivasan
Hi all,

What is the minimum time an object in the cache would remain fresh
(assuming min age in default refresh_pattern is set to 0)?

-- 
Regards,
Arun S.


Re: [squid-users] Minimum object freshness

2008-11-06 Thread Arun Srinivasan
Thanks a lot for this info, Amos.

2008/11/7 Amos Jeffries [EMAIL PROTECTED]:
 Arun Srinivasan wrote:

 Hi all,

 What is the minimum time an object in the cache would remain fresh
 (assuming min age in default refresh_pattern is set to 0)?

 somewhere between 0 seconds and undetermined.

 default refresh_pattern only has affect when A) server provides no freshness
 info, and B) no other refresh_pattern matches the object.

 If the web server provides any expiry info that is used as authoritative.
 Minimum time depends on that info.

 NP:
  having problems with 404 etc pages being cached?
  set negative_ttl to standards-compliant negative_ttl 0 seconds

 Amos
 --
 Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.1




-- 
Regards,
Arun S.


[squid-users] Squid-3 + Tproxy4 clarification

2008-11-04 Thread Arun Srinivasan
Hi List,

Has anyone successfully used cache_peer support with tproxy4 enabled?

The scenario is running Squid proxy with tproxy4 enabled and another
http proxy (no tproxy4) on the same box.

First Squid would receive the request from the user, then connects to
its cache_peer which is the other http proxy.

With tproxy enabled, am not able to establish connection between Squid
and the other proxy. However, in interception mode, am able to do
this.

Please advise if I am missing out anything.

Following are the packages and its versions used:
Kernel version: 2.6.26
Tproxy version: tproxy4-2.6.26-200809262032
iptables version: tproxy-iptables-1.4.0-20080521-113954-1211362794
Squid version: squid-3.HEAD-20081021

TIA.

-- 
Regards,
Arun S.


Re: [squid-users] Squid-3 + Tproxy4 clarification

2008-11-04 Thread Arun Srinivasan
Thanks for the response.

 - does the client IP have access to use the hidden peer proxy?
Yes. To ensure this I tried it out with an 'nc' utility instead of peer proxy.

- do the connections between peers go over lo interface? I'm not sure
what the special kernel behavior with public IPs on localhost
interface would be.
Yes. I could see the connections go over lo interface. However, it is
not getting handled by the stack.

2008/11/4 Amos Jeffries [EMAIL PROTECTED]:
 Arun Srinivasan wrote:

 Hi List,

 Has anyone successfully used cache_peer support with tproxy4 enabled?

 Not that I'm aware of at this point.


 The scenario is running Squid proxy with tproxy4 enabled and another
 http proxy (no tproxy4) on the same box.

 First Squid would receive the request from the user, then connects to
 its cache_peer which is the other http proxy.

 With tproxy enabled, am not able to establish connection between Squid
 and the other proxy. However, in interception mode, am able to do
 this.

 Please advise if I am missing out anything.

 Following are the packages and its versions used:
 Kernel version: 2.6.26
 Tproxy version: tproxy4-2.6.26-200809262032
 iptables version: tproxy-iptables-1.4.0-20080521-113954-1211362794
 Squid version: squid-3.HEAD-20081021

 The new TPROXY/Squid interaction is that it natively spoofs the client IP on
 all outbound links made newly for that request.

 Two things to check are:
  - does the client IP have access to use the hidden peer proxy?

  - do the connections between peers go over lo interface? I'm not sure what
 the special kernel behavior with public IPs on localhost interface would be.


 Amos
 --
 Please be using
  Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
  Current Beta Squid 3.1.0.1




-- 
Regards,
Arun S.