Permalink
Browse files

initial code import

  • Loading branch information...
mom040267 committed Apr 20, 2014
0 parents commit 702b29bc22da6b6e441ed86ea059cbced5b123ac
Showing with 47,950 additions and 0 deletions.
  1. +46 −0 AUTHORS
  2. +970 −0 ChangeLog
  3. +963 −0 INSTALL
  4. +31 −0 LICENSE
  5. +127 −0 LICENSE.OpenSSL
  6. +173 −0 Makefile.in
  7. +2 −0 NOTE
  8. +239 −0 README.turnadmin
  9. +880 −0 README.turnserver
  10. +329 −0 README.turnutils
  11. +101 −0 STATUS
  12. +128 −0 TODO
  13. +1,063 −0 configure
  14. +23 −0 examples/etc/turn_client_cert.pem
  15. +27 −0 examples/etc/turn_client_pkey.pem
  16. +22 −0 examples/etc/turn_server_cert.pem
  17. +27 −0 examples/etc/turn_server_pkey.pem
  18. +589 −0 examples/etc/turnserver.conf
  19. +23 −0 examples/etc/turnuserdb.conf
  20. +35 −0 examples/scripts/basic/dos_attack.sh
  21. +30 −0 examples/scripts/basic/relay.sh
  22. +27 −0 examples/scripts/basic/tcp_client.sh
  23. +25 −0 examples/scripts/basic/tcp_client_c2c_tcp_relay.sh
  24. +29 −0 examples/scripts/basic/udp_c2c_client.sh
  25. +28 −0 examples/scripts/basic/udp_client.sh
  26. +38 −0 examples/scripts/loadbalance/master_relay.sh
  27. +37 −0 examples/scripts/loadbalance/slave_relay_1.sh
  28. +37 −0 examples/scripts/loadbalance/slave_relay_2.sh
  29. +29 −0 examples/scripts/loadbalance/tcp_c2c_tcp_relay.sh
  30. +31 −0 examples/scripts/loadbalance/udp_c2c.sh
  31. +49 −0 examples/scripts/longtermsecure/secure_dos_attack.sh
  32. +36 −0 examples/scripts/longtermsecure/secure_dtls_client.sh
  33. +36 −0 examples/scripts/longtermsecure/secure_dtls_client_cert.sh
  34. +35 −0 examples/scripts/longtermsecure/secure_relay.sh
  35. +38 −0 examples/scripts/longtermsecure/secure_relay_cert.sh
  36. +31 −0 examples/scripts/longtermsecure/secure_tcp_client.sh
  37. +31 −0 examples/scripts/longtermsecure/secure_tcp_client_c2c_tcp_relay.sh
  38. +34 −0 examples/scripts/longtermsecure/secure_tls_client.sh
  39. +35 −0 examples/scripts/longtermsecure/secure_tls_client_c2c_tcp_relay.sh
  40. +36 −0 examples/scripts/longtermsecure/secure_tls_client_cert.sh
  41. +32 −0 examples/scripts/longtermsecure/secure_udp_c2c.sh
  42. +32 −0 examples/scripts/longtermsecure/secure_udp_client.sh
  43. +34 −0 examples/scripts/longtermsecuredb/secure_relay_with_db_mysql.sh
  44. +37 −0 examples/scripts/longtermsecuredb/secure_relay_with_db_psql.sh
  45. +37 −0 examples/scripts/longtermsecuredb/secure_relay_with_db_redis.sh
  46. +36 −0 examples/scripts/mobile/mobile_dtls_client.sh
  47. +36 −0 examples/scripts/mobile/mobile_relay.sh
  48. +32 −0 examples/scripts/mobile/mobile_tcp_client.sh
  49. +36 −0 examples/scripts/mobile/mobile_tls_client_c2c_tcp_relay.sh
  50. +33 −0 examples/scripts/mobile/mobile_udp_client.sh
  51. +16 −0 examples/scripts/peer.sh
  52. +26 −0 examples/scripts/readme.txt
  53. +36 −0 examples/scripts/restapi/secure_relay_secret.sh
  54. +38 −0 examples/scripts/restapi/secure_relay_secret_with_db_mysql.sh
  55. +38 −0 examples/scripts/restapi/secure_relay_secret_with_db_psql.sh
  56. +38 −0 examples/scripts/restapi/secure_relay_secret_with_db_redis.sh
  57. +31 −0 examples/scripts/restapi/secure_udp_client_with_secret.sh
  58. +105 −0 examples/scripts/restapi/shared_secret_maintainer.pl
  59. +14 −0 examples/scripts/rfc5769.sh
  60. +130 −0 examples/scripts/selfloadbalance/secure_dos_attack.sh
  61. +42 −0 examples/scripts/selfloadbalance/secure_relay.sh
  62. +37 −0 examples/scripts/shorttermsecure/secure_relay_short_term_mech.sh
  63. +31 −0 examples/scripts/shorttermsecure/secure_tcp_client_c2c_tcp_relay_short_term.sh
  64. +30 −0 examples/scripts/shorttermsecure/secure_udp_client_short_term.sh
  65. +15 −0 make-man.sh
  66. +1 −0 man/man1/coturn.1
  67. +325 −0 man/man1/turnadmin.1
  68. +1,121 −0 man/man1/turnserver.1
  69. +439 −0 man/man1/turnutils.1
  70. +1 −0 man/man1/turnutils_peer.1
  71. +1 −0 man/man1/turnutils_stunclient.1
  72. +1 −0 man/man1/turnutils_uclient.1
  73. +35 −0 postinstall.txt
  74. +98 −0 rpm/CentOS6.pre.build.sh
  75. +20 −0 rpm/Fedora.pre.build.sh
  76. +43 −0 rpm/build.instructions.txt
  77. +14 −0 rpm/build.settings.sh
  78. +98 −0 rpm/build.sh
  79. +26 −0 rpm/common.pre.build.sh
  80. +39 −0 rpm/epel.install.sh
  81. +82 −0 rpm/turnserver.init.el
  82. +15 −0 rpm/turnserver.service.fc
  83. +358 −0 rpm/turnserver.spec
  84. +5 −0 rpm/turnserver.sysconfig
  85. +19 −0 rpm/uninstall.turnserver.sh
  86. +902 −0 src/apps/common/apputils.c
  87. +163 −0 src/apps/common/apputils.h
  88. +383 −0 src/apps/common/hiredis_libevent2.c
  89. +67 −0 src/apps/common/hiredis_libevent2.h
  90. +643 −0 src/apps/common/ns_turn_utils.c
  91. +86 −0 src/apps/common/ns_turn_utils.h
  92. +252 −0 src/apps/common/stun_buffer.c
  93. +131 −0 src/apps/common/stun_buffer.h
  94. +102 −0 src/apps/peer/mainudpserver.c
  95. +172 −0 src/apps/peer/udpserver.c
  96. +76 −0 src/apps/peer/udpserver.h
  97. +954 −0 src/apps/relay/dtls_listener.c
  98. +72 −0 src/apps/relay/dtls_listener.h
  99. +1,545 −0 src/apps/relay/libtelnet.c
  100. +677 −0 src/apps/relay/libtelnet.h
  101. +2,376 −0 src/apps/relay/mainrelay.c
  102. +361 −0 src/apps/relay/mainrelay.h
  103. +1,573 −0 src/apps/relay/netengine.c
  104. +3,654 −0 src/apps/relay/ns_ioalib_engine_impl.c
  105. +297 −0 src/apps/relay/ns_ioalib_impl.h
  106. +66 −0 src/apps/relay/ns_sm.h
  107. +240 −0 src/apps/relay/tls_listener.c
  108. +63 −0 src/apps/relay/tls_listener.h
  109. +417 −0 src/apps/relay/turn_ports.c
  110. +73 −0 src/apps/relay/turn_ports.h
  111. +1,261 −0 src/apps/relay/turncli.c
  112. +100 −0 src/apps/relay/turncli.h
  113. +3,595 −0 src/apps/relay/userdb.c
  114. +222 −0 src/apps/relay/userdb.h
  115. +405 −0 src/apps/rfc5769/rfc5769check.c
  116. +466 −0 src/apps/stunclient/stunclient.c
  117. +532 −0 src/apps/uclient/mainuclient.c
  118. +132 −0 src/apps/uclient/session.h
  119. +1,548 −0 src/apps/uclient/startuclient.c
  120. +85 −0 src/apps/uclient/startuclient.h
  121. +1,433 −0 src/apps/uclient/uclient.c
  122. +110 −0 src/apps/uclient/uclient.h
  123. +1,195 −0 src/client++/TurnMsgLib.h
  124. +477 −0 src/client/ns_turn_ioaddr.c
  125. +108 −0 src/client/ns_turn_ioaddr.h
  126. +1,561 −0 src/client/ns_turn_msg.c
  127. +213 −0 src/client/ns_turn_msg.h
  128. +183 −0 src/client/ns_turn_msg_addr.c
  129. +51 −0 src/client/ns_turn_msg_addr.h
  130. +160 −0 src/client/ns_turn_msg_defs.h
  131. +184 −0 src/ns_turn_defs.h
  132. +694 −0 src/server/ns_turn_allocation.c
  133. +235 −0 src/server/ns_turn_allocation.h
  134. +274 −0 src/server/ns_turn_ioalib.h
  135. +391 −0 src/server/ns_turn_khash.h
  136. +1,122 −0 src/server/ns_turn_maps.c
  137. +268 −0 src/server/ns_turn_maps.h
  138. +259 −0 src/server/ns_turn_maps_rtcp.c
  139. +89 −0 src/server/ns_turn_maps_rtcp.h
  140. +4,407 −0 src/server/ns_turn_server.c
  141. +211 −0 src/server/ns_turn_server.h
  142. +168 −0 src/server/ns_turn_session.h
  143. +41 −0 turndb/schema.sql
  144. +38 −0 turndb/schema.stats.redis
  145. +132 −0 turndb/schema.userdb.redis
  146. +43 −0 turndb/testredisdbsetup.sh
  147. +29 −0 turndb/testsqldbsetup.sql
