[squid-users] Capture incoming information from one squid to another.

Marcelo marcelorodrigo at graminsta.com.br
Tue Aug 16 01:49:50 UTC 2022


Hi,

 

How can I transfer connection information from one squid server to another?

 

Example:

 

An user connects to Squid One (Squid One IP 192.1.1.1) through port 4000
using usr/pw credentials.

Squid One authenticates it via SQL DB. This part is already working fine.

Squid One verifies if destination website is in dst domain list.

If yes Squid One routes it to Route A. End of story.

 

If no Squid One routes it to Squid Two.

But Squid One must inform Squid Two who is the user and witch port he asked
to connect.

 

Why? Because Squid Two must use this info as if the user itself is
connecting to Squid Two.
Why, again? Because Squid Two will use this info to route this user to the
correct route. This part is also done.

 

My doubt is, is there a way to make Squid Two "thinks" that user is
connecting direct to Squid Two, so that, Squid Two can use user/port
information to route this poor little guy.

 

It's a bit hard to explain it through email.

 

Best Regards.

 

Marcelo.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20220815/bd511381/attachment.htm>


More information about the squid-users mailing list