From f92d86eff5e525ac55ac396a0ca0341d92aa0365 Mon Sep 17 00:00:00 2001 From: Fernando Lemos Date: Tue, 5 Sep 2006 14:55:17 +0000 Subject: New Squid stuff, to be backported or whatever. --- packages/squid-head/squid_nac.xml | 101 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 packages/squid-head/squid_nac.xml (limited to 'packages/squid-head/squid_nac.xml') diff --git a/packages/squid-head/squid_nac.xml b/packages/squid-head/squid_nac.xml new file mode 100644 index 00000000..b7bbf8c9 --- /dev/null +++ b/packages/squid-head/squid_nac.xml @@ -0,0 +1,101 @@ + + + squid.inc + squidnac + Proxy server: Access control + + + General settings + /pkg_edit.php?xml=squid.xml&id=0 + + + Upstream proxy + /pkg_edit.php?xml=squid_upstream.xml&id=0 + + + Cache management + /pkg_edit.php?xml=squid_cache.xml&id=0 + + + Access control + /pkg_edit.php?xml=squid_nac.xml&id=0 + + + + Traffic management + /pkg_edit.php?xml=squid_traffic.xml&id=0 + + + Auth settings + /pkg_edit.php?xml=squid_auth.xml&id=0 + + + Local users + /pkg.php?xml=squid_users.xml + + + + + allowed_subnets + Allowed subnets + Those are the subnets (separated by commas) that are allowed to use the proxy. The subnets must be expressed as CIDR ranges (e.g.: 192.168.1.0/24). Note that the proxy interface subnet is already an allowed subnet. All the other subnets won't be able to use the proxy. + textarea + 5 + 50 + + + unrestricted_hosts + Unrestricted IPs + The IP addresses specified here (separated by commas) won't be filtered out by the other access control directives set in this page. + textarea + 5 + 50 + + + unrestricted_macs + Unrestricted MAC Addresses + The MAC addresses specified here (separated by commas) won't be filtered out by the other access control directives set in this page. + textarea + 5 + 50 + + + banned_hosts + Banned host addresses + The IP addresses specified here (separated by commas) won't be allowed to use the proxy. + textarea + 5 + 50 + + + banned_macs + Banned MAC addresses + The MAC addresses specified here (separated by commas) won't be allowed to use the proxy. + textarea + 5 + 50 + + + whitelist + Whitelist + Those are the sites (separated by commas) that will be accessable to the users that are allowed to use the proxy. + textarea + 5 + 50 + + + blacklist + Blacklist + Those are the sites (separated by commas) that will be blocked to the users that are allowed to use the proxy. + textarea + 5 + 50 + + + + squid_validate_nac($_POST, &$input_errors); + + + squid_resync(); + + -- cgit v1.2.3