LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Is it possible to make squid use another squid? (https://www.linuxquestions.org/questions/linux-networking-3/is-it-possible-to-make-squid-use-another-squid-432097/)

stormrider_may 04-05-2006 05:31 PM

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?

paul_mat 04-05-2006 07:23 PM

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.

fouldsy 04-06-2006 02:50 AM

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

stormrider_may 04-26-2006 05:15 PM

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

prasanta 04-27-2006 08:21 AM

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

stormrider_may 04-27-2006 06:16 PM

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!


All times are GMT -5. The time now is 09:58 PM.