Search squid archive

almost there , just a little help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
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 
 
 
 
 
 



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux