[SR-Users] Package hashes for Kamailio 5.1.4 rpms are wrong.

2018-07-27 Thread Skip Morse
Hi,

The package hashes for Kamailio 5.1.4 rpms are wrong. I actually saw this 
happen with 5.1.3 and then somehow I think it got corrected.


Repo details: 
http://download.opensuse.org/repositories/home%3A/kamailio%3A/v5.1.x-rpms/CentOS_7/x86_64/kamailio-5.1.4-2.el7.centos.x86_64.rpm.mirrorlist

Filename: kamailio-5.1.4-2.el7.centos.x86_64.rpm
Path: 
/repositories/home:/kamailio:/v5.1.x-rpms/CentOS_7/x86_64/kamailio-5.1.4-2.el7.centos.x86_64.rpm
Size: 5.4M (5645948 bytes)
Last modified: Thu, 19 Jul 2018 02:53:15 GMT (Unix time: 1531968795)
SHA-256 Hash: aed812fa3ccf502634fe6de848eca2ce167ee70f6ace31aa1541a5787502667d
SHA-1 Hash: ae0977ca32e6b5ba2a627e58948098f386639582
MD5 Hash: 68784949f33d6259420b50de5e70a4ec
BitTorrent Information Hash: f743a7c45d50065084d40a314bd80e3ec143c384

What I get locally:
$ wget 
http://download.opensuse.org/repositories/home:/kamailio:/v5.1.x-rpms/CentOS_7/x86_64/kamailio-5.1.4-2.el7.centos.x86_64.rpm
$ sha256sum kamailio-5.1.4-2.el7.centos.x86_64.rpm
a21d2b6c98da041af85ebc0f8b6fe8525e8e247e84317c32db021e90ec43b209  
kamailio-5.1.4-2.el7.centos.x86_64.rpm
$ sha1sum kamailio-5.1.4-2.el7.centos.x86_64.rpm
9cbf6de153fb8ffc4913f0582d6e85535b44975f  kamailio-5.1.4-2.el7.centos.x86_64.rpm
$ md5sum kamailio-5.1.4-2.el7.centos.x86_64.rpm
d36149f4bd91d0879c239b8e81264fb3  kamailio-5.1.4-2.el7.centos.x86_64.rpm

Let me know if I should report this elsewhere.

Thanks!
-Skip
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Disable basic authentication?

2018-06-12 Thread Skip Morse
Awesome, thanks for the clarification!

From: Daniel-Constantin Mierla 
Sent: Sunday, June 10, 2018 11:35 PM
To: Kamailio (SER) - Users Mailing List ; Skip 
Morse 
Subject: Re: [SR-Users] Disable basic authentication?


Hello,

SIP uses only digest auth, basic auth is not implemented by clients or servers.

Cheers,
Daniel

On 08.06.18 21:41, Skip Morse wrote:
Hi All,

I couldn't get a clear answer from the documentation. Based on the description 
of www_authenticate and proxy_authenticate:

" The function verifies credentials according to RFC2617. If the credentials 
are verified successfully then the function will succeed and mark the 
credentials as authorized (marked credentials can be later used by some other 
functions). If the function was unable to verify the credentials for some 
reason then it will fail and the script should call www_challenge which will 
challenge the user again."

The RFC outlines basic and digest auth. Is there a way to disable the ability 
for a UA to use basic auth? Or maybe these is disabled already?

I'm likely understanding this wrong, it seems to me that it's allowed for a UA 
to auth with basic even if the challenge is for digest. Any clarification would 
be helpful.

Thanks!
-Skip




___

Kamailio (SER) - Users Mailing List

sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--

Daniel-Constantin Mierla -- www.asipto.com<http://www.asipto.com>

www.twitter.com/miconda<http://www.twitter.com/miconda> -- 
www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio World Conference -- www.kamailioworld.com<http://www.kamailioworld.com>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Disable basic authentication?

2018-06-09 Thread Skip Morse
Hi All,

I couldn't get a clear answer from the documentation. Based on the description 
of www_authenticate and proxy_authenticate:

" The function verifies credentials according to RFC2617. If the credentials 
are verified successfully then the function will succeed and mark the 
credentials as authorized (marked credentials can be later used by some other 
functions). If the function was unable to verify the credentials for some 
reason then it will fail and the script should call www_challenge which will 
challenge the user again."

