aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Shared/Firewall.pm
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo.pasotti@gmail.com>2015-01-04 21:04:20 +0100
committerMatteo Pasotti <matteo.pasotti@gmail.com>2015-01-04 21:04:20 +0100
commitbc332b7a18480a7c8db34ba45bd9ecfc257eaf75 (patch)
tree8088934562f954d044504a5cdbb59c0bf698294d /lib/AdminPanel/Shared/Firewall.pm
parent1ee8f273ca2ae5723ea765fce2ff2ac488789dfc (diff)
downloadcolin-keep-bc332b7a18480a7c8db34ba45bd9ecfc257eaf75.tar
colin-keep-bc332b7a18480a7c8db34ba45bd9ecfc257eaf75.tar.gz
colin-keep-bc332b7a18480a7c8db34ba45bd9ecfc257eaf75.tar.bz2
colin-keep-bc332b7a18480a7c8db34ba45bd9ecfc257eaf75.tar.xz
colin-keep-bc332b7a18480a7c8db34ba45bd9ecfc257eaf75.zip
added basic modules for firewall configuration (still not working)
Diffstat (limited to 'lib/AdminPanel/Shared/Firewall.pm')
-rw-r--r--lib/AdminPanel/Shared/Firewall.pm37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/AdminPanel/Shared/Firewall.pm b/lib/AdminPanel/Shared/Firewall.pm
new file mode 100644
index 0000000..2638ff8
--- /dev/null
+++ b/lib/AdminPanel/Shared/Firewall.pm
@@ -0,0 +1,37 @@
+# vim: set et ts=4 sw=4:
+#*****************************************************************************
+#
+# Copyright (c) 2013-2014 Matteo Pasotti <matteo.pasotti@gmail.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+#*****************************************************************************
+package AdminPanel::Shared::Firewall;
+
+use Moose;
+use diagnostics;
+use utf8;
+
+use lib qw(/usr/lib/libDrakX);
+# WARNING: using common
+use common;
+use network::nfs;
+use network::network;
+use network::shorewall;
+
+sub _initialize {
+ my $self = shift();
+}
+
+1;