diff options
author | Charlie <root@testfbsd8.localdomain> | 2009-07-08 14:45:06 +0000 |
---|---|---|
committer | Charlie <root@testfbsd8.localdomain> | 2009-07-08 14:45:29 +0000 |
commit | cc47995dd0b4f7a44c36a94d6f4feabddc418e12 (patch) | |
tree | d54a022f4a72f025e16d50b6ab708b47e7fbecfe /config/squid/squid.inc | |
parent | dae4090094c2d03a8659d8a1c2e69763f06139bb (diff) | |
download | pfsense-packages-cc47995dd0b4f7a44c36a94d6f4feabddc418e12.tar.gz pfsense-packages-cc47995dd0b4f7a44c36a94d6f4feabddc418e12.tar.bz2 pfsense-packages-cc47995dd0b4f7a44c36a94d6f4feabddc418e12.zip |
Add needed code to packages to confirm to 2.0 rules for adding firewall rules. NOTE: other packages might need intervention but for now this is the neccessary minimum to remove dependency on pkg-utils.inc on filter.inc
Diffstat (limited to 'config/squid/squid.inc')
-rw-r--r-- | config/squid/squid.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc index dbd8267f..4200f02e 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -1268,6 +1268,7 @@ function squid_generate_rules($type) { $rules .= "\n"; break; case 'filter': + case 'rule': foreach ($ifaces as $iface) { $rules .= "# Setup squid pass rules for proxy\n"; $rules .= "pass in quick on $iface proto tcp from any to !($iface) port 80 flags S/SA keep state\n"; @@ -1288,4 +1289,4 @@ function squid_generate_rules($type) { return $rules; } -?>
\ No newline at end of file +?> |