The RFC outlines basic and digest auth. Is there a way to disable the ability 
for a UA to use basic auth? Or maybe these is disabled already?

I'm likely understanding this wrong, it seems to me that it's allowed for a UA 
to auth with basic even if the challenge is for digest. Any clarification would 
be helpful.

Thanks!
-Skip
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Bug in evrexec module?

2018-03-28 Thread Skip Morse
Hi Daniel,

Thanks for the quick response. I've tested a build with the latest 5.1 and that 
works. I'll test and use the workaround until a new rpm version comes out.

Thanks!
-Skip

From: Daniel-Constantin Mierla [mailto:mico...@gmail.com]
Sent: Friday, March 23, 2018 12:52 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Skip 
Morse <gmo...@godaddy.com>
Subject: Re: [SR-Users] Bug in evrexec module?


Hello,

can you try with the latest git branch 5.1? I just pushed a patch to fix it, a 
wrong function was used to search the route block for the stage of modparam 
evaluation.

An workaround could be putting the modparam after the definition of 
event_route, but with the pushed patch, it is not needed.

Cheers,
Daniel

On 22.03.18 21:54, Skip Morse wrote:

Hi all, anyone try the evrexec module yet? When I try, Kamailio fails to start 
and I'm getting an error that it can't find the event route I'm specifying in 
the modparam, but I started with trying the example from the docs. I think it 
might be a bug
https://www.kamailio.org/docs/modules/5.1.x/modules/evrexec.html

Here's what I tried:
modparam("evrexec", "exec", "name=evrexec:timer;wait=1000;workers=1;")

event_route[evrexec:timer] {
  $var(x) = 0;
  while(1) {
xlog("$$var(x) is $var(x)\n");
$var(x) = $var(x) + 1;
sleep("600");
  }
}

Here's the log:
0(1765) ERROR: evrexec [evrexec_mod.c:232]: evrexec_param(): event route not 
found: evrexec:timer
0(1765) CRITICAL:  [core/cfg.y:3450]: yyerror_at(): parse error in config 
file /etc/kamailio/kamailio.cfg, line 136, column 70: Can't set module parameter
ERROR: bad config file (1 errors)

Version info:
kamailio -V
version: kamailio 5.1.2 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, 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_LISTEN 16, 
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 on 06:41:34 Mar  9 2018 with gcc 4.8.5

Thoughts?
Thanks,
-Skip




___

Kamailio (SER) - Users Mailing List

sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--

Daniel-Constantin Mierla

www.twitter.com/miconda<http://www.twitter.com/miconda> -- 
www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>

Kamailio Advanced Training - April 16-18, 2018, Berlin - 
www.asipto.com<http://www.asipto.com>

Kamailio World Conference - May 14-16, 2018 - 
www.kamailioworld.com<http://www.kamailioworld.com>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Bug in evrexec module?

2018-03-23 Thread Skip Morse

Hi all, anyone try the evrexec module yet? When I try, Kamailio fails to start 
and I'm getting an error that it can't find the event route I'm specifying in 
the modparam, but I started with trying the example from the docs. I think it 
might be a bug
https://www.kamailio.org/docs/modules/5.1.x/modules/evrexec.html

Here's what I tried:
modparam("evrexec", "exec", "name=evrexec:timer;wait=1000;workers=1;")

event_route[evrexec:timer] {
  $var(x) = 0;
  while(1) {
xlog("$$var(x) is $var(x)\n");
$var(x) = $var(x) + 1;
sleep("600");
  }
}

Here's the log:
0(1765) ERROR: evrexec [evrexec_mod.c:232]: evrexec_param(): event route not 
found: evrexec:timer
0(1765) CRITICAL:  [core/cfg.y:3450]: yyerror_at(): parse error in config 
file /etc/kamailio/kamailio.cfg, line 136, column 70: Can't set module parameter
ERROR: bad config file (1 errors)

Version info:
kamailio -V
version: kamailio 5.1.2 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, 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_LISTEN 16, 
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 on 06:41:34 Mar  9 2018 with gcc 4.8.5

Thoughts?
Thanks,
-Skip
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users