Hello,
a message with explicit subject in order to make it easier to be
spotted, to be sure every active developer is becoming aware of the change.
The GIT repository for Kamailio project is now hosted to Github:
- https://github.com/kamailio/kamailio
To be able to push commits directly to it, send me your Github user id.
If you already did it, then just ignore this message.
Your local clone taken from git.sip-router.org needs to get an update to
remote URL - inside the folder do:
git remote set-url origin https://github.com/kamailio/kamailio.git
You can use ssh with Github, if you prefer it:
git remote set-url origin ssh+git://git@github.com/kamailio/kamailio.git
For more details on access, see:
- https://help.github.com/articles/which-remote-url-should-i-use/
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Module: kamailio
Branch: master
Commit: 2cdda10aa232e545ba79ca71876f0160a68e324b
URL: https://github.com/kamailio/kamailio/commit/2cdda10aa232e545ba79ca71876f016…
Author: Martin Mikkelsen <martin.mikkelsen(a)zisson.no>
Committer: Martin Mikkelsen <martin.mikkelsen(a)zisson.no>
Date: 2015-01-21T16:55:15+01:00
auth: use correct parameter for pv_auth_check checks
The pv_auth_check has a flags and a checks parameter but the flags
parameter is used for both. This means that if flags has the 1-bit set
it will enable both HA1-passwords and from/to URI checks and setting the
1-bit in the checks parameter does not do anything.
This fixes the parameters so that the checks parameter is used for the
to/from URI checks.
---
Modified: modules/auth/auth_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/2cdda10aa232e545ba79ca71876f016…
Patch: https://github.com/kamailio/kamailio/commit/2cdda10aa232e545ba79ca71876f016…
---
diff --git a/modules/auth/auth_mod.c b/modules/auth/auth_mod.c
index f4b74b1..fe57a89 100644
--- a/modules/auth/auth_mod.c
+++ b/modules/auth/auth_mod.c
@@ -755,7 +755,7 @@ static int pv_auth_check(sip_msg_t *msg, char *realm,
ret = pv_authenticate(msg, &srealm, &spasswd, vflags, HDR_PROXYAUTH_T,
&msg->first_line.u.request.method);
- if(ret==AUTH_OK && (vflags&AUTH_CHECK_ID_F)) {
+ if(ret==AUTH_OK && (vchecks&AUTH_CHECK_ID_F)) {
hdr = (msg->proxy_auth==0)?msg->authorization:msg->proxy_auth;
srealm = ((auth_body_t*)(hdr->parsed))->digest.username.user;
The pv_auth_check has a flags and a checks parameter but the flags
parameter is used for both. This means that if flags has the 1-bit set
it will enable both HA1-passwords and from/to URI checks and setting the
1-bit in the checks parameter does not do anything.
This fixes the parameters so that the checks parameter is used for the
to/from URI checks.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/49
-- Commit Summary --
* auth: use correct parameter for pv_auth_check checks
-- File Changes --
M modules/auth/auth_mod.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/49.patchhttps://github.com/kamailio/kamailio/pull/49.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/49
- Correct extraction wfrom all types of SIP-AVP pairs
- Correct extraction other (not all, but STR, INT, DATE and IPADDR do)
types of RADIUS AV-Pairs at the same time
- If name is begin of value (cisco attributes placed in this behavior
sometimes) this part of value + one character delimiter is ignored
Yes, my previous pull request has a malicious malloc and free. This changed too
You can merge this Pull Request by running:
git pull https://github.com/borikinternet/kamailio master
Or you can view, comment on it, or merge it online at:
https://github.com/kamailio/kamailio/pull/22
-- Commit Summary --
* Improved working with RADIUS returned AV-Pairs in auth_radius module:
-- File Changes --
M modules/auth_radius/sterman.c (141)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/22.patchhttps://github.com/kamailio/kamailio/pull/22.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/22
In this pull request I`d correct work with retrieved from RADIUS AV pairs for modules auth_radius, misc_radius and peering. Now this modules correctly put to $avp() all retrieved params:
- integer name and integer value
- integer name and string value
- string name and integer value
- string name and string value
All above said and for SIP-AVP params too.
You can merge this Pull Request by running:
git pull https://github.com/borikinternet/kamailio master
Or you can view, comment on it, or merge it online at:
https://github.com/kamailio/kamailio/pull/14
-- Commit Summary --
* Improve for correct working with all RADIUS AV pairs
-- File Changes --
M modules/auth_radius/sterman.c (180)
M modules/misc_radius/functions.c (228)
M modules/peering/verify.c (205)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/14.patchhttps://github.com/kamailio/kamailio/pull/14.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/14