Sorry forgot to add the file.
On Tue, May 10, 2011 at 12:54 PM, Shailesh Bansal <[email protected]
> wrote:
> I had tried that but no luck mean while I tried with command line option
> but now no matter I pass correct password or wrong password it always
> authvalid to false; i.e. it always say password is wrong. Attaching my xml
> file which I was using for that there are few issues regarding label so I
> had commented that part for now.
>
> ~Shailesh
>
>
> On Tue, May 10, 2011 at 12:39 PM, mayamatakeshi
> <[email protected]>wrote:
>
>>
>>
>> On Tue, May 10, 2011 at 3:22 PM, Shailesh Bansal <
>> [email protected]> wrote:
>>
>>> Thanks that was great help don't know how it skips my eyes earlier. But I
>>> am again stuck as the example there take username and password from file and
>>> when I try to do that it is not accepting the file I put in place. I tried
>>> putting PRINTF Injection files as:
>>> USERS,PRINTF=999
>>> %03d,%03d
>>>
>>> as my username and password is same for now and is 3 digit number.
>>>
>>> Also tried
>>>
>>> USERS
>>> 888,888
>>>
>>> but getting Invalid Index file in both files.
>>>
>>> Please tell me what should be format of file and how to use it in SIPP I
>>> mean using -inf or -infindex and any extra parameter you think should be
>>> used.
>>>
>>
>> The separator must be ";"
>>
>> 888;888
>>
>>
>>
>>>
>>> And if you can tell me some way I need not to create a file to pass
>>> userName and password from there instead I pass username and password from
>>> command line.
>>>
>>>
>>> ~Shailesh
>>>
>>> I want to send 200 if password is valid and want to return with failure
>>> if password is not right
>>>
>>> On Mon, May 9, 2011 at 2:39 PM, mayamatakeshi
>>> <[email protected]>wrote:
>>>
>>>>
>>>> On Mon, May 9, 2011 at 5:55 PM, Fatih NAZLIGUL
>>>> <[email protected]>wrote:
>>>>
>>>>> Hi
>>>>>
>>>>>
>>>>>
>>>>> I want to use SIPP to Inject a register message to a server but It
>>>>> returns me an error as follow : 11:42:57:412 1304930577.412700:
>>>>> Authentication requires OpenSSL support!. .. anyone can help me ?
>>>>>
>>>>
>>>> Hello,
>>>> you must build SIPp with OpenSSL support. Search for "ossl" here:
>>>> http://sipp.sourceforge.net/doc/reference.html#Installation
>>>>
>>>> Obs: remember to open a new thread instead of crashing someone else's.
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>> *From:* mayamatakeshi [mailto:[email protected]]
>>>>> *Sent:* Monday, May 09, 2011 11:51 AM
>>>>> *To:* Shailesh Bansal
>>>>> *Cc:* [email protected]
>>>>> *Subject:* Re: [Sipp-users] Verify Authentication using SIPP
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, May 9, 2011 at 5:20 PM, Shailesh Bansal <
>>>>> [email protected]> wrote:
>>>>>
>>>>> hi
>>>>>
>>>>> I am working on a testing application in this I need to verify if my
>>>>> SIP client is adding password properly but not able to build the same. I
>>>>> had
>>>>> created a client which can register on remote SIP server and can
>>>>> authenticate itself but how to build an app which can act as a server and
>>>>> verify whether password is right or not.
>>>>>
>>>>>
>>>>> Hello,
>>>>> it is in the doc:
>>>>>
>>>>> http://sipp.sourceforge.net/doc/reference.html#verifyauth
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> WhatsUp Gold - Download Free Network Management Software
>>>> The most intuitive, comprehensive, and cost-effective network
>>>> management toolset available today. Delivers lowest initial
>>>> acquisition cost and overall TCO of any competing solution.
>>>> http://p.sf.net/sfu/whatsupgold-sd
>>>> _______________________________________________
>>>> Sipp-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>>>
>>>>
>>>
>>
>
<?xml version="1.0" encoding="us-ascii"?>
<scenario name="New_Call">
<recv request="REGISTER" crlf="true" />
<send>
<![CDATA[
SIP/2.0 401 Unauthorized
[last_Via:]
[last_From:]
[last_To:];tag=[call_number]
[last_Call-ID:]
[last_CSeq:]
User-Agent: SIPP
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE
www-Authenticate: Digest realm="SIPP", nonce="sipp12345FMG"
Content-Length: 0]]>
</send>
<recv request="REGISTER">
<action>
<ereg regexp="Digest username=\"([^\"]*)\"" searc_in="hdr" header="Authorization:" assign_to="misc,username" />
<log message="got userName=[$username] with misc=[$misc]" />
<log message="userName and password shoudl be = [service]" />
<verifyauth assign_to="authvalid" username=[service] password=[service] />
<log message="authvalid=[$authvalid]"/>
</action>
</recv>
<!--nop test="authvalid" next="goodauth" />
<nop next="badauth" />
<label id="goodauth" /-->
<!--nop>
<log message="Test Passed" />
</nop-->
<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-Type: application/sdp
Content-Length: 0]]>
</send>
<label id="badauth" />
<nop>
<log message="Test Failed" />
<!--exec int_cmd="stop_now" /-->
</nop>
<!--label id="1" />
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200" />
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000" /-->
</scenario>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users