<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hey Eliezer,</div><div><br></div><div dir="ltr" data-setdir="false">Thanks for the info.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I do think using HTTP headers is a good idea, but I'm not really seeing that in the Squid documentation. I'll just have to stick with the configuration directives for now.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">And that list of proxies looks good. I'll consider using them.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks,</div><div dir="ltr" data-setdir="false">Adrian<br></div><div id="yahoo_quoted_1597928404" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Thursday, September 24, 2020, 11:12:26 PM CDT, Eliezer Croitor <ngtech1ltd@gmail.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv4063629792"><style>#yiv4063629792 #yiv4063629792 --
_filtered {}
_filtered {}
_filtered {}
#yiv4063629792
#yiv4063629792 p.yiv4063629792MsoNormal, #yiv4063629792 li.yiv4063629792MsoNormal, #yiv4063629792 div.yiv4063629792MsoNormal
{margin:0in;font-size:11.0pt;font-family:sans-serif;}
#yiv4063629792 a:link, #yiv4063629792 span.yiv4063629792MsoHyperlink
{color:blue;text-decoration:underline;}
#yiv4063629792 span.yiv4063629792EmailStyle20
{font-family:sans-serif;color:windowtext;}
#yiv4063629792 .yiv4063629792MsoChpDefault
{font-size:10.0pt;}
_filtered {}
#yiv4063629792 div.yiv4063629792WordSection1
{}
#yiv4063629792 </style><div><div class="yiv4063629792WordSection1"><p class="yiv4063629792MsoNormal">Hey Adrian,</p><p class="yiv4063629792MsoNormal"> </p><p class="yiv4063629792MsoNormal">Indeed some advanced features might take some time but, without SSL-BUMP you just to prepare a list of “requirements” from the proxy.</p><p class="yiv4063629792MsoNormal">Squid can enforce HTTP RFC syntax and has couple very nice features but really, what do you need the proxy to do?</p><p class="yiv4063629792MsoNormal">Authentication? Via htaccess file, DB, LDAP, AD?<br clear="none">Proxy Peering?</p><p class="yiv4063629792MsoNormal">Logging?</p><p class="yiv4063629792MsoNormal">Bandwidth control?</p><p class="yiv4063629792MsoNormal">Caching?</p><p class="yiv4063629792MsoNormal"> </p><p class="yiv4063629792MsoNormal">For any project the requirements can be “quantified” and a developer can give you a price.</p><p class="yiv4063629792MsoNormal">Indeed I would agree that a software which is being used by many admins and users can be tested better to some degree.</p><p class="yiv4063629792MsoNormal"> </p><p class="yiv4063629792MsoNormal">A single username is an identifier and it’s better be unique per client.</p><p class="yiv4063629792MsoNormal">You can use realms to differentiate between destination proxies.</p><p class="yiv4063629792MsoNormal">Technically speaking there are much better ways to send messages between the client software to the proxy.</p><p class="yiv4063629792MsoNormal">For example you can use a HTTP Header such as “X-Proxy-Route” with some unique identifiers else then the default.</p><p class="yiv4063629792MsoNormal">The main thing with such a setup would be to remove this by-hop\in-transit header(s).</p><p class="yiv4063629792MsoNormal"> </p><p class="yiv4063629792MsoNormal">If you want to see a 200+- lines proxy I can try next month to look at my list.</p><p class="yiv4063629792MsoNormal"> </p><p class="yiv4063629792MsoNormal">I posted in 2016 a list of proxies on my web page and you can download the post PDF from:</p><p class="yiv4063629792MsoNormal"><a rel="nofollow" shape="rect" target="_blank" href="https://smallpdf.com/shared#st=28c1432b-7248-4a57-9e5b-9d143b6481bd&fn=A+Proxy+for+each+Internet+user+_The+future_2016.pdf&ct=1601007048862&tl=share-document&rf=link">https://smallpdf.com/shared#st=28c1432b-7248-4a57-9e5b-9d143b6481bd&fn=A+Proxy+for+each+Internet+user+_The+future_2016.pdf&ct=1601007048862&tl=share-document&rf=link</a></p><p class="yiv4063629792MsoNormal"> </p><p class="yiv4063629792MsoNormal">All The Bests,</p><p class="yiv4063629792MsoNormal">Eliezer</p><p class="yiv4063629792MsoNormal"> </p><div><p class="yiv4063629792MsoNormal">----</p><p class="yiv4063629792MsoNormal">Eliezer Croitoru</p><p class="yiv4063629792MsoNormal">Tech Support</p><p class="yiv4063629792MsoNormal">Mobile: +972-5-28704261</p><p class="yiv4063629792MsoNormal">Email: <a rel="nofollow" shape="rect" ymailto="mailto:ngtech1ltd@gmail.com" target="_blank" href="mailto:ngtech1ltd@gmail.com">ngtech1ltd@gmail.com</a></p></div><p class="yiv4063629792MsoNormal"> </p><div class="yiv4063629792yqt0841324189" id="yiv4063629792yqt76770"><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in;"><p class="yiv4063629792MsoNormal"><b>From:</b> Ajb B <ajb23@ymail.com> <br clear="none"><b>Sent:</b> Friday, September 25, 2020 2:25 AM<br clear="none"><b>To:</b> squid-users@lists.squid-cache.org; Eliezer Croitor <ngtech1ltd@gmail.com><br clear="none"><b>Subject:</b> Re: [squid-users] How to select parent proxy based on user password</p></div></div><p class="yiv4063629792MsoNormal"> </p><div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;">Hey Eliezer,</span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;"> </span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;">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.</span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;"> </span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;">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.</span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;"> </span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;"> </span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;">Thanks,</span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;">Adrian</span></p></div><div id="yiv4063629792yahoo_quoted_1505542304"><div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;color:#26282A;">On Thursday, September 24, 2020, 12:26:38 PM CDT, Eliezer Croitor <<a rel="nofollow" shape="rect" ymailto="mailto:ngtech1ltd@gmail.com" target="_blank" href="mailto:ngtech1ltd@gmail.com">ngtech1ltd@gmail.com</a>> wrote: </span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;color:#26282A;"> </span></p></div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;color:#26282A;"> </span></p></div><div><div><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;color:#26282A;">Just to add a side note:<br clear="none">Squid is not the most advanced proxy in the Programming world.<br clear="none"><br clear="none">It's possible that many use Squid as their proxy servers software however,<br clear="none">in the programming world there are far more simple and efficient ways to write <br clear="none">a proxy that will serve a service such as PacketStream.<br clear="none">A proxy server with auth, logging and much more can be written in 200 +- lines of code.<br clear="none">OK OK so it is connected to a K\V or SQL DB...<br clear="none"><br clear="none">Haproxy is an OpenSource example for a very efficient proxy service, leaving aside the <br clear="none">obviates differences between Squid and Haproxy.<br clear="none"><br clear="none">All The Bests,<br clear="none">Eliezer<br clear="none"><br clear="none">----<br clear="none">Eliezer Croitoru<br clear="none">Tech Support<br clear="none">Mobile: +972-5-28704261<br clear="none">Email: <a rel="nofollow" shape="rect" ymailto="mailto:ngtech1ltd@gmail.com" target="_blank" href="mailto:ngtech1ltd@gmail.com">ngtech1ltd@gmail.com</a><br clear="none"><br clear="none">-----Original Message-----<br clear="none">From: squid-users <<a rel="nofollow" shape="rect" ymailto="mailto:squid-users-bounces@lists.squid-cache.org" target="_blank" href="mailto:squid-users-bounces@lists.squid-cache.org">squid-users-bounces@lists.squid-cache.org</a>> On Behalf Of Amos Jeffries<br clear="none">Sent: Thursday, September 24, 2020 5:38 AM<br clear="none">To: <a rel="nofollow" shape="rect" ymailto="mailto:squid-users@lists.squid-cache.org" target="_blank" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br clear="none">Subject: Re: [squid-users] How to select parent proxy based on user password<br clear="none"><br clear="none">On 24/09/20 4:14 am, Ajb B wrote:<br clear="none">> <br clear="none">> Hey Anthony,<br clear="none">> <br clear="none">> I see you're point. It makes sense to have multiple usernames if I want<br clear="none">> a user to access multiple proxies. But I'm trying to create a "reseller"<br clear="none">> proxy service, so multiple usernames for a single user won't really make<br clear="none">> sense. I can just give users different passwords to access different<br clear="none">> proxies.<br clear="none"><br clear="none"><br clear="none">I don't see the connection being a reseller service has to do with<br clear="none">routing to specific proxies.<br clear="none"><br clear="none">Surely the routing is based on something entirely different - such as<br clear="none">the users credit balance with services, or which packages they have<br clear="none">bought from you, which region(s) they are trying to access etc.<br clear="none"><br clear="none">That type of info is traditionally managed via assigning users to<br clear="none">groups. In modern Squid it is more efficiently done with annotations and<br clear="none">"note" ACL as mentioned by Eliezer already.<br clear="none"><br clear="none"><br clear="none">> <br clear="none">> Also, I know PacketStream (<a rel="nofollow" shape="rect" target="_blank" href="https://packetstream.io/">https://packetstream.io/</a>) does this and I'm<br clear="none">> pretty sure they use Squid.<br clear="none"><br clear="none"><br clear="none">There is nothing in the PacketStream documentation or FAQ that indicates<br clear="none">routing to specific proxies based on user/password details.<br clear="none"><br clear="none">Their on-sellers simply add/remove login accounts and payments to the<br clear="none">main system.<br clear="none"><br clear="none">Amos<br clear="none">_______________________________________________<br clear="none">squid-users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:squid-users@lists.squid-cache.org" target="_blank" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span></p><div id="yiv4063629792yqtfd77456"><p class="yiv4063629792MsoNormal"><span style="font-size:10.0pt;font-family:sans-serif;color:#26282A;"><br clear="none"><br clear="none">_______________________________________________<br clear="none">squid-users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:squid-users@lists.squid-cache.org" target="_blank" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span></p></div></div></div></div></div></div></div></div></div></div><div class="yqt0841324189" id="yqt98593">_______________________________________________<br clear="none">squid-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:squid-users@lists.squid-cache.org" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br clear="none"><a shape="rect" href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br clear="none"></div></div>
</div>
</div></div></body></html>