Mészáros Mihály
e4f688972d
Merge pull request #382 from islamoglus/feature/boringssl_compatibility
...
Using SSL_get_version method for BoringSSL compatibility
2019-05-20 14:20:36 +02:00
Mészáros Mihály
dfa95e6af5
Merge pull request #367 from shu-mutou/disconnect-db
...
Disconnect database gracefully
2019-05-20 11:10:30 +02:00
Mészáros Mihály
ed7121aa90
Merge pull request #392 from islamoglus/bugfix/wrong_fread_usage
...
Wrong fread usage
2019-05-20 10:58:13 +02:00
Mészáros Mihály
1081bb8239
Merge pull request #390 from ALE-Rainbow/fixMongoBadConnectionStringCrash
...
fix mongo driver crash when invalid connection string is used
2019-05-20 10:50:17 +02:00
islamoglus
9e16440552
check fread result is 0 or less than expected
2019-05-15 09:51:38 +03:00
islamoglus
59be080af5
wrong fread usage
2019-05-14 17:30:29 +03:00
Thibaut Ackermann
3df99009d3
fix mongo driver crash when invalid connection string is used
2019-05-14 15:25:58 +02:00
Thibaut Ackermann
cf938cd915
fix the webadmin ip permission add/delete sql injection
2019-05-07 11:23:29 +02:00
islamoglus
82fbde71bd
using SSL_get_version method for BoringSSL compatibility
2019-04-22 16:00:57 +03:00
Shu Muto
dac67ea046
Disconnect database gracefully
...
Coturn does not disconnect database properly when shutdown.
This behavior causes accumulation of sockets for database with TIME_WAIT.
Especially, `turnadmin` is recommended to manage userdb,
but use of `turnadmin` from other application or scripts
can run out of socket resource due to above problem.
This patch adds database disconnection when shutdown
for both of `turnserver` and `turnadmin`.
Fixes #366
2019-03-18 15:33:21 +09:00
Mészáros Mihály
1265522666
Merge pull request #327 from alexte/master
...
strip white-spaces from config file lines end
2019-03-11 11:44:18 +01:00
Mészáros Mihály
8e4db32259
Fix free hiredis_libevent2.c
2019-03-11 11:35:09 +01:00
Mészáros Mihály
c15d3364f1
Merge pull request #359 from bradleythughes/do-not-overload-standard-api
...
Do not overload standard C API
2019-03-11 11:30:56 +01:00
Mathieu Brunot
073fa0bd2f
Do not display empty CLI passwd alert if no CLI
...
Fix #361
2019-03-11 10:37:52 +01:00
Bradley T. Hughes
d2ee3ac291
Remove [su]{08,16,32,64}bits type defines
...
Do not overload the standard types with #defines, just use them
directly.
2019-03-08 09:08:30 +01:00
Bradley T. Hughes
7663167dff
Remove pointer debugging machinery
...
There are tools and debugging options that can be used instead. Do not
reinvent the wheel with our own pointer tracking/debugging code.
2019-03-07 08:39:20 +01:00
Bradley T. Hughes
7a43aae7c3
Remove ns_bzero(), ns_bcopy(), and ns_bcmp()
...
Do not overload bzero(), bcopy(), and bcmp() from strings.h
2019-03-07 08:39:20 +01:00
Bradley T. Hughes
e781060a52
Remove SSL_NEW() and SSL_FREE()
...
Do not overload functions from OpenSSL.
2019-03-07 08:00:09 +01:00
Bradley T. Hughes
043b102e38
Remove turn_strdup()
...
Do not overload strdup() from string.h
2019-03-07 08:00:08 +01:00
Bradley T. Hughes
abab870070
Remove turn_calloc()
...
Do not overload calloc() from stdlib.h
2019-03-07 07:59:04 +01:00
Bradley T. Hughes
b50fc77124
Remote turn_free()
...
Do not overload free() with a different API.
2019-03-07 07:58:12 +01:00
Bradley T. Hughes
31033c3ffa
Remote turn_realloc()
...
Do not overload realloc() with a different API.
2019-03-07 07:57:35 +01:00
Bradley T. Hughes
fef016901e
Remove turn_malloc()
...
Do not overload malloc() from stdlib.h
2019-03-06 23:38:20 +01:00
Bradley T. Hughes
ed91d4bc17
Remove turn_free_simple
...
Do not overload free() from stdlib.h
2019-03-06 23:34:25 +01:00
Mészáros Mihály
5e61bea8ec
Bumping version number
2019-03-02 22:06:19 +01:00
Mészáros Mihály
41ebbfcd6a
Fix indentation
2019-03-02 21:18:41 +01:00
Mészáros Mihály
53bae81e78
SPARC64 mem alingment fixes
2019-03-02 21:18:41 +01:00
Mészáros Mihály
7f201e86a6
Workaround for SPARC64 recv_ttl=0
...
Quick & Dirty fix to use default TTL
TODO: to find a better fix..
2019-03-02 19:41:47 +01:00
Alexander Terczka
8b49313874
simplified striping white spaces from config file ends
2019-02-15 00:25:06 +01:00
Mészáros Mihály
856c3c9ff6
Fix typos and other regressions
2019-01-29 14:47:56 +01:00
Mészáros Mihály
2d59a5de2b
readd pwd check
...
regression from 4.5.1.0
2019-01-29 13:13:13 +01:00
Mészáros Mihály
75d55ff0e0
Merge pull request #303 from chakmeshma/master
...
Misspelling Correction (Enpoint)
2019-01-29 11:02:13 +01:00
Mészáros Mihály
fc5a5452f9
Merge pull request #330 from gribunin/master
...
Fixed missed \r\n symbols in HTTP headers from HTTPS management UI
2019-01-29 11:00:47 +01:00
Kirill Gribunin
5d54bd5335
Fixed missed \r\n symbols in HTTP headers from HTTPS management interface when no admin users defined
2019-01-18 19:18:34 +03:00
Mészáros Mihály
6b2fc221ce
empty cli-password not allowed=>disable telnet cli
...
Adds a warning to set a cli-password and disable telnet cli interface.
2019-01-18 12:52:55 +01:00
Alexander Terczka
9379e52d65
strip white-spaces from config file lines end, use arg="value " syntax if you need space at the end
2019-01-14 16:36:19 +01:00
Mészáros Mihály
d3263954ae
handle empty fread to avoid -Wunused-result
2018-12-19 13:15:56 +01:00
Mészáros Mihály
3c43da83f3
set max length for contetent_http in string fromat
...
To avoid -Wformat-truncation
2018-12-19 13:15:56 +01:00
Mészáros Mihály
bf30f5adc0
set addrtmp size to IPv6 address max length
...
To avoid -Wformat-truncation
2018-12-19 13:12:15 +01:00
Mészáros Mihály
e4d6b57abc
Realm not sanitized against sql statements
2018-12-07 13:48:05 +01:00
Mészáros Mihály
18d81f26c5
bumping version number
2018-12-06 08:31:28 +00:00
Mészáros Mihály
b77c1c3557
Close http/https socket immediately on worker,
...
if web_admin_listen_on_workers is not allowed.
2018-12-03 09:57:57 +01:00
Majid Motallebikashani
01a44b062b
Misspelling Correction (Enpoint)
2018-11-09 00:56:30 +03:30
Mészáros Mihály
eb9b9c49be
Add username sanity check, to avoid sql-injection
2018-11-07 10:47:24 +01:00
Mészáros Mihály
054c80b8fe
Merge branch 'PR-283' into fixes
2018-10-31 11:06:44 +01:00
Mészáros Mihály
267f7a28db
Merge branch 'master' into fixes
2018-10-31 11:05:25 +01:00
Thibaut Ackermann
8c7dbcdda0
fix memory leak in web_admin_input_handler
2018-10-31 10:36:26 +01:00
Thibaut Ackermann
ea0eadabde
use turn_free instead of free to fix memory leak in read_config_file
2018-10-04 09:58:45 +02:00
Thibaut Ackermann
58947cc531
fix memory leak in read_config_file
2018-10-02 15:28:37 +02:00
Oleg Moskalenko
766d094a0e
c++ compilation errors fixed
2018-09-23 21:44:34 -07:00