Fix up shorewall module to local standards

This commit is contained in:
Jamie Cameron
2012-05-25 13:40:56 -07:00
parent e5975ab247
commit 7e3324500a
21 changed files with 22 additions and 62 deletions

View File

@@ -72,6 +72,7 @@ else {
"mailcap", "blue-theme", "ldap-client", "phpini", "filter",
"bacula-backup", "ldap-server", "exim", "tcpwrappers",
"package-updates", "system-status", "webmincron", "ajaxterm",
"shorewall6",
);
}
@dirlist = ( "Webmin" );

View File

@@ -1,43 +1,2 @@
---- Changes since 1.360 ----
(Updates by Paul Gear <paul@gear.dyndns.org>.)
BUG: Corrected mis-handling of nested zones introduced in 1.350.
Removed debugging cruft added in 1.350.
Added support for end-of-line comments in zones, params, and shorewall6.conf.
Added support for display of long zone names under the new zones format.
Added module option to disable display of long zone names in the rules file.
---- Changes since 1.350 ----
(Updates by Paul Gear <paul@gear.dyndns.org>.)
Corrected name to "Shoreline Firewall".
Correctly determine Shorewall version for beta releases.
Corrected zones file support on version 3 or greater when IPSECFILE=ipsec.
Added bug compatibility with IPSECFILE on Shorewall 3.4.0-3.4.4.
Added support for renaming firewall zone.
Added support for editing of params & shorewall6.conf.
---- Changes since 1.140 ----
Added buttons for adding rules or other table entries above or below an existing entry.
Added support for OpenVPN and generic tunnels.
---- Changes since 1.150 ----
Added the ability to edit the blacklist table.
---- Changes since 1.160 ----
Added a button for manually editing a table file.
Added simple access control, written by Stephen Carville.
---- Changes since 1.170 ----
Improved access control, to limit which Shorewall tables a user can edit.
---- Changes since 1.180 ----
Added Module Config page options for commands to run before and after starting, applying and refreshing Shorewall.
---- Changes since 1.200 ----
Added support for standard Shorewall actions on the rules page.
---- Changes since 1.240 ----
Added support for the providers Shorewall table.
---- Changes since 1.250 ----
Updated the module to support new options and columns in Shorewall version 3, such as macros, the new zones table and so on.
Several records can be deleted at once from any table using checkboxes next to them.
---- Changes since 1.320 ----
Comments can now be created and edited in the rules table (and a few others), when running Shorewall 3.3.3 or higher.
Added logging so that changes made using the module show up in the Webmin Actions Log module.
---- Changes since 1.390 ----
Blacklist rules can now match any host.
---- Changes since 1.480 ----
Added a button to create a shorewall6 dump, thanks to a patch by Paul Gear.
---- Changes since 1.500 ----
New rules are added after the SECTION NEW line, if there is one.
---- Changes since 1.580 ----
First version of this module, a fork of the existing Shorewall module but for IPv6. Contributed by Wouter van Bommel.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# check.cgi
# Check if the firewall is valid

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# clear.cgi
# Clear out all rules

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Delete a bunch of table rows
require './shorewall6-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# down.cgi
# Move a row in a table down

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# dump.cgi
# Show a shorewall6 dump

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# edit.cgi
# Display a form for editing or creating a table entry

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Display a form for editing or creating a comment
require './shorewall6-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# index.cgi
# Display icons for the various shorewall6 configuration files

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# list.cgi
# Display the contents of some table

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Display the contents of a table file
require './shorewall6-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Save the contents of a table file
require './shorewall6-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# refresh.cgi
# Activate the current config

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# restart.cgi
# Activate the current config

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# save.cgi
# Updated, modify or delete a table entry

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# Updated, modify or delete a comment
require './shorewall6-lib.pl';

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# start.cgi
# Make the firewall active

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# status.cgi
# Show the status

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# stop.cgi
# Shut down the firewall

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/local/bin/perl
# up.cgi
# Move a row in a table up