Forum Moderators: phranque

Message Too Old, No Replies

Need Help Testing some Mod_Perl

How to spoof?

         

carfac

7:17 pm on Sep 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi:

I realize this is probably a VERY touchy subject, and probably not something some of you might want to respond to on the site- if so, sticky me!

I have added Apache::BlockAgent, and was able to test that fairly easily by spoofing UA's. But I wabt to test Apache::SpeedLimit, any ideas how to test that to make sure it works. I found a few syntax errors in BlockAgent that only come up when it is run, so my faith in SpeedLimit is not too high, plus I want to make sure it does work as advertised.

Also, with regard to BlockAgent.... the return 403 line is this:

return FORBIDDEN;

Can I change that to: retutn [mypage.com...] (or would it be /path/tp/file/403.html)

carfac

8:11 pm on Sep 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nevermind- I got it!

andreasfriedrich

10:31 pm on Sep 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nevermind- I got it!

Does that refer to your whole post or just the second part?

Anyway, some thougths regarding your first question: If I remember correctly, then Apache::Speedlimit kicks in when some useragent requests resources from the server too often. So just write your own useragent and request resources faster than allowed. You can find an example of a useragent written in perl in the A Close to perfect .htaccess ban list [webmasterworld.com] thread.