WANproxy on Linux and/or with gcc...

Mack mackman at iinet.net.au
Sun May 11 21:01:35 PDT 2014


Dears,
  I cloned the latest code from github and compiled without issue. however,
when try to run it with the configuration file for version 0.8, it gave me
below output:


-----------------------------------
1399867000.989607 [/wanproxy] INFO: WANProxy
1399867000.989725 [/wanproxy] INFO: Copyright (c) 2008-2014 WANProxy.org.
1399867000.989787 [/wanproxy] INFO: All rights reserved.
1399867000.989895 [/wanproxy/config] INFO: Configuring WANProxy.
1399867000.990088 [/wanproxy/config/codec] ERR: virtual bool
WANProxyConfigClassCodec::Instance::activate(const ConfigObject*):
Compressor level set but no compressor.
1399867000.990153 [/wanproxy/config] ERR: void
WANProxyConfig::parse_activate(std::deque<std::basic_string<char> >&):
Object (codec0) activation failed.
1399867000.990208 [/wanproxy/config] ERR: bool
WANProxyConfig::configure(const string&): Error in configuration directive:
activate codec0
1399867000.990271 [/wanproxy] ERR: int main(int, char**): Could not
configure proxies.
-----------------------------------

  Is there anything I'm missing here?
  Below is my configuration file, it is basically copied from sample
section of Wanproxy website:


-----------------------------------
create codec codec0
set codec0.codec XCodec
activate codec0

create interface if0
set if0.family IPv4
set if0.host "0.0.0.0"
set if0.port "3200"
activate if0

create peer peer0
set peer0.family IPv4
set peer0.host "A.B.C.D"
set peer0.port "3201"
activate peer0

create proxy proxy0
set proxy0.interface if0
set proxy0.interface_codec None
set proxy0.peer peer0
set proxy0.peer_codec codec0

-----------------------------------

  Thanks.




On Sun, May 11, 2014 at 5:32 PM, Alain-Pierre Perrin <apperrin at wanadoo.fr>wrote:

> Le Sun, May 11, 2014 at 01:16:53AM -0700, Juli Mallett a écrit :
> > Thanks for putting up with my sloppiness!  :)
> You're very welcome. O:)
>
> > Can you pull the latest changes and try again?  I think I've made the
> right
> > fixes.
> Indeed you have. It now compiles without a hitch...
>
>
> Alain-Pierre
> _______________________________________________
> 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/20140512/c7f3f979/attachment.htm>


More information about the wanproxy mailing list