Squid as cache to Windows Update
-
I'd like if it possible to configure squid with above refresh_pattern on custom options:
refresh_pattern update.microsoft.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern windowsupdate.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern download.microsoft.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern www.microsoft.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern au.download.windowsupdate.com/.*.(cab|exe|dll|msi) 4320 100% 43200 reload-into-imsCause in my squid (2.7) on pfsense seems not accept anyone commands from custom option, until more simple as "acl teste dstdomain ou url_regex" + http_access deny teste" not works.
If anyone can help me… I'll appreciate.
-
It works for me (custom options)
I have an article on the doc wiki that describes this process:
http://doc.pfsense.org/index.php/Squid_Package_Tuning#Caching_Windows_Updates
Make sure you end those custom options lines with a semicolon.
-
It's strange, my squid not accept my custom options, but I include this as my normal squid running on Debian GNU/LINUX:
refresh_pattern update.microsoft.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims;refresh_pattern windowsupdate.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims;
refresh_pattern download.microsoft.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims;
refresh_pattern www.microsoft.com/..(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims;
refresh_pattern au.download.windowsupdate.com/.*.(cab|exe|dll|msi) 4320 100% 43200 reload-into-ims;Current version is 1.2.3-RC1.
But I'll try your advice.
Thanks
-
Something else to watch out for, I just double checked mine and I have no newlines in it, so it's all one line, with statements separated by semicolons, so it looks like this:
refresh_pattern windowsupdate.com/..(cab|exe) 4320 100% 43200 reload-into-ims;refresh_pattern download.microsoft.com/..(cab|exe) 4320 100% 43200 reload-into-ims;refresh_pattern au.download.windowsupdate.com/..(cab|exe) 4320 100% 43200 reload-into-ims;refresh_pattern guru.avg.com/..(bin) 4320 100% 43200 reload-into-ims;range_offset_limit -1
-
oK.. thanks =).
I´ll try tomorrow, but if I put the "wrong" way, the Pfsense fix automatical.
But tomorrow I´ll test and post here again.
Thanks one more time.
-
Sorry about late.
But when I´ll try to test I decided to upgrade to new version (1.2.3 RC-3), but now my pfsense cannot resolve names from internet more.
dnsmasq[31484]: exiting on receipt of SIGTERM <- This message appears for me, and now I can´t connect to internet over Pfsense, I try to reinstall pfsense but not works.
can you help me?
-
Not sure what might be going on there, but that is unrelated to this thread. If you still need help, start a new thread in the appropriate board with a new subject.
-
Ok no problem.
I prefer not disturb some users with my doubt, I´ll try to reinstall old version.
Thanks for your information.
You can close this topic.
-
can the same be applied for youtube videos to cache flv videos?
-
can the same be applied for youtube videos to cache flv videos?
No, but there are some other docs out there which cover that. There is an add-on for squid that will cache videos. Some searching should turn it up.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy