Module: kamailio
Branch: master
Commit: 006cca915275f8ca3ea52a9d978961e0842f1dcd
URL: https://github.com/kamailio/kamailio/commit/006cca915275f8ca3ea52a9d978961e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-30T10:18:47+01:00
ims_ipsec_pcscf: docs for ipsec_destroy_by_contact()
---
Modified: src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
---
Diff: https://github.com/kamailio/kamailio/…
[View More]commit/006cca915275f8ca3ea52a9d978961e…
Patch: https://github.com/kamailio/kamailio/commit/006cca915275f8ca3ea52a9d978961e…
---
diff --git a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
index d50c66ed45a..24d77440d89 100644
--- a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
+++ b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
@@ -367,6 +367,40 @@ ipsec_forward("location", "1");
<programlisting format="linespecific">
...
ipsec_destroy("location");
+...
+ </programlisting>
+ </example>
+ </section>
+ <section>
+ <title><function moreinfo="none">ipsec_destroy_by_contact(domain, aor, recv_host, recv_port)</function></title>
+ <para>The function destroys IPSec tunnel, created with ipsec_create.</para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>domain</emphasis> - Logical domain within the registrar.
+ If a database is used then this must be name of the table which
+ stores the contacts.
+ </para>
+ <para>
+ <emphasis>aor</emphasis> - SIP URI to match the record.
+ </para>
+ <para>
+ <emphasis>recv_host</emphasis> - received host to match the record.
+ </para>
+ <para>
+ <emphasis>recv_port</emphasis> - received port to match the record.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>The last three parameters have to be string valies and can contain
+ variables.</para>
+ <example>
+ <title>ipsec_destroy_by_contact()</title>
+
+ <programlisting format="linespecific">
+...
+ipsec_destroy_by_contact("location", "...", "...", "...");
...
</programlisting>
</example>
[View Less]
Module: kamailio
Branch: master
Commit: 279454ff8d4e5804d92a8690c4de3a507efbc44f
URL: https://github.com/kamailio/kamailio/commit/279454ff8d4e5804d92a8690c4de3a5…
Author: Supreeth Herle <herlesupreeth(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-30T10:18:47+01:00
ims_ipsec_pcscf: new function to destroy IPSec based on Contact and received IP and port
- the default ipsec_destroy() cannot be used to used destroy IPSec in any route and
…
[View More]needed to be used exactly after all the de-registration process was complete. But,
as per the kamailio P-CSCF config script, ipsec_destroy() was used in reply route of
NATPING, which didn't have any idea about SIP Register message used for de-registration.
Thus, resulting in IPSec not being destroyed even after de-registration was complete.
- the newly introduced function ipsec_destroy_by_contact() takes domain, contact, received host
and received port in order to determine the exact UE's IPSec tunnel to destroy.
---
Modified: src/modules/ims_ipsec_pcscf/cmd.c
Modified: src/modules/ims_ipsec_pcscf/cmd.h
Modified: src/modules/ims_ipsec_pcscf/ims_ipsec_pcscf_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/279454ff8d4e5804d92a8690c4de3a5…
Patch: https://github.com/kamailio/kamailio/commit/279454ff8d4e5804d92a8690c4de3a5…
[View Less]
<!-- 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 branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, …
[View More]tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [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 modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3657
-- Commit Summary --
* nathelper: Add Max-Forwards to keep-alive
-- File Changes --
M src/modules/nathelper/sip_pinger.h (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3657.patchhttps://github.com/kamailio/kamailio/pull/3657.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3657
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3657(a)github.com>
[View Less]
After 7f07a6ef9ae90baee4281394d0dcf505b30c8fcb, building the ktls group doesn't work as it's not included in the #else statement. I don't have a need for ktlsa at this point.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3660
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3660(a)github.com>
<!-- 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 branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, …
[View More]tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [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 modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [ ] Tested changes locally
#### Description
If kamailio is in the shutdown phase proc timers should not be executed since memory objects are getting destroyed and cores could happen
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3649
-- Commit Summary --
* core: timer_proc don't execute timers on destroy_modules_phase
-- File Changes --
M src/core/timer_proc.c (19)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3649.patchhttps://github.com/kamailio/kamailio/pull/3649.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3649
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3649(a)github.com>
[View Less]