Re: Request for Instruction on IP Spoofing in Grinder
Jagadish Anandhan <[email protected]> Fri, 26 Aug 2016 20:02:42 +0530
| Newsgroups | gmane.comp.java.grinder.user |
|---|---|
| Message-ID | <CAKPfy3pkrskXV-aV9Z5YS3hX4HAmzTuicvAw_3BTZ2LzLStAMA@mail.gmail.com> |
--===============5462072914321232377== Content-Type: multipart/alternative; boundary=001a113a68781e61f0053afa6385 --001a113a68781e61f0053afa6385 Content-Type: text/plain; charset=UTF-8 Hi Anurag, Thanks for responding.. - My load injector machine is Windows 2013 R2 Datacenter. The application to be perf tested has one session ID which I have already parameterized. It works perfectly fine doing the necessary actions when ran for one user, however, when I run the same script (from the same Grinder machine) for 2 users, one user succeeds and other user fails. The reason is that on the application side, it caches the IP address of the machine where this request is originated (in this case it's my load injector machine) and allows request to pass thru for one request and fails the second.. I read the link you shared - http://grinder.996249.n3. nabble.com/IP-Spoofing-td2352.html but i would need some more details of how this IP spoofing is achieved. I read the posting from Travis - ***************************************************** You have to create all the IP addresses you want to bind to on the local machine, so that there will in fact be real IP addresses for HTTPPluginConnection.setLocalAddress() to bind to. In our lab, we usually have between 10,000 and 40,000 IP addresses assigned to the NIC of the agent machine, and it works great. I have verified that both Windows XP and Linux will allow you to assign arbitrarily large numbers of AP addresses to a single NIC. I have attached the shell script we use to add the addresses. If you need to do this on windows, you're on your own for porting this script to batch, python, or whatever. Actually, if you do a Python port of upip.sh, that would be pretty cool, I'd love to see that. -Travis ******************** On Wed, Aug 24, 2016 at 1:09 PM, AnuragM <[email protected]> wrote: > Hi Jagadish, > > Can you please help us in understanding with few more details. Moreover no > one would have detailed instructions or scripts for such specific scenario > except the ones who have tried/encountered it. > > What is the OS you are working on? > How are you making requests w.r.t grinder (Code snippet)?? > Have you checked this link http://grinder.996249.n3. > nabble.com/IP-Spoofing-td2352.html which has some hint > > Thanks > Anurag > > > > > On Tue, 23 Aug 2016 at 14:47 Jagadish Anandhan <[email protected]> wrote: > >> Hi Philip >> >> The application that I am performance testing cannot process request >> coming from same IP addresses. Somehow the application identifies the >> request coming from the IP addresses and does not process two request from >> the same IP. >> >> I am unable to proceed further.. >> >> In the forum I read about IP-Spoofing-tt9262506.html >> <http://www.nabble.com/IP-Spoofing-tt9262506.html> , but I could not >> follow the instructions >> >> I request you to kindly provide me a detailed instruction and the script >> on how to achieve this scenario of simulating the request from different >> virtual IP addresses. >> >> Please help me on this. >> >> -- >> Regards, >> *Jagadish* >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> grinder-use mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/grinder-use >> > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > grinder-use mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/grinder-use > > -- Regards, *-A J *- Apt No - 508-925-4521 Mobile - 508-981-0870 --001a113a68781e61f0053afa6385 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Anurag,<div><br></div><div>Thanks for responding..</div= ><div><br></div><div><br></div><div>- My load injector machine is Windows 2= 013 R2 Datacenter.=C2=A0</div><div><br></div><div>The application to be per= f tested has one session ID which I have already parameterized. It works pe= rfectly fine doing the necessary actions when ran for one user, however, wh= en I run the same script (from the same Grinder machine) for 2 users, one u= ser succeeds and other user fails. The reason is that on the application si= de, it caches the IP address of the machine where this request is originate= d (in this case it's my load injector machine) and allows request to pa= ss thru for one request and fails the second..</div><div><br></div><div>I r= ead the link you shared -=C2=A0<span style=3D"font-size:12.8px">=C2=A0</spa= n><a href=3D"http://grinder.996249.n3.nabble.com/IP-Spoofing-td2352.html" t= arget=3D"_blank" style=3D"font-size:12.8px">http://grinder.996249.n3.<wbr>n= abble.com/IP-Spoofing-td2352.<wbr>html</a>=C2=A0but i would need some more = details of how this IP spoofing is achieved.=C2=A0</div><div><br></div><div= >I read the posting from Travis -</div><div>*******************************= **********************</div><span style=3D"color:rgb(0,0,0);font-family:cou= rier,monaco,monospace,sans-serif;font-size:13.3333px">You have to create al= l the IP addresses you want to bind to on the local machine, so that there = will in fact be real IP addresses for</span><font face=3D"Courier New" styl= e=3D"color:rgb(0,0,0);font-size:13.3333px">HTTPPluginConnection.setLocalAdd= ress()</font><span style=3D"color:rgb(0,0,0);font-family:courier,monaco,mon= ospace,sans-serif;font-size:13.3333px">=C2=A0to bind to.=C2=A0 In our lab, = we usually have between 10,000 and 40,000 IP addresses assigned to the NIC = of the agent machine, and it works great.</span><br style=3D"color:rgb(0,0,= 0);font-family:courier,monaco,monospace,sans-serif;font-size:13.3333px"><br= style=3D"color:rgb(0,0,0);font-family:courier,monaco,monospace,sans-serif;= font-size:13.3333px"><span style=3D"color:rgb(0,0,0);font-family:courier,mo= naco,monospace,sans-serif;font-size:13.3333px">I have verified that both Wi= ndows XP and Linux will allow you to assign arbitrarily large numbers of AP= addresses to a single NIC.=C2=A0 I have attached the shell script we use t= o add the addresses.=C2=A0 If you need to do this on windows, you're on= your own for porting this script to batch, python, or whatever.</span><br = style=3D"color:rgb(0,0,0);font-family:courier,monaco,monospace,sans-serif;f= ont-size:13.3333px"><br style=3D"color:rgb(0,0,0);font-family:courier,monac= o,monospace,sans-serif;font-size:13.3333px"><span style=3D"color:rgb(0,0,0)= ;font-family:courier,monaco,monospace,sans-serif;font-size:13.3333px">Actua= lly, if you do a Python port of upip.sh, that would be pretty cool, I'd= love to see that.</span><br style=3D"color:rgb(0,0,0);font-family:courier,= monaco,monospace,sans-serif;font-size:13.3333px"><br style=3D"color:rgb(0,0= ,0);font-family:courier,monaco,monospace,sans-serif;font-size:13.3333px"><b= r style=3D"color:rgb(0,0,0);font-family:courier,monaco,monospace,sans-serif= ;font-size:13.3333px"><div><span style=3D"color:rgb(0,0,0);font-family:cour= ier,monaco,monospace,sans-serif;font-size:13.3333px">-Travis</span>=C2=A0</= div><div><br></div><div>********************</div><div><br></div><div><br><= /div><div><br></div><div>=C2=A0</div><div><br></div><div><br></div><div><br= ></div><div><br></div><div><br></div><div><br></div></div><div class=3D"gma= il_extra"><br><div class=3D"gmail_quote">On Wed, Aug 24, 2016 at 1:09 PM, A= nuragM <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>></span> wrote:<br><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex"><div dir=3D"ltr">Hi Jagadish,<div><br></div><div>Can = you please help us in understanding with few more details. Moreover no one = would have detailed instructions or scripts for such specific scenario exce= pt the ones who have tried/encountered it.</div><div><br></div><div>What is= the OS you are working on?</div><div>How are you making requests w.r.t gri= nder (Code snippet)??</div><div>Have you checked this link=C2=A0<a href=3D"= http://grinder.996249.n3.nabble.com/IP-Spoofing-td2352.html" target=3D"_bla= nk">http://grinder.996249.n3.<wbr>nabble.com/IP-Spoofing-td2352.<wbr>html</= a>=C2=A0which has some hint</div><div><br></div><div>Thanks</div><div>Anura= g</div><div><br></div><div><br></div><div><br></div></div><br><div class=3D= "gmail_quote"><div><div class=3D"h5"><div dir=3D"ltr">On Tue, 23 Aug 2016 a= t 14:47 Jagadish Anandhan <<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>> wrote:<br></div></div></div><blockqu= ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s= olid;padding-left:1ex"><div><div class=3D"h5"><div dir=3D"ltr">Hi Philip<di= v><br></div><div>The application that I am performance testing cannot proce= ss request coming from same IP addresses. Somehow the application identifie= s the request coming from the IP addresses and does not process two request= from the same IP.=C2=A0</div><div><br></div><div>I am unable to proceed fu= rther..</div><div><br></div><div>In the forum I read about <span style=3D"c= olor:inherit;font-size:13.44px;font-family:Verdana,Geneva,Helvetica,Arial,s= ans-serif"><a href=3D"http://www.nabble.com/IP-Spoofing-tt9262506.html" rel= =3D"nofollow" link=3D"external" style=3D"color:rgb(85,26,139);font-size:13.= 44px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif" target=3D"_blan= k">IP-<span style=3D"font-weight:bold;color:inherit;background:rgb(255,255,= 153)">Spoofing</span>-tt9262506.html</a></span>=C2=A0, but I could not foll= ow the instructions</div><div><br></div><div>I request you to kindly provid= e me a detailed instruction and the script on how to achieve this scenario = of simulating the request from different virtual IP addresses.=C2=A0</div><= div>=C2=A0</div><div>Please help me on this.</div><div><br></div><div>-- <b= r><div data-smartmail=3D"gmail_signature"><span style=3D"font-family:"= trebuchet ms",sans-serif">Regards</span>,<br style=3D"font-family:&quo= t;trebuchet ms",sans-serif"><font color=3D"#330000" face=3D"georgia, s= erif"><b><i>Jagadish</i></b></font></div> </div></div></div></div> ------------------------------<wbr>------------------------------<wbr>-----= -------------<br> ______________________________<wbr>_________________<br> grinder-use mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">grin= [email protected]<wbr>net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D= "noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists/lis= tinfo/grinder-use</a><br> </blockquote></div> <br>------------------------------<wbr>------------------------------<wbr>-= -----------------<br> <br>______________________________<wbr>_________________<br> grinder-use mailing list<br> <a href=3D"mailto:[email protected]">[email protected]= ceforge.<wbr>net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/grinder-use" rel=3D= "noreferrer" target=3D"_blank">https://lists.sourceforge.net/<wbr>lists/lis= tinfo/grinder-use</a><br> <br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla= ss=3D"gmail_signature" data-smartmail=3D"gmail_signature"><span style=3D"fo= nt-family:trebuchet ms,sans-serif">Regards</span>,<br style=3D"font-family:= trebuchet ms,sans-serif"><i style=3D"font-family:georgia,serif;color:rgb(51= ,0,0)"><b>-A J </b></i>-<br style=3D"font-family:trebuchet ms,sans-serif"><= span style=3D"font-family:trebuchet ms,sans-serif">Apt No - 508-925-4521</s= pan><br style=3D"font-family:trebuchet ms,sans-serif"><span style=3D"font-f= amily:trebuchet ms,sans-serif">Mobile - 508-981-0870</span><br></div> </div> --001a113a68781e61f0053afa6385-- --===============5462072914321232377== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============5462072914321232377== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ grinder-use mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/grinder-use --===============5462072914321232377==--