Build broken on Linux

sreenaath vasudevan sreenaathkv at gmail.com
Fri May 13 15:16:12 PDT 2016


Hi Juli
I was able to build wanproxy off the latest source at github as well. Thanks
I have another question regarding how to run wanproxy.
I saw examples on wanproxy.org link @ here
<http://wanproxy.org/examples.shtml> showing how to run it via SSH or over
SOCKS.
In my case, I want client side wanproxy to run as transparent tcp proxy.
This will connect to the server side wan proxy (again running as
transparent proxy) over regular tcp/udp session.
In other words, Client <-> Server connection will be broken down in to 3
connections i.e Client <-> Client_Proxy + Client_Proxy <-> Server_Proxy +
Server_proxy <-> Server.
I assume this is possible with wanproxy. Just wanted to know if the example
already covers this or there is some other configuration need for the above
example.

Thanks !

On Wed, May 11, 2016 at 9:15 PM, Juli Mallett <juli at clockworksquid.com>
wrote:

> Hi Sreenath,
>
> You should probably still be trying to build with the GitHub sources,
> but only in the programs/wanproxy directory.  unistd.h is already in
> the latest wanproxy.cc for getopt(3) and friends.
>
> Thanks!
> Juli.
>
> On Wed, May 11, 2016 at 7:15 PM, sreenaath vasudevan
> <sreenaathkv at gmail.com> wrote:
> > Thanks Juli
> > With the following patch I was able to successfully build wanproxy
> binary on
> > linux with wanproxy-0.8.0 version
> >
> > diff --git a/programs/wanproxy/wanproxy.cc
> b/programs/wanproxy/wanproxy.cc
> > index 1ae815c..cfa9f33 100644
> > --- a/programs/wanproxy/wanproxy.cc
> > +++ b/programs/wanproxy/wanproxy.cc
> > @@ -6,6 +6,7 @@
> >  #include <event/event_main.h>
> >
> >  #include "wanproxy_config.h"
> > +#include <unistd.h>
> >
> >  static void usage(void);
> >
> >
> >
> > On Wed, May 11, 2016 at 6:18 PM, Juli Mallett <juli at clockworksquid.com>
> > wrote:
> >>
> >> Hi Sreenaath,
> >>
> >> Please follow the directions to build WANProxy at:
> >> http://wanproxy.org/get.shtml
> >>
> >> Specifically, please only build in programs/wanproxy.  Almost nobody
> >> needs to build other things.
> >>
> >> Thanks,
> >> Juli.
> >>
> >> On Wed, May 11, 2016 at 4:18 PM, sreenaath vasudevan
> >> <sreenaathkv at gmail.com> wrote:
> >> > Hi
> >> > I am trying to run wanproxy on Linux (ubuntu 14.04). wanproxy.org
> says
> >> > that
> >> > it is supported on Linux. However, the build is broken in many places.
> >> > Was
> >> > this recently tried out on Linux?
> >> >
> >> > Following are the steps performed on ubuntu 14.04
> >> > 1. git checkout https://github.com/wanproxy/wanproxy
> >> > 2. make clean
> >> > 3. make
> >> >
> >> > While performing the above, I ran in to compilation errors. I thought
> >> > that
> >> > some header include path(s) could have been messed up and hence it was
> >> > not
> >> > compiling fine. Initially I thought only the targets inside example
> and
> >> > test
> >> > directories are broken and hence I commented them out from building.
> >> > Even
> >> > after that, I ran in to build errors while building actual wanproxy
> >> > binaries
> >> > (like diskdup, etc).
> >> >
> >> > I am attaching two logs
> >> > 1. op_all -> Where the targets inside example and test directories are
> >> > failing to compile
> >> > 2. op -> With this, targets inside example and tests were commented
> out
> >> > from
> >> > Makefile. Still you can see build errors while building main
> components
> >> > for
> >> > wanproxy.
> >> >
> >> > Can someone tell me how to fix the above problem(s)?
> >> > Thanks !
> >> >
> >> >
> >> > --regards
> >> > sreenaath
> >> >
> >> > _______________________________________________
> >> > wanproxy mailing list
> >> > wanproxy at lists.wanproxy.org
> >> > http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org
> >> >
> >
> >
> >
> >
> > --
> > regards
> > sreenaath
>



-- 
regards
sreenaath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20160513/0f326af2/attachment.htm>


More information about the wanproxy mailing list