LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-05-2006, 05:31 PM   #1
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Rep: Reputation: 30
Is it possible to make squid use another squid?


Hi, i was wondering if it's possible to make squid use another squid. I'm doing a config on a network which is really big and this department needs to get some sites blocked (differente from others). How can i do it?
 
Old 04-05-2006, 07:23 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
yes you can make one squid connect through another squid, look up cache_peer either on google or in your squid.conf file there is a heap of information about it too.
 
Old 04-06-2006, 02:50 AM   #3
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
As previously detailed, it's fairly well documented such as http://squid.visolve.com/squid/squid24s1/neighbour.htm

We use a dual-Squid setup to handle authentication with DansGuardian sat in the middle for content filtering. Although the docs may seem a bit confusing, do a search for examples of it in use, or the relevant line from our squid.conf to give you an idea is:

Code:
cache_peer 127.0.0.1 parent 3125 3130 proxy-only no-netdb-exchange no-query login=*:password
 
Old 04-26-2006, 05:15 PM   #4
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by fouldsy
As previously detailed, it's fairly well documented such as http://squid.visolve.com/squid/squid24s1/neighbour.htm

We use a dual-Squid setup to handle authentication with DansGuardian sat in the middle for content filtering. Although the docs may seem a bit confusing, do a search for examples of it in use, or the relevant line from our squid.conf to give you an idea is:

Code:
cache_peer 127.0.0.1 parent 3125 3130 proxy-only no-netdb-exchange no-query login=*:password
Can you explain to me how to use the password and login on squid?

Thanks
 
Old 04-27-2006, 08:21 AM   #5
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Squid needs an external program for user authentication which are generally in the form of a binary. This wil help you,

http://www.pcquest.com/content/linux.../101071104.asp

--
Prasanta
 
Old 04-27-2006, 06:16 PM   #6
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Original Poster
Rep: Reputation: 30
I have tried this option on cache_peer

Code:
cache_peer my_external_squid_ip sibling 3120 3130 default login=my_user:my_pass
What's wrong with it?

Does linux have some kind of proxy conf to all programs? Some kind of system variable which would make them connect to internet as they were in a direct connection.

Thanks for the help!
 
  


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 for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
Squid: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 03:58 PM
squid message customization, hiding squid versioin rajnishmishra Linux - Networking 0 11-27-2004 03:55 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 07:36 PM

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

All times are GMT -5. The time now is 09:09 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