From: Sakharam T. <sak...@ou...> - 2014-07-20 14:57:53
|
Hi Rob, Thanks!. Verifyauth working with version SIPP-3.4.1. Best Regards,Sakharam Thorat. > Date: Sun, 20 Jul 2014 14:19:20 +0100 > From: rk...@rk... > To: sip...@li... > Subject: Re: [Sipp-users] verifyauth consistently reporting false > > Hi Paul, > > Using your files, I'm able to reproduce the issue exactly on v3.4.0, > but not on v3.4.1 - which is as I'd expect, since I fixed a bug here > in v3.4.1. You previously said you were seeing this on v3.4.1, but I > looked back through the email trail, and this is the version string > you quoted: > > "SIPp v3.4-beta1 (aka v3.3.990)-TLS-SCTP-PCAP built Nov 4 2013, 09:28:44" > > That's *not* v3.4.1 - that's the beta version before v3.4.0. If you > take the latest released code > (https://github.com/SIPp/sipp/releases/tag/v3.4.1), you should see > this fixed. > > Best, > Rob > > On 14/07/14 06:46, Paul Miller wrote: > > Hi, Thanks for the clue on microsip, I downloaded the portable > > version and used that so hopefully I can rule out another area of > > possible difference. I am still seeing the same false outcome. I > > have added all the output logs (calldebug was 0 bytes, I presume as > > I had to ctrl C the test after ten retrans) the command line I used > > was this. > > > > /opt/sipp-3.4.0/sipp -sn uas -sf reg_auth.xml -inf reg.inf -m 1 -p > > 5060 -i 192.168.0.220 -trace_logs -trace_msg -trace_err > > -trace_calldebug > > > > the sipp -v line is: SIPp v3.4.0-TLS-PCAP-RTPSTREAM built Jul 13 > > 2014, 19:37:24. > > > > I will add all the files including the wireshark traces of the run > > and hope one of you can work out what I am doing wrong. as we are > > pretty much getting to the state that the setup is the same between > > us. > > > > Thanks Paul > > > > > > On Mon, Jul 14, 2014 at 5:21 PM, Paul Miller > > <idk...@si...> wrote: > > > >> Hi, Thanks for the clue on microsip, I downloaded the portable > >> version and used that so hopefully I can rule out another area of > >> possible difference. I am still seeing the same false outcome. I > >> have added all the output logs (calldebug was 0 bytes, I presume > >> as I had to ctrl C the test after ten retrans) the command line I > >> used was this. > >> > >> /opt/sipp-3.4.0/sipp -sn uas -sf reg_auth.xml -inf reg.inf -m 1 > >> -p 5060 -i 192.168.0.220 -trace_logs -trace_msg -trace_err > >> -trace_calldebug > >> > >> the sipp -v line is: SIPp v3.4.0-TLS-PCAP-RTPSTREAM built Jul 13 > >> 2014, 19:37:24. > >> > >> I will add all the files including the wireshark traces of the > >> run and hope one of you can work out what I am doing wrong. as we > >> are pretty much getting to the state that the setup is the same > >> between us. > >> > >> Thanks > >> > >> Paul > >> > >> > >> > >> > >> On Sun, Jul 13, 2014 at 9:31 PM, Sakharam Thorat < > >> sak...@ou...> wrote: > >> > >>> Hi Pual, > >>> > >>> Yes, Client side may have the problem. I am using following > >>> setup, can you please try this , > >>> > >>> SIPP Server(Ububtu-192.168.163.135)<=======================> > >>> Microsip (Windows 7- 192.168.163.2) > >>> > >>> > >>> > >>> Best regards, Sakharam Thorat > >>> > >>> --- Original Message --- > >>> > >>> From: "Paul Miller" <idk...@si...> Sent: July 13, > >>> 2014 1:30 PM > >>> > >>> To: "Sakharam Thorat" <sak...@ou...> Cc: > >>> "sipp-users" <sip...@li...> Subject: Re: > >>> [Sipp-users] verifyauth consistently reporting false > >>> > >>> I have included a the steps I took on the download and > >>> recompile with openssl and it makes no difference still the > >>> same. Next avenue to investigate is the client side. I am > >>> typically using SIP Inspector Pro 2.40 as my UAC for this test > >>> although I have tried zoiper along the way at the time with the > >>> same outcome. > >>> > >>> Both SIP Inspector and SIPp I have used against multiple UAS > >>> registrars and never had a problem so I am dubious that this > >>> the problem but it would seem to be the most obvious next area > >>> to check. > >>> > >>> just in case there is something strange it what I have done > >>> here is the d/l through to sipp -v (without the compile which > >>> completed with no errors) I move the whole directory from > >>> /usr/src to .opt which is where I have a few different versions > >>> of sipp to choose from > >>> > >>> > >>> root@telecom-tools-2014:/usr/src# wget > >>> https://github.com/SIPp/sipp/archive/3.4.0.tar.gz --2014-07-13 > >>> 19:29:17-- https://github.com/SIPp/sipp/archive/3.4.0.tar.gz > >>> Resolving github.com (github.com)... 192.30.252.130 Connecting > >>> to github.com (github.com)|192.30.252.130|:443... connected. > >>> HTTP request sent, awaiting response... 302 Found Location: > >>> https://codeload.github.com/SIPp/sipp/tar.gz/3.4.0 [following] > >>> --2014-07-13 19:29:19-- > >>> https://codeload.github.com/SIPp/sipp/tar.gz/3.4.0 Resolving > >>> codeload.github.com (codeload.github.com)... 192.30.252.146 > >>> Connecting to codeload.github.com > >>> (codeload.github.com)|192.30.252.146|:443... connected. HTTP > >>> request sent, awaiting response... 200 OK Length: 431495 (421K) > >>> [application/x-gzip] Saving to: â3.4.0.tar.gzâ > >>> > >>> 100%[==============================================================>] > >>> > >>> > 431,495 237KB/s in 1.8s > >>> > >>> 2014-07-13 19:29:21 (237 KB/s) - â3.4.0.tar.gzâ saved > >>> [431495/431495] > >>> > >>> root@telecom-tools-2014:/usr/src# gunzip 3.4.0.tar.gz > >>> root@telecom-tools-2014:/usr/src# tar -xvf 3.4.0.tar > >>> sipp-3.4.0/ sipp-3.4.0/.gitignore sipp-3.4.0/LICENSE.txt > >>> sipp-3.4.0/Makefile.am sipp-3.4.0/Makefile.in > >>> sipp-3.4.0/README.txt sipp-3.4.0/THANKS sipp-3.4.0/aclocal.m4 > >>> sipp-3.4.0/auto-generate-files.sh sipp-3.4.0/config.guess > >>> sipp-3.4.0/config.sub sipp-3.4.0/configure > >>> sipp-3.4.0/configure.ac sipp-3.4.0/cpplint.py > >>> sipp-3.4.0/depcomp sipp-3.4.0/include/ > >>> sipp-3.4.0/include/actions.hpp sipp-3.4.0/include/call.hpp > >>> sipp-3.4.0/include/comp.h sipp-3.4.0/include/config.h.in > >>> sipp-3.4.0/include/deadcall.hpp sipp-3.4.0/include/infile.hpp > >>> sipp-3.4.0/include/listener.hpp sipp-3.4.0/include/logger.hpp > >>> sipp-3.4.0/include/md5.h sipp-3.4.0/include/message.hpp > >>> sipp-3.4.0/include/milenage.h sipp-3.4.0/include/opentask.hpp > >>> sipp-3.4.0/include/prepare_pcap.h > >>> sipp-3.4.0/include/reporttask.hpp > >>> sipp-3.4.0/include/rijndael.h sipp-3.4.0/include/rtpstream.hpp > >>> sipp-3.4.0/include/scenario.hpp sipp-3.4.0/include/screen.hpp > >>> sipp-3.4.0/include/send_packets.h > >>> sipp-3.4.0/include/sip_parser.hpp sipp-3.4.0/include/sipp.hpp > >>> sipp-3.4.0/include/socket.hpp > >>> sipp-3.4.0/include/socketowner.hpp > >>> sipp-3.4.0/include/sslcommon.h sipp-3.4.0/include/stat.hpp > >>> sipp-3.4.0/include/strings.hpp sipp-3.4.0/include/task.hpp > >>> sipp-3.4.0/include/time.hpp sipp-3.4.0/include/variables.hpp > >>> sipp-3.4.0/include/watchdog.hpp sipp-3.4.0/include/xp_parser.h > >>> sipp-3.4.0/install-sh sipp-3.4.0/missing sipp-3.4.0/pcap/ > >>> sipp-3.4.0/pcap/dtmf_2833_0.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_1.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_2.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_3.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_4.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_5.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_6.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_7.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_8.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_9.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_pound.pcap > >>> sipp-3.4.0/pcap/dtmf_2833_star.pcap sipp-3.4.0/pcap/g711a.pcap > >>> sipp-3.4.0/sipp.1 sipp-3.4.0/sipp.dtd sipp-3.4.0/src/ > >>> sipp-3.4.0/src/actions.cpp sipp-3.4.0/src/auth.c > >>> sipp-3.4.0/src/call.cpp sipp-3.4.0/src/comp.c > >>> sipp-3.4.0/src/deadcall.cpp sipp-3.4.0/src/fortune.cpp > >>> sipp-3.4.0/src/infile.cpp sipp-3.4.0/src/listener.cpp > >>> sipp-3.4.0/src/logger.cpp sipp-3.4.0/src/md5.c > >>> sipp-3.4.0/src/message.cpp sipp-3.4.0/src/milenage.c > >>> sipp-3.4.0/src/opentask.cpp sipp-3.4.0/src/prepare_pcap.c > >>> sipp-3.4.0/src/reporttask.cpp sipp-3.4.0/src/rijndael.c > >>> sipp-3.4.0/src/rtpstream.cpp sipp-3.4.0/src/scenario.cpp > >>> sipp-3.4.0/src/screen.cpp sipp-3.4.0/src/send_packets.c > >>> sipp-3.4.0/src/sip_parser.cpp sipp-3.4.0/src/sipp.cpp > >>> sipp-3.4.0/src/sipp_unittest.cpp sipp-3.4.0/src/socket.cpp > >>> sipp-3.4.0/src/socketowner.cpp sipp-3.4.0/src/sslinit.c > >>> sipp-3.4.0/src/sslthreadsafe.c sipp-3.4.0/src/stat.cpp > >>> sipp-3.4.0/src/strings.cpp sipp-3.4.0/src/task.cpp > >>> sipp-3.4.0/src/time.cpp sipp-3.4.0/src/variables.cpp > >>> sipp-3.4.0/src/watchdog.cpp sipp-3.4.0/src/xp_parser.c > >>> root@telecom-tools-2014:/usr/src# cd sipp-3.4.0/ > >>> root@telecom-tools-2014:/usr/src/sipp-3.4.0# > >>> root@telecom-tools-2014:/usr/src/sipp-3.4.0# > >>> root@telecom-tools-2014:/usr/src/sipp-3.4.0# > >>> root@telecom-tools-2014:/usr/src/sipp-3.4.0# ./configure > >>> --with-pcap --with-openssl checking build system type... > >>> i686-pc-linux-gnu checking host system type... > >>> i686-pc-linux-gnu checking target system type... > >>> i686-pc-linux-gnu checking for a BSD-compatible install... > >>> /usr/bin/install -c checking whether build environment is > >>> sane... yes checking for a thread-safe mkdir -p... /bin/mkdir > >>> -p checking for gawk... no checking for mawk... mawk checking > >>> whether make sets $(MAKE)... yes checking whether make supports > >>> nested variables... yes checking for gcc... gcc checking > >>> whether the C compiler works... yes checking for C compiler > >>> default output file name... a.out checking for suffix of > >>> executables... checking whether we are cross compiling... no > >>> checking for suffix of object files... o checking whether we > >>> are using the GNU C compiler... yes checking whether gcc > >>> accepts -g... yes checking for gcc option to accept ISO C89... > >>> none needed checking for style of include used by make... GNU > >>> checking dependency style of gcc... gcc3 checking for g++... > >>> g++ checking whether we are using the GNU C++ compiler... yes > >>> checking whether g++ accepts -g... yes checking dependency > >>> style of g++... gcc3 checking how to run the C preprocessor... > >>> gcc -E checking for grep that handles long lines and -e... > >>> /bin/grep checking for egrep... /bin/grep -E checking for ANSI > >>> C header files... yes checking for initscr in -lcurses... yes > >>> checking for pthread_mutex_init in -lpthread... yes checking > >>> for library containing dlopen... -ldl checking for library > >>> containing dlerror... none required checking for library > >>> containing dlsym... none required checking for library > >>> containing inet_addr... none required checking for library > >>> containing inet_ntoa... none required checking for library > >>> containing pthread_mutex_init... none required checking for > >>> library containing pthread_mutex_destroy... none required > >>> checking for library containing pthread_mutex_lock... none > >>> required checking for library containing > >>> pthread_mutex_unlock... none required checking for library > >>> containing pthread_self... none required checking for library > >>> containing pthread_cancel... -lpthread checking for library > >>> containing pthread_join... none required checking for library > >>> containing pthread_attr_init... none required checking for > >>> library containing pthread_attr_setstacksize... none required > >>> checking for library containing pthread_create... none > >>> required checking for library containing > >>> pthread_attr_destroy... none required checking for library > >>> containing pthread_setschedparam... none required checking for > >>> library containing pthread_setcancelstate... none required > >>> checking for library containing pthread_setcanceltype... none > >>> required checking for library containing pthread_exit... none > >>> required checking for library containing pthread_sigmask... > >>> none required checking for library containing floor... -lm > >>> checking for library containing pow... none required checking > >>> for library containing htons... none required checking for > >>> library containing ntohs... none required checking for library > >>> containing bind... none required checking for library > >>> containing freeaddrinfo... none required checking for library > >>> containing getaddrinfo... none required checking for library > >>> containing listen... none required checking for library > >>> containing recvfrom... none required checking for library > >>> containing shutdown... none required checking for > >>> sys/types.h... yes checking for sys/stat.h... yes checking for > >>> stdlib.h... yes checking for string.h... yes checking for > >>> memory.h... yes checking for strings.h... yes checking for > >>> inttypes.h... yes checking for stdint.h... yes checking for > >>> unistd.h... yes checking openssl/md5.h usability... yes > >>> checking openssl/md5.h presence... yes checking for > >>> openssl/md5.h... yes checking openssl/bio.h usability... yes > >>> checking openssl/bio.h presence... yes checking for > >>> openssl/bio.h... yes checking openssl/err.h usability... yes > >>> checking openssl/err.h presence... yes checking for > >>> openssl/err.h... yes checking openssl/rand.h usability... yes > >>> checking openssl/rand.h presence... yes checking for > >>> openssl/rand.h... yes checking openssl/ssl.h usability... yes > >>> checking openssl/ssl.h presence... yes checking for > >>> openssl/ssl.h... yes checking openssl/x509v3.h usability... > >>> yes checking openssl/x509v3.h presence... yes checking for > >>> openssl/x509v3.h... yes checking for SSL_library_init in > >>> -lssl... yes checking for CRYPTO_num_locks in -lcrypto... yes > >>> checking pcap.h usability... yes checking pcap.h presence... > >>> yes checking for pcap.h... yes checking for library containing > >>> pcap_open_offline... -lpcap checking for library containing > >>> pcap_next... none required checking for library containing > >>> pcap_next_ex... none required checking for library containing > >>> pcap_close... none required checking linux/version.h > >>> usability... yes checking linux/version.h presence... yes > >>> checking for linux/version.h... yes checking for Linux epoll(7) > >>> interface... yes checking for size_t... yes checking for > >>> working alloca.h... yes checking for alloca... yes checking > >>> arpa/inet.h usability... yes checking arpa/inet.h presence... > >>> yes checking for arpa/inet.h... yes checking fcntl.h > >>> usability... yes checking fcntl.h presence... yes checking for > >>> fcntl.h... yes checking limits.h usability... yes checking > >>> limits.h presence... yes checking for limits.h... yes checking > >>> netdb.h usability... yes checking netdb.h presence... yes > >>> checking for netdb.h... yes checking netinet/in.h usability... > >>> yes checking netinet/in.h presence... yes checking for > >>> netinet/in.h... yes checking for stdlib.h... (cached) yes > >>> checking for string.h... (cached) yes checking sys/socket.h > >>> usability... yes checking sys/socket.h presence... yes checking > >>> for sys/socket.h... yes checking sys/time.h usability... yes > >>> checking sys/time.h presence... yes checking for sys/time.h... > >>> yes checking for unistd.h... (cached) yes checking for > >>> stdbool.h that conforms to C99... yes checking for _Bool... > >>> yes checking for inline... inline checking for pid_t... yes > >>> checking for size_t... (cached) yes checking for ssize_t... > >>> yes checking for uint16_t... yes checking for uint32_t... yes > >>> checking for uint8_t... yes checking vfork.h usability... no > >>> checking vfork.h presence... no checking for vfork.h... no > >>> checking for fork... yes checking for vfork... yes checking for > >>> working fork... yes checking for working vfork... (cached) yes > >>> checking for alarm... yes checking for dup2... yes checking for > >>> floor... yes checking for gethostname... yes checking for > >>> gettimeofday... yes checking for inet_ntoa... yes checking for > >>> memmove... yes checking for memset... yes checking for pow... > >>> yes checking for regcomp... yes checking for socket... yes > >>> checking for sqrt... yes checking for strcasecmp... yes > >>> checking for strchr... yes checking for strcspn... yes checking > >>> for strdup... yes checking for strerror... yes checking for > >>> strncasecmp... yes checking for strrchr... yes checking for > >>> strstr... yes checking for strtol... yes checking for > >>> strtoul... yes checking for strtoull... yes checking that > >>> generated files are newer than configure... done configure: > >>> creating ./config.status config.status: creating Makefile > >>> config.status: creating include/config.h config.status: > >>> executing depfiles commands > >>> root@telecom-tools-2014:/usr/src/sipp-3.4.0# > >>> root@telecom-tools-2014:/usr/src/sipp-3.4.0# > >>> > >>> > >>> ---------- COMPILE ----------- then....... > >>> > >>> root@telecom-tools-2014:/opt/sipp-3.4.0# cd /opt/sipp-3.4.0/ > >>> root@telecom-tools-2014:/opt/sipp-3.4.0# ./sipp -v > >>> > >>> SIPp v3.4.0-TLS-PCAP-RTPSTREAM built Jul 13 2014, 19:37:24. > >>> > >>> This program is free software; you can redistribute it and/or > >>> modify it under the terms of the GNU General Public License as > >>> published by the Free Software Foundation; either version 2 of > >>> the License, or (at your option) any later version. > >>> > >>> This program is distributed in the hope that it will be > >>> useful, but WITHOUT ANY WARRANTY; without even the implied > >>> warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR > >>> PURPOSE. See the GNU General Public License for more details. > >>> > >>> You should have received a copy of the GNU General Public > >>> License along with this program; if not, write to the Free > >>> Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, > >>> MA 02111-1307 USA > >>> > >>> Author: see source files. > >>> > >>> root@telecom-tools-2014:/opt/sipp-3.4.0# cd > >>> /opt/common/scenarios/Registration/ > >>> root@telecom-tools-2014:/opt/common/scenarios/Registration# > >>> /opt/sipp-3.4.0/sipp -sn uas -sf reg_auth.xml -inf reg.inf -m > >>> 1 -p 5060 -i 192.168.0.220 -trace_logs -trace_msg -trace_err > >>> Warning: open file limit > FD_SETSIZE; limiting max. # of open > >>> files to FD_SETSIZE = 1024 > >>> > >>> Thanks > >>> > >>> Paul > >>> > >>> > >>> . > >>> > >>> > >>> On Sun, Jul 13, 2014 at 5:54 PM, Sakharam Thorat < > >>> sak...@ou...> wrote: > >>> > >>> I recompiled without openssl and tested, working fine for me. > >>> > >>> > >>> Best regards, Sakharam Thorat > >>> > >>> --- Original Message --- > >>> > >>> From: "Sakharam Thorat" <sak...@ou...> Sent: > >>> July 13, 2014 11:11 AM To: "Paul Miller" > >>> <idk...@si...> > >>> > >>> Cc: "sipp-users" <sip...@li...> Subject: > >>> Re: [Sipp-users] verifyauth consistently reporting false > >>> > >>> Hi Paul, > >>> > >>> URL-» https://github.com/SIPp/sipp/archive/3.4.0.tar.gz Extract > >>> and run this to install ./configure --with-pcap --with-openssl; > >>> make > >>> > >>> To use veryfiauth in SIPP, i think SIPP should be compiled with > >>> opelssl. > >>> > >>> Best regards, Sakharam Thorat > >>> > >>> --- Original Message --- > >>> > >>> From: "Paul Miller" <idk...@si...> Sent: July 13, > >>> 2014 9:40 AM To: "Sakharam Thorat" > >>> <sak...@ou...> Cc: "sipp-users" > >>> <sip...@li...> Subject: Re: [Sipp-users] > >>> verifyauth consistently reporting false > >>> > >>> Hi Sakharam, I appreciate the time you took to give this a shot > >>> for me. I have copied your scenario and inf file verbatim and > >>> still I have a problem, I then decided it must be a version > >>> thing and I have tried to get the same version you indicated > >>> and I cannot find it, can you provide the RURL to the source > >>> tar.gz file that you have successfully used here so I can > >>> compile and try that specific version? > >>> > >>> The sipp -v from the last version I used is this: SIPp > >>> v3.4.0-RTPSTREAM built Jul 13 2014, 15:07:02. > >>> > >>> And in case there is something I am not seeing here is my > >>> message output. > >>> > >>> > >>> ----------------------------------------------- 2014-07-13 > >>> 15:52:03.825450 UDP message received [313] bytes : > >>> > >>> REGISTER sip:test.example.com SIP/2.0 Via: SIP/2.0/UDP > >>> 192.168.0.65:5060;branch=z9hG4bK90 From: > >>> <sip:10...@te...>;tag=24de4a5dbe4ef To: > >>> <sip:10...@te...> Call-ID: 8@192.168.0.65 CSeq: 1 > >>> REGISTER Max-Forwards: 70 Contact: > >>> <sip:1000@192.168.0.65:5060;transport=UDP> Content-Length: 0 > >>> > >>> > >>> ----------------------------------------------- 2014-07-13 > >>> 15:52:03.826879 UDP message sent (412 bytes): > >>> > >>> SIP/2.0 401 Authorization Required Via: SIP/2.0/UDP > >>> 192.168.0.65:5060;branch=z9hG4bK90 From: > >>> <sip:10...@te...>;tag=24de4a5dbe4ef To: > >>> <sip:10...@te...>;tag=4692SIPpTag011 Call-ID: > >>> 8@192.168.0.65 CSeq: 1 REGISTER Contact: > >>> <sip:192.168.0.220:5060;transport=UDP> WWW-Authenticate: Digest > >>> realm="test.example.com", > >>> nonce="47ebe028cda119c35d4877b383027d28da013815" > >>> Content-Length: 0 > >>> > >>> > >>> ----------------------------------------------- 2014-07-13 > >>> 15:52:03.834364 UDP message received [511] bytes : > >>> > >>> REGISTER sip:test.example.com SIP/2.0 Via: SIP/2.0/UDP > >>> 192.168.0.65:5060;branch=z9hG4bK93 From: > >>> <sip:10...@te...>;tag=24de4a5dbe4ef To: > >>> <sip:10...@te...> Call-ID: 8@192.168.0.65 CSeq: 2 > >>> REGISTER Max-Forwards: 70 Contact: > >>> <sip:1000@192.168.0.65:5060;transport=UDP> Authorization: > >>> Digest username="1000",realm="test.example.com > >>> ",nonce="47ebe028cda119c35d4877b383027d28da013815",uri="sip: > >>> test.example.com > >>> ",response="8bb23fa285671ad103a1725d7034f72d",algorithm=MD5 > >>> Content-Length: 0 > >>> > >>> > >>> > >>> > >>> --------------------------------------------------------------------------------------------------------------------------------------------- > >>> > >>> > >>> > Thanks once again > >>> > >>> Paul > >>> > >>> > >>> > >>> > >>> > >>> On Sat, Jul 12, 2014 at 10:34 PM, Sakharam Thorat < > >>> sak...@ou...> wrote: > >>> > >>> > >>> Hi Paul, > >>> > >>> You getting false becuase of this issue " > >>> https://github.com/SIPp/sipp/issues/62", I think this is now > >>> fixed. > >>> > >>> I tried following with SIPP 3.4.0, and worked for me . > >>> > >>> *SIPP version-* SIPp v3.4.0-TLS-PCAP-RTPSTREAM built Jul 12 > >>> 2014, 03:14:38. *SIPP Command > >>> -*/home/test/Desktop/sipp/sipp-3.4.0/sipp -sn uas -sf > >>> reg_auth.xml -inf reg.inf -m 1 -p 5060 -trace_msg -trace_err > >>> *reg_auth.xml-* > >>> > >>> > >>> <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE scenario > >>> SYSTEM "sipp.dtd"> > >>> > >>> <scenario name="Basic UAS registrar with authentication"> > >>> > >>> <label id="badauth"/> <recv request="REGISTER" /> > >>> <send><![CDATA[ > >>> > >>> SIP/2.0 401 Authorization Required [last_Via:] [last_From:] > >>> [last_To:];tag=[pid]SIPpTag01[call_number] [last_Call-ID:] > >>> [last_CSeq:] Contact: > >>> <sip:[local_ip]:[local_port];transport=[transport]> > >>> WWW-Authenticate: Digest realm="test.example.com", > >>> nonce="47ebe028cda119c35d4877b383027d28da013815" > >>> Content-Length: [len] > >>> > >>> ]]> </send> <recv request="REGISTER" > <action> > >>> > >>> <verifyauth assign_to="authvalid" username="[field0]" > >>> password="[field1]" /> <log message="authvalid=[$authvalid]"/> > >>> </action> </recv> > >>> > >>> <nop hide="true" test="authvalid" next="goodauth" /> <nop > >>> hide="true" next="badauth" /> > >>> > >>> <label id="goodauth"/> <send> <![CDATA[ > >>> > >>> SIP/2.0 200 OK [last_Via:] [last_From:] > >>> [last_To:];tag=[call_number] [last_Call-ID:] [last_CSeq:] > >>> Contact: <sip:[local_ip]:[local_port];transport=[transport]> > >>> Content-Length: 0 Expires: 3600 > >>> > >>> ]]> </send> > >>> > >>> > >>> <!-- definition of the response time repartition table (unit is > >>> ms) --> <ResponseTimeRepartition value="10, 20, 30, 40, 50, > >>> 100, 150, 200"/> > >>> > >>> <!-- definition of the call length repartition table (unit is > >>> ms) --> <CallLengthRepartition value="10, 50, 100, 500, 1000, > >>> 5000, 10000"/> > >>> > >>> </scenario> > >>> > >>> *reg.inf-* > >>> > >>> SEQUENTIAL 1000;1000; > >>> > >>> trace_msg- > >>> > >>> ----------------------------------------------- 2014-07-12 > >>> 03:20:04.761503 UDP message received [511] bytes : > >>> > >>> REGISTER sip:192.168.43.2 SIP/2.0 > >>> > >>> Via: SIP/2.0/UDP 192.168.43.8:5060 > >>> ;rport;branch=z9hG4bKPj51ee5d73f3134729bf793c267be1429b > >>> > >>> Max-Forwards: 70 > >>> > >>> From: > >>> <sip:1000@192.168.43.2>;tag=c951e08fa39747a6acd4211c07d931b8 > >>> > >>> To: <sip:1000@192.168.43.2> > >>> > >>> Call-ID: c687ec6c8df3448cb3611419bb28a239 > >>> > >>> CSeq: 30665 REGISTER > >>> > >>> User-Agent: MicroSIP/3.3.27 > >>> > >>> Contact: <sip:1000@192.168.43.8:5060;ob> > >>> > >>> Expires: 300 > >>> > >>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, > >>> SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS > >>> > >>> Content-Length: 0 > >>> > >>> > >>> > >>> > >>> ----------------------------------------------- 2014-07-12 > >>> 03:20:04.761954 UDP message sent (479 bytes): > >>> > >>> SIP/2.0 401 Authorization Required > >>> > >>> Via: SIP/2.0/UDP 192.168.43.8:5060 > >>> ;rport;branch=z9hG4bKPj51ee5d73f3134729bf793c267be1429b > >>> > >>> From: > >>> <sip:1000@192.168.43.2>;tag=c951e08fa39747a6acd4211c07d931b8 > >>> > >>> To: <sip:1000@192.168.43.2>;tag=1777SIPpTag011 > >>> > >>> Call-ID: c687ec6c8df3448cb3611419bb28a239 > >>> > >>> CSeq: 30665 REGISTER > >>> > >>> Contact: <sip:127.0.1.1:5060;transport=UDP> > >>> > >>> WWW-Authenticate: Digest realm="test.example.com", > >>> nonce="47ebe028cda119c35d4877b383027d28da013815" > >>> > >>> Content-Length: 0 > >>> > >>> > >>> > >>> > >>> ----------------------------------------------- 2014-07-12 > >>> 03:20:04.762536 UDP message received [695] bytes : > >>> > >>> REGISTER sip:192.168.43.2 SIP/2.0 > >>> > >>> Via: SIP/2.0/UDP 192.168.43.8:5060 > >>> ;rport;branch=z9hG4bKPjf8efd01a32a64ddfbbec63aca7a7de13 > >>> > >>> Max-Forwards: 70 > >>> > >>> From: > >>> <sip:1000@192.168.43.2>;tag=c951e08fa39747a6acd4211c07d931b8 > >>> > >>> To: <sip:1000@192.168.43.2> > >>> > >>> Call-ID: c687ec6c8df3448cb3611419bb28a239 > >>> > >>> CSeq: 30666 REGISTER > >>> > >>> User-Agent: MicroSIP/3.3.27 > >>> > >>> Contact: <sip:1000@192.168.43.8:5060;ob> > >>> > >>> Expires: 300 > >>> > >>> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, > >>> SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS > >>> > >>> Authorization: Digest username="1000", > >>> realm="test.example.com", > >>> nonce="47ebe028cda119c35d4877b383027d28da013815", > >>> uri="sip:192.168.43.2", > >>> response="27e1e2e510251e2278c5747972cc00e5" > >>> > >>> Content-Length: 0 > >>> > >>> > >>> > >>> > >>> ----------------------------------------------- 2014-07-12 > >>> 03:20:04.762834 UDP message sent (356 bytes): > >>> > >>> SIP/2.0 200 OK > >>> > >>> Via: SIP/2.0/UDP 192.168.43.8:5060 > >>> ;rport;branch=z9hG4bKPjf8efd01a32a64ddfbbec63aca7a7de13 > >>> > >>> From: > >>> <sip:1000@192.168.43.2>;tag=c951e08fa39747a6acd4211c07d931b8 > >>> > >>> To: <sip:1000@192.168.43.2>;tag=1 > >>> > >>> Call-ID: c687ec6c8df3448cb3611419bb28a239 > >>> > >>> CSeq: 30666 REGISTER > >>> > >>> Contact: <sip:127.0.1.1:5060;transport=UDP> > >>> > >>> Content-Length: 0 > >>> > >>> Expires: 3600 > >>> > >>> > >>> > >>> > >>> Best Regards, Sakharam Thorat. > >>> > >>> > >>> ------------------------------ Date: Fri, 11 Jul 2014 16:47:07 > >>> +1200 Subject: Re: [Sipp-users] verifyauth consistently > >>> reporting false From: idk...@si... To: > >>> sak...@ou... CC: > >>> sip...@li... > >>> > >>> > >>> Thanks Sakharam, I checked out the links, I am well familiar > >>> with the site but could not see anything to assist me further > >>> on this occasion > >>> > >>> Thanks > >>> > >>> Paul > >>> > >>> > >>> > >>> On Thu, Jul 10, 2014 at 12:42 AM, Sakharam Thorat < > >>> sak...@ou...> wrote: > >>> > >>> Following links may be helpful > >>> > >>> tomeko.net/other/sipp/scenarios/REGISTER_client.xml > >>> > >>> tomeko.net/other/sipp/sipp_cheatsheet.php?lang=pl > >>> > >>> > >>> Best regards, Sakharam Thorat > >>> > >>> --- Original Message --- > >>> > >>> From: "Paul Miller" <idk...@si...> Sent: July 9, > >>> 2014 2:54 PM To: sip...@li... Subject: > >>> [Sipp-users] verifyauth consistently reporting false > >>> > >>> Hi all, To try and find a successful baseline that shows me > >>> that verifyauth is working correctly I gave the instructions > >>> at > >>> http://www.bertera.it/index.php/2013/05/30/uas-authenticating-registrar-sipp-scenario/ > >>> > >>> > a shot. The outcome was it too always show false. > >>> so has anyone got a sipp scenario that is known to work that I > >>> can use to troubleshoot why it does not work for me? > >>> > >>> Thanks > >>> > >>> Paul > >>> > >>> > >>> > >>> > >>> > >> > > > > > > > > ------------------------------------------------------------------------------ > > > > > Want fast and easy access to all the code in your enterprise? Index and > > search up to 200,000 lines of code with a free copy of Black > > Duck® Code Sight™ - the same software that powers the > > world's largest code search on Ohloh, the Black Duck Open Hub! Try > > it now. http://p.sf.net/sfu/bds > > > > > > > > _______________________________________________ Sipp-users mailing > > list Sip...@li... > > https://lists.sourceforge.net/lists/listinfo/sipp-users > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Sipp-users mailing list > Sip...@li... > https://lists.sourceforge.net/lists/listinfo/sipp-users |