Can't set DERP_STUN and DERP_VERIFY_CLIENTS to false
tzhao11 opened this issue · 4 comments
tzhao11 commented
derper seems to parse boolean argument solely based on whether the corresponding command line flag exists or not, regardless of its value, so passing in --stun false
or --verify-clients false
has no effect. We might need to stop passing these flags to derper when DERP_STUN
and DERP_VERIFY_CLIENTS
are not set to true
.
I can't think of a clean way to do this without introducing an entrypoint script. Any ideas?
fredliang44 commented
thanks for your report, let me take a look.
fredliang44 commented
it seems derper using the "flag" package, switching to "=" seems to be working.
fredliang44 commented
@tzhao11 I updated the command in the main branch, could you help me double check whether it works as expected now?
tzhao11 commented
@fredliang44 working as expected now. Thanks for the fix!