From: Bill C. <bc...@co...> - 2012-02-16 09:23:53
|
Thanks for your prompt replies. We give it a shot today. Regards, Bill Clark Sent from my iPhone On Feb 16, 2012, at 12:41 AM, "Sebastien Vincent" <se...@ji...<mailto:se...@ji...>> wrote: Hi Bill, Please keep the message on the mailing-list (I CC it). See inline. Le 16/02/12 09:23, Bill Clark a écrit : Thanks, Sebastien. If we want to test the second case (listen), does the turn server return the allocated port to turn client so it can be sent via SIP answer SDP payload? The peer can the connect back to turn client on allocated IP and port. Yes when the TURN server returns the allocated IP/port the client. Is the test turn client setup to perform this second scenario? If so, how would I get around the fact peer address and port are required command line arguments? Yes it can, there are some comments in the code ("netstat...") for the location of the test. But as test_turn_client is only a "test" tool, it performs the two cases (first the connect, then it listens for incoming connection). So you can simply put peer address/port of an echo service or simply disable part of the code that do the first way. Best regards, -- Seb Thanks again for your help. Regards, Bill Clark Sent from my iPhone On Feb 15, 2012, at 11:59 PM, "Sebastien Vincent" <<mailto:se...@ji...>se...@ji...<mailto:se...@ji...>> wrote: Hi Bill, See inline. Le 15/02/12 20:27, Bill Clark a écrit : Hello – We recently found this project to provide TCP Relay and we’re in the evaluation process. Unfortunately I have not found documentation describing proper use and setup of Test Turn Client. Q. Can someone please point me to (or provide) instructions of establishing a TCP relay between two clients which transmit data? Here are the actors schema of how works TURN-TCP: TURN-TCP client <--------> TURN server <-------> standard TCP server (HTTP, SSH, ...) or standard TCP client (telnet, ...) In fact there are two ways to make a TCP relay: - the TURN-TCP client establish the connection (connect); - the TURN-TCP client receive the connection (listen). If you have not did it, I suggest you to read the TURN-TCP specification (<http://tools.ietf.org/html/rfc6062>http://tools.ietf.org/html/rfc6062) to better understand all the concepts. Let's consider the following situation: - TURN server : 192.168.0.254 - TURN-TCP client: 192.168.0.1 - TCP server: 192.168.0.5 running an HTTP server on port 80 - domain: <http://yourdomain.org> yourdomain.org<http://yourdomain.org> - user/password: test/1234 Basically to test the first way (connect) with the test_turn_client, you need to run: ./test_turn_client -t tcp -s 192.168.0.254 -p 192.168.0.5 -w 80 -r tcp -t test -g 1234 -d <http://yourdomain.org> yourdomain.org<http://yourdomain.org> To test the second way (another standard client connect to TURN-TCP client), it is a bit more complicated you have to run a nestat -aptn on the TURN server, get the port allocated by the TURN-CLIENT and do a connection on that port from a standard TCP client (like telnet) IIRC in the 10 seconds after running the above test_turn_client command. We have the turn server running on standard ports 3478, basic authentication (file test/1234) and configured to allow TURN-TCP (turn_tcp = true). Another area of clarification that would help is determining values to provide test_turn_client peer address and port. What should these values be for each test_turn_client instance? The peer address and port is the address/port of the peer you want to contact (connect), typically in the above case it is the HTTP server. Best regards, -- Seb Thank you in advanced. Regards, Bill Clark ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. <http://www.accelacomm.com/jaw/sfnl/114/51521223/>http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Turnserver-users mailing list <mailto:Tur...@li...>Tur...@li...<mailto:Tur...@li...> <https://lists.sourceforge.net/lists/listinfo/turnserver-users>https://lists.sourceforge.net/lists/listinfo/turnserver-users ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. <http://www.accelacomm.com/jaw/sfnl/114/51521223/>http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Turnserver-users mailing list <mailto:Tur...@li...>Tur...@li...<mailto:Tur...@li...> <https://lists.sourceforge.net/lists/listinfo/turnserver-users>https://lists.sourceforge.net/lists/listinfo/turnserver-users |