#### 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
- [X] Tested changes locally
- [X] Related to issue #1843
#### Description
Just use another x509 attribute.
See #1843 for details.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1846
-- Commit Summary --
* dont use url encoding for transport tag in path header
* Revert "dont use url encoding for transport tag in path header"
* Merge remote-tracking branch 'upstream/master'
* change NID_x500UniqueIdentifier to NID_userId to access itu-t.9.2342.19200300.100.1.1 (see #1843)
-- File Changes --
M src/modules/tls/tls_select.c (20)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1846.patchhttps://github.com/kamailio/kamailio/pull/1846.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1846
… e3ecad34bb13e72b16a4213e7ce785194e88c534
#### 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 modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] 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:
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #1835
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1847
-- Commit Summary --
* src/core/tcp_main.c: Fixed #1836 after regression introduced e3ecad34bb13e72b16a4213e7ce785194e88c534
-- File Changes --
M src/core/tcp_main.c (15)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1847.patchhttps://github.com/kamailio/kamailio/pull/1847.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1847
As discused on #1569, here is a new feature request.
### What this feature request is all about?
Currently there is a feature on topos module, which allows Kamailio to disable topos on requests destined to specific IP address. This event_route however has a drawback since it is only usable if the specified IP address is never sending requests to Kamailio.
Consider a following scenario:
Asterisk is sending an INVITE to Kamailio, which will reroute it to Provider. Kamailio has event_route 'topos:msg-outgoing' enabled and there is the following statement:
```
event_route[topos:msg-outgoing] {
if($sndto(ip)=="89.18.234.47") {
xlog("L_INFO","Not going to topos this request\n");
drop;
}
}
```
In this case 10.20.234.47 is IP address of Asterisk since system admin does not want to hide topology when requests are going to Asterisk. However after this INVITE call is ended from the receiving end, which is causing a BYE message coming from Provider to Asterisk. On this BYE request, topos event_route is triggered and BYE message is dropped out of topos process. Then the originally masked contact uri stays in the message and BYE request does not find its final destination.
### What should be done?
Current event_route is designed to only make a decision by destination IP address for speed reasons. To be able to properly investigate each SIP message throughly before making a decision to topos or not, we need to have another event_route. An example of this event_route call could be as follows:
```
event_route[topos:msg-parse] {
if($rd=="89.18.234.47" && $rm != "BYE") {
xlog("L_INFO","Not going to topos this request <$rm> from <$si> to <$rd>\n");
drop;
}
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1573
Module: kamailio
Branch: master
Commit: 575230886d63091e97782a4c2c44060e471a30f1
URL: https://github.com/kamailio/kamailio/commit/575230886d63091e97782a4c2c44060…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-02-10T17:01:42+01:00
modules: readme files regenerated - tls ... [skip ci]
---
Modified: src/modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/575230886d63091e97782a4c2c44060…
Patch: https://github.com/kamailio/kamailio/commit/575230886d63091e97782a4c2c44060…
---
diff --git a/src/modules/tls/README b/src/modules/tls/README
index 20b08cfa4a..a94c179dac 100644
--- a/src/modules/tls/README
+++ b/src/modules/tls/README
@@ -380,10 +380,9 @@ make -C modules/tls extra_defs="-DTLS_WR_DEBUG -DTLS_RD_DEBUG"
it, especially under heavy traffic.
This documentation is incomplete. The provided selects are not
- documented. A list with all the ones implemented by the TLS module can
- be seen under doc/select_list/select_tls.txt or or
- http://sip-router.org/docbook/sip-router/branch/master/select_list/sele
- ct_list.html#select_list.tls.
+ documented in this file. A list with all the ones implemented by the
+ TLS module can be found in the Cookbook https://www.kamailio.org/wiki/
+ in the section Selects for the respective version of Kamailio.
8. Quick Certificate Howto
Module: kamailio
Branch: master
Commit: 7659b9b5c93b75f81fd0bcbe9839ab2fb64ec1e3
URL: https://github.com/kamailio/kamailio/commit/7659b9b5c93b75f81fd0bcbe9839ab2…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2019-02-10T16:56:37+01:00
tls: replace old sip-router wiki with current kamailio wiki entity in docs
---
Modified: src/modules/tls/doc/tls.xml
---
Diff: https://github.com/kamailio/kamailio/commit/7659b9b5c93b75f81fd0bcbe9839ab2…
Patch: https://github.com/kamailio/kamailio/commit/7659b9b5c93b75f81fd0bcbe9839ab2…
---
diff --git a/src/modules/tls/doc/tls.xml b/src/modules/tls/doc/tls.xml
index ba8d4b2ac9..fe10eec08a 100644
--- a/src/modules/tls/doc/tls.xml
+++ b/src/modules/tls/doc/tls.xml
@@ -276,11 +276,10 @@ make -C modules/tls extra_defs="-DTLS_WR_DEBUG -DTLS_RD_DEBUG"
</para>
<para>
This documentation is incomplete.
- The provided selects are not documented. A list with all the
- ones implemented by the TLS module can be seen under
- doc/select_list/select_tls.txt or
- or <ulink url="http://sip-router.org/docbook/sip-router/branch/master/select_list/select_l…">
- http://sip-router.org/docbook/sip-router/branch/master/select_list/select_l…</ulink>.
+ The provided selects are not documented in this file. A list with all the
+ ones implemented by the TLS module can be found in the Cookbook
+ <ulink url="&kamwiki;">&kamwiki;</ulink> in the section
+ <emphasis>Selects</emphasis> for the respective version of &kamailio;.
</para>
</section>