Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th June 2008, 19:33
networkengineer networkengineer is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default SquidProxy on CentOS5 ACL Problem

Hi there,

New to the forum, was wondering if anyone could help me with this snag...I've read plenty of posts on setting up squid, and this one has me stumped. The squid wiki isn't much help (more than the generic how-to)...

acl bad url_regex "/etc/squid/squid-block.acl"
http_access deny bad

this should work given that I vi /etc/squid/squid-block.acl

in squid-block.acl I have:

.cnn.com
.youtube.com
.ibm.com

so testing these sites, they go through the proxy fine...and the log shows that it passed through instead of issuing a DENY (squid.log) and so there lies my problem....

I checked out /var/log/squid/squid.out and it tells me everything is fine (0 kb) and nothing is there...(I had errors with netmasks so I used squid.out to resolve those)...but it doesn't tell me about any errors for "acl bad" so it must be parsing correctly..

Any suggestions?

Also is there any .txt out there with a list of suggested blocked sites (so I don't have to type thousands of sites) or perhaps another proxy?
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2008, 19:26
networkengineer networkengineer is offline
Junior Member
 
Join Date: Jun 2008
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Solved my own problem..just in case it happens to anyone else---I recommend using webmin for the interface instead of command line--made my life much easier! The problem was with my netmask...specifying a 255.255.0.0 netmask instead of /16 worked for some reason.

Also the ACL's were all there in webmin--so no more vi to edit each of them (vi created weird block blank space characters).

Cheers
Reply With Quote
The Following User Says Thank You to networkengineer For This Useful Post:
falko (28th June 2008)
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Wierd Squid problem, unable to open howtoforge cooljai Server Operation 0 19th May 2008 09:30
Help with Bluetooth PAND josto HOWTO-Related Questions 1 7th August 2007 20:53
Squid Problem tommyboy180 HOWTO-Related Questions 10 21st May 2007 14:32


All times are GMT +2. The time now is 23:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.