Iptables.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 14 Feb 2013 14:26:51 +0000 (22:26 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 14 Feb 2013 14:26:51 +0000 (22:26 +0800)
Iptables.php [new file with mode: 0644]

diff --git a/Iptables.php b/Iptables.php
new file mode 100644 (file)
index 0000000..df87ec1
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+
+require_once 'Pman.php';
+
+class Pman_Admin_Iptables extends Pman {
+    
+    static $cli_desc = "Read ip addresses that have been used to log in, and add them to the iptables list..";
+    
+   
+    
+    function getAuth()
+    {
+        print_r($this);exit;
+    }
+    function get()
+    {
+        // find IP's that have been used to log in.
+        // dump them to the iptables file.
+        // if it's different - apply it...
+        
+        
+        
+    }
+    
+}
\ No newline at end of file