[squid-users] almost there , just a little help needed

From: S t i n g r a y <fasi_74@dont-contact.us>
Date: Sat, 12 Aug 2006 09:33:45 -0700 (PDT)

 
Well thanks to all the help you guys provided i have enabled for the first time OpenBSD + squid+ squidguard on my network, internet seems to work very fast now .
thank you
 
now i want to know how to block only specific ips "specified in a file" to download .exe & mp3 files from internet according to my limited knowledge i have made this config , but its not working , can you please tell me whats wrong ? & how should i put it ?
 
Expression file
 
\.(ra?m|mpe?g?|mov|movie|qt|avi|dif|dvd?|exe|mp3)($|\?)
 
 
squidguard.conf
 
logdir /var/log/squidguard
dbhome /var/lib/squidguard
 
dest adult {
        domainlist adult/domains
        urllist adult/urls
}
dest ads {
        domainlist ads/domains
        urllist ads/urls
}
dest proxy {
        domainlist proxy/domains
        urllist proxy/urls
}
dest spyware {
        domainlist spyware/domains
        urllist spyware/urls
}
dest porn {
        domainlist porn/domains
        urllist porn/urls
}
acl {
        default {
                pass !adult !ads !proxy !spyware !porn all
                redirect http://10.0.0.4/blocked.htm
        }
}
src packb {
       iplist /home/admin/packb
}
dest blockext {
expressionlist blockext/expressions
}
acl {
       packb {
       pass !blockext
       redirect http://10.0.0.4/packb.htm
}
}
 
 
 
 
 
regards
 
 
 
 
 
Received on Sat Aug 12 2006 - 10:33:57 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT