<div dir="ltr"><div><div><div><div>Hi Juli<br>I was able to build wanproxy off the latest source at github as well. Thanks<br></div>I have another question regarding how to run wanproxy.<br></div>I saw examples on <a href="http://wanproxy.org">wanproxy.org</a> link @ <a href="http://wanproxy.org/examples.shtml">here</a> showing how to run it via SSH or over SOCKS.<br></div>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.<br></div><div>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.<br></div>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.<br><br><div>Thanks !<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 9:15 PM, Juli Mallett <span dir="ltr"><<a href="mailto:juli@clockworksquid.com" target="_blank">juli@clockworksquid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sreenath,<br>
<br>
You should probably still be trying to build with the GitHub sources,<br>
but only in the programs/wanproxy directory.  unistd.h is already in<br>
the latest wanproxy.cc for getopt(3) and friends.<br>
<br>
Thanks!<br>
Juli.<br>
<br>
On Wed, May 11, 2016 at 7:15 PM, sreenaath vasudevan<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:sreenaathkv@gmail.com">sreenaathkv@gmail.com</a>> wrote:<br>
> Thanks Juli<br>
> With the following patch I was able to successfully build wanproxy binary on<br>
> linux with wanproxy-0.8.0 version<br>
><br>
> diff --git a/programs/wanproxy/wanproxy.cc b/programs/wanproxy/wanproxy.cc<br>
> index 1ae815c..cfa9f33 100644<br>
> --- a/programs/wanproxy/wanproxy.cc<br>
> +++ b/programs/wanproxy/wanproxy.cc<br>
> @@ -6,6 +6,7 @@<br>
>  #include <event/event_main.h><br>
><br>
>  #include "wanproxy_config.h"<br>
> +#include <unistd.h><br>
><br>
>  static void usage(void);<br>
><br>
><br>
><br>
> On Wed, May 11, 2016 at 6:18 PM, Juli Mallett <<a href="mailto:juli@clockworksquid.com">juli@clockworksquid.com</a>><br>
> wrote:<br>
>><br>
>> Hi Sreenaath,<br>
>><br>
>> Please follow the directions to build WANProxy at:<br>
>> <a href="http://wanproxy.org/get.shtml" rel="noreferrer" target="_blank">http://wanproxy.org/get.shtml</a><br>
>><br>
>> Specifically, please only build in programs/wanproxy.  Almost nobody<br>
>> needs to build other things.<br>
>><br>
>> Thanks,<br>
>> Juli.<br>
>><br>
>> On Wed, May 11, 2016 at 4:18 PM, sreenaath vasudevan<br>
>> <<a href="mailto:sreenaathkv@gmail.com">sreenaathkv@gmail.com</a>> wrote:<br>
>> > Hi<br>
>> > I am trying to run wanproxy on Linux (ubuntu 14.04). <a href="http://wanproxy.org" rel="noreferrer" target="_blank">wanproxy.org</a> says<br>
>> > that<br>
>> > it is supported on Linux. However, the build is broken in many places.<br>
>> > Was<br>
>> > this recently tried out on Linux?<br>
>> ><br>
>> > Following are the steps performed on ubuntu 14.04<br>
>> > 1. git checkout <a href="https://github.com/wanproxy/wanproxy" rel="noreferrer" target="_blank">https://github.com/wanproxy/wanproxy</a><br>
>> > 2. make clean<br>
>> > 3. make<br>
>> ><br>
>> > While performing the above, I ran in to compilation errors. I thought<br>
>> > that<br>
>> > some header include path(s) could have been messed up and hence it was<br>
>> > not<br>
>> > compiling fine. Initially I thought only the targets inside example and<br>
>> > test<br>
>> > directories are broken and hence I commented them out from building.<br>
>> > Even<br>
>> > after that, I ran in to build errors while building actual wanproxy<br>
>> > binaries<br>
>> > (like diskdup, etc).<br>
>> ><br>
>> > I am attaching two logs<br>
>> > 1. op_all -> Where the targets inside example and test directories are<br>
>> > failing to compile<br>
>> > 2. op -> With this, targets inside example and tests were commented out<br>
>> > from<br>
>> > Makefile. Still you can see build errors while building main components<br>
>> > for<br>
>> > wanproxy.<br>
>> ><br>
>> > Can someone tell me how to fix the above problem(s)?<br>
>> > Thanks !<br>
>> ><br>
>> ><br>
>> > --regards<br>
>> > sreenaath<br>
>> ><br>
>> > _______________________________________________<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/listinfo.cgi/wanproxy-wanproxy.org</a><br>
>> ><br>
><br>
><br>
><br>
><br>
> --<br>
> regards<br>
> sreenaath<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">regards<br>sreenaath</div>
</div>