[squid-users] Re: Web Scanning

From: Norman Zhang <norman.zhang@dont-contact.us>
Date: Thu, 17 Jun 2004 15:35:59 -0700

>> I'm currently scanning web traffic through TrendMicro VirusWall using
>> the following options. Are there shorter ways of specifying the
>> extensions?
>>
>> cache_peer 127.0.0.1 parent 80 7 default no-query
>>
>> acl binaries urlpath_regex -i \.bin$ \.com$ \.cmd$ \.doc$ \.dot$
>> \.drv$ \.exe$ \.sys$ \.xls$ \.xla$ \.xlt$ \.vbs$ \.js$ \.htm$ \.html$
>> \.cla$ \.class$ \.scr$ \.mdb$ \.ppt$ \.dll$ \.ocx$ \.ovl$ \.pot$
>> \.shs$ \.pif$ \.hlp$ \.hta$ \.mpp$ \.mpt$ \.msg$ \.oft$ \.pps$ \.rtf$
>> \.vsd$ \.vst$ \.386$ \.arj$ \.cab$ \.gz$ \.lzh$ \.rar$ \.tar$ \.swf$
>> \.zip$
>>
>> cache_peer_access 127.0.0.1 allow binaries
>> never_direct allow binaries

> As far as I know there's no shorter way to do this. What you can do
> is put those extensions in a file, and call that file with squid.
> That makes the squid.conf not that dirty.

Would the following do?

cache_peer 127.0.0.1 parent 80 7 no-query default
acl all src 0.0.0.0/0.0.0.0
never_direct allow all

Regards,
Norman
Received on Thu Jun 17 2004 - 16:36:04 MDT

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