kamailio
15 hours agosiptrace: use debug for the log message about retrasmission master
Daniel-Constantin Mierla [Wed, 16 Oct 2019 10:13:07 +0000 (12:13 +0200)]
siptrace: use debug for the log message about retrasmission

31 hours agostatsc: free parsed params in case of error
Daniel-Constantin Mierla [Tue, 15 Oct 2019 17:40:02 +0000 (19:40 +0200)]
statsc: free parsed params in case of error

- wrap some lines of codes in blocks

36 hours agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Tue, 15 Oct 2019 13:16:23 +0000 (15:16 +0200)]
modules: readme files regenerated - tls ... [skip ci]

36 hours agotls: add TLSv1.2+ to example configuration
Henning Westerholt [Tue, 15 Oct 2019 13:13:32 +0000 (15:13 +0200)]
tls: add TLSv1.2+ to example configuration

36 hours agotls: fix missing TLSv1.2+ parameter documentation
Henning Westerholt [Tue, 15 Oct 2019 13:13:09 +0000 (15:13 +0200)]
tls: fix missing TLSv1.2+ parameter documentation

37 hours agotls: switch to TLSv1.2 in example cfg, usage of TLS 1.0 is not recommended anymore
Henning Westerholt [Tue, 15 Oct 2019 12:14:16 +0000 (14:14 +0200)]
tls: switch to TLSv1.2 in example cfg, usage of TLS 1.0 is not recommended anymore

2 days agodispatcher: add some debug logging for ds_update_state function
Henning Westerholt [Mon, 14 Oct 2019 12:35:17 +0000 (14:35 +0200)]
dispatcher: add some debug logging for ds_update_state function

5 days agonathelper: removed exe flag from c file
Daniel-Constantin Mierla [Fri, 11 Oct 2019 12:02:57 +0000 (14:02 +0200)]
nathelper: removed exe flag from c file

6 days agocore: new global parameter uri_host_extra_chars
Daniel-Constantin Mierla [Thu, 10 Oct 2019 12:25:43 +0000 (14:25 +0200)]
core: new global parameter uri_host_extra_chars

- allow specifying additional chars to be allowed in host part
- example:

uri_host_extra_chars = "_"

7 days agomodules: readme files regenerated - websocket ... [skip ci]
Kamailio Dev [Wed, 9 Oct 2019 20:46:11 +0000 (22:46 +0200)]
modules: readme files regenerated - websocket ... [skip ci]

7 days agowebsocket: small doc improvement (use module names instead of file names)
Henning Westerholt [Wed, 9 Oct 2019 20:41:47 +0000 (22:41 +0200)]
websocket: small doc improvement (use module names instead of file names)

7 days agomodules: readme files regenerated - uac ... [skip ci]
Kamailio Dev [Wed, 9 Oct 2019 19:31:08 +0000 (21:31 +0200)]
modules: readme files regenerated - uac ... [skip ci]

7 days agouac: spelling fix in docs, add missing title section for uac.reg_add
Henning Westerholt [Wed, 9 Oct 2019 19:18:20 +0000 (21:18 +0200)]
uac: spelling fix in docs, add missing title section for uac.reg_add

7 days agouri_db: spelling fix in variable name
Henning Westerholt [Wed, 9 Oct 2019 19:12:48 +0000 (21:12 +0200)]
uri_db: spelling fix in variable name

7 days agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Wed, 9 Oct 2019 13:46:10 +0000 (15:46 +0200)]
modules: readme files regenerated - tls ... [skip ci]

7 days agotls: small extensions in parameter docs related to PRNG engines
Henning Westerholt [Wed, 9 Oct 2019 13:39:14 +0000 (15:39 +0200)]
tls: small extensions in parameter docs related to PRNG engines

7 days agotm: skip resuming suspended transactions put on wait
Daniel-Constantin Mierla [Wed, 9 Oct 2019 10:38:14 +0000 (12:38 +0200)]
tm: skip resuming suspended transactions put on wait

