From 9f2814c40b24b7531e8e5ceb1948bc376459d3c6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 19 Sep 2005 18:19:18 +0000 Subject: Update squid_ng package with latest from Michael Capp --- packages/squid_nac.xml | 108 +++++++++++++++++++++---------------------------- 1 file changed, 47 insertions(+), 61 deletions(-) (limited to 'packages/squid_nac.xml') diff --git a/packages/squid_nac.xml b/packages/squid_nac.xml index b4e4ff24..70521b6d 100644 --- a/packages/squid_nac.xml +++ b/packages/squid_nac.xml @@ -1,14 +1,10 @@ - - squidnac - - - - - - ['installedpackages']['package']['squidnac']['configuration']['settings'] + squidnac + Services: Squid Advanced Proxy + installedpackages->package->squidnac->configuration->settings + /pkg_edit.php?xml=squid_nac.xml&id=0 @@ -40,12 +36,12 @@ @@ -54,65 +50,55 @@ Allowed Subnets allowed_subnets - rowhelper - - - Network Address - allowed_network_address - input - 32 - number - - - - Subnet Mask - allowed_subnet_mask - select - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Subnets must be entered in the format of Network Address / Subnet Mask (e.g.: 192.168.1.0/24). Enter domains separated by a semicolon (;). + textarea + 5 + 50 Unrestricted IP Addresses unrestricted_ip_address + Specify each unrestricted IP address separated by a semicolon (;). textarea - 10 + 5 + 50 + + + + Unrestricted MAC Addresses + unrestricted_mac_addresses + Specify each unrestricted MAC address separated by a semicolon (;). + textarea + 5 + 50 + + + + Banned IP Addresses + banned_ip_addresses + Specify each banned IP address separated by a semicolon (l). + textarea + 5 + 50 + + + + Banned MAC Addresses + banned_mac_addresses + Specify each banned MAC address separated by a semicolon (;). + textarea + 5 50 + + + require_once("/usr/local/pkg/squid_ng.inc"); + + global_write_squid_config(); + mwexec("/usr/local/sbin/squid -k reconfigure"); + + \ No newline at end of file -- cgit v1.2.3