1 |
diff -Nur e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost |
2 |
--- e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost 2015-04-13 15:35:20.105000000 +0200 |
3 |
+++ e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/20ACL10localhost 2015-04-13 15:55:02.575000000 +0200 |
4 |
@@ -18,5 +18,7 @@ |
5 |
} |
6 |
|
7 |
$OUT .= "acl localsrc src $localAccess\n"; |
8 |
- $OUT .= "acl localdst dst $localAccess"; |
9 |
+ $OUT .= "acl localdst dst $localAccess\n"; |
10 |
+ $OUT .= "acl selfdst dst 127.0.0.1 $LocalIP\n"; |
11 |
+ $OUT .= "acl selfport port " . ($squid{TCPPort} || '3128'); |
12 |
} |
13 |
diff -Nur e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf |
14 |
--- e-smith-proxy-5.4.0/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf 1970-01-01 01:00:00.000000000 +0100 |
15 |
+++ e-smith-proxy-5.4.0_bz8907/root/etc/e-smith/templates/etc/squid/squid.conf/40http_access40denySelf 2015-04-13 15:53:47.920000000 +0200 |
16 |
@@ -0,0 +1 @@ |
17 |
+http_access deny selfdst selfport |