<div dir="ltr">Hi Eliezer,<div><br></div><div>I'm not sure you're addressing Ivan's issue at all, but are instead basically advertising your own projects.  Ivan is talking about what happens when a connection is being proxied and the upstream server disappears, while the client and both proxy devices remain up.  It's a case worth understanding if for no other reason than to help guide your own development of go-linux-tproxy.</div><div><br></div><div>Thanks,</div><div>Juli.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 6, 2018 at 10:03 PM, Eliezer Croitoru <span dir="ltr"><<a href="mailto:eliezer@ngtech.co.il" target="_blank">eliezer@ngtech.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Ivan,<br>
<br>
It's not clear to me what you are testing or trying to test.<br>
There are couple levels of optimizations that you might want to achieve but you need to clear things for yourself first.<br>
If you need a full TCP\IP stack proxy then it depends on the network structure and also the setup is yet to be clear to me.<br>
I have a list of proxies at a post I wrote and update from time to time:<br>
<a href="http://www1.ngtech.co.il/wpe/2016/05/02/proxy-per-internet-user-is-it-realistic/" rel="noreferrer" target="_blank">http://www1.ngtech.co.il/wpe/<wbr>2016/05/02/proxy-per-internet-<wbr>user-is-it-realistic/</a><br>
<br>
but... if you need to access a remote network via a proxy it's one issue.<br>
If you want to optimize the connection by utilizing the proxy bandwidth compared to the client it's another.<br>
Give us a clear "shot" or "scenario" which I can reproduce locally.<br>
I need to know what to try and setup so I would be able to try and grasp the issue.<br>
<br>
I wrote a tiny library and couple examples at:<br>
<a href="https://github.com/elico/go-linux-tproxy" rel="noreferrer" target="_blank">https://github.com/elico/go-<wbr>linux-tproxy</a><br>
<br>
which is being used in couple a very big networks and seems to give them what they need.<br>
<br>
All The Bests,<br>
Eliezer<br>
<span class="im HOEnZb"><br>
----<br>
Eliezer Croitoru<br>
Linux System Administrator<br>
Mobile: <a href="tel:%2B972-5-28704261" value="+972528704261">+972-5-28704261</a><br>
Email: <a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
<br>
<br>
<br>
-----Original Message-----<br>
</span><div class="HOEnZb"><div class="h5">From: Ivan Pizhenko [mailto:<a href="mailto:ivan.pizhenko@gmail.com">ivan.pizhenko@gmail.<wbr>com</a>]<br>
Sent: Wednesday, March 7, 2018 04:03<br>
To: Eliezer Croitoru <<a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a>><br>
Cc: <a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
Subject: Re: Freezed download via Wanproxy<br>
<br>
Hi Eliezer,<br>
<br>
I am trying to achieve this test passing for Wanproxy. I am<br>
insterested in doing this exactly with Wanproxy, not any other<br>
software.<br>
In this case, HTTP is used as sample, the thing should work regardless<br>
to any application-level protocol.<br>
It must work on the TCP/IP connection level.<br>
<br>
WBR, Ivan.<br>
<br>
<br>
2018-03-06 3:33 GMT+02:00 Eliezer Croitoru <<a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a>>:<br>
> Hey Ivan,<br>
><br>
> Can you give more details on what you want to achieve  eventually?<br>
> Are you trying to achieve a specific goal from one of the options WanProxy<br>
> offers?<br>
> Depends on the relevant protocol you will use wanproxy for like http you<br>
> might have another more suitable solution ready to use.<br>
> There are couple other ways\proxies that offers TCP connections optimization<br>
> but it's very important to be very specific on your goals since a "catch<br>
> all" solution is not going to help you to resolve a specific issue.<br>
><br>
> Let me know if I might be able to try and help you.<br>
> Eliezer<br>
><br>
> * if you have tried other ideas then WanProxy let me know which<br>
><br>
> ----<br>
> Eliezer Croitoru<br>
> Linux System Administrator<br>
> Mobile: <a href="tel:%2B972-5-28704261" value="+972528704261">+972-5-28704261</a><br>
> Email: <a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a><br>
><br>
><br>
><br>
> -----Original Message-----<br>
> From: wanproxy [mailto:<a href="mailto:wanproxy-bounces@lists.wanproxy.org">wanproxy-bounces@<wbr>lists.wanproxy.org</a>] On Behalf Of<br>
> Ivan Pizhenko<br>
> Sent: Saturday, February 24, 2018 11:09<br>
> To: <a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
> Subject: Freezed download via Wanproxy<br>
><br>
> Hi,<br>
><br>
> I am making some tests with Wanproxy to understand how much it is<br>
> stable and reliable. I am using latest Wanproxy code from Github and<br>
> work on Ubuntu 16.04 LTS with kernel 4.13 and all latest updates.<br>
><br>
> I have conducted following simple test:<br>
><br>
> I have installed locally Apache 2 HTTP Server and put some large file<br>
> into the document root. Then I have configured, also locally, "client"<br>
> and "server" Wanproxy similar to how it is described in examples<br>
> section on <a href="http://wanproxy.org" rel="noreferrer" target="_blank">wanproxy.org</a>, but without ssh tunnel between them, to proxy<br>
> Apaches's HTTP port. Then I have used wget to download that large file<br>
> through "client" Wanproxy. It worked fine but slower than direct<br>
> download from Apache. Then I have tried to do the same thing but  I<br>
> have shut down "server" Wanproxy somewhere in the middle of download.<br>
> The download has freezed, the were no further progress. When I have<br>
> restarted "server" Wanproxy, the download did not resume. When I shut<br>
> down client Wanproxy, wget showed error like "connection refused" and<br>
> exited.<br>
><br>
> I would expect that when "server" Wanproxy went down, "client" one<br>
> would disconnect clients connected to it to indicate that upstream<br>
> link is broken, if not immediately, then after some reasonable<br>
> timeout. Is there a way to achieve something like this with Wanproxy?<br>
> If not, what changes to Wanproxy are needed to enable such<br>
> functionality?<br>
><br>
> Ivan.<br>
> ______________________________<wbr>_________________<br>
> wanproxy mailing list<br>
> <a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
> <a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" rel="noreferrer" target="_blank">http://lists.wanproxy.org/<wbr>listinfo.cgi/wanproxy-<wbr>wanproxy.org</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
wanproxy mailing list<br>
<a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
<a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" rel="noreferrer" target="_blank">http://lists.wanproxy.org/<wbr>listinfo.cgi/wanproxy-<wbr>wanproxy.org</a><br>
</div></div></blockquote></div><br></div>