- transaction is expired in that moment, pending its destroy process
- GH #2055

8 days agopkg/kamailio/deb: version set 5.4.0~dev1
Victor Seva [Tue, 8 Oct 2019 11:25:43 +0000 (13:25 +0200)]
pkg/kamailio/deb: version set 5.4.0~dev1

8 days agoMakefile.defs: version set to 5.4.0-dev1
Daniel-Constantin Mierla [Tue, 8 Oct 2019 10:32:41 +0000 (12:32 +0200)]
Makefile.defs: version set to 5.4.0-dev1

8 days agoavp: free allocated variable in case of error
Daniel-Constantin Mierla [Tue, 8 Oct 2019 10:31:39 +0000 (12:31 +0200)]
avp: free allocated variable in case of error

8 days agokamctl: updated the version for kamctl and kamdbctl
Daniel-Constantin Mierla [Tue, 8 Oct 2019 10:25:14 +0000 (12:25 +0200)]
kamctl: updated the version for kamctl and kamdbctl

8 days agotls: fixed prototypes for seed() and add() functions for kxlibssl rand engine
Daniel-Constantin Mierla [Tue, 8 Oct 2019 10:10:35 +0000 (12:10 +0200)]
tls: fixed prototypes for seed() and add() functions for kxlibssl rand engine

- libssl 1.1.x docs seem to be inconsistent with the code

8 days agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Tue, 8 Oct 2019 10:01:36 +0000 (12:01 +0200)]
modules: readme files regenerated - tls ... [skip ci]

8 days agotls: docs for kxlibssl rand engine
Daniel-Constantin Mierla [Tue, 8 Oct 2019 09:58:40 +0000 (11:58 +0200)]
tls: docs for kxlibssl rand engine

8 days agotls: added rand engine kxlibssl
Daniel-Constantin Mierla [Tue, 8 Oct 2019 09:56:05 +0000 (11:56 +0200)]
tls: added rand engine kxlibssl

- use default libssl engine wrapped in a kamailio mutex lock

9 days agousrloc: keep a private copy of urecord before running ul_callbacks
Victor Seva [Thu, 3 Oct 2019 12:21:35 +0000 (14:21 +0200)]
usrloc: keep a private copy of urecord before running ul_callbacks

fixes #2089

9 days agomodules: readme files regenerated - pv ... [skip ci]
Kamailio Dev [Mon, 7 Oct 2019 19:01:09 +0000 (21:01 +0200)]
modules: readme files regenerated - pv ... [skip ci]

9 days agoMerge pull request #2070 from kamailio/xavp_copy
Julien Chavanton [Mon, 7 Oct 2019 19:00:57 +0000 (12:00 -0700)]
Merge pull request #2070 from kamailio/xavp_copy

pv: adding xavp_copy

9 days agomodules: readme files regenerated - textopsx ... [skip ci]
Kamailio Dev [Mon, 7 Oct 2019 15:16:13 +0000 (17:16 +0200)]
modules: readme files regenerated - textopsx ... [skip ci]

9 days agotexopsx: extend docs with a small note about msg_apply_changes()
Henning Westerholt [Mon, 7 Oct 2019 15:04:54 +0000 (17:04 +0200)]
texopsx: extend docs with a small note about msg_apply_changes()

9 days agohttp_async_client: use enough size to print pointer as string in build_hash_key()
Daniel-Constantin Mierla [Mon, 7 Oct 2019 14:26:10 +0000 (16:26 +0200)]
http_async_client: use enough size to print pointer as string in build_hash_key()

- use local string variables instead of allocation in pkg, because the values
are needed only inside the function
- use safer snprintf() instead of sprintf()
- GH #2091

