quisp icon indicating copy to clipboard operation
quisp copied to clipboard

Connection ID for connection setup request

Open Naphann opened this issue 3 years ago • 0 comments

Current Behaviour

Currently, during the connection setup process. During the outbound pass, all the nodes reserve the QNIC for the connection but they don't keep track of anything. ConnectionSetupRequest carries the information about QNIC address and QNIC type and let Responder node decide everything.

Problem

This is not a good design. If the node somehow received a RuleSet from some certain ConnectionSetupResponse, it wouldn't know if the QNICs were reserved for this response or not. It node should contain the information like connection ID and check if the response it gets has the same ID or not.

Information of QNIC address and QNIC type shouldn't be propagated to other nodes as well. The responder should only know about the quality of the link not all the characteristic.

Expected Change

Connection setup should have ConnectionID that is unique. We can also use this to refer the the RuleSet ID as well.

Naphann avatar Sep 04 '21 17:09 Naphann