diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/chaining b/chaining old mode 100644 new mode 100755 diff --git a/config/config.go b/config/config.go old mode 100644 new mode 100755 diff --git a/fproxy/new.go b/fproxy/new.go old mode 100644 new mode 100755 diff --git a/fproxy/new_test.go b/fproxy/new_test.go old mode 100644 new mode 100755 diff --git a/fproxy/serve.go b/fproxy/serve.go old mode 100644 new mode 100755 index a29ba28..2c37221 --- a/fproxy/serve.go +++ b/fproxy/serve.go @@ -108,7 +108,7 @@ func (fp *FProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { return } if contains(fp.bypass, baseHost(r.URL.Host)) { - log.Print(fp.httpport, "passing through", r.URL) + log.Printf("%v: %v: %v", fp.httpport, "passing through", r.URL) fp.Passthrough(w, r) return } diff --git a/main.go b/main.go old mode 100644 new mode 100755 diff --git a/main_test.go b/main_test.go old mode 100644 new mode 100755 diff --git a/oldmain.go b/oldmain.go old mode 100644 new mode 100755 diff --git a/ramdisk.sh b/ramdisk.sh old mode 100644 new mode 100755 diff --git a/work.sh b/work.sh old mode 100644 new mode 100755 index e9b77a9..942f036 --- a/work.sh +++ b/work.sh @@ -11,4 +11,4 @@ if [ ! -d /Volumes/bldisk ]; then fi port="${1:-9181}" echo Proxy on :$port -go build -o /tmp/out && /tmp/out -fromcrt "" -port $port -secret "$(cat /Volumes/bldisk/secret)" -toaddr https://bel.house:41312 -bypass youtube.com,,googlevideo.com,,youtu.be -whitelist 192.168.0.86,,scratch.com +go build -o /tmp/out && /tmp/out -fromcrt "" -port $port -secret "$(cat /Volumes/bldisk/secret)" -toaddr https://bel.house:41312 -bypass youtube.com,,googlevideo.com,,youtu.be -whitelist 192.168.0.86,,scratch.com,,192.168.0.1