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

Relay selector doesn't force a blocked state with daita and obfuscation on #7324

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

rablador
Copy link
Contributor

@rablador rablador commented Dec 11, 2024

Bug repro steps:

  • Enable DAITA
  • Enable Shadowsocks on a custom port
  • Select Netherlands

Observed behavior:

  • App tries to connect via shadowsocks using multihop to satisfy settings.

The app tries to use multihop to connect because no dutch DAITA relays have extra_shadowsocks_addr_in.

Expected behavior:

If the app cannot connect to a DAITA relay due to a constraint that only applies to entry relays, the app should enter the blocked state.


This change is Reviewable

@rablador rablador added bug iOS Issues related to iOS labels Dec 11, 2024
@rablador rablador self-assigned this Dec 11, 2024
Copy link

linear bot commented Dec 11, 2024

@rablador rablador force-pushed the relay-selector-doesnt-force-a-blocked-state-ios-975 branch 2 times, most recently from dff2ead to eced810 Compare December 11, 2024 13:35
Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

Let's make sure we add a test to cover this edge case

Reviewed 6 of 10 files at r1, all commit messages.
Reviewable status: 6 of 10 files reviewed, all discussions resolved

@rablador rablador force-pushed the relay-selector-doesnt-force-a-blocked-state-ios-975 branch 2 times, most recently from fa9fa20 to 0c9d78e Compare December 12, 2024 12:40
Copy link
Contributor

@buggmagnet buggmagnet left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 10 files at r1, 4 of 4 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@rablador rablador force-pushed the relay-selector-doesnt-force-a-blocked-state-ios-975 branch from 0c9d78e to 44185ae Compare December 13, 2024 09:56
@rablador rablador merged commit efecc8e into main Dec 13, 2024
10 of 11 checks passed
@rablador rablador deleted the relay-selector-doesnt-force-a-blocked-state-ios-975 branch December 13, 2024 10:01
Copy link

🚨 End to end tests failed. Please check the failed workflow run.

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

Successfully merging this pull request may close these issues.

2 participants