Freezed download via Wanproxy

Ivan Pizhenko ivan.pizhenko at gmail.com
Sat Feb 24 01:09:10 PST 2018


Hi,

I am making some tests with Wanproxy to understand how much it is
stable and reliable. I am using latest Wanproxy code from Github and
work on Ubuntu 16.04 LTS with kernel 4.13 and all latest updates.

I have conducted following simple test:

I have installed locally Apache 2 HTTP Server and put some large file
into the document root. Then I have configured, also locally, "client"
and "server" Wanproxy similar to how it is described in examples
section on wanproxy.org, but without ssh tunnel between them, to proxy
Apaches's HTTP port. Then I have used wget to download that large file
through "client" Wanproxy. It worked fine but slower than direct
download from Apache. Then I have tried to do the same thing but  I
have shut down "server" Wanproxy somewhere in the middle of download.
The download has freezed, the were no further progress. When I have
restarted "server" Wanproxy, the download did not resume. When I shut
down client Wanproxy, wget showed error like "connection refused" and
exited.

I would expect that when "server" Wanproxy went down, "client" one
would disconnect clients connected to it to indicate that upstream
link is broken, if not immediately, then after some reasonable
timeout. Is there a way to achieve something like this with Wanproxy?
If not, what changes to Wanproxy are needed to enable such
functionality?

Ivan.


More information about the wanproxy mailing list