Search squid archive

Re: cached MS updates !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Log a bug! I'll try to poke them all after exams. I haven't yet
sat down and properly made windows updates caching work so it'll
be good to get all of these bugs and scripts into bugzilla.



Adrian


On Mon, Jun 16, 2008, Rogelio Sevilla Fernandez wrote:
> im getting this on squdi 2.7stable2:
> 
> 2008/06/16 12:15:45| storeClientReadHeader: no URL!
> 2008/06/16 12:15:45| storeClientReadHeader: no URL!
> 2008/06/16 12:15:45| storeClientReadHeader: no URL!
> 2008/06/16 12:15:45| storeClientReadHeader: no URL!
> 2008/06/16 12:15:46| storeClientReadHeader: no URL!
> 
> 
> my squid.conf
> 
> 
> refresh_pattern windowsupdate.com/.*\.(cab|exe|CAB|EXE|dll) 10080 90%  
> 999999 ignore-no-cache override-expire ignore-private
> refresh_pattern download.microsoft.com/.*\.(cab|CAB|EXE|exe|dll) 10080  
> 90% 999999 ignore-no-cache override-expire ignore-private
> refresh_pattern  
> au.download.windowsupdate.com/.*\.(cab|exe|CAB|EXE|psf) 10080 90%  
> 999999 ignore-no-cache override-expire ignore-private
> 
> 
> 
> acl store_rewrite_list url_regex ^http://(.*?)/windowsupdate\?
> cache allow store_rewrite_list
> storeurl_access allow store_rewrite_list
> storeurl_access deny  all
> storeurl_rewrite_program /usr/local/squid/bin/store_url_rewrite
> 
> 
> My store_url_rewrite
> #!/usr/bin/perl
> $|=1;
> while (<>) {
>   @X = split;
>   $url = $X[0];
>   $url =~  
> s@^http://(.*?)/update\?(.*)video_id=(.*?)&.*@squid://au.download.windowsupdate.com.INTERNAL/ID=$3@;
>   $url =~  
> s@^http://(.*?)/update\?(.*)video_id=(.*?)$@squid://au.download.windowsupdate.com.INTERNAL/ID=$3@;
>   print "$url\n";
> }
> 
> 
> 
> pokeman <asifbakali@xxxxxxxxx> ha escrito:
> 
> >
> >thanks henrik for you reply
> >any other way to save bandwidth windows updates almost use 30% of my entire
> >bandwidth
> >
> >
> >Henrik Nordstrom-5 wrote:
> >>
> >>On s?n, 2008-06-15 at 06:40 -0700, pokeman wrote:
> >>>no one explane this :(((
> >>
> >>Didn't understand there was a question.
> >>
> >>What is the question?
> >>
> >>>> 1213248111.272    979 192.168.0.5 TCP_MISS/206 44097 GET
> >>>>
> >>>http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf
> >>>> - DIRECT/8.12.137.30 multipart/byteranges
> >>
> >>I guess you ask whi this isn't cached, it's because it's a partial
> >>request, only requesting parts of the object, and Squid can not yet
> >>cache partial objects.
> >>
> >>Regards
> >>Henrik
> >>
> >>
> >>
> >
> >--
> >View this message in context:   
> >http://www.nabble.com/cached-MS-updates-%21-tp17792708p17866715.html
> >Sent from the Squid - Users mailing list archive at Nabble.com.
> >
> >
> 
> 
> 
> -- 
> Ing. Rogelio C. Sevilla Fernandez
> Direccion de Desarrollo Telematico / Secretaria de Administracion
> Gobierno del Estado de Colima
> Tel (312)3162062 / (312)3162000 ext 2360

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux