projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee5795b
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 14 Feb 2013 14:26:51 +0000
(22:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 14 Feb 2013 14:26:51 +0000
(22:26 +0800)
Iptables.php
[new file with mode: 0644]
patch
|
blob
diff --git a/Iptables.php
b/Iptables.php
new file mode 100644
(file)
index 0000000..
df87ec1
--- /dev/null
+++ b/
Iptables.php
@@ -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