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

Adds BSK support for the transparent proxy network extension #652

Merged
merged 10 commits into from
Feb 21, 2024

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Feb 4, 2024

@diegoreymendez diegoreymendez merged commit da6a822 into main Feb 21, 2024
7 checks passed
@diegoreymendez diegoreymendez deleted the diego/transparent-proxy branch February 21, 2024 20:29
diegoreymendez added a commit to duckduckgo/macos-browser that referenced this pull request Feb 21, 2024
Task/Issue URL: https://app.asana.com/0/0/1206462407536023/f
Tech Design URLs:
- [Tech Design: How to exclude Data Broker
traffic?](https://app.asana.com/0/481882893211075/1206363506060150/f)
- [Tech Design: Mechanism to allow PIR to start excluding its traffic
from the VPN
tunnel](https://app.asana.com/0/481882893211075/1206446978081253/f)
- [Tech Design: How will the proxy recover from
failure?](https://app.asana.com/0/481882893211075/1206446978546262)

iOS PR: duckduckgo/iOS#2429
BSK PR: duckduckgo/BrowserServicesKit#652

## Description

Adds a transparent proxy that allows excluding app and domain traffic
from the VPN.

## Known issues / limitations

###  Issue 1: Exclusion delay on existing flows

When switching off an exclusion, connection flows seem to switch
immediately to routing through the tunnel interface again.

However when turning the exclusion back ON, connection flows seem to
take a bit before routing back through the proxy.

This should not be a big problem as eventually connections start being
excluded correctly again. It's unclear at this point if this is a macOS
bug, or a bug on our proxy - but I don't think this should be a blocker
by any means.
diegoreymendez added a commit to duckduckgo/iOS that referenced this pull request Feb 21, 2024
Task/Issue URL: https://app.asana.com/0/0/1206462407536023/f
Tech Design URL:
- [Tech Design: How to exclude Data Broker traffic?](https://app.asana.com/0/481882893211075/1206363506060150/f)
- [Tech Design: Mechanism to allow PIR to start excluding its traffic from the VPN tunnel](https://app.asana.com/0/481882893211075/1206446978081253/f)
- [Tech Design: How will the proxy recover from failure?](https://app.asana.com/0/481882893211075/1206446978546262)

macOS PR: duckduckgo/macos-browser#2128
BSK PR: duckduckgo/BrowserServicesKit#652

## Description

The changes from BSK shouldn't affect iOS.  We're only making sure the latest BSK version is integrated.
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