[squid-users] Re: cached MS updates !

2008-12-20 Thread Richard Neville
Henrik Nordstrom  henriknordstrom.net> writes:

> 
> On mån, 2008-06-16 at 08:16 -0700, pokeman wrote:
> > thanks henrik for you reply 
> > any other way to save bandwidth windows updates almost use 30% of my entire
> > bandwidth 
> 
> Microsoft has a update server you can run locally. But you need to have
> some control over the clients to make them use this instead of windows
> update...
> 
> Or you could look into sponsoring some Squid developer to add caching of
> partial objects with the goal of allowing http access to windows update
> to be cached. (the versions using https can not be done much about...)
> 
> Regards
> Henrik
> 

Hi, Just thought id let you know, I currently am using an IPCop Firewall,
and one of the plugins (the reason i went with IPCOP) is an 
update accelerator plugin, that stores Windows, Apple, Symmantec, Avast and
linux updates on the
firewalls drive..

I actually found this site because i was trying to get help, and the developer
of the plugin seems cranky at the best of times.

Basically the system works, updates that a PC doesnt have gets loaded from the
firewall rather then the internet, but the updates themselves, it seems that MS
use multiple servers to store each update, now when I update a SP2 XP pro
system, it sees SP3, it downloaded a 850meg file, thats fine, it must be
multilanguage versions that its downloading..

the problem is that i update another SP2 system and it starts downloading the

850 megs again as its got the same file name, but comming from a different
 server.

would anyone here know how to rectify this?

im a 100% noob at linux but i have managed to get it up and running without too
much issue.

here's the plugin website for those interested.

http://update-accelerator.advproxy.net/

any help would be appreciated :)
planetx...@gmail.com




[squid-users] Accessing attatchments in yahoo mail

2008-12-20 Thread Joseph L. Casale
I had a transparent squid proxy setup and was having issues where yahoo 
attachments
after scanning and enabling the interface to download them would logout a user 
when
clicking the link. Thinking this had something to do with the switching back 
and forth from
http/https and being transparent, I setup the clients with a proxy and removed 
the redirect
firewall rule and set squid to not be transparent. The problem still exists 
though and searching
the net shows others with the same issues but I haven't found a solution yet.

Thanks!
jlc


Re: [squid-users] Question about reverse proxy and Apache Expires headers

2008-12-20 Thread Tom Williams

Tom Williams wrote:
So, my Squid-3.0STABLE10 reverse proxy seems to be working just fine 
with one exception: some cached content isn't being properly refreshed 
in the Squid cache.
Here is the Directory directive where I specify the Expires header 
info in my Apache virtual host config file:



ExpiresActive On
ExpiresByType image/gif M2592000
ExpiresByType text/css M604800
ExpiresByType text/javascript M604800
ExpiresByType application/x-javascript M604800
ExpiresByType image/jpeg M2592000
Header append Cache-Control public


So, for the type image/jpeg, the file is set to expire one month after 
that last time it was modified.  Cool.  The problem is, when I update 
an image before the month expire time has elapsed, the OLD image in 
the Squid cache is returned instead of the updated image that is 
stored in the directory.  I'm sure this is related to a configuration 
issue in my Squid installation but I'm not sure where to start 
researching it.


I saw the refresh_pattern directive in my Squid.conf file and I 
haven't changed that.  Is this where I start?


The reason I set a one month expiration time on jpeg images in that 
directory is I don't expect the jpegs in that directory to change very 
frequently but when they DO change, I need Squid to refresh its cache 
as soon as that image is changed (or shortly after).


What should I do to address this?

Thanks!

Peace...

Tom

Please ignore this post.  I think I found my problem.   The images I was 
changing were NOT in the above listed directory so something else is 
going on.


Peace...

Tom


Re: [squid-users] Zeros in cachemgr output

2008-12-20 Thread Matus UHLAR - fantomas
On 17.12.08 20:14, Jevos, Peter wrote:
> Is this ok with all these zero's in my output ?
> 
> Cache information for squid:
>   Request Hit Ratios: 5min: 0.0%, 60min: 0.0%
>   Byte Hit Ratios:5min: 87.9%, 60min: 42.4%
>   Request Memory Hit Ratios:  5min: 0.0%, 60min: 0.0%
>   Request Disk Hit Ratios:5min: 0.0%, 60min: 0.0%
>   Storage Swap size:  1843144 KB
>   Storage Mem size:   104 KB
>   Mean Object Size:   16.74 KB
>   Requests given to unlinkd:  42884
> Median Service Times (seconds)  5 min60 min:
>   HTTP Requests (All):   1.00114  1.05672
>   Cache Misses:  1.00114  1.05672
>   Cache Hits:0.0  0.0
>   Near Hits: 0.0  0.0
>   Not-Modified Replies:  0.0  0.0
>   DNS Lookups:   0.0  0.00295
>   ICP Queries:   0.0  0.0

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson.


[squid-users] Question about reverse proxy and Apache Expires headers

2008-12-20 Thread Tom Williams
So, my Squid-3.0STABLE10 reverse proxy seems to be working just fine 
with one exception: some cached content isn't being properly refreshed 
in the Squid cache. 

Here is the Directory directive where I specify the Expires header info 
in my Apache virtual host config file:



ExpiresActive On
ExpiresByType image/gif M2592000
ExpiresByType text/css M604800
ExpiresByType text/javascript M604800
ExpiresByType application/x-javascript M604800
ExpiresByType image/jpeg M2592000
Header append Cache-Control public


So, for the type image/jpeg, the file is set to expire one month after 
that last time it was modified.  Cool.  The problem is, when I update an 
image before the month expire time has elapsed, the OLD image in the 
Squid cache is returned instead of the updated image that is stored in 
the directory.  I'm sure this is related to a configuration issue in my 
Squid installation but I'm not sure where to start researching it.


I saw the refresh_pattern directive in my Squid.conf file and I haven't 
changed that.  Is this where I start?


The reason I set a one month expiration time on jpeg images in that 
directory is I don't expect the jpegs in that directory to change very 
frequently but when they DO change, I need Squid to refresh its cache as 
soon as that image is changed (or shortly after).


What should I do to address this?

Thanks!

Peace...

Tom


Re: [squid-users] Native WIN32 NTLM and Basic Helpers must be used without the -A & -D switches.

2008-12-20 Thread Guido Serassio

Hi,

At 10.46 19/12/2008, Paul Cocker wrote:

Having noticed that squid is now shipping with an mswin_check_ad_group
file (I don't recall this in 2.6) I'm working on moving our 2.7 config
over to it. In the readme it says:

"- Native WIN32 NTLM and Basic Helpers must be used without the -A & -D
switches."

Our mswin_check_lm_group line used -D as I recall there were lookup
problems without it, however I want to check what this line means. What
is considered a native WIN32 helper? -A isn't documented as a switch
either. Certainly we're a 100% Windows domain.

Can anyone clarify this line for me?


You are mixing authentication helpers with external ACL helpers.

-A & -D switches are only for mswin_auth and mswin_ntlm_auth helpers.

Regards

Guido



-

Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1   10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: guido.seras...@acmeconsulting.it
WWW: http://www.acmeconsulting.it/