Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Force Squid to Cache .EXE Files
Termina
post Jun 4 2007, 04:41 PM
Post #1


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



I've recently set up a transparent squid proxy for an apartment building. So far, everything is working pretty well.

Unfortantely, I'm having trouble forcing squid to cache exe files (We only have a 768/768 connection, so even a 5MB file can slow everything down to a crawl).

After some googling, I found what appeared to be a solution. However, after downloading a file from filehippo.com on one machine (spybotsd14.exe) any other machine I download it on doesn't seem to be grabbing the file from squid.

Here are some relevant log/config lines. Any help would be appreciated.

(Also, is anyone else getting weird formatting errors on these forums when using firefox?)

/etc/squid3/squid.conf
CODE
refresh_pattern -i exe$ 0 50% 999999
refresh_pattern -i zip$ 0 50% 999999
refresh_pattern -i tar\.gz$ 0 50% 999999
refresh_pattern -i tgz$ 0 50% 999999


/home/squid/store.log
CODE
SLRouter:/home/squid# cat store.log | grep spybot
1180987778.957 SWAPOUT 00 000000AD BAA0A7873354B13BB920E84F94B4AC8E  200 1180987774 1180521657        -1 text/plain 56383/56383 GET http://www.safer-networking.org/updates/spybotsd.ini
1180987792.023 SWAPOUT 00 000000B4 A8B25EC315AC07C2BF774568C2093410  200 1180987790 1144917306        -1 application/zip 23453/23453 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/lang.english.zip
1180987838.974 SWAPOUT 00 000000BB 6FEFEE18A496C3C4D81155DD3ACC412F  200 1180987793 1167388711        -1 application/zip 521260/521260 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/clsid.zip
1180987844.507 SWAPOUT 00 000000BF A794968593E40EA0AE4A89BCFF10F762  200 1180987844 1144917373        -1 application/zip 393/393 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/skins.main.zip
1180987877.100 SWAPOUT 00 000000C0 6CF446B4985E4C77AEDD0100C02E8F92  200 1180987846 1159521503        -1 application/zip 362599/362599 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/startup.zip
1180991923.551 RELEASE -1 FFFFFFFF 35D0540C0857D571CA7D9E1FADF1ABF5  200 1180991923        -1        -1 text/html 7663/7663 GET http://filehippo.com/download_spybot_search_destroy/
1180991923.732 SWAPOUT 00 000000D3 7E38C901CCEF87B9870E195F3025E033  200 1180991923 1172234205 1181855923 image/png 7238/7238 GET http://filehippo.com/img/ex/139t__spybot1.png
1180991923.806 SWAPOUT 00 0000010C 29398A4FEA3452CB03C0B550B5F6A3FB  200 1180991923 1172234200 1181855923 image/png 1424/1424 GET http://filehippo.com/img/ex/10__spybot.png
1180991923.884 SWAPOUT 00 000001E9 F591A8A0EC6FB477E032F0970DB5B91E  200 1180991923 1172234206 1181855923 image/png 6669/6669 GET http://filehippo.com/img/ex/141t__spybot4.png
1180991923.997 SWAPOUT 00 000002D1 DEE58328EE6960AB94B7DD69A69224F4  200 1180991924 1172234206 1181855924 image/png 7784/7784 GET http://filehippo.com/img/ex/142t__spybot5.png
1180992009.447 SWAPOUT 00 000002F1 603ED5C0A2735EE1741EA40CC5F9A0B7  200 1180991944 1141992607        -1 application/octet-stream 5037072/5037072 GET http://fs4.filehippo.com/3536/6679773c457747b9bf06d1ea17150c0f/spybotsd14.exe
1180992044.280 RELEASE -1 FFFFFFFF DFABC927D5FFA1CEEB2729ADB5C0C186  200 1180992044        -1        -1 text/html 7663/7663 GET http://filehippo.com/download_spybot_search_destroy/
1180992168.343 RELEASE 00 000003F6 298F358FA3C2C74AF4344048E5146DAC  200 1180992148 1156535338        -1 application/octet-stream 5037072/1240464 GET http://fs5.filehippo.com/1863/6679773c457747b9bf06d1ea17150c0f/spybotsd14.exe


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Posts in this topic
- Termina   Force Squid to Cache .EXE Files   Jun 4 2007, 04:41 PM
- - kedar   [quote name='Termina' date='Jun 4 2007...   Sep 6 2011, 12:20 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 05:59 PM