Re: [squid-users] Yet even More on - How does (AUFS) squid decide whi

2007-08-25 Thread Henrik Nordstrom
On lör, 2007-08-25 at 00:26 -0700, Nicole wrote:

  Indeed it seems that L2 is also equal to the number of files that will be
 placed into each of the 256 directories.

Yes. 

  So, at least based on what I am seeing (unless its a bug or just some wierd
 thing I am seeing)  the L1 X L2 determines the total number of objects that 
 are
 storeable. Thus your calculations for L1 and using file size. So, if you make
 L1 too small, regardless of how many MB's you allot for usage, depending on
 your objects (file) sizes, you might never get to that storage limit as you 
 may
 hit a per object limit before you hit your storage size limit.

No, it will still store up to the cache_dir size, but it then wraps
around to the first directory again..

l1 = (nr / L2 / L2) % L1
l2 = (nr / L2) % L2
  
  I hope I didn't just discover something myself everyone else already new.
  I haven't seen this documented anyplace. 

It's been discussed many times here on squid-users at least.

Regards
Henrik


signature.asc
Description: This is a digitally signed message part


Re: [squid-users] NTLM through proxy server?

2007-08-25 Thread Henrik Nordstrom
On fre, 2007-08-24 at 21:23 -0300, Diego Woitasen wrote:

 ok, is protocol specific, but I read the protocol and I can't
 undertand why. The Client and the Server need to see themselves? Or Is
 a  conexion multiplexation problem in the proxy?


HTTP is message oriented, based on self-contained messages being passed
over unspecified transports, with transports being hop-by-hop (i.e.
browser-proxy and proxy-server is independent transports).

NTLM is connection oriented, based on connection state. Only masqueraded
to look like an HTTP authentication scheme, not at all acting as one.

Thus proxying of NTLM requires the proxy to
1. Detect that the NTLM scheme is being used.
2. Then make a strict association between client connection and server
connection
3. and also remember that requests seen on this client connection is
using authentication even if the messages themselves do not contain any
authentication related information at all.

Which is quite different from how an HTTP proxy normally operates.

Regards
Henrik


signature.asc
Description: This is a digitally signed message part


[squid-users] For caching media

2007-08-25 Thread squid learner
Hi! 
All gru
Here  using squid for cahing media files like films
and clips is imposible 
As some other cache stuff is there specially for media

Is it possible to use that in same squid box and 
give some ? in squid.conf to go and check media from
there if there is 

Did any one have any past experience 

I have 50 clients they are adict of downloading films 
and it sucks 


   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/


[squid-users] repopulate cache?

2007-08-25 Thread Frank Ruiz
Greetings,

I am not too sure if this is possible, but it would be a nice to have if not.

I am using an all in memory cache now. cache_dir is set to null.

However, if the system reboots, I lose my cache, and have to rebuild,
taking a toll on the origins.

Is there a way to flush an in memory cache to disk, and use that data
to populate another populate another in memory cache?

The data is dynamic, so I would most likely flush to disk once a day
if this is possible.

What I am looking for is some way to replicate an in memory cache to
another host.

Thanks.


[squid-users] dlmalloc or malloc

2007-08-25 Thread Techwww
I'm running Squid on RH Linux as4,2.6.9 kernel.
Would I compile squid with dlmalloc or malloc enabled for better performance?
I heard that dlmalloc can't support the memory which is more than 2G,is it?

Thanks.


  ___ 
雅虎邮箱,以安全著称,是值得信赖的邮箱专家! 
http://mail.yahoo.com.cn/


[squid-users] 回复: [squid-users] repopulate cache?

2007-08-25 Thread Techwww

--- Frank Ruiz [EMAIL PROTECTED]写道:

 
 What I am looking for is some way to replicate an in memory cache to
 another host.
 

How about using rsync to do that?


  ___ 
雅虎邮箱,以安全著称,是值得信赖的邮箱专家! 
http://mail.yahoo.com.cn/


Re: [squid-users] repopulate cache?

