<% require("viewfunctions") local form, viewlibrary = ... local service = form.service local config = form.service.config %> <% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] %> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %>

Configuration

General

These parameters define the interface and port that Dansguardian uses to accept connections.

filterip
filterport

Proxy service

These parameters define the ip address and port that Dansguardian should forward requests on to.

proxyip
proxyport

Filter Actions

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".

accessdeniedaddress
naughtynesslimit

Save Changes

<% local myform = form.service local tags = { "cmdsave", } displayinfo(myform,tags) %> <% if (service) and (service.cfgerr) and (#service.cfgerr > 0) then %>
Config status
<% io.write(service.cfgerr ) %>
<% end %>
Process information
This process runs as a service. When you make and save changes, the configuration files for the service are changed. However, the changes will not be applied until you restart the service.
<% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("startstop") end %>