Skip to content

Port Randomization

hazenluk edited this page Sep 22, 2021 · 2 revisions

Port randomization is a planned Conjure feature with work started during Summer 2021.

The fork containing this work can be found here.

This is an un-tested/unfinished modification to the conjure station which should allow clients to use conjure on ports other than 443 (note: registration still occurs on 443). The client should select the port and include it as a uint_32 in the phantom_port member of the ClientToStation Protobuf. In order to get this running, the following should be done:

  1. Compile proto/signalling.proto into proto/signalling.rs (and signalling.pb.go in the gotapdance repo).
  2. Modify client to choose port and include in protobuf sent to station during registration (probably set up as a debugging mode first).
  3. Test client-station connectivity and whether port selection works, and implement fixes if it doesn't.