Richard Fuchs
eb1157d386
TT#112250 don't change ports when endpoint is talking ICE
...
Change-Id: I0e60534d6d3cb62d25b8d865da02c3472cf0994e
5 years ago
Richard Fuchs
8aecb6a98a
TT#111357 also apply chown to created parent dirs
...
Change-Id: I6300e49816f83561f3eafffc893cfb1efc334b6f
5 years ago
Richard Fuchs
b8b395e21f
TT#111357 add chmod setting for created output dirs
...
Change-Id: I233b83febd087f202e047194ad3ad97c6651ea3b
5 years ago
Richard Fuchs
c8d6a45777
TT#111357 add support for configurable output file name patterns
...
Change-Id: I8662a2ee93700329ee2641c536be9ea8306f6b89
5 years ago
Richard Fuchs
7c25d39f70
TT#111357 switch to dynamically allocated strings for file names
...
Change-Id: I3299ffb10083dc8390ca60d810d1359f77215737
5 years ago
Richard Fuchs
23dbe78548
TT#14008 fix possible use-after-free on shutdown
...
Reorder the shutdown cleanup calls so that option strings are freed
last, as they may be used by other components during shutdown cleanup
Change-Id: I297f6d0c3dbbb22c4d34d7866844824c8d97e940
5 years ago
Richard Fuchs
01ce0fe833
Merge branch 'master' of https://github.com/smititelu/rtpengine
...
Change-Id: I6532b2d88589ca84eae8324a879b22a65e60f791
5 years ago
Stefan Mititelu
6f457b50d1
Get time before deciding to re-establish redis connection
...
Also set redis connected state when PING works again
5 years ago
Richard Fuchs
e1ee75a476
TT#14008 add `reorder-codecs` flags to test script
...
Change-Id: Ib8f1331508e805718eb590ee7def03ce689bb6e1
5 years ago
Richard Fuchs
fdac938ecf
TT#91151 add a free-form software ID config option
...
closes #1141
Change-Id: I99bd0d7ecc414e2b4f6e7e3fea72aab5935f8939
5 years ago
Richard Fuchs
9d332f9b0f
TT#111357 use a better default for recording threads
...
Change-Id: Id9f3d0404505e87bf785e52680c5a771d6d58828
5 years ago
Richard Fuchs
b0f185f409
TT#111357 refactor sysconf() call into shared code
...
Change-Id: Ifd8d1d774f55e7c58bf82c9a5f67787e02f53c3f
5 years ago
Richard Fuchs
a25fa3cc00
TT#111357 don't allow libav* to create its own threads
...
Change-Id: I5227bb947c07841f0481f73ee75f7c36cc8f3257
5 years ago
Richard Fuchs
a8013ffe70
TT#111051 set thread specific process names
...
Change-Id: I6a5bb14c070d93b865510786f5107220b93faef1
5 years ago
Richard Fuchs
5c79036f63
TT#14008 fix potential failed assertion
...
Change-Id: Ie4912bd5395802b51293d13c929a02374fa9b0f0
5 years ago
Sipwise Jenkins Builder
2377d835c3
Release new version 9.4.0.0+0~mr9.4.0.0
5 years ago
Richard Fuchs
543bac908e
TT#106253 cleanup TLS variables on shutdown
...
Change-Id: I77f88e6a34e4720f6fbd0c585d2cf9843a3b309e
5 years ago
Richard Fuchs
4f5e83e681
TT#14008 fix possible mem leak
...
Change-Id: Ie506c74e8effc9dcb88331377cdb5cff2ed0d9a4
5 years ago
Richard Fuchs
7edf0c5516
TT#108551 fix AEAD kernel encryption
...
closes #1187
closes #1190
Change-Id: Ibb43e4d9868ce84d6205840d71516752da341697
5 years ago
Guillem Jover
6a9d61dffd
TT#108003 Check send() return code for DTMF UDP logging
...
Log an error and continue anyway if the send() failed, this is just
logging.
Change-Id: I542385489f8e37e6e524b766371fed3ba558ff2f
5 years ago
Guillem Jover
962479bd63
TT#108003 Stop using random()
...
While these usages are not supposed to be security sensitive, it's still
best to avoid the usage altogether so that we do not need to think about
it. Add a taint macro so that this does not regress in the future.
Change-Id: Ic75861ed1b7ce9dfca4f897de8be2408204ce3cb
Warned-by: coverity
5 years ago
Richard Fuchs
abb281daac
TT#91151 add additional check for kernel module commands
...
Change-Id: I27f9ca4f03cd979ecbcf01e8fb1801a306f9d396
5 years ago
Richard Fuchs
fa6d29b45c
TT#91151 fix wrong hash table lookup object being used
...
fixes 8abc6b1c
Change-Id: Id38636308c9c6f37b95829911af71148ca3256ce
5 years ago
Richard Fuchs
ab54b774ed
TT#14008 remove .depend from make system
...
The dependency tracker is causing more problems than what it's worth, so
just remove it.
Change-Id: I5db8cae57400cd644add08447406a4526da03f65
5 years ago
Richard Fuchs
302968fc0e
TT#14008 rename some test suites
...
Rename test suites from *-test.c to test-*.c as the former is
conflicting with the file name pattern of the build tests, which are
listed in .gitignore.
Change-Id: I8779fac492510c0996bdcb2c6250c07536fe3b63
5 years ago
Richard Fuchs
21d1057f68
TT#108003 fix possible deadlock
...
Change-Id: I604bd76248aa0bc33589ee379a99b6f82c840662
5 years ago
Richard Fuchs
1219b2fdbd
TT#108003 log error on unlink failure
...
Change-Id: I10478c659f8eeb134b2f3c238fd35c644ca878ef
5 years ago
Richard Fuchs
7101f535da
TT#108003 remove unnecessary null checks
...
Change-Id: I1aeb10662eac2ed0553cf4489d1e1d7a487ad272
5 years ago
Richard Fuchs
225e5add8f
TT#108003 don't consume `pt` before finish using it
...
__rtp_payload_type_add_recv takes ownership of `pt` and potentially
freeds it. Move the call to the end of the code block, after we're done
using it.
Change-Id: I5591cd6b22295ddcd6801e2bbbb381bff403fea8
5 years ago
Richard Fuchs
1785f70637
TT#91151 add new replace-zero-address option
...
closes #1185
Change-Id: I8cf6f4ff043649255dafa93b28fcb2127ce4d2bb
5 years ago
Richard Fuchs
772db96c36
TT#91151 fix check for trickle ICE and zero address
...
Avoid using an explicit test for the trickle ICE endpoint address and
instead use the TRICKLE_ICE flag.
Change-Id: I821ced7e77c798004c9d88ec072848b7f6e24a85
5 years ago
Richard Fuchs
79bb147af7
TT#109618 add option to chmod/chown created recordings
...
Change-Id: Ied981b36bc30f6ac24f0c0d6027c008f25029945
5 years ago
Guillem Jover
2c565874c7
TT#108003 Do not allow division by 0 load_thread()
...
We should make sure total_secs is never 0.
Change-Id: I532c7d67a640b7f88ed6f7c0ff31189fe0d98fb0
Warned-by: coverity
5 years ago
Guillem Jover
e2552773cc
TT#108003 Handle errors during websocket connection initialization
...
Make the websocket_conn_init() function return an error code, and delay
the initialization after we cannot fail. And otherwise return -1, such
as when we cannot initialize the HTTP nor SSL connection.
Change-Id: I0facd53560fdb06678d7df9775be277e5c4b2cae
Warned-by: coverity
5 years ago
Guillem Jover
70d323d0e8
TT#108003 Handle ftell() errors
...
Do not try to pass possibly negative values to malloc() calls that
do not expect them.
Change-Id: I20933983c26287cde5769e1594060b5a04eb09f6
Warned-by: coverity
5 years ago
Guillem Jover
648e74fd39
TT#108003 Handle unsigned wrap around in amr_encoder_mode_change()
...
We only do 1 decrements/increments so the check for the upper-bound will
always catch any downward wrap-around or an upward out-of-bound.
Change-Id: Ibdb9a69e1a55f34ffca56721c310efc505b86f99
Warned-by: coverity
5 years ago
Richard Fuchs
a9f58ff39d
TT#91151 add tests for null addresses
...
Change-Id: Ie22fc324dc0342fa7b8aa31656eb6400e1dd91aa
5 years ago
Richard Fuchs
76d5828c82
TT#91151 explicitly keep track of zero endpoint addresses
...
Change-Id: I6044cddc7d997848715df6701fd8a61a1e0bf289
5 years ago
Guillem Jover
8f440555a0
TT#108003 Fix memory leak in cdr_update_entry()
...
The AUTO_CLEANUP_INIT() macro is already allocating a string for this
variable, which we were then overwriting and thus leaking.
Change-Id: If655c867c5666c6cff6311f01e617647375f6279
Warned-by: coverity
5 years ago
Guillem Jover
6bc5a84a0b
TT#108003 Fix file descriptor leak in db_close_stream()
...
We need to close the file descriptor too in the early return.
Change-Id: I978c58bdc64c171f0ba7112d631aa2a4908c77ce
Warned-by: coverity
5 years ago
Guillem Jover
6d51b3afc7
TT#108003 Fix off-by-one check dtmf_samples()
...
The dtmf_freqs array contains one less element than the check was
allowing for.
Change-Id: I783fa6bcd0bd79fad9886ee53e7a990e504ecff8
Warned-by: coverity
5 years ago
Guillem Jover
07716a6a85
TT#108003 Do not print the DTLS certificate and private key on OOM
...
When open_memstream() fails, we should not try to write to it.
Change-Id: I9f92a1e1cc4aebe005039f28e5e3219e323e63c6
Warned-by: coverity
5 years ago
Guillem Jover
009aa21bc0
TT#108003 Fix double free in __established()
...
The __attempt_send() function will free the gs string on success,
so we should not free it again.
Change-Id: I74c9e41854db56bf29ae541eaeebfb97ce8eeb74
Warned-by: coverity
5 years ago
Guillem Jover
1cc54825af
TT#108003 Remove coverity artifacts removal from Makefile
...
We are not building these as part of the build system anymore.
Change-Id: Ib7936ff0823b4a31b4e257412c856aa348ab2feb
5 years ago
Guillem Jover
9b5395cf15
TT#108003 Add a coverity-scan GitHub workflow
...
Change-Id: Ic1b7872eb3357d30c1beaeb858680da3a360c1ee
5 years ago
Richard Fuchs
e860e076f8
TT#109618 keep track of actual file name used for recordings
...
Change-Id: I74b51e0621a687b8dd3ad21939e70675fbb49e4f
5 years ago
Richard Fuchs
8b1c958f8e
TT#91151 obsolete unused REMG_UPDATE op
...
Change-Id: Ib7daeb3d838e0b679025f582f7c26fe5868f72cb
5 years ago
Richard Fuchs
b75ec8e7ba
TT#14008 convert CDR logging to g_string
...
Change-Id: I64ec610b163534e3cfc0e7d0385329ab45c5cca3
5 years ago
Richard Fuchs
1dbfbe87d3
TT#14008 move g_string_free helper to auxlib
...
Change-Id: I34e0aa0be1df06346e86684c6488caf8e302df9f
5 years ago
Richard Fuchs
d47f4ac427
TT#14008 make bcg729 inclusion conditional on dpkg profile
...
closes #1174
Change-Id: I277986ea30b25633c281291aa956fb2159c386ed
5 years ago