fix nilpointer dereference in server hopping mode

fix nilpointer dereference in server hopping mode, in case ports obvpn wants to listen to ports thar are already bound. Allow 10% failure rate for failing port bindings for now, clients should hop to next IP:port tuple if dialing fails.

  • Let's discuss if we want to apply a stricter rule for obfsvpn, I've also not tested yet the client behavior if dialing fails due to remote ports that run a different service than obfsvpn (or none at all) on an expected hopping port.
  • More generally I should test the client behavior regarding failing dialing in hopping mode regarding timeouts (I assume we want rather quicker dialing timeouts for the hopping mode and/or some logic that ensures the client keeps using a working connection until a successful obfs4 connection to another IP:port was established)

closes #65 (closed)

Edited by cyberta

Merge request reports

Loading