*Empty MediaWiki Message*
This commit is contained in:
parent
fcca466094
commit
624dc52327
|
@ -9,7 +9,7 @@ FreeBSD Jail Container
|
||||||
* collectd 5
|
* collectd 5
|
||||||
|
|
||||||
== Verwendungszweck ==
|
== Verwendungszweck ==
|
||||||
* proxy.pac für Squid Jail
|
* proxy.pac für Squid Jail / tor Jail
|
||||||
* SNMP Auswertung
|
* SNMP Auswertung
|
||||||
* ReverseProxy für /How_to_fix_your_hq_network/
|
* ReverseProxy für /How_to_fix_your_hq_network/
|
||||||
|
|
||||||
|
@ -63,6 +63,39 @@ SSLProxyEngine On
|
||||||
</Proxy>
|
</Proxy>
|
||||||
</source>
|
</source>
|
||||||
|
|
||||||
|
== proxy.pac ==
|
||||||
|
|
||||||
|
<source lang=bash>
|
||||||
|
function FindProxyForURL(url, host) {
|
||||||
|
|
||||||
|
squid = "PROXY 172.22.99.53:3128; DIRECT";
|
||||||
|
tor = "SOCKS 172.22.99.75:9050";
|
||||||
|
|
||||||
|
if (shExpMatch(host,"*.onion")) {
|
||||||
|
return tor;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((host == "172.22.99.54") ||
|
||||||
|
(host == "watchbert.hq.c3d2.de")) {
|
||||||
|
return "DIRECT";
|
||||||
|
}
|
||||||
|
|
||||||
|
// no proxy for local hosts without domain:
|
||||||
|
if(isPlainHostName(host)) return direct;
|
||||||
|
|
||||||
|
// //We only cache http
|
||||||
|
// if (
|
||||||
|
// url.substring(0, 4) == "ftp:" ||
|
||||||
|
// url.substring(0, 6) == "rsync:"
|
||||||
|
// )
|
||||||
|
// return direct;
|
||||||
|
|
||||||
|
// proxy everything else:
|
||||||
|
return proxy;
|
||||||
|
}
|
||||||
|
</source>
|
||||||
|
|
||||||
== Log ==
|
== Log ==
|
||||||
|
* 05.06.2014 - Tor.onion per proxy.pac
|
||||||
* 17.05.2014 - Wiki ReverseProxy für kaputtes .1er Gateway
|
* 17.05.2014 - Wiki ReverseProxy für kaputtes .1er Gateway
|
||||||
* 16.04.2014 - einfaches Basis Setup
|
* 16.04.2014 - einfaches Basis Setup
|
||||||
|
|
Loading…
Reference in New Issue
Block a user