need some help with running the example

Yichao(Roger) Shen yis013 at ucsd.edu
Tue Feb 26 20:41:41 PST 2013


Hi Juli,
Now we successfully ran WanProxy to transmit file according to the configuration file we showed you in the previous email. We are moving forward to measure the performance and try to connect WanProxy with our SDN controller. The current issue is how should we measure the performance gain with WanProxy? The major matrices we are considering include avg/max throughput, maximum packet delay and packet drop rate. We are wondering if there is measurement tools associated with WanProxy. 

Another minor issue is just to make sure during the file transmission, there is no output into the console at the client/server side. Is it correct?

Thank you so much for your help.    


Yichao(Roger) Shen

ECE Department
University of California, San Diego

yis013 at ucsd.edu



On Feb 23, 2013, at 8:46 AM, Juli Mallett <juli at clockworksquid.com> wrote:

> Can you verify that server can connect to 192.168.122.30 port 80 when
> you're running netcat?  The error you posted would seem to indicate
> that it can't, although you ought to be getting that error earlier
> than then, if so.  But I guess Linux could be deferring the connect
> for some reason, assuming you're using Linux; I'm not sure.
> 
> On Sat, Feb 23, 2013 at 1:50 AM, Boxiang Pan <aquarypbx at gmail.com> wrote:
>> Hi, Juli,
>> 
>> We're still stuck on getting it run. I changed the if0.host in server.conf
>> to its ip "192.168.122.20", and also changed if0.host in client.conf to its
>> ip "192.168.122.10" . I used "nc -l 80 > received.file " on intranet
>> (192.168.122.30) , when I typed in "nc 192.168.122.10 3300 < send.file" ,
>> I always got   ERR: void ProxyConnector::splice_complete(Event): Unexpected
>> event: <Error>/32 [Broken pipe]   on the client and
>> ERR: void ProxyConnector::splice_complete(Event): Unexpected event:
>> <Error>/111 [Connection refused]    on the server.
>> 
>> I've been stuck on this for a few days, but still don't know how to fix
>> this. Could you please take a look when you get a chance? We really
>> appreciate your help. This is a very critical step in our project, so we
>> really want to get it running soon. Thank you!
>> 
>> our server.conf:
>> 
>> create codec codec0
>> set codec0.codec XCodec
>> activate codec0
>> 
>> create interface if0
>> set if0.family IPv4
>> set if0.host "192.168.122.20"
>> set if0.port "3301"
>> activate if0
>> 
>> create peer peer0
>> set peer0.family IPv4
>> set peer0.host "192.168.122.30"
>> set peer0.port "80"
>> activate peer0
>> 
>> create proxy proxy0
>> set proxy0.interface if0
>> set proxy0.interface_codec codec0
>> set proxy0.peer peer0
>> set proxy0.peer_codec None
>> activate proxy0
>> 
>> our client.conf:
>> create codec codec0
>> set codec0.codec XCodec
>> activate codec0
>> 
>> create interface if0
>> set if0.family IPv4
>> set if0.host "192.168.122.10"
>> set if0.port "3300"
>> activate if0
>> 
>> create peer peer0
>> set peer0.family IPv4
>> set peer0.host "192.168.122.20"
>> set peer0.port "3301"
>> activate peer0
>> 
>> create proxy proxy0
>> set proxy0.interface if0
>> set proxy0.interface_codec None
>> set proxy0.peer peer0
>> set proxy0.peer_codec codec0
>> activate proxy0
>> 
>> 
>>> 
>>> --
>> 
>> 
>> Boxiang Pan
>> 
>> Department of Electrical and Computer Engineering
>> University of California, San Diego
>> Tel: 858-999-7655
>> 
>> 
> 
> 
> On Sat, Feb 23, 2013 at 1:50 AM, Boxiang Pan <aquarypbx at gmail.com> wrote:
>> Hi, Juli,
>> 
>> We're still stuck on getting it run. I changed the if0.host in server.conf
>> to its ip "192.168.122.20", and also changed if0.host in client.conf to its
>> ip "192.168.122.10" . I used "nc -l 80 > received.file " on intranet
>> (192.168.122.30) , when I typed in "nc 192.168.122.10 3300 < send.file" ,
>> I always got   ERR: void ProxyConnector::splice_complete(Event): Unexpected
>> event: <Error>/32 [Broken pipe]   on the client and
>> ERR: void ProxyConnector::splice_complete(Event): Unexpected event:
>> <Error>/111 [Connection refused]    on the server.
>> 
>> I've been stuck on this for a few days, but still don't know how to fix
>> this. Could you please take a look when you get a chance? We really
>> appreciate your help. This is a very critical step in our project, so we
>> really want to get it running soon. Thank you!
>> 
>> our server.conf:
>> 
>> create codec codec0
>> set codec0.codec XCodec
>> activate codec0
>> 
>> create interface if0
>> set if0.family IPv4
>> set if0.host "192.168.122.20"
>> set if0.port "3301"
>> activate if0
>> 
>> create peer peer0
>> set peer0.family IPv4
>> set peer0.host "192.168.122.30"
>> set peer0.port "80"
>> activate peer0
>> 
>> create proxy proxy0
>> set proxy0.interface if0
>> set proxy0.interface_codec codec0
>> set proxy0.peer peer0
>> set proxy0.peer_codec None
>> activate proxy0
>> 
>> our client.conf:
>> create codec codec0
>> set codec0.codec XCodec
>> activate codec0
>> 
>> create interface if0
>> set if0.family IPv4
>> set if0.host "192.168.122.10"
>> set if0.port "3300"
>> activate if0
>> 
>> create peer peer0
>> set peer0.family IPv4
>> set peer0.host "192.168.122.20"
>> set peer0.port "3301"
>> activate peer0
>> 
>> create proxy proxy0
>> set proxy0.interface if0
>> set proxy0.interface_codec None
>> set proxy0.peer peer0
>> set proxy0.peer_codec codec0
>> activate proxy0
>> 
>> 
>>> 
>>> --
>> 
>> 
>> Boxiang Pan
>> 
>> Department of Electrical and Computer Engineering
>> University of California, San Diego
>> Tel: 858-999-7655
>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wanproxy.org/pipermail/wanproxy-wanproxy.org/attachments/20130226/6289a6cd/attachment-0002.htm>


More information about the wanproxy mailing list