LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2006, 10:51 PM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Squid Configuration Questions 2


hello friends hope you can help me with my questions.

1. can anyone pls tell me if this code is good
acl mynetwork 192.168.0.0/24
http_access allow mynetwork
http_access deny !mynetwork

2. i tried to whitelist all websites and only allow google and when i start squid i cant really access any websites but my problem is even google is not accessible. i use these tags

acl ALLOWEDSITES dstdomain .google.com
http_access deny !ALLOWEDSITES

3. when i firs install squid i first run "./configure" with these parameter "./configure --prefix=/usr/local/squid --enable-removal-policy=heap. then when squid is installed i edited squid.conf and included these tags:

cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA

then when i run squid there is an error saying that i must specify those 2.

4. i used this tag

cache_dir diskd /usr/local/squid/var/cache 8000 16 256

but when i run squid there is an error pointing to this "fatal : bungled" but when i change diskd to ufs there is no error and squid runs normally.

5.how to turn squid to a firewall?
 
Old 07-26-2006, 02:14 AM   #2
bombom
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
1. Yes, but i write the code like this
acl jaringanku src 192.168.1.0/24
http_access deny all (default)
http_access allow jaringanku

2.i think to block all websites except some websites it's not a good idea. I prefer to block all bad websites (examples: porn sites).

3.You can try one of these:
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF

cache_replacement_policy heap lru
memory_replacement_policy heap lru

4. I like iptables or shorewall as firewalls, we use squid to control bandwith consumtions and limitting users to access bad sites

Thank's

Last edited by bombom; 07-26-2006 at 02:24 AM.
 
  


Reply


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 Configuration Questions! SBN Linux - Software 8 07-25-2006 05:04 AM
Squid Configuration sajidmumtaz Linux - Networking 1 01-09-2006 09:03 AM
Squid: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 03:58 PM
squid configuration karan101 Linux - Networking 7 02-01-2005 03:49 AM
Squid configuration ematogo Linux - Networking 8 12-31-2002 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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