From: <s-v...@us...> - 2012-10-12 08:31:45
|
Revision: 219 http://turnserver.svn.sourceforge.net/turnserver/?rev=219&view=rev Author: s-vincent Date: 2012-10-12 08:31:34 +0000 (Fri, 12 Oct 2012) Log Message: ----------- Includes a section in README about test_turn_client/test_echo_server. Modified Paths: -------------- trunk/ChangeLog trunk/Makefile.am trunk/README trunk/configure.in Added Paths: ----------- trunk/doc/Makefile.am Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2012-10-03 17:18:35 UTC (rev 218) +++ trunk/ChangeLog 2012-10-12 08:31:34 UTC (rev 219) @@ -1,3 +1,7 @@ +2012-xx-xx Sebastien Vincent <seb...@tu...> + + * Version 0.8 - Modification to ease Debian repository integration. + 2012-10-01 Sebastien Vincent <seb...@tu...> * Version 0.7 - Fixes compilation warnings with clang; Modified: trunk/Makefile.am =================================================================== --- trunk/Makefile.am 2012-10-03 17:18:35 UTC (rev 218) +++ trunk/Makefile.am 2012-10-12 08:31:34 UTC (rev 219) @@ -1,8 +1,8 @@ # Adding doxygen support include aminclude.am -SUBDIRS = src man test -EXTRA_DIST = extra doc Doxyfile aminclude.am acinclude.m4 +SUBDIRS = src man test doc +EXTRA_DIST = extra Doxyfile aminclude.am acinclude.m4 # valgrind valgrind-run: Modified: trunk/README =================================================================== --- trunk/README 2012-10-03 17:18:35 UTC (rev 218) +++ trunk/README 2012-10-12 08:31:34 UTC (rev 219) @@ -103,7 +103,7 @@ The format of each line is: login:password:realm:state -The state can be "authorized", "refused" or "restricted". The "refused" state +The state can be "authorized", "refused" or "restricted". The "restricted" state means the account has bandwidth restrictions. Note: realm have to match realm parameter defined in TurnServer configuration @@ -128,3 +128,26 @@ Note: if turnserver is launched as root and unpriv_user not set, the program will not loose its root privileges. +5) How-to test simply turnserver +-------------------------------- + +TurnServer is shipped with two test tools: test_turn_client and +test_echo_server. The first one is a minimal TURN client and test_echo_server +is a simple UDP echo server. + +To test TurnServer simply: +- configure turnserver.conf; +- configure turnusers.txt ; +- launch "turnserver -c /path/to/turnserver.conf"; +- launch "test_echo_server 8086"; +- launch "test_turn_client -t udp -s turnserver_address -p turnserver_address -w 8086 -u user -g password -d domain.org". + +The turnserver_address parameter should be the address configured in +turnserver.conf's listen_address or listen_addressv6. if you want to use +localhost here, you should configure listen_address to 127.0.0.1 _and_ +listen_addressv6 to ::1. The user, password and domain.org parameters are the +ones from turnusers.txt. + +It is not necessary to run the server and the test tools on different computers +but it is recommended just to be sure everything work as in real use-case. + Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2012-10-03 17:18:35 UTC (rev 218) +++ trunk/configure.in 2012-10-12 08:31:34 UTC (rev 219) @@ -93,6 +93,7 @@ AC_CONFIG_FILES([Makefile src/Makefile man/Makefile + doc/Makefile test/Makefile]) AC_OUTPUT Added: trunk/doc/Makefile.am =================================================================== --- trunk/doc/Makefile.am (rev 0) +++ trunk/doc/Makefile.am 2012-10-12 08:31:34 UTC (rev 219) @@ -0,0 +1 @@ +EXTRA_DIST = coding_style.txt doxygen-main.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |