summaryrefslogtreecommitdiffstats
path: root/shorewall-read-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-read-html.lsp')
-rw-r--r--shorewall-read-html.lsp72
1 files changed, 3 insertions, 69 deletions
diff --git a/shorewall-read-html.lsp b/shorewall-read-html.lsp
index 5910c30..264c4a5 100644
--- a/shorewall-read-html.lsp
+++ b/shorewall-read-html.lsp
@@ -2,65 +2,9 @@
<h1>Firewall configuration</h1>
-<h2>GENERAL</h2>
+<h2>MENU</h2>
-<dt><?= html.link{value = view.url .. "/edit?name=shorewall.conf", label="shorewall.conf" } ?></dt>
-<dd>Modify global configuration settings.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=params", label="params" } ?></dt>
-<dd>Define variables used in the other configuratino files.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=zones", label="zones" } ?></dt>
-<dd>Name network partions. Firewal rules are applied to defined zones.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=interfaces", label="interfaces" } ?></dt>
-<dd>Map physical interfaces to named zones.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=hosts", label="hosts" } ?></dt>
-<dd>Map individual hosts or networks to named zones.</dd>
-
-<h2>FIREWALLING</h2>
-
-<dt><?= html.link{value = view.url .. "/edit?name=policy", label="policy" } ?></dt>
-<dd>Set default rules (policies) for zones.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=rules", label="rules" } ?></dt>
-<dd>Define exceptions to policies.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=routestopped", label="routestopped" } ?></dt>
-<dd>Define hosts that can access this host when the firewall is "stopped".</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=tunnels", label="tunnels" } ?></dt>
-<dd>Specify ipsec tunel endpoints.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=blacklist", label="blacklist" } ?></dt>
-<dd>List ip addresses or names that should be denied all access to the firewall.</dd>
-
-<h2>NAT</h2>
-
-<dt><?= html.link{value = view.url .. "/edit?name=masq", label="masq" } ?></dt>
-<dd>Define dynamic Masquerading or DNAT tables.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=nat", label="nat" } ?></dt>
-<dd>Define static Network Address Translation tables.</dd>
-
-<h2>QOS</h2>
-
-<dt><?= html.link{value = view.url .. "/edit?name=tos", label="tos" } ?></dt>
-<dd>Specify type of service markers for packets traversing the firewall.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=tcdevices", label="tcdevices" } ?></dt>
-<dd>Define traffic control devices.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=tcclasses", label="tcclasses" } ?></dt>
-<dd>Define traffic control classes.</dd>
-
-<dt><?= html.link{value = view.url .. "/edit?name=tcrules", label="tcrules" } ?></dt>
-<dd>Define traffic control rules.</dd>
-
-<h2>SHOW CONFIG FILES</h2>
-
-<dt><?= html.link{value = view.url .. "/list", label="View all files/configs" } ?></dt>
+<dt><?= html.link{value = view.url .. "/advanced", label="Advanced" } ?></dt>
<dd>Provide a autogenerated list of files in '/etc/shorewall'.</dd>
<h2>SYSTEM INFO</h2>
@@ -74,24 +18,14 @@
<dt>Program state</dt>
<dd><?= view.programstats.programstate ?></dd>
-<? --[[
-<dt>Show shorewall details</dt>
-<dd>[connections] Displays the IP connections currently being tracked by the firewall</dd>
---]] ?>
-
<h2>MANAGEMENT</h2>
<dt>Preform check of configs</dt>
<dd><form name="check" action="" method="POST"><input type=submit name="cmd" value="check" style="width:100px"></form></dd>
-<dt>Preform restart of firewall</dt>
+<dt>Preform fw restart</dt>
<dd><form name="restart" action="" method="POST"><input type=submit name="cmd" value="restart" style="width:100px"></form><? if (view.programstats.restart) then io.write(view.programstats.restart) end ?></dd>
-<? --[[
-<dt>Preform refresh of configs</dt>
-<dd><form action="xxx" method="POST"><input type=submit name="cmd" value="refresh" style="width:100px"></form> Involves black list, ECN control rules, and traffic shaping...</dd>
---]] ?>
-
<?
--[[ DEBUG INFORMATION
require("debugs")