The Squid-2.5 development version allows you to block content based on
the returned mime type.
However, I do doubt that you want to block application/octet-stream
without having a large exception list.. (just as you would need if
blocking on extention).
-- Henrik Nordstrom Squid Hacker Carl wrote: > > Hi everybody, > > I need your great help! I found that there are many lines in my access.log like the following: > > 988509811.753 45 166.111.173.121 TCP_MISS/200 8557 GET http://www.1-ok.com/xiaoyao/peach2.swf - DIRECT/210.77.151.8 application/octet-stream > > These operations greatly worsen the hit% of my cache so that I want to block 'octet-stream'. It's not a good way to block it by file extention (like .swf) for the reason that there are so many file types can cause 'octet-stream' such as .exe, .cab, .dll, .dat, .cif. .vbs, .class and so on. Furthermore, it is not feasible to block all the files have the extentions above. > > Can anyone tell me how to deal with this problem? Please help me. I need your kind hand! > > thanks! > > CarlReceived on Sun Apr 29 2001 - 04:12:00 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:39 MST