+ if (!-z $acl_dst_noauth_net) { print FILE "http_access allow IPFire_unrestricted_mac to_ipaddr_without_auth\n"; }
+ if (!-z $acl_dst_noauth_dom) { print FILE "http_access allow IPFire_unrestricted_mac to_domains_without_auth\n"; }
+ if (!-z $acl_dst_noauth_url) { print FILE "http_access allow IPFire_unrestricted_mac to_hosts_without_auth\n"; }
+ }
+ if (!-z $acl_dst_noauth_net)
+ {
+ print FILE "http_access allow IPFire_networks";
+ if ($proxysettings{'TIME_ACCESS_MODE'} eq 'deny') {
+ print FILE " !within_timeframe";
+ } else {
+ print FILE " within_timeframe"; }
+ if ($proxysettings{'ENABLE_BROWSER_CHECK'} eq 'on') { print FILE " with_allowed_useragents"; }
+ print FILE " to_ipaddr_without_auth\n";
+ }
+ if (!-z $acl_dst_noauth_dom)
+ {
+ print FILE "http_access allow IPFire_networks";
+ if ($proxysettings{'TIME_ACCESS_MODE'} eq 'deny') {
+ print FILE " !within_timeframe";
+ } else {
+ print FILE " within_timeframe"; }
+ if ($proxysettings{'ENABLE_BROWSER_CHECK'} eq 'on') { print FILE " with_allowed_useragents"; }
+ print FILE " to_domains_without_auth\n";
+ }
+ if (!-z $acl_dst_noauth_url)
+ {
+ print FILE "http_access allow IPFire_networks";
+ if ($proxysettings{'TIME_ACCESS_MODE'} eq 'deny') {
+ print FILE " !within_timeframe";
+ } else {
+ print FILE " within_timeframe"; }
+ if ($proxysettings{'ENABLE_BROWSER_CHECK'} eq 'on') { print FILE " with_allowed_useragents"; }
+ print FILE " to_hosts_without_auth\n";