<!-- 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, 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 -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] 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:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
secfilter: Added information about the author in the README file
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1774
-- Commit Summary --
* secfilter: Added information about the author in the README file
-- File Changes --
M src/modules/secfilter/README (3)
M src/modules/secfilter/doc/secfilter.xml (3)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1774.patchhttps://github.com/kamailio/kamailio/pull/1774.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/1774
### Description
triying to config kamailio using default config file with proper parameters, and also aparte few other in kamailio-local.cfg.. en that second file i put a variable (for global) as `kamailioip=10.10.10.10 ` but refuses to reconoce it
### Troubleshooting
kamailio seems does not reconoce it the global variable in kamailio-local.cfg file that are sourcered by the kamailio.cfg main file
#### Reproduction
download, configure and make build of kamailio
use the main config file
`touch kamilio-local.cfg` that will be sourcered by kamailio.cfg
in that file put only `kamailioip=10.10.10.10`
i tri also with "101.10.10.10" and same problem
#### Log Messages
```
0(1542) DEBUG: <core> [core/modparam.c:83]: set_mod_param_regex(): 'debugger' matches module 'debugger'
0(1542) DEBUG: <core> [core/sr_module.c:811]: find_param_export(): found <log_level_name> in module debugger [/usr/lib/x86_64-linux-gnu/kamailio/modules/debugger.so]
0(1542) DEBUG: <core> [core/modparam.c:99]: set_mod_param_regex(): found <log_level_name> in module debugger [/usr/lib/x86_64-linux-gnu/kamailio/modules/debugger.so]
0(1542) CRITICAL: <core> [core/cfg.y:3450]: yyerror_at(): parse error in config file kamailio-localmods.cfg, line 9, column 6: syntax error
0(1542) CRITICAL: <core> [core/cfg.y:3450]: yyerror_at(): parse error in config file kamailio-localmods.cfg, line 9, column 6: unknown config variable
0(1542) CRITICAL: <core> [core/cfg.y:3447]: yyerror_at(): parse error in config file kamailio-localmods.cfg, line 9, column 7-8:
ERROR: bad config file (3 errors)
0(1542) WARNING: <core> [core/ppcfg.c:221]: pp_ifdef_level_check(): different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 1
```
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.1.6 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 4.9.2
```
* **Operating System**:
```
Linux ip-10-101-2-78 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
```
--
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/1773
Hello everyone,
I use from uac_req_send()function from UAC module for generation of REGISTER request in onreply_route , I assign new values for all headers of my packet before sending my new generated request but I can't assign value for CSeq header. It doesn't define and when I try to assign it, I got an error .
I analysed packet flow through Wireshark and recognized always value of CSeq header for my new register request is 10.
I want to assign new value for my REGISTER packet in configuration file..
--
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/1768
Module: kamailio
Branch: master
Commit: fab17d89305610ed0c8188e45bfd79ea66eec77e
URL: https://github.com/kamailio/kamailio/commit/fab17d89305610ed0c8188e45bfd79e…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2018-12-20T19:16:34+01:00
modules: readme files regenerated - secfilter ... [skip ci]
---
Modified: src/modules/secfilter/README
---
Diff: https://github.com/kamailio/kamailio/commit/fab17d89305610ed0c8188e45bfd79e…
Patch: https://github.com/kamailio/kamailio/commit/fab17d89305610ed0c8188e45bfd79e…
---
diff --git a/src/modules/secfilter/README b/src/modules/secfilter/README
index be9813463b..f2656581ab 100644
--- a/src/modules/secfilter/README
+++ b/src/modules/secfilter/README
@@ -135,9 +135,9 @@ Chapter 1. Admin Guide
value is not found, then the blacklist will be searched.
All data will be loaded into memory when the module is started. There
- is an RPC reload command to update the data in database and memory. It
- is also possible to add new data to the blacklist or whitelist using
- other RPC commands.
+ is an RPC reload command to update all the data from database. It is
+ also possible to add new data to the blacklist or whitelist using other
+ RPC commands.
2. Dependencies
<!-- 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, 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 -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] 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:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
Some fixes in secfilter module.
- Fixed w_check_sqli(). Character '#' could be used in URI header. Its use should not be considered as an SQL injection attack
- Added some debug messages and sorted the code
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1772
-- Commit Summary --
* fix w_check_sqli(). Character '#' could be used in URI header. Its use should not be considered as an SQL injection attack
* Added some debug messages and sorted the code
-- File Changes --
M src/modules/secfilter/secfilter.c (2)
M src/modules/secfilter/secfilter_hdr.c (117)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1772.patchhttps://github.com/kamailio/kamailio/pull/1772.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/1772