LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   how can i block a site (https://www.linuxquestions.org/questions/linux-security-4/how-can-i-block-a-site-701801/)

hanumanvce 02-02-2009 11:02 PM

how can i block a site
 
how can i block a site to complete lan running on rh 5 enterprise squid server?

repo 02-03-2009 03:30 AM

acl banned_clients src 192.168.12.0/255.255.255.0
acl sucky_url dstdomain .microsoft.com
http_access deny banned_clients sucky_url

or you can install squidguard
http://www.squidguard.org/

archtoad6 02-03-2009 05:21 AM

Code:

acl banned_clients src 192.168.12.0/255.255.255.0
acl sucky_url dstdomain .microsoft.com
http_access deny banned_clients sucky_url

Is that a snippet from a .conf file? If so, for which program? Squid?

repo 02-03-2009 05:25 AM

Quote:

Is that a snippet from a .conf file? If so, for which program? Squid?
yes

win32sux 02-03-2009 06:01 AM

Quote:

Originally Posted by repo (Post 3430014)
acl banned_clients src 192.168.12.0/255.255.255.0
acl sucky_url dstdomain .microsoft.com
http_access deny banned_clients sucky_url

or you can install squidguard
http://www.squidguard.org/

At the very least you could have provided a link to where you copied that example from. ;)

repo 02-03-2009 06:20 AM

Quote:

At the very least you could have provided a link to where you copied that example from.
sorry for that


All times are GMT -5. The time now is 07:36 PM.