mash / rfc5766-turn-server

Automatically exported from code.google.com/p/rfc5766-turn-server
0 stars 0 forks source link

turnutils_client can't connect to server with plain user password with redis #143

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setup Redis server and with redis-cli execute 'set 
turn/user/sampleuser/password password'
2. Start turn server 'turnserver -v -c /etc/turnserver.conf'
3. Connect to Turn server with 'turnutils_uclient -u sampleuser -w password 
127.0.0.1'

What is the expected output? What do you see instead?

Expected output: 
  $ turnutils_uclient -u sampleuser -w password 127.0.0.1
  0: Total connect time is 1
  0: start_mclient: msz=2, tot_send_msgs=0, ...

Actual output: 
  $ turnutils_uclient -u sampleuser -w password 127.0.0.1
  0: Cannot complete Allocation
  0: ERROR: Cannot complete Allocation

What version of the product are you using? On what operating system?
  version : rfc5766-turn-server_3.2.3.1-1_amd64.deb
  OS : Ubuntu 14.04 

Please provide any additional information below.
  Please check the issue : 
https://groups.google.com/forum/#!topic/turn-server-project-rfc5766-turn-server/
Q0Cpw_wVaEs

Original issue reported on code.google.com by iwase.yo...@gmail.com on 18 Mar 2015 at 7:12

GoogleCodeExporter commented 9 years ago
Fixed in SVN. Will be available in 3.2.5.7

Original comment by mom040...@gmail.com on 18 Mar 2015 at 7:16

GoogleCodeExporter commented 9 years ago
The recommended data storage is the 'keys', the plain passwords are not 
recommended in the database. So as the workaround, the keys can be used.

Original comment by mom040...@gmail.com on 18 Mar 2015 at 7:17

GoogleCodeExporter commented 9 years ago
I've tried same experiments with version 3.2.5.7 which source was retrieved 
with 'svn checkout http://rfc5766-turn-server.googlecode.com/svn/branches/v3.2/ 
rfc5766-turn-server-read-only', but there seems something wrong with reading 
configuration file.

Specifically, when i start turnserver the outputs were as followings:

Expected output: 
  $ sudo turnserver -v -c examples/etc/turnserver.conf  // Version Citrix-3.2.5.3 'Marshal West'
    ...
    0: Redis DB sync connection success: ip=192.168.100.50
    ...

Actual output: 
  $ sudo bin/turnserver -v -c examples/etc/turnserver.conf // Version Citrix-3.2.5.7 'Marshal West' 
    ...
    0: Bad configuration format: redis-userdb

Original comment by iwase.yo...@gmail.com on 19 Mar 2015 at 2:46