9 days agocore: workaround related to T_OPT for alpine linux musl C library (GH #2095)
Henning Westerholt [Mon, 7 Oct 2019 13:38:22 +0000 (15:38 +0200)]
core: workaround related to T_OPT for alpine linux musl C library (GH #2095)

9 days agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Mon, 7 Oct 2019 13:16:37 +0000 (15:16 +0200)]
modules: readme files regenerated - tls ... [skip ci]

9 days agotls: docs - relocated the note about krand and fastrand from default value paragraph
Daniel-Constantin Mierla [Mon, 7 Oct 2019 13:07:41 +0000 (15:07 +0200)]
tls: docs - relocated the note about krand and fastrand from default value paragraph

- rephrased a bit to avoid eventual confusion they are not production ready

9 days agotls: update name and mailing list in tls_cert.sh script
Henning Westerholt [Mon, 7 Oct 2019 09:50:29 +0000 (11:50 +0200)]
tls: update name and mailing list in tls_cert.sh script

9 days agotls: fix error in DBG message
Henning Westerholt [Mon, 7 Oct 2019 09:31:50 +0000 (11:31 +0200)]
tls: fix error in DBG message

9 days agopkg/docker: updated kamailio-ci subproject
Sergey Safarov [Mon, 7 Oct 2019 09:28:17 +0000 (12:28 +0300)]
pkg/docker: updated kamailio-ci subproject

9 days agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Mon, 7 Oct 2019 09:02:17 +0000 (11:02 +0200)]
modules: readme files regenerated - tls ... [skip ci]

9 days agotls: add cryptorand engine also to tls_mod and documentation, enable as default
Henning Westerholt [Mon, 7 Oct 2019 08:49:16 +0000 (10:49 +0200)]
tls: add cryptorand engine also to tls_mod and documentation, enable as default

9 days agotls: add cryptorand support for TLS module, add some more comments to existing code
Henning Westerholt [Mon, 7 Oct 2019 08:38:36 +0000 (10:38 +0200)]
tls: add cryptorand support for TLS module, add some more comments to existing code

11 days agopresence: free allocated memory in case of error
Daniel-Constantin Mierla [Sat, 5 Oct 2019 18:41:50 +0000 (20:41 +0200)]
presence: free allocated memory in case of error

12 days agoetc/kamailio.cfg: updated comment to reflect 5.4 series
Daniel-Constantin Mierla [Fri, 4 Oct 2019 16:16:12 +0000 (18:16 +0200)]
etc/kamailio.cfg: updated comment to reflect 5.4 series

12 days agoxmlrpc: clean allocated buffer for reply when no more memory for reason value
Daniel-Constantin Mierla [Fri, 4 Oct 2019 16:12:15 +0000 (18:12 +0200)]
xmlrpc: clean allocated buffer for reply when no more memory for reason value

12 days agotls: use fastrand() for the corresponding rand_engine
Daniel-Constantin Mierla [Fri, 4 Oct 2019 09:15:04 +0000 (11:15 +0200)]
tls: use fastrand() for the corresponding rand_engine

12 days agocore: str2int() test first if result is null, otherwise init it to 0
Daniel-Constantin Mierla [Fri, 4 Oct 2019 06:53:53 +0000 (08:53 +0200)]
core: str2int() test first if result is null, otherwise init it to 0

13 days agocore: add small wrappers around cryptographic PRNG with an interface like fastrand
Henning Westerholt [Thu, 3 Oct 2019 15:52:37 +0000 (17:52 +0200)]
core: add small wrappers around cryptographic PRNG with an interface like fastrand

13 days agocore: also initialize cryptographic PRNG, use it to seed all others RNGs
Henning Westerholt [Thu, 3 Oct 2019 15:49:05 +0000 (17:49 +0200)]
core: also initialize cryptographic PRNG, use it to seed all others RNGs

13 days agocore: add debug logging for automatic reseeding and manual entropy adding
Henning Westerholt [Thu, 3 Oct 2019 15:48:32 +0000 (17:48 +0200)]
core: add debug logging for automatic reseeding and manual entropy adding

