Re: [squid-users] caching windows update

From: Kashif Ali Bukhari <kbukhari@dont-contact.us>
Date: Thu, 25 Aug 2005 14:19:10 +0500

just use
refresh_pattern http://*\windowsupdate\.com/.*\.(cab|exe|dll) 4320 100%
43200 reload-into-ims

On 8/25/05, lokesh.khanna@accelonafrica.com
<lokesh.khanna@accelonafrica.com> wrote:
> Thanks.
> Will this rule also match any cab/exe/dll file from
> http://au.download.windowsupdate.com
> Or do i need to use
>
> refresh_pattern http://*\windowsupdate\.com/.*\.(cab|exe|dll) 4320 100%
> 43200 reload-into-ims
>
> Thanks
>
> -----Original Message-----
> From: Kashif Ali Bukhari [mailto:kbukhari@gmail.com]
> Sent: Thursday, August 25, 2005 9:45 AM
> To: Raj Kumar Gurung
> Cc: Lokesh Khanna; squid-users@squid-cache.org
> Subject: Re: [squid-users] caching windows update
>
> :-D
> hmmmmm i can see user are assecing cab files
> you should use refresh_pattern for .cab and .dll from windows update
> i am seding you this
> refresh_pattern windowsupdate.com/.*\.(cab|exe|dll) 4320 100% 43200
> reload-into-ims
> refresh_pattern download.microsoft.com/.*\.(cab|exe|dll) 4320 100%
> 43200 reload-into-ims
>
>
> On 8/25/05, Raj Kumar Gurung <rajkumar@subisu.net.np> wrote:
> > Yes mine access.log also shows same ...though i had configured
> > refresh_pattern option for windows update..
> > What might be the reason ?
> >
> > Thanks,
> > uglyjoe
> >
> > lokesh.khanna@accelonafrica.com wrote:
> >
> > >Hi
> > >
> > >Below is my current access.log. My users are accessing windowsupdate
> but
> > >I don't see any TCP_HIT. Am I giving correct regexp??
> > >
> > >Thanks
> > >
> > >###########################################
> > >
> > >1124941122.867 1467 10.18.24.227 TCP_MISS/206 6604 GET
> >
> >http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp
> -
> > >sp2-x86fre-usa-2180_056b2b38baf5620be85ddd58141b073bc0b06a1d.psf -
> > >DIRECT/212.73.245.94 application/octet-stream
> > >1124941122.928 2155 10.18.3.120 TCP_MISS/206 10789 GET
> >
> >http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp
> -
> > >sp2-x86fre-usa-2180_056b2b38baf5620be85ddd58141b073bc0b06a1d.psf -
> > >DIRECT/206.24.172.62 application/octet-stream
> > >1124941123.294 1974 10.18.10.174 TCP_MISS/206 5474 GET
> >
> >http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp
> -
> > >kb885835-x86-enu_7dc658ed670f17f0b3d24c9d152998153534d79a.psf -
> > >DIRECT/208.175.188.29 application/octet-stream
> > >1124941123.328 243 10.18.26.166 TCP_MISS/200 441 HEAD
> >
> >http://download.windowsupdate.com/v6/microsoftupdate/b/selfupdate/AU/x8
> 6
> > >/XP/en/musetup.cab? - DIRECT/212.73.245.94 application/octet-stream
> > >1124941124.052 1293 10.18.19.229 TCP_MISS/206 4516 GET
> >
> >http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp
> -
> > >kb896727-x86-enu_2473de55b2d8b55a2ad8ebe40a4908cc126c39f1.psf -
> > >DIRECT/212.73.245.94 application/octet-stream
> >
> >#######################################################################
> #
> > >############
> > >-----Original Message-----
> > >From: Kashif Ali Bukhari [mailto:kbukhari@gmail.com]
> > >Sent: Thursday, August 25, 2005 8:18 AM
> > >To: Lokesh Khanna
> > >Cc: squid-users@squid-cache.org
> > >Subject: Re: [squid-users] caching windows update
> > >
> > >nothing wrong may b your clients not using windows update ;-)
> > >
> > >
> > >On 8/25/05, lokesh.khanna@accelonafrica.com
> > ><lokesh.khanna@accelonafrica.com> wrote:
> > >
> > >
> > >>Hi
> > >>
> > >>I have recently started using refresh pattern in squid
> configuration.
> > >>My objective is to cache windows update for long time.
> > >>
> > >>Below is my configuration.
> > >>
> > >>
> > >>refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>refresh_pattern http://office\.microsoft\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>refresh_pattern http://windowsupdate\.microsoft\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>refresh_pattern http://w?xpsp[0-9]\.microsoft\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>refresh_pattern http://w2ksp[0-9]\.microsoft\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>refresh_pattern http://download\.microsoft\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>refresh_pattern http://download\.macromedia\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>refresh_pattern ftp://ftp\.nai\.com/ 4320 80%
> > >>
> > >>
> > >43200
> > >
> > >
> > >>But when I check access.log file, I don't see any TCP_HIT for
> > >>windowsupdate. Is there anything wrong in this configuration.
> > >>
> > >>Thanks - LK
> > >>Disclaimer
> > >>
> > >>
> > >>
> >
> >***********************************************************************
> *
> > >****************************************************
> > >
> > >
> > >>The information contained in this e-mail, any attached files, and
> > >>
> > >>
> > >response threads are confidential and
> > >
> > >
> > >>may be legally privileged. It is intended solely for the use of
> > >>
> > >>
> > >individual(s) or entity to which it is addressed
> > >
> > >
> > >>and others authorised to receive it. If you are not the intended
> > >>
> > >>
> > >recipient, kindly notify the sender by return
> > >
> > >
> > >>mail and delete this message and any attachment(s) immediately.
> > >>
> > >>Save as expressly permitted by the author, any disclosure, copying,
> > >>
> > >>
> > >distribution or taking action in reliance
> > >
> > >
> > >>on the contents of the information contained in this e-mail is
> > >>
> > >>
> > >strictly prohibited and may be unlawful.
> > >
> > >
> > >>Unless otherwise clearly stated, and related to the official
> business
> > >>
> > >>
> > >of Accelon Nigeria Limited, opinions,
> > >
> > >
> > >>conclusions, and views expressed in this message are solely personal
> > >>
> > >>
> > >to the author.
> > >
> > >
> > >>Accelon Nigeria Limited accepts no liability whatsoever for any
> loss,
> > >>
> > >>
> > >be it direct, indirect or consequential,
> > >
> > >
> > >>arising from information made available in this e-mail and actions
> > >>
> > >>
> > >resulting there from.
> > >
> > >
> > >>For more information about Accelon Nigeria Limited, please see our
> > >>
> > >>
> > >website at
> > >
> > >
> > >>http://www.accelonafrica.com
> > >>
> > >>
> > >>
> >
> >***********************************************************************
> *
> > >******************************************************
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
> --
> Syed Kashif Ali Bukhari
> Jr. Network Officer Beaconet
> Disclaimer
> ****************************************************************************************************************************
> The information contained in this e-mail, any attached files, and response threads are confidential and
> may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed
> and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return
> mail and delete this message and any attachment(s) immediately.
>
> Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance
> on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful.
>
> Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions,
> conclusions, and views expressed in this message are solely personal to the author.
>
> Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential,
> arising from information made available in this e-mail and actions resulting there from.
>
> For more information about Accelon Nigeria Limited, please see our website at
> http://www.accelonafrica.com
> ******************************************************************************************************************************
>

-- 
Syed Kashif Ali Bukhari
Jr. Network Officer Beaconet
Received on Thu Aug 25 2005 - 03:19:12 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT