summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2014-12-30 22:29:25 +0100
committerMaarten Vanraes <alien@mageia.org>2014-12-30 22:29:25 +0100
commit156d1361a8584e743ad0626cedc28155fc78e54a (patch)
tree5e431f0e2e4fea20d4b0c4a6fe50ac1d121eb9ba
parent08d07c92584a7cf5da9762fd585fff8090a89def (diff)
downloaddrakx-net-156d1361a8584e743ad0626cedc28155fc78e54a.tar
drakx-net-156d1361a8584e743ad0626cedc28155fc78e54a.tar.gz
drakx-net-156d1361a8584e743ad0626cedc28155fc78e54a.tar.bz2
drakx-net-156d1361a8584e743ad0626cedc28155fc78e54a.tar.xz
drakx-net-156d1361a8584e743ad0626cedc28155fc78e54a.zip
add a forward port too (mga#14904)
apparently the same port can be used for interception and forwarding (as was the transparent functionality before)
-rw-r--r--lib/network/squid.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/squid.pm b/lib/network/squid.pm
index dbd6c54..a0481d9 100644
--- a/lib/network/squid.pm
+++ b/lib/network/squid.pm
@@ -21,6 +21,7 @@ sub write_squid_conf {
my $prefix = network::network::netmask_to_vlsm($intf->{NETMASK});
output($squid_conf_file, qq(
http_port $squid_conf->{http_port}[0] intercept
+http_port $squid_conf->{http_port}[0]
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \\?
no_cache deny QUERY