Feature #1100 » diff_squid.inc.diff
| squid.inc 2010-12-21 01:16:18.000000000 -0500 | ||
|---|---|---|
| 797 | 797 |
$port = ($settings['proxy_port'] ? $settings['proxy_port'] : 3128); |
| 798 | 798 |
$settings = $config['installedpackages']['squidnac']['config'][0]; |
| 799 | 799 |
$webgui_port = $config['system']['webgui']['port']; |
| 800 |
$addtl_ports = $settings['addtl_ports']; |
|
| 801 |
$addtl_sslports = $settings['addtl_sslports']; |
|
| 800 | 802 | |
| 801 | 803 |
$conf = <<<EOD |
| 802 | 804 | |
| 803 | 805 |
# Setup some default acls |
| 804 | 806 |
acl all src 0.0.0.0/0.0.0.0 |
| 805 | 807 |
acl localhost src 127.0.0.1/255.255.255.255 |
| 806 |
acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 $webgui_port $port 1025-65535 |
|
| 807 |
acl sslports port 443 563 $webgui_port |
|
| 808 |
acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 $webgui_port $port 1025-65535 $addtl_ports
|
|
| 809 |
acl sslports port 443 563 $webgui_port $addtl_sslports
|
|
| 808 | 810 |
acl manager proto cache_object |
| 809 | 811 |
acl purge method PURGE |
| 810 | 812 |
acl connect method CONNECT |
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »