Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-31-2007, 03:59 AM   #1
Registered: Aug 2007
Posts: 35

Rep: Reputation: 15
Unhappy Can't create new ACL for Squid in Webmin


I'm having problem with my squid config through Webmin interface. When I want to create another new ACL for Ban some site to be accessed via squid it cannot start the squid after the new ACL creation. It's strange problem but I've follow the steps which has been already mentioned in the following Webmins Administration Guide, -

See the point "Figure 12-15. Creating an ACL ". I've followed same step which he had created for but I don't know where I mess. It almost stop the squid after creating the new ACL and add it in Proxy restrictions column.

Can anyone give the corrective method for how to stop wanted sites to be accessed from squid in Local Area Network. Actually in my company some people using unnecessary sites (porn) and I want to stop them which telling them face to face discussion .

Please help me out from this situation to get resolved as early as possible; as my boss getting his head stuck on me everyday.


Old 11-01-2007, 09:15 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
You may have success by creating a url_regex to allow sites which are needed in your company. For example: fedex, ups, weather ....

acl unblock url_regex

http_access allow unblock

You might also have a look at Dansguardian which runs as a helper to squid. This gives nice control in blocking things like porn, gambling, drugs ....
Old 11-13-2007, 07:00 AM   #3
Registered: Aug 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Hey Dude,

I tried your solution but whenever I accomplish this it almost stop the squid. Also there is no any error messages in /var/log/messages or in squid log.

Please guide me.


Old 11-13-2007, 11:07 PM   #4
Registered: Aug 2007
Posts: 35

Original Poster
Rep: Reputation: 15

Also I get the following error while installing Dansguardian , -

checking for OS tweaks needed... no
checking for debug option... no
checking for proxy user... no
checking for proxy group... no
checking for piddir... no
checking for logdir... no
checking for PCRE support... yes
checking for pcre-config... no
configure: error: pcre-config not found!
configure: WARNING: Cache variable ac_cv_prog_PCRE contains a newline.
[root@nashik dansguardian-]# make
make: *** No targets specified and no makefile found. Stop.
[root@nashik dansguardian-]# make install
make: *** No rule to make target `install'. Stop.
[root@nashik dansguardian-]#
Old 04-18-2008, 06:58 AM   #5
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
i do have problems with webmin for squid but then i can create acls.
the problem is that i am unable to attach acls to delay pools to manage bandwidth.
have you tried this????
does this problem have a solution in webmin or attaching acls to delay pools is not possible in webmin?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid acl bypassing shakeeb_linux Linux - Newbie 3 04-01-2007 12:03 PM
Squid acl help cgelectek Linux - Networking 3 11-11-2005 12:04 AM
do i need to ACL in squid.conf... razan Linux - Security 2 04-20-2005 07:42 AM
Squid ACL dfctve_end_user Linux - Networking 2 01-13-2003 10:30 AM
Help me in Configuring Squid ACL tina_gora Linux - Networking 0 05-22-2001 03:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration