PHP Classes

File: pgdrop.php

Recommend this page to a friend!
  Classes of Luis Martinez Ulloa   Tor Geoip Tools   pgdrop.php   Download  
File: pgdrop.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Tor Geoip Tools
Generate IPTables rules to block the range of a IP
Author: By
Last change:
Date: 8 months ago
Size: 174 bytes


Class file image Download

require_once './geoip.php';
$geoip = new xzy\geoip($geoipPath);
$rule = $geoip->dropSegment($argv[1]);