Bug#868096: sipsak: Authentication (REGISTER method) fails using usrloc mode

Jorge Daniel Sequeira Matias jdsm at tecnico.ulisboa.pt
Wed Jul 12 00:27:35 UTC 2017


Package: sipsak
Version: 0.9.6+git20160713-2
Severity: important

Dear Maintainer,

I'm using sipsak in my Nagios monitoring system configuration to check if my VoIP (SIP) server is authenticating users correctly.
This command is being used to do a "usrloc" mode test and is being invoked in the following way:

$ sipsak -U -s x at foobar.domain -a <password> -N

After upgrading from Debian/Wheezy to Debian/Stretch sipsak stopped working correctly. Now, when doing "usrloc" mode tests, which imply doing a SIP REGISTER, 
it always fails authentication returning "SIP failure" when it should have returned "SIP ok".
I have used several toosl to verify the authentication digest response that sipsak sends to the server and confirmed that it is doing wrong MD5 calcultions.

After this I have compiled directly from upstream using latest commit [1] (20170712) and confirmed that current upstream version is working correctly regarding to this issue.

[1] https://github.com/nils-ohlmeier/sipsak/commit/b1fdbd775ab4fe6e8d8602d8f574d948ed8a980f

Best Regards,
Jorge Daniel Sequeira Matias


-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages sipsak depends on:
ii  libc6        2.24-11+deb9u1
ii  libgnutls30  3.5.8-5+deb9u1
ii  libruli4     0.33-1.1+b2

sipsak recommends no packages.

sipsak suggests no packages.

-- no debconf information



More information about the Pkg-voip-maintainers mailing list