blob: 3adff094c3ea270588dcefad45908ce0e479501f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<%
require("viewfunctions")
local form, viewlibrary, page_info, session = ...
%>
<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
end %>
<h1>Configuration</h1>
<%
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
displayformstart(form)
for field,val in pairs(form.value) do
val.name = field
end
%>
</DL>
<h2>General</h2>
<dl>
<p>
These parameters define the interface and port that Dansguardian uses to accept connections.
</p>
<%
displayformitem(form.value.filterip)
displayformitem(form.value.filterport)
%>
</dl>
<h2>Proxy service</h2>
<dl>
<p>
These parameters define the ip address and port that Dansguardian should forward requests on to.
</p>
<%
displayformitem(form.value.proxyip)
displayformitem(form.value.proxyport)
%>
</dl>
<h2>Filter Actions</h2>
<dl>
<p>
These parameters define how sensitive the filter is, and where to redirect requests if the content filter
determines that the content is inappropriate. The "naughtynesslimit" is more sensitive the lower it is set.
The author recommends 50 for "young children", 100 for "older children" and 160 for "young adults".
</p>
<%
displayformitem(form.value.accessdeniedaddress)
displayformitem(form.value.naughtynesslimit)
%>
</dl>
<h2>Save Changes</h2>
<DL>
<% displayformend(form) %>
</DL>
|