[sr-dev] Re: [kamailio/kamailio] Make timeout mechanism useful by adding support for supplying timeout tag (PR #3598)

2023-10-19 Thread Maksym Sobolyev via sr-dev
> Thanks! > > Is the PR completed? If yes, I would merge it manually to make the commit > message follow the contributing guidelines: > > * > https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md#commit-message-format Hi Daniel, yes, it's complete. Thanks for pointing out,

[sr-dev] Re: git:master:1acede64: core: added tcp_check_timer parameter

2023-10-19 Thread Juha Heinanen via sr-dev
How about the diff below? Also, is there plan to backport ksr_tcp_msg_data_timeout, ksr_tcp_msg_read_timeout, and ksr_tcp_check_timer to 5.7, since they can help in protecting from DoS attacks that we have seen in the wild. -- Juha diff --git a/src/main.c b/src/main.c index

[sr-dev] [kamailio/kamailio] Make tcp_check_timer default to depend on tcp_msg_data_timeout and tcp_msg_read_timeout values (PR #3608)

2023-10-19 Thread juha-h via sr-dev
If `tcp_check_timer` is not set, use default value that is half of `tcp_msg_data_timeout` or `tcp_msg_read_timeout` value depending on which one is smaller and not zero. You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/3608 --

[sr-dev] Re: [kamailio/kamailio] tls: Add and apply tls_openssl_clear_errors function. (PR #3607)

2023-10-19 Thread Xenofon Karamanos via sr-dev
@xkaraman pushed 1 commit. 5ce80d2f0dab8137cba31367bd8ca923424d0687 Fix format -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3607/files/f2083f611dcbf2da0320f629a30cc65f09fcb5da..5ce80d2f0dab8137cba31367bd8ca923424d0687 You are receiving this because you are subscribed to this

[sr-dev] Re: [kamailio/kamailio] tls: Add and apply tls_openssl_clear_errors function. (PR #3607)

2023-10-19 Thread Victor Seva via sr-dev
can you please rebase and squash? -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3607#issuecomment-1770252065 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio

[sr-dev] Re: [kamailio/kamailio] tls: Add and apply tls_openssl_clear_errors function. (PR #3607)

2023-10-19 Thread Henning Westerholt via sr-dev
I will later merge it manually -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3607#issuecomment-1770265188 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio

[sr-dev] Re: git:master:1acede64: core: added tcp_check_timer parameter

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
Looks ok for me. If you push it, then you have to update the wiki core books section for it as well. Cheers, Daniel On 19.10.23 09:14, Juha Heinanen via sr-dev wrote: > How about the diff below? > > Also, is there plan to backport ksr_tcp_msg_data_timeout, > ksr_tcp_msg_read_timeout, and

[sr-dev] Re: [kamailio/kamailio] Make tcp_check_timer default to depend on tcp_msg_data_timeout and tcp_msg_read_timeout values (PR #3608)

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
I guess clang format may differ based on clang version and maybe global defaults on OSes -- the check here should be taken as a soft recommendation, but if it looks pretty ok, it can be merged. Anyhow, in this particular case I merged manually, closing this one.. -- Reply to this email

[sr-dev] Re: [kamailio/kamailio] Make tcp_check_timer default to depend on tcp_msg_data_timeout and tcp_msg_read_timeout values (PR #3608)

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
Closed #3608. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3608#event-10709891167 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing

[sr-dev] Re: [kamailio/kamailio] ims_dialog: Add support for database backend (PR #3603)

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
Thanks! CodeQL can indeed fail from other reasons than the code, can be ignored if that happens. Regarding the patch of the PR, I could spot only a database delete operation being added. The commit message says `Add support for database backend`. Was there code for database support but not

[sr-dev] git:master:110ebbaf: tls: Add and apply tls_openssl_clear_errors function

2023-10-19 Thread Henning Westerholt via sr-dev
Module: kamailio Branch: master Commit: 110ebbafadcc225f4e88749287f06ae29a6cfa2e URL: https://github.com/kamailio/kamailio/commit/110ebbafadcc225f4e88749287f06ae29a6cfa2e Author: Xenofon Karamanos Committer: Henning Westerholt Date: 2023-10-19T12:18:38Z tls: Add and apply

[sr-dev] Re: [kamailio/kamailio] tls: Add and apply tls_openssl_clear_errors function. (PR #3607)

2023-10-19 Thread Henning Westerholt via sr-dev
Thanks, was merged manually, close it -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3607#issuecomment-1770847826 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] Re: [kamailio/kamailio] tls: Add and apply tls_openssl_clear_errors function. (PR #3607)

2023-10-19 Thread Henning Westerholt via sr-dev
Closed #3607. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3607#event-10710873842 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) - Development Mailing

[sr-dev] Re: [kamailio/kamailio] Make tcp_check_timer default to depend on tcp_msg_data_timeout and tcp_msg_read_timeout values (PR #3608)

2023-10-19 Thread Victor Seva via sr-dev
> Don't know why `check-format (pull_request)` failed again, because latest > commit > [38a1c73](https://github.com/kamailio/kamailio/commit/38a1c736fa3ebef8827a0f3ef645e7e4fa165b5a)... > PASSED. yes, the action checks if *all* commits follows the clang-format not the final result. That is

[sr-dev] git:master:f27eda6f: presence: active_watcher cleanup timer

2023-10-19 Thread Victor Seva via sr-dev
Module: kamailio Branch: master Commit: f27eda6fe3d99d1352d4df86d79e4646b0a4c17a URL: https://github.com/kamailio/kamailio/commit/f27eda6fe3d99d1352d4df86d79e4646b0a4c17a Author: Victor Seva Committer: Victor Seva Date: 2023-10-19T14:33:45+02:00 presence: active_watcher cleanup timer related

[sr-dev] Re: [kamailio/kamailio] presence: active_watcher cleanup timer (PR #3605)

2023-10-19 Thread Victor Seva via sr-dev
Merged #3605 into master. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3605#event-10711237721 You are receiving this because you are subscribed to this thread. Message ID: ___ Kamailio (SER) -

[sr-dev] Re: [kamailio/kamailio] Make tcp_check_timer default to depend on tcp_msg_data_timeout and tcp_msg_read_timeout values (PR #3608)

2023-10-19 Thread juha-h via sr-dev
Don't know why `check-format (pull_request)` failed again, because latest commit 38a1c736fa3ebef8827a0f3ef645e7e4fa165b5a... PASSED. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3608#issuecomment-1770663120 You are receiving this because you

[sr-dev] Re: [kamailio/kamailio] Make tcp_check_timer default to depend on tcp_msg_data_timeout and tcp_msg_read_timeout values (PR #3608)

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
I am going to apply it manually, because the commit message is not following the contributing guidelines. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3608#issuecomment-1770706662 You are receiving this because you are subscribed to this

[sr-dev] git:master:5077127b: core: change tcp_check_timer initialization

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
Module: kamailio Branch: master Commit: 5077127b0fe1a2d803e42abe19cfcd93339f0519 URL: https://github.com/kamailio/kamailio/commit/5077127b0fe1a2d803e42abe19cfcd93339f0519 Author: Juha Heinanen Committer: Daniel-Constantin Mierla Date: 2023-10-19T13:36:32+02:00 core: change tcp_check_timer

[sr-dev] Re: [kamailio/kamailio] presence: active_watcher cleanup timer (PR #3605)

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
Fine to merge from my point of view. -- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/3605#issuecomment-1770735259 You are receiving this because you are subscribed to this thread. Message ID: ___

[sr-dev] Re: Kamailio module http_client - setting timeout in ms - new parameter ?

2023-10-19 Thread Henning Westerholt via sr-dev
Hello, thank you, will take a look! Regarding backporting it to stable branch, this will be unfortunately not possible as it's a new functionality. Generally speaking, its not necessary to create additional PRs for stable branches, this is usually done with cherry-picking. Cheers, Henning --

[sr-dev] Re: [kamailio/kamailio] ims_dialog: Add support for database backend (PR #3603)

2023-10-19 Thread mtryfoss via sr-dev
My plan is to have this merged and then continue working on db operations for the ims_charging module. I just wanted to have this completed first, since the other part will not work without it. -- Reply to this email directly or view it on GitHub:

[sr-dev] Re: [kamailio/kamailio] Make tcp_check_timer default to depend on tcp_msg_data_timeout and tcp_msg_read_timeout values (PR #3608)

2023-10-19 Thread juha-h via sr-dev
@juha-h pushed 1 commit. 38a1c736fa3ebef8827a0f3ef645e7e4fa165b5a Trying to fix format -- View it on GitHub: https://github.com/kamailio/kamailio/pull/3608/files/dd9d828a782c0c132c536a97beb792176928a716..38a1c736fa3ebef8827a0f3ef645e7e4fa165b5a You are receiving this because you are subscribed

[sr-dev] Re: [kamailio/kamailio] Make timeout mechanism useful by adding support for supplying timeout tag (PR #3598)

2023-10-19 Thread Daniel-Constantin Mierla via sr-dev
Thanks! Is the PR completed? If yes, I would merge it manually to make the commit message follow the contributing guidelines: - https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md#commit-message-format -- Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] http_client: Add parameter connect_timeout_ms / timeout_ms (PR #3609)

2023-10-19 Thread Nicolas C via sr-dev
Pre-Submission Checklist - [x] Commit message has the format required by CONTRIBUTING guide - [x] Commits are split per component (core, individual modules, libs, utils, ...) - [x] Each component has a single commit (if not, squash them into one commit) - [x] No commits to README files for

[sr-dev] Re: [kamailio/kamailio] ims_dialog: Add support for database backend (PR #3603)

2023-10-19 Thread mtryfoss via sr-dev
Like I wrote in the ticket related to this task, most of the stuff was there already - but it both caused a crash and was not fully functional. Entries were being written to the database, but was not restored correctly on startup. I assume the old dialog module was used as a basis and that the

[sr-dev] Re: [kamailio/kamailio] http_client: Add parameter connect_timeout_ms / timeout_ms (PR #3609)

2023-10-19 Thread Olle E. Johansson via sr-dev
Thank you for contributing. I would prefer if there's only one variable and that we use the milliseconds always internally and just keep the old setting for backwards compatibility. -- Reply to this email directly or view it on GitHub: