Re: [squid-users] Re: Web Scanning

2004-06-17 Thread Schelstraete Bart
Norman Zhang wrote:
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
Then all files will be directed..I don't know if this is disered.
   B
--

You can find me on Google or Yahoo...
search for "Schelstraete Bart" or "Bart Schelstraete"

Schelstraete Bart
http://www.hansbeke.com
email: bart at schelstraete.org


[squid-users] Re: Web Scanning

2004-06-17 Thread Norman Zhang
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