X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fgprobe.php;h=84292f263affb3fb7d6daed93f566674f20f2e38;hb=41fe07e12821a25e3ad8279abc5344b8bbe011ab;hp=03cdbd072ba6debb9e5e03ef3b5468d2e58a3d10;hpb=5e2c93e80cd804dca00e45e8f328a75923d57c36;p=friendica.git diff --git a/include/gprobe.php b/include/gprobe.php index 03cdbd072b..84292f263a 100644 --- a/include/gprobe.php +++ b/include/gprobe.php @@ -47,7 +47,7 @@ function gprobe_run(&$argv, &$argc){ $result = Cache::get("gprobe:".$urlparts["host"]); if (!is_null($result)) { $result = unserialize($result); - if ($result["network"] == NETWORK_FEED) { + if (in_array($result["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) { logger("DDoS attempt detected for ".$urlparts["host"]." by ".$_SERVER["REMOTE_ADDR"].". server data: ".print_r($_SERVER, true), LOGGER_DEBUG); return; }