Censorship Resistant Tooling (Server/Client)
see https://github.com/waysact/webpack-subresource-integrity
TODO
TODO
PACFILE based SOCKS5 Proxyin'g
["Content-Type", "application/x-ns-proxy-autoconfig"]
function FindProxyForURL(url, host) {
if(shExpMatch(host, "{{.HostMatch}}")) {
return "SOCKS5 {{.SocksDestination}}";
}
{{range $key, $value := .Aliases}}
if (host == "{{$key}}") {
return "SOCKS5 {{.SocksDestination}}";
}
{{end}}
return "DIRECT";
}
To configure your Mac to use the proxy:
- Open System Preferences
- Select Network
- Click the 'Advanced' button
- Select the Proxies tab
- Click the 'Automatic Proxy Configuration' check box
- Enter 'http://localhost:8080/proxy.pac' in the URL box
- Remove
*.local
from the 'Bypass proxy settings for these Hosts & Domains'