From: Sebastien V. <vi...@cl...> - 2009-08-19 06:36:05
|
Tobias H. a écrit : > Hi Sebastien, > > thx for your quick answer and explanation. I thought this was the > problem... > > I got the output below but only up to 'ChannelData', so I received > nothing. It comes from the turnusers.txt template file in turnserver-0.2.2. Account username is different from the hardcoded one in test_client_tcp.c > Now I tried svn-version and it works! (First I downloaded > http://downloads.sourceforge.net/project/turnserver/turnserver/turnserver-0.2.2/turnserver-0.2.2.tar.bz2 > ) > > greetings > Tobias > > > Sebastien Vincent wrote: >> Hi Tobias, >> >> Tobias H. a écrit : >>> Hi, >>> >>> I'm trying to run the turnserver and test it with the enclosed test >>> classes. When I test the client using test_client_tcp I get some >>> output like this on the server: >>> 10:31:07.542240 [turnserver.c:3632] TurnServer start >>> 10:31:07.542654 [turnserver.c:3712] Run with uid_real=1000 >>> gid_real=1000 uid_eff=1000 gid_eff=1000 >>> 10:31:10.477472 [turnserver.c:3264] Received TCP on listening >>> address >>> 10:31:10.477534 [turnserver.c:3279] Received TCP connection >>> 10:31:10.477652 [turnserver.c:3205] Received data from TCP client >>> 10:31:10.477730 [turnserver.c:3010] Incomplete message >>> 10:31:11.477913 [turnserver.c:3205] Received data from TCP client >>> 10:31:11.478031 [turnserver.c:2368] No message integrity >>> ... >>> >>> What I have to do/configure to run the test successfully? >>> >>> >> >> If you see test_client_tcp output, you should see something like: >> Send allocate request >> Send OK >> Send allocate request >> Send refresh request >> Send ChannelBind request >> Send CreatePermission request >> Send Send indication request >> add padding >> ChannelData >> Received 5 bytes >> I receive Hello (channel data) >> Send allocate request >> >> The "Incomplete message" means that server has received a TCP >> STUN/TURN packet which is fragmented. The "No message integrity" >> means that client has not added authentication stuff required by >> TURN. But for the first packet exchanged from the client to the >> server, it is normal because authentication need server realm and >> nonce value (given by server if message-integrity option not found >> in TURN packet). >> >> Regards, >> -- >> Sebastien Vincent >> >>> Sincerely yours >>> Tobias >>> >>> ------------------------------------------------------------------------------ >>> >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day trial. Simplify your report design, integration and >>> deployment - and focus on what you do best, core application coding. >>> Discover what's new with Crystal Reports now. >>> http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Turnserver-users mailing list >>> Tur...@li... >>> https://lists.sourceforge.net/lists/listinfo/turnserver-users >>> >>> >> > > |