Computing.Net > Forums > Linux > In Squid ALLOW/DENY rules

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

In Squid ALLOW/DENY rules

Reply to Message Icon

Name: judson_jebaraj8
Date: October 27, 2004 at 22:15:28 Pacific
OS: RedHat Linux 9
CPU/Ram: 512
Comment:

Hi...
In our concern, we r using SQUID for internet distribution. when i'm tring to restrict some sites based on names like "sex". For that i'm using following ACL codes in squid conf file.

acl all src 0.0.0.0/0.0.0.0 ->default line
acl mul src 190.0.0.0/255.0.0.0 ->my rule
acl ban_list url_regex "/etc/banned.list
acl manager proto cache_object
-> default line
----
----
----

http_access allow mul
----
----
----
----
http_access deny ban_list
http_access deny all

and i created "banned.list" file in /etc directory. In banned.list file i used
*sex*
and its not supporting, it surfing all the sites. Can anybody help me.

Bye ...
Jebaraj



Sponsored Link
Ads by Google

Response Number 1
Name: Peeyush Maurya
Date: November 24, 2004 at 10:44:13 Pacific
Reply:

hi Jebraaj,

go through the following link for blocking website through ACL in SQUID
http://www.linux-faqs.com/Forum/viewforum.php?f=6
http://www.linux-faqs.com/Forum/viewtopic.php?t=28

~~~~~~~~~~~~~~~~~~~~~~~~
http://www.peeyush.tk/
http://geocities.com/peeyush_maurya/
~~~~~~~~~~~~~~~~~~~~~~~~


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: In Squid ALLOW/DENY rules

Redirecting url in squid www.computing.net/answers/linux/redirecting-url-in-squid/24005.html

voice chat problem in squid? www.computing.net/answers/linux/voice-chat-problem-in-squid/20648.html

Restricting Access to FTP in squid www.computing.net/answers/linux/restricting-access-to-ftp-in-squid/24555.html