-
Couldn't load subscription status.
- Fork 23
Description
Description
As we have a modular registration with (currently) two independent channels, one as fallback, it would be good to know when each is in use.
Suggested Solution:
The channel used to register could be tracked in the DecoyRegistration struct created when a new registration comes in so that we are able to log within the entire context of the registration (i.e. source ip / geolocation / other registrations received for the same session / etc). It could then be added to func (reg *DecoyRegistration) String() string which is logged when we successfully handle a new registration.
the registration method can be added in a new field in the ZMQPayload struct used to ingest registrations from the multiple channels. It is defined in github.com/refraction-networking/gotapdance/protobuf.