13 days agocore: cleanup code for fortuna and random implementation
Henning Westerholt [Thu, 3 Oct 2019 15:28:56 +0000 (17:28 +0200)]
core: cleanup code for fortuna and random implementation

- fix indention for a few functions
- use types from sys/types.h consistently
- get rid of redundant wrapper function, we implement a wrapper in core anyway

13 days agocore: use static for internal fortuna CPRNG functions, add sr_ prefix to public functions
Henning Westerholt [Thu, 3 Oct 2019 12:53:10 +0000 (14:53 +0200)]
core: use static for internal fortuna CPRNG functions, add sr_ prefix to public functions

13 days agocore: synchronize rijndael.c with postgresql upstream (static functions, spelling...
Henning Westerholt [Thu, 3 Oct 2019 12:45:55 +0000 (14:45 +0200)]
core: synchronize rijndael.c with postgresql upstream (static functions, spelling fixes)

13 days agocore: comment main() test routine in AES implementation out
Henning Westerholt [Wed, 2 Oct 2019 23:08:24 +0000 (01:08 +0200)]
core: comment main() test routine in AES implementation out

13 days agocore: add fortuna cryptographic random number generator to core
Henning Westerholt [Wed, 2 Oct 2019 23:04:10 +0000 (01:04 +0200)]
core: add fortuna cryptographic random number generator to core

13 days agocore: add AES implementation to core, necessary for fortuna cryptographic RNG
Henning Westerholt [Wed, 2 Oct 2019 23:03:26 +0000 (01:03 +0200)]
core: add AES implementation to core, necessary for fortuna cryptographic RNG

13 days agoauth_xkeys: adapt SHA hash function to new location, remove srutils library dependency
Henning Westerholt [Wed, 2 Oct 2019 22:57:44 +0000 (00:57 +0200)]
auth_xkeys: adapt SHA hash function to new location, remove srutils library dependency

13 days agopv: adapt SHA hash function to new location, remove srutils library dependency
Henning Westerholt [Wed, 2 Oct 2019 22:27:18 +0000 (00:27 +0200)]
pv: adapt SHA hash function to new location, remove srutils library dependency

13 days agoauth: adapt SHA hash function to new location, remove srutils library dependency
Henning Westerholt [Wed, 2 Oct 2019 22:26:53 +0000 (00:26 +0200)]
auth: adapt SHA hash function to new location, remove srutils library dependency

13 days agolib: move existing SHA cryptographic hash function to new core crypto sub dir
Henning Westerholt [Wed, 2 Oct 2019 22:25:56 +0000 (00:25 +0200)]
lib: move existing SHA cryptographic hash function to new core crypto sub dir

13 days agouac: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:20:22 +0000 (00:20 +0200)]
uac: adapt md5 #include path to new core location

13 days agotopoh: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:20:10 +0000 (00:20 +0200)]
topoh: adapt md5 #include path to new core location

13 days agosl: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:20:00 +0000 (00:20 +0200)]
sl: adapt md5 #include path to new core location

13 days agosiputils: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:19:48 +0000 (00:19 +0200)]
siputils: adapt md5 #include path to new core location

13 days agoims_auth: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:19:37 +0000 (00:19 +0200)]
ims_auth: adapt md5 #include path to new core location

13 days agomemcached: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:19:24 +0000 (00:19 +0200)]
memcached: adapt md5 #include path to new core location

13 days agoexec: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:19:16 +0000 (00:19 +0200)]
exec: adapt md5 #include path to new core location

13 days agocfgutils: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:18:50 +0000 (00:18 +0200)]
cfgutils: adapt md5 #include path to new core location

13 days agoauth: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:18:27 +0000 (00:18 +0200)]
auth: adapt md5 #include path to new core location

13 days agotm: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:15:42 +0000 (00:15 +0200)]
tm: adapt md5 #include path to new core location

