PDA

View Full Version : 403 Forbidden



Dr-Host
07-29-2004, 09:22 AM
I've seen that some servers when you access a specific domain/ip address more then x times shows you a forbidden page for y period of time ( 5 min )

how can I do that?

Thanks,
David Sokolik
Dr-Host.co.il

DirectAdmin Support
07-29-2004, 02:01 PM
http://www.snert.com/Software/mod_throttle/

jmstacey
07-29-2004, 03:45 PM
There is also instructions on how to set it up in the How-To forum

Dr-Host
07-29-2004, 04:29 PM
I couldn't find a how-to in the how-to forum only a request for how to and I'm having some problems myself setting it up

jmstacey
07-29-2004, 04:47 PM
The name is "How-To guides"
Heres a direct link to the mod_throttle guide.http://www.directadmin.com/forum/showthread.php?s=&threadid=4095

Dr-Host
07-29-2004, 05:02 PM
its Mod_Bandwidth not Mod_Throttle

I did install it ok right now but I can't seem to find a way to set it up for displaying 403 if the file has been access more then x times, show 403 for y sec/min

jmstacey
07-29-2004, 05:09 PM
My bad, sorry about that :o

Dr-Host
07-29-2004, 05:19 PM
mybe you know of a iptables CMD

that will block an IP
if that IP has sent more then 20 packets to destination ip ( me )
for 10 min using DROP

jmstacey
07-29-2004, 07:30 PM
I just wrote a mod_throttle How-To with an example to do what you want near the bottom.

http://www.directadmin.com/forum/showthread.php?s=&threadid=4200

Dr-Host
07-30-2004, 02:57 AM
Thanks after setting that up my load gone from 7.9 to 0.69

I've needed that because I'm benning attacked with a system that downloaded files from me

Thanks again