clean one log
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
config/config.go
Normal file → Executable file
0
config/config.go
Normal file → Executable file
0
fproxy/new.go
Normal file → Executable file
0
fproxy/new.go
Normal file → Executable file
0
fproxy/new_test.go
Normal file → Executable file
0
fproxy/new_test.go
Normal file → Executable file
2
fproxy/serve.go
Normal file → Executable file
2
fproxy/serve.go
Normal file → Executable file
@@ -108,7 +108,7 @@ func (fp *FProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if contains(fp.bypass, baseHost(r.URL.Host)) {
|
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)
|
fp.Passthrough(w, r)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
0
main_test.go
Normal file → Executable file
0
main_test.go
Normal file → Executable file
0
oldmain.go
Normal file → Executable file
0
oldmain.go
Normal file → Executable file
0
ramdisk.sh
Normal file → Executable file
0
ramdisk.sh
Normal file → Executable file
2
work.sh
Normal file → Executable file
2
work.sh
Normal file → Executable file
@@ -11,4 +11,4 @@ if [ ! -d /Volumes/bldisk ]; then
|
|||||||
fi
|
fi
|
||||||
port="${1:-9181}"
|
port="${1:-9181}"
|
||||||
echo Proxy on :$port
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user