Mészáros Mihály
388d939ed9
Change prometheus exporter port to 9641
2020-08-03 14:24:20 +02:00
Miquel Ortega
c65ce15fde
Fix peer and realm on delete
2020-08-03 10:32:29 +02:00
Mészáros Mihály
c9cd99e4f5
Disable prometheus by default
2020-08-03 10:25:56 +02:00
Mészáros Mihály
2f9ac538f5
Add ifdef around default value
2020-07-08 10:00:53 +02:00
Mészáros Mihály
2acb952670
tidy after PR #517
2020-07-08 09:47:24 +02:00
Mészáros Mihály
063def2c0a
Merge branch 'prometheus'
2020-07-07 20:23:08 +02:00
Mészáros Mihály
93a8c8aa78
Fix null pointer dereferenceThanks to Thomas Moeller for the report!
2020-07-03 11:07:40 +02:00
wolmi
a5d1fbba57
Merge branch 'master' into prometheus
2020-06-29 09:33:20 +02:00
Mészáros Mihály
6d605d353f
Bump version
2020-06-24 17:05:18 +02:00
Mészáros Mihály
fefc55041c
tidy
2020-06-24 16:51:53 +02:00
Mészáros Mihály
170da11407
init with zero any new or reused stun buffers
2020-06-24 16:51:53 +02:00
islamoglus
a43d3b63b4
ignore md5 for boringssl
2020-06-11 07:40:00 +03:00
Miquel Ortega
798349fb5b
Change gauge to counters metrics
2020-06-05 11:29:22 +02:00
Miquel Ortega
83cf9ea6c4
Merge branch 'prometheus' of github.com:wolmi/coturn into prometheus
2020-05-05 19:44:16 +02:00
Miquel Ortega
2789a27fb9
Added no-promethsu CLI option
2020-05-05 15:49:50 +02:00
Mészáros Mihály
2b2f116c2d
Bump version
2020-04-30 20:41:17 +02:00
Mészáros Mihály
e228a5e745
Quick and dirty fix for tot_recv_messages wrong count in e.g. secure_tls_client_c2c_tcp_relay.sh
2020-04-30 12:15:54 +00:00
Greg Fodor
38e7daf3d6
Merge remote master
2020-04-28 17:18:30 +00:00
wolmi
7bbe78a5f2
Merge branch 'master' into prometheus
2020-04-28 12:56:33 +02:00
Mészáros Mihály
ded19f58c8
do not require to set cli password if no-cli
2020-04-28 11:14:08 +02:00
Mészáros Mihály
991a82e104
Merge branch 'master' into master
2020-04-28 09:47:20 +02:00
Mészáros Mihály
1e4456ea92
Merge pull request #506 from dbrgn/rename-prod
...
Rename "prod" config option to "no-software-attribute"
2020-04-28 09:18:51 +02:00
Mészáros Mihály
24346fbaba
Merge pull request #522 from weberhofer/master
...
Drop of supplementary group IDs
2020-04-28 09:06:57 +02:00
Greg Fodor
52320f8ac9
Add flags to disable periodic use of dynamic tables
2020-04-18 01:27:54 +00:00
Mészáros Mihály
fb8dc8a736
Change DH key size default from 1066 to 2066
2020-04-15 22:07:26 +02:00
Johannes Weberhofer
acbf7e15c9
Drop of supplementary group IDs
...
Fix related to POS36-C and rpmlint error "missing-call-to-setgroups-before-setuid".
2020-04-11 10:33:55 +02:00
Miquel Ortega
fb3bd0d353
Added checks to make prometheus optional
2020-04-02 17:28:21 +02:00
Miquel Ortega
aeb0474344
Added some comments
2020-04-02 10:45:32 +02:00
Miquel Ortega
d485088409
Added metrics for total traffic
2020-04-02 10:35:50 +02:00
Miquel Ortega
3e22d7e199
Refactor to use only one function to set metrics
2020-04-02 10:26:01 +02:00
Miquel Ortega
9ed631c495
Prometheus server init and first metrics
2020-04-02 00:51:42 +02:00
Miquel Ortega
b9802690d1
First code to implement prometheus metrics
2020-04-02 00:49:28 +02:00
Danilo Bargen
520e172b22
Rename "prod" config option to "no-software-attribute"
...
As discussed in https://github.com/coturn/coturn/pull/478 , if the
parameter only controls whether or not to send the software attribute
and not other production-relevant configurations, it should be named
accordingly.
The old --prod configuration option still works, but is now deprecated
and undocumented.
2020-03-13 11:03:05 +01:00
Mészáros Mihály
4722697645
Fix compiler warnings
...
* Changed type from int to size_t to avoid warning
warning: comparison between signed and unsigned integer expressions
* Fixed string truncation warning
2020-03-03 15:26:01 +01:00
Mészáros Mihály
c6bca3cef7
Merge branch 'http-server-fixes'
2020-02-19 07:49:05 +01:00
Mészáros Mihály
c534eaef41
Merge branch 'input-validation'
...
Merge PR #472
2020-02-18 14:46:11 +01:00
Mészáros Mihály
79361c170f
Merge branch 'fips'
2020-02-18 14:36:37 +01:00
Mészáros Mihály
e09bcd9f7a
Fix: CVE-2020-6062 / TALOS-2020-0985
2020-02-18 12:32:36 +01:00
Mészáros Mihály
51a7c2b9bf
Fix: CVE-2020-6061/TALOS-2020-0984
2020-02-17 10:34:56 +01:00
Bertold Van den Bergh
ace903fd07
Add support for loadbalanced TCP connections (haproxy protocol v2)
2020-02-13 01:56:43 +01:00
Mészáros Mihály
fbd79ed560
Merge pull request #466 from chanduthedev/null-check
...
added null check for second char
2020-02-12 08:02:15 +01:00
Mészáros Mihály
4badbbf018
Merge pull request #470 from FeralInteractive/compiler-fixes
...
Compiler warning fixes
2020-02-12 07:56:54 +01:00
Feral Interactive
efa7a47632
Silence shadow variable declaration warning.
...
'sar', 'value', and 'vlen' already exist in an outer scope and are safe to reuse since they're overwritten before being used again.
2019-11-20 00:03:46 +00:00
Feral Interactive
9b8baa8055
Validate the size of an attribute before returning it to the caller.
...
Previously this was being done in stun_attr_get_next_str() to check that the previous attribute didn't exceed the size of the underlying buffer, however by that point any maliciously crafted attributes would have already had their chance to attack the caller.
2019-11-19 23:48:41 +00:00
Feral Interactive
14cb1c94e7
Validate the size of the buffer in stun_get_command_message_len_str().
...
Without this the caller could read off the end of the underlying buffer if it receives a maliciously crafted packet with an invalid header size.
2019-11-19 23:48:34 +00:00
Feral Interactive
353e3b98e6
Add some casts to appease compiler warnings about narrowing.
2019-11-19 23:47:19 +00:00
Feral Interactive
b1990b6130
Liberally apply const where appropriate.
2019-11-19 23:47:11 +00:00
Feral Interactive
763d1f1b9c
Fix a memory leak when an SHATYPE isn't supported.
...
Deallocating `str` happens at the end of the function, so don't skip it when encountering an unsupported SHATYPE.
2019-11-19 23:45:37 +00:00
chanduthedev
25338fa1c0
added null check for second char
2019-11-11 15:01:14 +08:00
Mészáros Mihály
8c8af9ec85
Merge pull request #442 from chanduthedev/ssh-length
...
Updated incorrect string length check for 'ssh'
2019-10-22 13:17:32 +02:00