[sr-dev] [kamailio/kamailio] siptrace: frong IPv4 address value (#2092)

2019-10-03 Thread sergey-safarov
### Description Please check attached pcap. [siptrace.pcap.gz](https://github.com/kamailio/kamailio/files/3688791/siptrace.pcap.gz) Kamailio send INVITE (packet 1) from port `TCP/42394`. SIP trace encapsulate INVITE (packet 2) and encodes Kamailio source port `TCP/5060` Debugging Data HEP

Re: [sr-dev] [kamailio/kamailio] Kamailio 5.2.3 on Buster - Segmentation fault in libcrypto.so.1.1 (#2077)

2019-10-03 Thread Henning Westerholt
Everything should be now commited to core git master branch. For the master TLS module it should be probably work easily with the API in core/rand/fortuna/random.c - but I will look into that. For 5.3 branch I will tomorrow collect the necessary files and add them to a sub-folder in the TLS

[sr-dev] addition of a cryptographic secure RNG to git master

2019-10-03 Thread Henning Westerholt
Hello, I've added a cryptographic secure pseudo random number generator to git master. It is located in src/core/random/fortuna. There are easy wrapper function available in src/core/random/cryptorand.h - this is the one that is easiest to use. Please use this if you need cryptographic secure

[sr-dev] git: new commits in branch master

2019-10-03 Thread Henning Westerholt
- URL: https://github.com/kamailio/kamailio/commit/6c892196583adf7d4615cdfc9ba93117ac8ca309 Author: Henning Westerholt Date: 2019-10-03T13:45:33+02:00 core: move existing MD5 hash implementation into new core subfolder crypto - URL:

[sr-dev] [kamailio/kamailio] q_malloc crash on Kamailio 5.2.3 with http_async_query function (#2091)

2019-10-03 Thread Michal Škuta
### Description We added http_async_client module to our configuration. We want to send HTTP POST request after the call is ended (in event_route[dialog_end]). We used the function **http_async_query** and right after calling the function Kamailio child exited by a signal 6 (more in the log

[sr-dev] [kamailio/kamailio] usrloc: keep a private copy of urecord before running ul_callbacks (#2090)

2019-10-03 Thread Victor Seva
!-- Kamailio Pull Request Template -- !-- IMPORTANT: - for detailed contributing guidelines, read: https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md - pull requests must be done to master branch, unless they are backports of fixes from master branch to a stable

Re: [sr-dev] [kamailio/kamailio] ursloc has a memory leak if db_mode is DB_ONLY and calling reg_fetch_contacts() (#2089)

2019-10-03 Thread Victor Seva
after the patch ``` 1(4216) DEBUG: usrloc [udomain.c:996]: udomain_contact_expired_cb(): calling contact expired records - cycle [1] 1(4216) DEBUG: usrloc [ul_callback.h:83]: run_ul_callbacks(): contact=0x7f942fc56bd0, callback type 8/8, id 0 entered 1(4216) exec: ***

[sr-dev] [kamailio/kamailio] ursloc has a memory leak if db_mode is DB_ONLY and calling reg_fetch_contacts() (#2089)

2019-10-03 Thread Victor Seva
### Description usrloc should not leave any ucontact behind when on DB_ONLY ### Troubleshooting Reproduction ``` event_route[usrloc:contact-expired] { $var(uri) = "sip:" + $ulc(exp=>aor) + "@localhost"; xinfo("expired contact for $ulc(exp=>aor) uri:$var(uri)");

[sr-dev] git:master:075c74f1: pkg/kamailio/deb: version set 5.4.0~dev0

2019-10-03 Thread Victor Seva
Module: kamailio Branch: master Commit: 075c74f1dfc7b3402e8c0b9c3ad0e7930b2dcba6 URL: https://github.com/kamailio/kamailio/commit/075c74f1dfc7b3402e8c0b9c3ad0e7930b2dcba6 Author: Victor Seva Committer: Victor Seva Date: 2019-10-03T11:59:52+02:00 pkg/kamailio/deb: version set 5.4.0~dev0 ---

[sr-dev] git:master:e376fe8a: modules: readme files regenerated - tls ... [skip ci]

2019-10-03 Thread Kamailio Dev
Module: kamailio Branch: master Commit: e376fe8aacd37c9f2f889e16d98fb3da6960f95d URL: https://github.com/kamailio/kamailio/commit/e376fe8aacd37c9f2f889e16d98fb3da6960f95d Author: Kamailio Dev Committer: Kamailio Dev Date: 2019-10-03T11:47:53+02:00 modules: readme files regenerated - tls ...

[sr-dev] git:master:787b95a5: tls: docs for rand_engine parameter

2019-10-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 787b95a5a0573d4e81b2475a84bad59076e34faf URL: https://github.com/kamailio/kamailio/commit/787b95a5a0573d4e81b2475a84bad59076e34faf Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-10-03T11:36:28+02:00 tls: docs for

[sr-dev] git:master:6d154fbb: tls: set random number engine to fastrand for libssl1.1+

2019-10-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 6d154fbb2ff1d2941316281fad120b5db219deb1 URL: https://github.com/kamailio/kamailio/commit/6d154fbb2ff1d2941316281fad120b5db219deb1 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-10-03T11:36:28+02:00 tls: set random

[sr-dev] git:master:4f514a79: tls: option to set use fastrand for rand_engine

2019-10-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 4f514a7956534f1afc1ef30d8332f5dc3547de4b URL: https://github.com/kamailio/kamailio/commit/4f514a7956534f1afc1ef30d8332f5dc3547de4b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2019-10-03T11:36:28+02:00 tls: option to set

Re: [sr-dev] [kamailio/kamailio] Kamailio 5.2.3 on Buster - Segmentation fault in libcrypto.so.1.1 (#2077)

2019-10-03 Thread Daniel-Constantin Mierla
Moving sha256 in the core is fine, my remark was about fortuna-prng. If there are many files I would look for a solution with a module that register to some core API that we can define for PRNG functions. In this way, other PRNG engines can be added in the future, even when they have external

[sr-dev] Development is open for future release of v5.4.x series

2019-10-03 Thread Daniel-Constantin Mierla
Hello, the branch 5.3 was created late last evening, therefore the master branch is open for adding new features, to be part of future release series v5.4.x. Any bug fix committed to master that applies to 5.3.x or older stable branches should be backported as usual with "git cherry-pick -x ..."

[sr-dev] Branch 5.3 has been created

2019-10-03 Thread Daniel-Constantin Mierla
Hello, the branch 5.3 has been created, to be used for releasing v5.3.x series. To check out this branch, the following commands can be used:  git clone https://github.com/kamailio/kamailio kamailio-5.3  cd kamailio-5.3  git checkout -b 5.3 origin/5.3 Pushing commits in this branch:   git