Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Product Data] Reports exit country and tickets #1565

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

simonwicky
Copy link
Contributor

@simonwicky simonwicky commented Nov 14, 2024

What it does

Add reporting of exit country and tickets used.

This PR requires nymtech/nym#5134 to be merged first


This change is Reviewable

if let Some(exit_country_code) = selected_gateways.exit.two_letter_iso_country_code() {
self.mixnet_client
.send_stats_event(
ConnectionStatsEvent::MixCountry(exit_country_code.to_string()).into(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this heavily deanonymises the mixnet mode of the vpn, by creating a link between mixnet client's identity and the exit gateway? At least in the current state, where SURBs are not implemented for mixnet mode.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this info gets sent to the aggregator and the report including this is sent through the mixer, with a stats id, hashed from the identity.
You're indeed reducing the set of gateway you might be connected to, but you're not doxing yourself by revealing your entry gateway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants