Is this a bug?

Juli Mallett juli at clockworksquid.com
Wed Dec 7 23:39:11 PST 2016


The configurations online are not wrong.  Please draw a diagram of your
configuration, and are you placing client and server in the same config
(the logs seem to suggest so), or on two systems?

Thanks,
Juli.

On Wed, Dec 7, 2016 at 11:33 PM, lidonghai at adtsec.com <lidonghai at adtsec.com>
wrote:

> hi guys, I found wanproxy recently, and I try to make it running,but the
> configuration on the official webpage confused me a lot.
> according to the website[http://wanproxy.org/examples.shtml &&
> https://github.com/diegows/wanproxy/wiki/Configuration],
> both of them showed that like this:
>
> client
>
> create proxy proxy0
> set proxy0.interface if0set proxy0.interface_codec *None*
> set proxy0.peer peer0set proxy0.peer_codec *codec0*
> activate proxy0
>
> server
>
> create proxy proxy0
> set proxy0.interface if0set proxy0.interface_codec *codec0*
> set proxy0.peer peer0set proxy0.peer_codec *None*
> activate proxy0
>
> but when I started the programe, and run iperf[upload data] on the server
> side, it gave error:
>
> wanproxy showed this:
> 1481182764.863249 [/wanproxy] INFO: All rights reserved.
> 1481182764.863324 [/wanproxy/config] INFO: Configuring WANProxy.
> 1481182764.863883 [/io/system] INFO: Starting IO system.
> 1481182764.863991 [/wanproxy/proxy/proxy0/listener] INFO: Li
> stening on: [0.0.0.0]:2016
> 1481182764.864026 [/event/thread] INFO: Starting event thread.
> 1481182764.864239 [/wanproxy/proxy/proxy1/listener] INFO: Li
> stening on: [0.0.0.0]:2018
> 1481182826.467252 [/zlib/inflate_pipe] ERR: virtual void
> InflatePipe::consume(Buffer*): inflate(): data error
> 1481182826.467342 [/wanproxy/proxy/proxy1/connector] ERR: vo
> id ProxyConnector::splice_complete(Event): Unexpected event:
>  <Error>/0 [Success]
>
> when I exchange the configuration like this:
>
> client
>
> create proxy proxy0
> set proxy0.interface if0set proxy0.interface_codec *codec0*
> set proxy0.peer peer0set proxy0.peer_codec *None*
> activate proxy0
>
> server
>
> create proxy proxy0
> set proxy0.interface if0set proxy0.interface_codec *None*
> set proxy0.peer peer0set proxy0.peer_codec *codec0*
> activate proxy0
>
> it worked as expected.
> so, could anyone tell me why this happened?
> or the configuration on the websites is wrong?
> Thanks in advance.
>
>
>
> yours sincerely.
> ------------------------------
> lidonghai at adtsec.com
>
> _______________________________________________
> wanproxy mailing list
> wanproxy at lists.wanproxy.org
> http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20161207/8be7a42d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bg.jpg
Type: image/jpeg
Size: 22199 bytes
Desc: not available
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20161207/8be7a42d/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catch4507.jpg
Type: image/jpeg
Size: 27884 bytes
Desc: not available
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20161207/8be7a42d/attachment-0003.jpg>


More information about the wanproxy mailing list