diff --git a/README.md b/README.md index ca0173689..2f31f993d 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,9 @@ FLAGS --gool enable gool mode (warp in warp) --cfon enable psiphon mode (must provide country as well) --country STRING psiphon country code (valid values: [AT BE BG BR CA CH CZ DE DK EE ES FI FR GB HU IE IN IT JP LV NL NO PL RO RS SE SG SK UA US]) (default: AT) - --scan enable warp scanning (experimental) + --scan enable warp scanning --rtt DURATION scanner rtt limit (default: 1s) + -c, --config STRING path to config file ``` ### Country Codes for Psiphon diff --git a/app/app.go b/app/app.go index f2b4f0d56..d4e0c9fdb 100644 --- a/app/app.go +++ b/app/app.go @@ -111,7 +111,11 @@ func runWarp(ctx context.Context, l *slog.Logger, bind netip.AddrPort, endpoint return err } - tnet.StartProxy(bind) + _, err = tnet.StartProxy(bind) + if err != nil { + return err + } + l.Info("serving proxy", "address", bind) return nil