nymtech / nym

Nym provides strong network-level privacy against sophisticated end-to-end attackers, and anonymous transactions using blinded, re-randomizable, decentralized credentials.
https://nymtech.net
1.28k stars 234 forks source link

Entry- and Exit-Gateway can be identical #4633

Open wiiinnie opened 5 months ago

wiiinnie commented 5 months ago

Describe the issue When choosing the same country as entry and exit location you can end up using the same node. So a 2-hop basically turns into a 1-hop vpn

Expected behaviour Expect to have different Entry- / Exit-Gateways selected

Stack Traces

Screenshot 2024-06-07 at 10 33 48

Steps to Reproduce Steps to reproduce the behaviour, if you're familiar with BDD syntax, please write it in this style:

An example:

Screenshots

Screenshot 2024-06-07 at 10 33 48

Which area of Nym were you using?

Additional context

octol commented 5 months ago

Yep, from the system perspective there is no reason a gateway can't act as both entry and exit for the same client. But I think we want to guard against this happening in the gateway selection process in the vpn client