projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fb7b2f
)
Iptables.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 08:41:56 +0000
(16:41 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Mar 2013 08:41:56 +0000
(16:41 +0800)
Iptables.php
patch
|
blob
|
history
diff --git
a/Iptables.php
b/Iptables.php
index
b854604
..
2651271
100644
(file)
--- a/
Iptables.php
+++ b/
Iptables.php
@@
-247,6
+247,10
@@
class Pman_Admin_Iptables extends Pman {
$this->exec("{$iptables} -A INPUT -p tcp -m udp --dport 5432 -j postgres");
}
+
+ $rows = $this->readChain('postgres');
+
+
// -A INPUT -p udp -m udp --dport 5432 -j postgres
// -A INPUT -p tcp -m tcp --dport 5432 -j postgres