13 days agolib: adapt md5 #include path to new core location
Henning Westerholt [Wed, 2 Oct 2019 22:12:20 +0000 (00:12 +0200)]
lib: adapt md5 #include path to new core location

13 days agocore: move existing MD5 hash implementation into new core subfolder crypto
Henning Westerholt [Wed, 2 Oct 2019 22:11:37 +0000 (00:11 +0200)]
core: move existing MD5 hash implementation into new core subfolder crypto

13 days agopkg/kamailio/deb: version set 5.4.0~dev0
Victor Seva [Thu, 3 Oct 2019 09:59:52 +0000 (11:59 +0200)]
pkg/kamailio/deb: version set 5.4.0~dev0

13 days agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Thu, 3 Oct 2019 09:47:53 +0000 (11:47 +0200)]
modules: readme files regenerated - tls ... [skip ci]

13 days agotls: docs for rand_engine parameter
Daniel-Constantin Mierla [Thu, 3 Oct 2019 09:36:05 +0000 (11:36 +0200)]
tls: docs for rand_engine parameter

13 days agotls: set random number engine to fastrand for libssl1.1+
Daniel-Constantin Mierla [Thu, 3 Oct 2019 09:23:09 +0000 (11:23 +0200)]
tls: set random number engine to fastrand for libssl1.1+

13 days agotls: option to set use fastrand for rand_engine
Daniel-Constantin Mierla [Thu, 3 Oct 2019 09:18:41 +0000 (11:18 +0200)]
tls: option to set use fastrand for rand_engine

2 weeks agoMakefile.defs: version set to 5.4.0-dev0
Daniel-Constantin Mierla [Wed, 2 Oct 2019 21:35:22 +0000 (23:35 +0200)]
Makefile.defs: version set to 5.4.0-dev0

- master branch is open for new features to be part of v5.4.x series

2 weeks agoMakefile.defs: version set to 5.3.0-pre2
Daniel-Constantin Mierla [Wed, 2 Oct 2019 21:32:02 +0000 (23:32 +0200)]
Makefile.defs: version set to 5.3.0-pre2

2 weeks agocrypto: remove FIXME, add proper log level for debug statement, rephrase log
Henning Westerholt [Wed, 2 Oct 2019 14:29:46 +0000 (16:29 +0200)]
crypto: remove FIXME, add proper log level for debug statement, rephrase log

2 weeks agocrypto: spelling fix in comment
Henning Westerholt [Wed, 2 Oct 2019 14:27:40 +0000 (16:27 +0200)]
crypto: spelling fix in comment

2 weeks agoapp_perl: first destroy old interpreter before creating the new one
Daniel-Constantin Mierla [Wed, 2 Oct 2019 06:32:21 +0000 (08:32 +0200)]
app_perl: first destroy old interpreter before creating the new one

- on interpreter reset, the new one may inherit globals from the old
one, if that is not yet destroyed

2 weeks agotls: option to set custom random bytess generator
Daniel-Constantin Mierla [Tue, 1 Oct 2019 21:04:01 +0000 (23:04 +0200)]
tls: option to set custom random bytess generator

- attempt to fix GH #2077 which exposes a crash in the libssl v1.1
default random bytes generator

2 weeks agopv: adding xavp_copy xavp_copy 2070/head
Julien Chavanton [Sat, 21 Sep 2019 01:33:37 +0000 (18:33 -0700)]
pv: adding xavp_copy

2 weeks agocore: adding xavp_clone_level_nodata_with_new_name
Julien Chavanton [Sat, 21 Sep 2019 04:57:46 +0000 (21:57 -0700)]
core: adding xavp_clone_level_nodata_with_new_name

