LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-13-2005, 03:03 AM   #1
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Rep: Reputation: 31
squid.conf acl domain crap


I'm setting up a proxy server on gentoo with squid. I have this setup in the config file

acl denied_domains dstdomain \"/etc/squid/denied_domains.acl\"
http_access deny denied_domains

denied_domains.acl contains this for testing:

.sex.com
.hackers.com
.xemacs.org


I'm not getting anything out of it, it still allows me to goto sites. what am I doing wrong?


the proxy server works fine, my cell phone connects to it fine and my lan computer work well with it also, it just doesn't filter anything.

edit: this works, but I want it in a seperate file

acl blocked url_regex someurl.com
http_access deny blocked

Last edited by xaos5; 06-13-2005 at 03:08 AM.
 
Old 06-13-2005, 06:05 AM   #2
simi_virgo
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
squid (block the unwanted url)

Try this man ,

This is working in linux redhat/fedrora.


acl block url_regex -i "/etc/squid/blocklist"


Place http_access is in proper order then it will work .
if neccessary go through the documentation


http_access deny block all


HOPE
 
Old 06-13-2005, 03:13 PM   #3
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Original Poster
Rep: Reputation: 31
thanks that worked I had to remove one thing
http_access deny block all
to
http_access deny block

it gave me an error when trying to start it, now it blocks whats in the file.
 
  


Reply



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 help cgelectek Linux - Networking 3 11-10-2005 11:04 PM
do i need to ACL in squid.conf... razan Linux - Security 2 04-20-2005 06:42 AM
Squid ACL Question kemplej Linux - Security 5 08-03-2004 10:56 AM
acl software for squid aqoliveira Linux - Software 1 04-26-2003 04:23 PM
Squid ACL zeroability Linux - Networking 2 01-13-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:50 PM.

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