PDA

View Full Version : Simulating Multiple IPs


ashwinssource
04-06-2004, 02:13 AM
I have a program that sends 1000 requests to my server to do a load test. Now, I want my client program to make each request appear as if it is coming from a different IP address. I use windows 2000 professional. I heard of some thing called as IP spoofing.. would some one point me at how to do this ? Thanks

John0904
04-06-2004, 09:52 AM
Personally, I think the load test is adequate. I would actually increase it to 5000 myself.

The problem with showing how to IP spoof is that a lot of people come to these boards and a few might want to learn how to do something else than the intended request.

You can do a Google search and find what you are looking for in regards to IP spoofing.

ashwinssource
04-06-2004, 10:51 AM
I could get info on what it means.. but was wondering how to do it (my server and client are within my private LAN-- so no illegality)

Moreover, there are commercial tools with emulate thousands of requests as if they are from different IPs-- I was wondering how can I do it with my own piece of code.

thanks

Budfred
04-07-2004, 12:00 AM
I think the point is that this forum will not generally tolerate people posting techniques that can be used to attack other systems or doing any kind of SPAMming or other things that bug the crap out of people... You will need to look elsewhere to find what you are looking for.... This is even more true for someone who is brand new on the forum and could be using the info for any negative purpose they choose since we have no history to even begin to guess if you can be trusted...

That said: Welcome to http://www.pcguide.com/ubb/pcgubb.gif

ashwinssource
04-07-2004, 01:03 AM
Thank you all. I understand your ethical responses-- and I would reply the same if I were you.

I was just reading about IP spoofing and just came to know how negatively it can be used.

Let me take my discussion in a different tangent-- I know that the Load Testing tools out there in the market do Spoofing to emulate multiple IPs from the same box. Now, do you guys think that they might have taken any legal permission to do so ?

Whem it comes to the "how" part, I will explore on my own. But when it comes to the "what" parts of using it, I would like to take other experts opinion.

John0904
04-07-2004, 07:31 AM
You can load test your LAN with these private IP addresses.
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255

That is what I should have suggested in the first place. ;)

By the way, no one is assuming that your intentions are bad.
It could be the next anonymous person browsing this forum who has other intentions.

mjc
04-08-2004, 12:31 AM
Often times when faced with questions such as this it is difficult to answer. While you may have a perfectly legitmate reason for asking the next browser may not have such high motives. Often we are faced with having to make a judgement call as to when good info becomes too much info.

As has been suggested using the reserved private IP ranges would be the answer. By design, most Internet servers/routers should already reject those ranges, so if there is a misconfiguration the requests most likely will be dropped.

ashwinssource
04-09-2004, 09:27 AM
Thanks a lot. I am operating under a LAN itself-- however, I am yet to find how to do spoofing. I have two machines and a server and I want to emulate 1000 IPs and hit the server. Is there any public and legal utility ?