shapeshifter-dispatcher icon indicating copy to clipboard operation
shapeshifter-dispatcher copied to clipboard

Fix parameter validation in SOCKS5 mode

Open dlwcarr opened this issue 5 years ago • 0 comments

validateServerBindAddr is always getting called, which requires that a valid combination of --bindaddr, --bindhost, and --bindport are set, but those parameters can't be used in SOCKS5 mode. This just skips the parameter validation in SOCKS5 mode, because the TOR_PT_SERVER_BINDADDR env var will get validated later in getServerBindaddrs anyway.

I also updated the README example so that the env var parses correctly.

dlwcarr avatar Oct 15 '20 20:10 dlwcarr