Author Topic: DP Resource's public server troubleshooter now allows IP input  (Read 992 times)

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
DP Resource's public server troubleshooter now allows IP input
« on: September 29, 2007, 11:45:07 AM »
http://dplogin.com/forums/index.php?topic=9317.0

You can now test (almost) any IP address ;D

I have not thoroughly tested the abuse recognition system, but it should theoretically work fine from what I gather.

Here's what it checks, by the way:

Code: [Select]
<?php
if(count($unique_ips) > 5)
    
$errors[] = "You have tested too many unique IPs in a 15 minute period.";
if(
$incorrect_rcon_pws 5)
    
$errors[] = "You have failed to provide the correct RCON password too often in a 30 minute period.";
if(
$incorrect_rcon_pws_long 15)
    
$errors[] = "You have failed to provide the correct RCON password too often in a 24 hour period.";
if(
count($errors) == && $last_time)
    
$errors[] = "Please wait $left seconds to try again.";
?>

Comments, suggestions, etc.? :D