LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't create new ACL for Squid in Webmin (https://www.linuxquestions.org/questions/linux-newbie-8/can%27t-create-new-acl-for-squid-in-webmin-596014/)

ashwin_think 10-31-2007 02:59 AM

Can't create new ACL for Squid in Webmin
 
Hey,

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, -

http://www.linuxjunkies.org/adminstr...uide/x4901.htm

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. :cry:

Thanks.

Ashwin

homey 11-01-2007 08:15 PM

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

Then,
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 ....

ashwin_think 11-13-2007 06:00 AM

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.

Thanks.

Ashwin

ashwin_think 11-13-2007 10:07 PM

Hey,

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-2.9.9.1]# make
make: *** No targets specified and no makefile found. Stop.
[root@nashik dansguardian-2.9.9.1]# make install
make: *** No rule to make target `install'. Stop.
[root@nashik dansguardian-2.9.9.1]#
-------------------------------------------

linuxlover.chaitanya 04-18-2008 05:58 AM

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?


All times are GMT -5. The time now is 03:59 PM.