46 AUTHORS
@@ -0,0 +1,46 @@
Oleg Moskalenko <mom040267@gmail.com> :
General design and implementation
(2011-2013);
Gabor Kovesdan, http://kovesdan.org :
FreeBSD packaging
(since v1.5.2.6);
Daniel Pocock, http://danielpocock.com :
Debian packaging
(since v1.8.3.6);
John Selbie (jselbie@gmail.com) :
Stuntman interoperability, RFC5780 fixes
MS Windows port work
(since v1.8.3.6);
Lee Sylvester <lee@designrealm.co.uk> :
Status and statistics - ideas and pilot implementation
(since v1.8.4.0);
Erik Johnston <erikj@openmarket.com> :
Access Control Lists, 2013
(since v1.8.5.0);
Roman Lisagor <roman@demonware.net> :
Testing, code optimization
(since v1.8.6.0);
Vladimir Tsanev <tsachev@gmail.com> :
configure script and Makefile fixes,
Arch Linux port
(since v1.8.6.1);
Po-sheng Lin <personlin118@gmail.com> :
Libevent dependencies cleaning
(since v2.0.1.1);
Peter Dunkley <peter.dunkley@crocodilertc.net> :
CentOS/Fedora port
(since v2.6.6.1)
Mutsutoshi Yoshimoto <mutsutoshi.yoshimoto@mixi.co.jp>
TCP routing: testing and bug fixes
(since v3.2.2.7)
Oops, something went wrong.

0 comments on commit 702b29b

Please sign in to comment.