[squid-users] How to select parent proxy based on user password

Ajb B ajb23 at ymail.com
Thu Sep 24 23:24:44 UTC 2020

Hey Eliezer,
Squid contains some very advanced features that would take several weeks to rewrite I'm sure. But you're reply did give me an idea.
I think I can create an additional proxy service on top of Squid to route proxies based on the password. I think I will have to try this approach.

   On Thursday, September 24, 2020, 12:26:38 PM CDT, Eliezer Croitor <ngtech1ltd at gmail.com> wrote:  
 Just to add a side note:
Squid is not the most advanced proxy in the Programming world.

It's possible that many use Squid as their proxy servers software however,
in the programming world there are far more simple and efficient ways to write 
a proxy that will serve a service such as PacketStream.
A proxy server with auth, logging and much moreĀ  can be written in 200 +- lines of code.
OK OK so it is connected to a K\V or SQL DB...

Haproxy is an OpenSource example for a very efficient proxy service, leaving aside the 
obviates differences between Squid and Haproxy.

All The Bests,

Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com

-----Original Message-----
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Amos Jeffries
Sent: Thursday, September 24, 2020 5:38 AM
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] How to select parent proxy based on user password

On 24/09/20 4:14 am, Ajb B wrote:
> Hey Anthony,
> I see you're point. It makes sense to have multiple usernames if I want
> a user to access multiple proxies. But I'm trying to create a "reseller"
> proxy service, so multiple usernames for a single user won't really make
> sense. I can just give users different passwords to access different
> proxies.

I don't see the connection being a reseller service has to do with
routing to specific proxies.

Surely the routing is based on something entirely different - such as
the users credit balance with services, or which packages they have
bought from you, which region(s) they are trying to access etc.

That type of info is traditionally managed via assigning users to
groups. In modern Squid it is more efficiently done with annotations and
"note" ACL as mentioned by Eliezer already.

> Also, I know PacketStream (https://packetstream.io/) does this and I'm
> pretty sure they use Squid.

There is nothing in the PacketStream documentation or FAQ that indicates
routing to specific proxies based on user/password details.

Their on-sellers simply add/remove login accounts and payments to the
main system.

squid-users mailing list
squid-users at lists.squid-cache.org

squid-users mailing list
squid-users at lists.squid-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20200924/cc36f866/attachment-0001.htm>

More information about the squid-users mailing list