2 weeks agocore: fix compile error related to missing T_OPT in older (<2.25) glibc (GH #2087)
Henning Westerholt [Tue, 1 Oct 2019 16:00:13 +0000 (18:00 +0200)]
core: fix compile error related to missing T_OPT in older (<2.25) glibc (GH #2087)

2 weeks agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 1 Oct 2019 15:01:51 +0000 (17:01 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

2 weeks agosiptrace: fix (copy and paste) errors in siptrace docs
Henning Westerholt [Tue, 1 Oct 2019 15:00:36 +0000 (17:00 +0200)]
siptrace: fix (copy and paste) errors in siptrace docs

2 weeks agocore: skip get_record for DNS extensions e.g. for EDNS0 (GH #2087)
Henning Westerholt [Tue, 1 Oct 2019 14:38:20 +0000 (16:38 +0200)]
core: skip get_record for DNS extensions e.g. for EDNS0 (GH #2087)

2 weeks agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 1 Oct 2019 11:46:53 +0000 (13:46 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

2 weeks agosiptrace: docs for sip_trace_mode() function
Daniel-Constantin Mierla [Tue, 1 Oct 2019 11:31:47 +0000 (13:31 +0200)]
siptrace: docs for sip_trace_mode() function

2 weeks agosiptrace: added sip_trace_mode(tmode)
Daniel-Constantin Mierla [Tue, 1 Oct 2019 11:23:06 +0000 (13:23 +0200)]
siptrace: added sip_trace_mode(tmode)

- function to specify the tracing mode: message, transaction, dialog
- a short form of siptrace with 3 params when the duplicate uri and
correlation id are not used
- the variant for the older setflag(...)/sip_trace(...) to track all the
messages in a transaction

2 weeks agopdt: init len variable to avoid using garbage value
Daniel-Constantin Mierla [Tue, 1 Oct 2019 10:22:34 +0000 (12:22 +0200)]
pdt: init len variable to avoid using garbage value

2 weeks agospeeddial: fix stripping domain prefix
Daniel-Constantin Mierla [Tue, 1 Oct 2019 10:17:48 +0000 (12:17 +0200)]
speeddial: fix stripping domain prefix

- increment the index after the value is adjusted

2 weeks agocore: init local structs to avoid use of garbage values
Daniel-Constantin Mierla [Tue, 1 Oct 2019 08:28:13 +0000 (10:28 +0200)]
core: init local structs to avoid use of garbage values

2 weeks agocore: tcp - safety check that dst address is provided for tcp_send()
Daniel-Constantin Mierla [Tue, 1 Oct 2019 08:27:37 +0000 (10:27 +0200)]
core: tcp - safety check that dst address is provided for tcp_send()

2 weeks agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 1 Oct 2019 08:17:03 +0000 (10:17 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

2 weeks agosiptrace: docs - more info on using trace_mode vs flag/sip_trace()
Daniel-Constantin Mierla [Tue, 1 Oct 2019 08:06:47 +0000 (10:06 +0200)]
siptrace: docs - more info on using trace_mode vs flag/sip_trace()

2 weeks agojsonrpcc: removed old todo file
Daniel-Constantin Mierla [Tue, 1 Oct 2019 07:04:01 +0000 (09:04 +0200)]
jsonrpcc: removed old todo file

2 weeks agoims_qos: fixed typo in comments (timout -> timeout)
Daniel-Constantin Mierla [Tue, 1 Oct 2019 07:02:56 +0000 (09:02 +0200)]
ims_qos: fixed typo in comments (timout -> timeout)

2 weeks agosms: fixed typo in comments (timout -> timeout)
Daniel-Constantin Mierla [Tue, 1 Oct 2019 07:01:29 +0000 (09:01 +0200)]
sms: fixed typo in comments (timout -> timeout)

2 weeks agodb_mysql: fixed typo in comments (timout -> timeout)
Daniel-Constantin Mierla [Tue, 1 Oct 2019 06:59:44 +0000 (08:59 +0200)]
db_mysql: fixed typo in comments (timout -> timeout)