You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(3) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(2) |
Feb
(6) |
Mar
(1) |
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(13) |
Oct
|
Nov
(1) |
Dec
(1) |
2010 |
Jan
(5) |
Feb
(3) |
Mar
|
Apr
|
May
(8) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(5) |
Dec
(2) |
2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(2) |
Nov
|
Dec
|
2012 |
Jan
(5) |
Feb
(12) |
Mar
(4) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Anjin P. <Anj...@ai...> - 2009-04-26 10:02:57
|
Hi Vincent, First of all thank you for replying, appreciate it a lot. The reason i had canceled my earlier email was because i realized my mistake and had corrected it (long hours in front of my laptop was the cause of this problem :) ). So now the turn server is working properly. But now my problem is, i am a total dummy and can't seem to figure out how i can do NAT transversal using Turn Server. Though i have checked out all the documentation. So was hoping, i could get a simple example on how to use turn server for NAT transversal. A Hello World example for Turn Server. I know my request is pretty lame but it would really help a newbie to get started. Anjin On Sun, 2009-04-26 at 07:46 +0200, Sebastien Vincent wrote: > Hello Anjin, > > Anjin Pradhan a écrit : > > Hi there, > > > > i am trying to use turnserver for master's thesis project but due to > > lack of proper documentation i am having trouble getting started. > > > > If possible can i get access to some tutorial on turnserver > > > > > > You can find information at > http://www.turnserver.org/index.php?n=Doc.UserDocumentation and in the > README file in turnserver's source. > > Another mail you sent to the mailing-list has not passed (I don't know > why) so I post the answer here : > > I am trying to start turnserver with the following configuration in the > > configuration file. > > > > listen_address = {203.159.100.66} > > tcp_port = 2119 > > nonce_key="`Mb{dAQ$PGrf2fvha h8Nf+INSS,13[^.&QL^MUZ!+BJu[65W)+gg)8C(S<l^zik"i > > tls = false > > > > The error message i am getting is > > > > anjin@anjin-IBM-31:~/Desktop/turnserver-0.2.2$ turnserver -c /etc/turnserver.conf > > /etc/turnserver.conf:3: no such option 'i' > > Parse error in configuration file /etc/turnserver.conf > > Parse configuration error, exiting.. > > > > The error is at "nonce_key" line, you wrote a 'i' character after the > quotes: > > "`Mb{dAQ$PGrf2fvha h8Nf+INSS,13[^.&QL^MUZ!+BJu[65W)+gg)8C(S<l^zik"i > > nonce_key value is a string so include the last 'i' in the quotes or > remove it. > > Best regards, > -- > Sebastien Vincent > > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensign option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Turnserver-users mailing list > > Tur...@li... > > https://lists.sourceforge.net/lists/listinfo/turnserver-users > > > > > > |
From: Sebastien V. <seb...@tu...> - 2009-04-26 06:12:57
|
Hello Anjin, Anjin Pradhan a écrit : > Hi there, > > i am trying to use turnserver for master's thesis project but due to > lack of proper documentation i am having trouble getting started. > > If possible can i get access to some tutorial on turnserver > > You can find information at http://www.turnserver.org/index.php?n=Doc.UserDocumentation and in the README file in turnserver's source. Another mail you sent to the mailing-list has not passed (I don't know why) so I post the answer here : > I am trying to start turnserver with the following configuration in the > configuration file. > > listen_address = {203.159.100.66} > tcp_port = 2119 > nonce_key="`Mb{dAQ$PGrf2fvha h8Nf+INSS,13[^.&QL^MUZ!+BJu[65W)+gg)8C(S<l^zik"i > tls = false > > The error message i am getting is > > anjin@anjin-IBM-31:~/Desktop/turnserver-0.2.2$ turnserver -c /etc/turnserver.conf > /etc/turnserver.conf:3: no such option 'i' > Parse error in configuration file /etc/turnserver.conf > Parse configuration error, exiting.. > The error is at "nonce_key" line, you wrote a 'i' character after the quotes: "`Mb{dAQ$PGrf2fvha h8Nf+INSS,13[^.&QL^MUZ!+BJu[65W)+gg)8C(S<l^zik"i nonce_key value is a string so include the last 'i' in the quotes or remove it. Best regards, -- Sebastien Vincent > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Turnserver-users mailing list > Tur...@li... > https://lists.sourceforge.net/lists/listinfo/turnserver-users > > |
From: Anjin P. <Anj...@ai...> - 2009-04-25 23:31:09
|
Hi there, i am trying to use turnserver for master's thesis project but due to lack of proper documentation i am having trouble getting started. If possible can i get access to some tutorial on turnserver Anjin |
From: Sebastien V. <vi...@cl...> - 2009-03-09 08:49:30
|
Hello folks, A new version of TurnServer is available (turnserver-0.2.2) on sourceforge (https://sourceforge.net/project/showfiles.php?group_id=234986). In two word it add support for turn-13 specification and experimental multiple uplink interfaces support (warning: configuration file syntax have changed for listen_address and listen_addressv6). Regards, -- Sebastien Vincent http://www.turnserver.org https://sourceforge.net/projects/turnserver/ |
From: Sebastien V. <vi...@cl...> - 2009-02-27 17:01:46
|
Hello folks, As you know turn-13 is out since 25 february 2009 (http://www.ietf.org/internet-drafts/draft-ietf-behave-turn-13.txt) and TurnServer has been updated as well. For the moment it is still in SVN repository but I plan to do a release (0.2.2 version) in a few days. This next release will also contains simple load sharing support (if you are multiple uplink interface). As usual please test and give us feedback about TurnServer, all comments are welcome. Regards, -- Sebastien Vincent |
From: Sebastien V. <vi...@cl...> - 2009-02-19 07:42:55
|
Hi Zonesan, Zonesan a écrit : > Hi Sebastien, > I modified source code. > turnserver.c, line 1400. > ------------------------------------ > + int dbg_chnl = 0; > + if((dbg_chnl = allocation_desc_find_channel(desc, family, > peer_addr, peer_port)) && (dbg_chnl != channel)) > --- > - if(allocation_desc_find_channel(desc, family, peer_addr, peer_port)) > -------------------------------------- > now it seems work well. Thanks, I have fixed it in SVN repository. Regards, -- Sebastien > Do you have some else suggestion? > Best regards. > > --- > Zonesan > > > > On Thu, Feb 19, 2009 at 11:06 AM, Zonesan <sa...@zo... > <mailto:sa...@zo...>> wrote: > > Hi Sebastien, > I got another problem. > I tried to refresh a channel binding'e time-to-expiry back to 10 > mins, turnserver always response a 400(bad request) error. debug > msg shows that transport address already bound to another channel > number. Unless 10 mins later while the channel binding expires, > then the server response binding success. > No matter I add a channel number attribute to createpermission > method, or use a channelbinding mothed. It seems there is no > avaliable mothed to refresh a channel binding's lifetime? > Did I do something wrong with it? > Best ragrads. > > > On Wed, Feb 18, 2009 at 5:47 PM, Sebastien Vincent > <vi...@cl... > <mailto:vi...@cl...>> wrote: > > Hi Zonesan, > > Zonesan a écrit : > > While a turnserver is running, a client get a success > allocation and channel binding. > Then client send data to channel. but about 3 mins later, > servers response a error code 438 which telling client a > stale nonce error. Lifetime(and time-to-expiry) has set to > 600 seconds or more. > > > in src/turn.h: > > [...] > /* lifetime of a nonce (in seconds) */ > #define TURN_DEFAULT_NONCE_LIFETIME 180 > [...] > > So it is not a bug. But this is an arbitrary value, AFAIK TURN > and STUN does not define value for nonce lifetime. > > Maybe I will upgrade its value to half an hour (1800 seconds) > or one hour (3600 seconds) for the next 0.2.2 release. > > Regards, > -- > Seb > > So... I'm not sure whether it is a bug or a feather of > TURN/STUN. > Can anyone help me? thanks very much. > Best regards. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, > San Francisco, CA > -OSBC tackles the biggest issue in open source: Open > Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open > source participation > -Receive a $600 discount off the registration fee with the > source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > Turnserver-users mailing list > Tur...@li... > <mailto:Tur...@li...> > https://lists.sourceforge.net/lists/listinfo/turnserver-users > > > > > |
From: Zonesan <sa...@zo...> - 2009-02-19 06:09:55
|
Hi Sebastien, I modified source code. turnserver.c, line 1400. ------------------------------------ + int dbg_chnl = 0; + if((dbg_chnl = allocation_desc_find_channel(desc, family, peer_addr, peer_port)) && (dbg_chnl != channel)) --- - if(allocation_desc_find_channel(desc, family, peer_addr, peer_port)) -------------------------------------- now it seems work well. Do you have some else suggestion? Best regards. --- Zonesan On Thu, Feb 19, 2009 at 11:06 AM, Zonesan <sa...@zo...> wrote: > Hi Sebastien, > I got another problem. > I tried to refresh a channel binding'e time-to-expiry back to 10 mins, > turnserver always response a 400(bad request) error. debug msg shows that > transport address already bound to another channel number. Unless 10 mins > later while the channel binding expires, then the server response binding > success. > No matter I add a channel number attribute to createpermission method, or > use a channelbinding mothed. It seems there is no avaliable mothed to > refresh a channel binding's lifetime? > Did I do something wrong with it? > Best ragrads. > > > On Wed, Feb 18, 2009 at 5:47 PM, Sebastien Vincent < > vi...@cl...> wrote: > >> Hi Zonesan, >> >> Zonesan a écrit : >> >>> While a turnserver is running, a client get a success allocation and >>> channel binding. >>> Then client send data to channel. but about 3 mins later, servers >>> response a error code 438 which telling client a stale nonce error. >>> Lifetime(and time-to-expiry) has set to 600 seconds or more. >>> >> >> in src/turn.h: >> >> [...] >> /* lifetime of a nonce (in seconds) */ >> #define TURN_DEFAULT_NONCE_LIFETIME 180 >> [...] >> >> So it is not a bug. But this is an arbitrary value, AFAIK TURN and STUN >> does not define value for nonce lifetime. >> >> Maybe I will upgrade its value to half an hour (1800 seconds) or one hour >> (3600 seconds) for the next 0.2.2 release. >> >> Regards, >> -- >> Seb >> >> So... I'm not sure whether it is a bug or a feather of TURN/STUN. >>> Can anyone help me? thanks very much. >>> Best regards. >>> ------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------------ >>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >>> CA >>> -OSBC tackles the biggest issue in open source: Open Sourcing the >>> Enterprise >>> -Strategies to boost innovation and cut costs with open source >>> participation >>> -Receive a $600 discount off the registration fee with the source code: >>> SFAD >>> http://p.sf.net/sfu/XcvMzF8H >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Turnserver-users mailing list >>> Tur...@li... >>> https://lists.sourceforge.net/lists/listinfo/turnserver-users >>> >>> >> >> > |
From: Zonesan <sa...@zo...> - 2009-02-19 03:06:13
|
Hi Sebastien, I got another problem. I tried to refresh a channel binding'e time-to-expiry back to 10 mins, turnserver always response a 400(bad request) error. debug msg shows that transport address already bound to another channel number. Unless 10 mins later while the channel binding expires, then the server response binding success. No matter I add a channel number attribute to createpermission method, or use a channelbinding mothed. It seems there is no avaliable mothed to refresh a channel binding's lifetime? Did I do something wrong with it? Best ragrads. On Wed, Feb 18, 2009 at 5:47 PM, Sebastien Vincent < vi...@cl...> wrote: > Hi Zonesan, > > Zonesan a écrit : > >> While a turnserver is running, a client get a success allocation and >> channel binding. >> Then client send data to channel. but about 3 mins later, servers response >> a error code 438 which telling client a stale nonce error. Lifetime(and >> time-to-expiry) has set to 600 seconds or more. >> > > in src/turn.h: > > [...] > /* lifetime of a nonce (in seconds) */ > #define TURN_DEFAULT_NONCE_LIFETIME 180 > [...] > > So it is not a bug. But this is an arbitrary value, AFAIK TURN and STUN > does not define value for nonce lifetime. > > Maybe I will upgrade its value to half an hour (1800 seconds) or one hour > (3600 seconds) for the next 0.2.2 release. > > Regards, > -- > Seb > > So... I'm not sure whether it is a bug or a feather of TURN/STUN. >> Can anyone help me? thanks very much. >> Best regards. >> ------------------------------------------------------------------------ >> >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, >> CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the >> Enterprise >> -Strategies to boost innovation and cut costs with open source >> participation >> -Receive a $600 discount off the registration fee with the source code: >> SFAD >> http://p.sf.net/sfu/XcvMzF8H >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Turnserver-users mailing list >> Tur...@li... >> https://lists.sourceforge.net/lists/listinfo/turnserver-users >> >> > > |
From: Sebastien V. <vi...@cl...> - 2009-02-18 09:47:53
|
Hi Zonesan, Zonesan a écrit : > While a turnserver is running, a client get a success allocation and > channel binding. > Then client send data to channel. but about 3 mins later, servers > response a error code 438 which telling client a stale nonce error. > Lifetime(and time-to-expiry) has set to 600 seconds or more. in src/turn.h: [...] /* lifetime of a nonce (in seconds) */ #define TURN_DEFAULT_NONCE_LIFETIME 180 [...] So it is not a bug. But this is an arbitrary value, AFAIK TURN and STUN does not define value for nonce lifetime. Maybe I will upgrade its value to half an hour (1800 seconds) or one hour (3600 seconds) for the next 0.2.2 release. Regards, -- Seb > So... I'm not sure whether it is a bug or a feather of TURN/STUN. > Can anyone help me? thanks very much. > Best regards. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ------------------------------------------------------------------------ > > _______________________________________________ > Turnserver-users mailing list > Tur...@li... > https://lists.sourceforge.net/lists/listinfo/turnserver-users > |
From: Zonesan <sa...@zo...> - 2009-02-18 09:16:48
|
While a turnserver is running, a client get a success allocation and channel binding. Then client send data to channel. but about 3 mins later, servers response a error code 438 which telling client a stale nonce error. Lifetime(and time-to-expiry) has set to 600 seconds or more. So... I'm not sure whether it is a bug or a feather of TURN/STUN. Can anyone help me? thanks very much. Best regards. |
From: Sébastien V. <vi...@cl...> - 2009-01-26 15:21:07
|
From: Marcus L. <ml...@up...> - 2009-01-25 21:26:47
|
Hi I'm trying to setup a TURN server for xmmp.org When I test this using my experimental build of Pidgin (libpurple) with a/v support using XMPP/Jingle I get failed connection, although farsight2's nice-transmitter (that we use for voice and video) can bind to the TURN server and generate a relayed transport candidate. This is what turnserver output when the relayed media is started (as far as I know). I'm using turnserver 0.2.1 The only things I changed in turnserver.conf is the path to turnusers.txt and the realm. As far as I can see from the log authentication is successful. 21:54:36.065039 [turnserver.c:2140] Process a TURN message 21:54:36.065057 [turnserver.c:1685] Allocate request received! 21:54:36.065078 [turnserver.c:1991] Account anonymous, allocations used : 4 21:54:36.065121 [turnserver.c:2095] Allocation successfull, send success allocate response 21:54:37.140496 [turnserver.c:3348] Received UDP on a relayed address 21:54:37.140520 [turnserver.c:2747] No permission installed 21:54:37.140529 [turnserver.c:3348] Received UDP on a relayed address 21:54:37.140539 [turnserver.c:2747] No permission installed 21:54:37.7 What could this mean? |
From: Sébastien V. <vi...@cl...> - 2008-12-17 13:49:30
|
Hello all, Thanks to Paul Mackell, he fix the CRC32 generation which now is correct. So I made this "bug fix" release today, I have also integrated a drop privileges system if TurnServer is launched as root / setuid root. Regards, -- Sebastien Vincent |
From: Sébastien V. <vi...@cl...> - 2008-12-15 10:40:18
|
Dear all, Our apologies if you receive multiple copies of this announcement. We are glad to announce the release of TurnServer version 0.2, the OpenSource TURN server. This new version supports RFC5389 (STUN), latest turn-12 and turn-ipv6-05 drafts. We also refactor some code parts and add other things like setting DF flag on Linux and quotas / IP restriction stuff. Here is the ChangeLog: - Add attributes from turn-12 draft; - Add authentication on all TURN responses when possible; - Pre-calculate account MD5 hash; - Re-organize some code (message-integrity calculation, ...); - Alternate behavior for DF flag; - Separate TCP and TLS sockets; - Correctly relayed data from peer to client in TLS; - Multiple XOR-PEER-ADDRESS support in CreatePermission; - Update wireshark parser (packet-stun2.c); - Additionnal configuration parameters; - Allocation number and bandwidth quota; - Address / port restrictions; - Reconstruct fragmented TCP messages support; - Prevent allocation hijacking support; - Add logs support via syslog. TurnServer code can be retrieved from the download page: http://sourceforge.net/project/showfiles.php?group_id=234986 The mailing-lists are available at: http://lists.sourceforge.net/mailman/listinfo/turnserver-devel http://lists.sourceforge.net/mailman/listinfo/turnserver-users As usual, any feedback is welcome. Best regards, -- Sebastien Vincent http://www.turnserver.org/ http://sourceforge.net/projects/turnserver/ |
From: Sébastien V. <vi...@cl...> - 2008-11-20 17:33:53
|
Hello all, TurnServer version 0.1.3 will be released november 22th. This will be the last version which supports turn-09 draft, so if you develop a turn-09 client I recommend you to switch on new turn-11 draft specification :). For those who cannot wait to test it, check our SVN repository: svn co https://turnserver.svn.sourceforge.net/svnroot/turnserver/branches/trunk/ Next month, I will release the 0.2 version which support the newer turn-11 draft and have some code refactoring. If you have the time, please test the 0.2 branches available on our SVN repository: svn co https://turnserver.svn.sourceforge.net/svnroot/turnserver/branches/turnserver-draft-11 Regards, -- Sebastien Vincent |
From: Sébastien V. <vi...@cl...> - 2008-11-03 20:19:46
|
Hello all, I begin to upgrade TurnServer to the latest TURN draft : http://tools.ietf.org/html/draft-ietf-behave-turn-11. I have commited on turnserver-draft-11 branche: svn co https://turnserver.svn.sourceforge.net/svnroot/turnserver/branches/turnserver-draft-11 turnserver-draft-11 Things already done: - Add attributes from turn-11 draft; - Add authentication on all TURN responses when possible; - Pre-calculate account MD5 hash; - Re-organize some code (message-integrity calculation, ...); - Alternate behavior for DF flag; - Separate TCP and TLS sockets; - Correctly relayed data from peer to client in TLS; - Typos. Things that need to be done: - Support multiple XOR-PEER-ADDRESS - Quotas on allocation per user; - IP range restriction (CreatePermission); - List OS that support or not setting DF flag. Note that this version is experimental. So I encourage you to test this version and give feedbacks (something not working / contrary to the draft, missing functionnality from the draft, ...). Regards, -- Sebastien Vincent |
From: Sébastien V. <vi...@cl...> - 2008-09-11 13:39:10
|
Hello Markus, Answers inline. Markus Fischer wrote: > Hallå allihopa, > > > > I have a little problem setting up the server. > > I am right no doing my master thesis. Major topics cover STUN,TURN and ICE. By > > creating an own test bed now, I wanted to give your nice turnserver development > > a try. I am using Opensuse 11 as my server platform. I was able to build and > > install the server so far. Is there any further difference building it as > > "debug-build" than just the ouput? Sorry if I place quite some beginners > > questions, but that's what I am right now. > In debug-build mode, the executable contains debug symbols (use of gcc's -g flag) and debug print. > Another thing is, when I try to connect with my application, e.g. a recent > > PJSUA build (pjsip.org), I get first some DNS resolve issues, which are finally > > solved by looking up the server address. I don't think that is related to your > > turn implementation. it should be PJSUA internal, because it tries to find some > > _turn_udp DNS address, which I can't provide. Then it resolves to the "ordinary" > > address. TurnServer implementation has nothing to deal with DNS. > When now allocating resources for the STUN/TURN, I get an "Unauhtoized" > > error message prompted. Okay, I thought maybe some issue with password, realm, > > etc, so I looked all up again, double checked it. Yes, the client must use the long-term authentication as defined in last STUNbis (RFC3489-bis). > No difference for the outpute. > > Note: I tried both, just the simple default setting untouched and later on my > > own config via "turnusers.txt". > > Another thing is, that I am not really sure about how to use your test clients? > > client, server, peer is a little confusing naming for me though. My "guess" was, > > you mean "caller== client, callee==server and peer==turn-relay". Totally wrong, > > or did I get it? :) > Usage ./src/test_client_udp client_address server_address peer_address peer_port So : - client_address : local address of your machine; - server_address : turn server address; - peer_address : address machine you want to connect throught the TURN server; - peer_port : port of the machine you want to connect. One thing : in all test file the accounting informations are hardcoded => user is "ping6", domain is "domain.org" and password is "password". Be sure tyour turnusers.txt file has these informations (the default template is toto:password:domain.org) You can test it with one computer. Just run TurnServer, the test_client_* and optionnaly a service (http, ...) on peer_port. Then ./src/test_client_udp localhost localhost localhost 80 If all if in place the test_client_* should not block and you can see correct wireshark capture (with the patch in extra/) > I tried instead the pjturn-client software in their PJNATH suite. This one > > couldn't setup the appropriate STUN bindings. It looked like that, although I > > have to acknowledge, I am absolute unfamiliar with this piece of code, so I > > might not be to good in interpreting it. > Not test it. I see it does not support revision 9 of TURN (website). > I had also a little the impression, when I used the debug-build , ehm by the > > way, i am using the latest svn files, that the turnusers.txt had no impact? But > > it was found regarding the output. > See with the example test file. Or you can print the account information in src/turnserver.c find this piece of code : #if 0 list_iterate_safe(get, n, &account_list) { struct account_desc* tmp = list_get(get, struct account_desc, list); printf("%s %s %s\n", tmp->username, tmp->password, tmp->realm); } #endif Replace "#if 0" by "#if 1", and you can see each entry of the account list (in non-daemon mode). > one more not, the debian.init isn't to good for the Opensuse approach, although > > I try to use it. It works, when eliminating the "--background -m" statements. > I don't know OpenSuse very much, so... Maybe you can write a "real" OpenSuse init script ? > > > Here are my descriptions of my config files: > > > > ## > > # TurnServer configuration file. > > # > > > > ## public IPv4 address of any relayed address (if not set, no relay for IPv4) > > listen_address = "nat.xyz.com." > > > > ## listening IPv6 address > > ## public IPv6 address of any relayed address (if not set, no relay for IPv6) > > listen_addressv6 = "::1" > > > > ## UDP listening port. > > udp_port = 6956 > > > > ## TCP listening port. > > tcp_port = 6958 > > > > ## TLS support. > > tls = false > > > > ## Daemon mode. > > daemon = true > > > > ## Max client. > > max_client = 10 > > > > ## Max relay per client. > > max_relay_per_client = 2 > > > > ## Allocation lifetime. > > allocation_lifetime = 1800 > > > > ## Certification Authority file. > > ca_file = "./ca.crt" > > > > ## Server certificate file. > > cert_file = "./server.crt" > > > > ## Private key file. > > private_key_file = "./server.key" > > > > ## Account method. > > account_method = "file" > > > > ## Account file (fi account_method = file). > > account_file = "/etc/turnserver/turnusers.txt" > > > > ######### and the turnusers file ###################### > > turnnat:pwxyz:nat.xyz.com > > > > ######### opensuse init-script ######################## > > > > the original script, word by word placed in init folder as > > "/etc/init.d/turnserver" > > Pointing to the config files in folder "/etc/turnserver/" to "turn...cfg/txt" > > deleted just the "--background" and "-m" commands, as my terminal told me > > daemon-start-stop did not know them. > > ####################################################### > > > > > > So, finally, if you miss real questions above : > > > > What is wrong with my setup? > > Is there something hard coded, I have to change? > > What build is the right to get it running? > production : normal (daemon mode or init.d script) testing / development : debug-build in non-daemon mode > How to start the server, is my changed init script okay? > > > > At last, what you do is great work, and it comes just in time for my work ;) > Thank you very much :). > ... > > Maybe later on, when I understand much more of the material, i am even able to > > put something into the project to aide you folks, but now it's me who needs your > > help. > OK fine, it could be good to have some contributors. > Thanks for all efforts in advance! > > > > Hälsningar / best regards, > > > > Markus > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Turnserver-users mailing list > Tur...@li... > https://lists.sourceforge.net/lists/listinfo/turnserver-users > Last things, maybe you know it, we (SIP Communicator and TurnServer project) begin an OpenSource implementation of STUN, STUN2, TURN and ICE called Ice4J (in Java). So again if you want to contribute, you are welcomed :). Thanks again for feedbacks. Regards, -- Sebastien Vincent |
From: Markus F. <li...@ma...> - 2008-09-11 12:48:37
|
Hallå allihopa, I have a little problem setting up the server. I am right no doing my master thesis. Major topics cover STUN,TURN and ICE. By creating an own test bed now, I wanted to give your nice turnserver development a try. I am using Opensuse 11 as my server platform. I was able to build and install the server so far. Is there any further difference building it as "debug-build" than just the ouput? Sorry if I place quite some beginners questions, but that's what I am right now. Another thing is, when I try to connect with my application, e.g. a recent PJSUA build (pjsip.org), I get first some DNS resolve issues, which are finally solved by looking up the server address. I don't think that is related to your turn implementation. it should be PJSUA internal, because it tries to find some _turn_udp DNS address, which I can't provide. Then it resolves to the "ordinary" address. When now allocating resources for the STUN/TURN, I get an "Unauhtoized" error message prompted. Okay, I thought maybe some issue with password, realm, etc, so I looked all up again, double checked it. No difference for the outpute. Note: I tried both, just the simple default setting untouched and later on my own config via "turnusers.txt". Another thing is, that I am not really sure about how to use your test clients? client, server, peer is a little confusing naming for me though. My "guess" was, you mean "caller== client, callee==server and peer==turn-relay". Totally wrong, or did I get it? :) I tried instead the pjturn-client software in their PJNATH suite. This one couldn't setup the appropriate STUN bindings. It looked like that, although I have to acknowledge, I am absolute unfamiliar with this piece of code, so I might not be to good in interpreting it. I had also a little the impression, when I used the debug-build , ehm by the way, i am using the latest svn files, that the turnusers.txt had no impact? But it was found regarding the output. one more not, the debian.init isn't to good for the Opensuse approach, although I try to use it. It works, when eliminating the "--background -m" statements. Here are my descriptions of my config files: ## # TurnServer configuration file. # ## public IPv4 address of any relayed address (if not set, no relay for IPv4) listen_address = "nat.xyz.com." ## listening IPv6 address ## public IPv6 address of any relayed address (if not set, no relay for IPv6) listen_addressv6 = "::1" ## UDP listening port. udp_port = 6956 ## TCP listening port. tcp_port = 6958 ## TLS support. tls = false ## Daemon mode. daemon = true ## Max client. max_client = 10 ## Max relay per client. max_relay_per_client = 2 ## Allocation lifetime. allocation_lifetime = 1800 ## Certification Authority file. ca_file = "./ca.crt" ## Server certificate file. cert_file = "./server.crt" ## Private key file. private_key_file = "./server.key" ## Account method. account_method = "file" ## Account file (fi account_method = file). account_file = "/etc/turnserver/turnusers.txt" ######### and the turnusers file ###################### turnnat:pwxyz:nat.xyz.com ######### opensuse init-script ######################## the original script, word by word placed in init folder as "/etc/init.d/turnserver" Pointing to the config files in folder "/etc/turnserver/" to "turn...cfg/txt" deleted just the "--background" and "-m" commands, as my terminal told me daemon-start-stop did not know them. ####################################################### So, finally, if you miss real questions above : What is wrong with my setup? Is there something hard coded, I have to change? What build is the right to get it running? How to start the server, is my changed init script okay? At last, what you do is great work, and it comes just in time for my work ;) ... Maybe later on, when I understand much more of the material, i am even able to put something into the project to aide you folks, but now it's me who needs your help. Thanks for all efforts in advance! Hälsningar / best regards, Markus |
From: Pedro G. <ped...@gm...> - 2008-08-14 17:50:38
|
Hi! I already installed the server and it is running. I don't want the server to use IPV6, so I replaced the line listen_addressv6 = "::1" with ##listen_addressv6 = "::1" This is supposed to comment the line and make the server not to use IPV6, right? However, the server is sending me responses with XOR-MAPPED-ADDRESS with protocol family=IPv6 (Attribute Length: 20). The request is IPV4, so why does the response include IPV6 XOR-MAPPED-ADDRESS? This is causing the TURN client I am using (PJSIP's PJSUA) to complain: 18:42:49.295 stun_msg.c Error parsing STUN attribute XOR-MAPPED-ADDRESS: I nvalid STUN attribute length (PJNATH_ESTUNINATTRLEN) 18:42:49.299 udprel01FBA278 STUN msg_decode() error: Invalid STUN attribute le ngth (PJNATH_ESTUNINATTRLEN) Any ideas why? Best Regards Pedro Gonçalves |
From: Pedro G. <ped...@gm...> - 2008-08-14 11:22:07
|
Hi! I am trying to install TurnServer in Ubuntu 7.04. I already managed to run ./configure successfully, but make or make-check return an error: turnserver/turnserver-0.1$ make check Making check in src make[1]: Entering directory `/home/(...)/turnserver/turnserver-0.1/src' gcc -std=c99 -Wall -Wextra -Wstrict-prototypes -Wredundant-decls -Wshadow -Werror -pedantic -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -DNDEBUG -o turnserver turnserver.o protocol.o dbg.o util_sys.o util_crypto.o tls_peer.o allocation.o account.o conf.o -lconfuse -lssl -lrt conf.o: In function `turnserver_cfg_free': conf.c:(.text+0x2c3): undefined reference to `cfg_yylex_destroy' collect2: ld returned 1 exit status make[1]: *** [turnserver] Error 1 make[1]: Leaving directory `/home/(...)/turnserver/turnserver-0.1/src' make: *** [check-recursive] Error 1 Any idea why? Cheers Pedro Gonçalves |
From: Craig, D. <dw...@qu...> - 2008-08-01 17:49:17
|
Is there a particular version of libconfuse that we're supposed to use? I get the following build error using Fedora 7 and libconfuse.so.0.0.0 gcc -std=c99 -Wall -Wextra -Wstrict-prototypes -Wredundant-decls -Wshadow -Werror -pedantic -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -O2 -DNDEBUG -o turnserver turnserver.o protocol.o dbg.o util_sys.o util_crypto.o tls_peer.o allocation.o account.o conf.o -lconfuse -lssl -lrt conf.o: In function `turnserver_cfg_free': conf.c:(.text+0x2c3): undefined reference to `cfg_yylex_destroy' |
From: Sebastien V. <s-v...@us...> - 2008-07-26 15:57:14
|
Welcome to the "users" mailing list. |