diff --git a/post.php b/post.php index ae1361ce..a42c1959 100644 --- a/post.php +++ b/post.php @@ -469,6 +469,10 @@ function handle_delete() checkDNSBL(); + if (checkIPAPI($_SERVER['REMOTE_ADDR'])) { + error($config['error']['proxy']); + } + // Check if board exists if (!openBoard($_POST['board'])) { error($config['error']['noboard']); @@ -577,6 +581,10 @@ function handle_report() checkDNSBL(); + if (checkIPAPI($_SERVER['REMOTE_ADDR'])) { + error($config['error']['proxy']); + } + // Check if board exists. if (!openBoard($_POST['board'])) { error($config['error']['noboard']); @@ -855,6 +863,10 @@ function handle_post() checkDNSBL(); + if (checkIPAPI($_SERVER['REMOTE_ADDR'])) { + error($config['error']['proxy']); + } + // Check if banned checkBan($board['uri']);