2007-08-25 Thread Adrian Chadd
On Sat, Aug 25, 2007, Frank Ruiz wrote:
 Greetings,
 
 I am not too sure if this is possible, but it would be a nice to have if not.
 
 I am using an all in memory cache now. cache_dir is set to null.
 
 However, if the system reboots, I lose my cache, and have to rebuild,
 taking a toll on the origins.
 
 Is there a way to flush an in memory cache to disk, and use that data
 to populate another populate another in memory cache?
 
 The data is dynamic, so I would most likely flush to disk once a day
 if this is possible.
 
 What I am looking for is some way to replicate an in memory cache to
 another host.

Not without a bit of coding. It wouldn't take that much to implement said
functionality.



Adrian



Re: [squid-users] squid cant cache flv (youtube)

2007-08-25 Thread Adrian Chadd
On Sat, Aug 25, 2007, Kris wrote:
 so i must put reload-into-ims on refresh pattern for flv/swf ?

You can try that.

All I know is that I'm able to cache Youtube right now. ;0




adrian



Re: [squid-users] For caching media

2007-08-25 Thread Adrian Chadd
On Sat, Aug 25, 2007, squid learner wrote:
 Hi! 
 All gru
 Here  using squid for cahing media files like films
 and clips is imposible 
 As some other cache stuff is there specially for media
 
 Is it possible to use that in same squid box and 
 give some ? in squid.conf to go and check media from
 there if there is 
 
 Did any one have any past experience 
 
 I have 50 clients they are adict of downloading films 
 and it sucks 

You need to look at the HTTP requests and replies - begin by
enabling MIME logging. Then you need to learn a little about how
refresh_patterns and cache (which was once no_cache) work in
limiting what can and can't be cached.

Then there's probably some modifications that Squid needs - specifically
floating about supporting caching partial Range Request responses.

Funny you should mention it, I'm building a commercial Squid appliance right
at the moment which, amongst other things (like out of the box functional
interception/WCCPv2 support, anti-spyware/malware filtering, black/whitelists,
web-based User/ACL management, some useful reporting output, etc.) will
include stuff to begin caching sites like Youtube and Google Maps/Earth.
Its tricky to do right and things will need changing/adapting over time.
What worked yesterday might not work so well tomorrow..







Adrian



Re: [squid-users] squid cant cache flv (youtube)

2007-08-25 Thread Kris

do you mind if you post your conf here ? or send me private , very thx b4

Adrian Chadd wrote:

On Sat, Aug 25, 2007, Kris wrote:
  

so i must put reload-into-ims on refresh pattern for flv/swf ?



You can try that.

All I know is that I'm able to cache Youtube right now. ;0




adrian



  




[squid-users] single management console

2007-08-25 Thread Sunin Thaveethamsavee
Hi,

I found the BlueCoat WebCache has the BlueCoat Director for management a
multiple BlueCoat Box. I have no idea SquidCache can do it, 
Please give me information for do the single management console for multiple
SquidCache Server.

Thanks.







Re: [squid-users] squid do the inverse of what it should do !!!!!!!!!!! help !!!!!!!!!

2007-08-25 Thread Michel Santos

pinky you disse na ultima mensagem:

 rpm that come with the distor)  in transparent mode ,
 cisco 2811 redirect the packet to squid via wccp2.

that is not transparent mode

 everything works great till that day when Squid
 inverse its purpose!!! ( its start to use far more
 bandwidth than my users do ) you can see the mrtg
 picturs below ( I put links for them).

inverse??? hmmm

 I tried everything . ( disabled the cache and make it

really?

 work as proxy only, used delay loop , change the
 distro and change the squid version and even changed
 the wccp options and version in the router and squid )

 but the problem remains .

 Please help me before losing my job !!! :(


depends on how much they pay me I dont care  and if it is enough I still
pay you a beer :)

but perhaps you check first who has access to your box and change lines
like acl all 0.0.0.0 or so




michel
...





Datacenter Matik http://datacenter.matik.com.br
E-Mail e Data Hosting Service para Profissionais.




Re: [squid-users] single management console

2007-08-25 Thread Adrian Chadd
On Sat, Aug 25, 2007, Sunin Thaveethamsavee wrote:
 Hi,
 
 I found the BlueCoat WebCache has the BlueCoat Director for management a
 multiple BlueCoat Box. I have no idea SquidCache can do it, 
 Please give me information for do the single management console for multiple
 SquidCache Server.

You'll have to code your own, or wait for what I'm writing to be released.

I'll probably include a management console in the second major release
of my Squid appliance.



Adrian