I am trying to limit traffic to my website so that people trying to screenscrape mass amounts of data will be blocked after a while. I am supposed to do this based on the ip of the incoming request. I believe i have this ip limiting functionality written but im stumped on how i can test this. I need to be able to change my ip address many times(to simulate valid traffic). I also need to test >20 different ips so a proxy solution for each one will not work for me.
Iam testing the code on my local machine(linux, ubuntu) so i can change my server settings(apache) if i need to for this test.
Does anyone have any ideas on how i can do this?
Im behind a corporate network so i cannot change mac address/arp settings to be "re-assigned" a new ip. I was hoping for some sort of localhost ip changing type thing, where i could take advantage of the fact that the server and client were the same machine.
Also i was just trying to avoid changing the code before it is rolled out to production servers, but that maybe the best way to do it.