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

feature/mozilla upstream #1237

Draft
wants to merge 13 commits into
base: dev
Choose a base branch
from
Draft

feature/mozilla upstream #1237

wants to merge 13 commits into from

Conversation

Nethius
Copy link
Collaborator

@Nethius Nethius commented Nov 7, 2024

No description provided.

@@ -236,17 +262,6 @@ bool WindowsFirewall::enablePeerTraffic(const InterfaceConfig& config) {
}
}

if (!config.m_excludedAddresses.empty()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

We need this part for splittunnel excluded sites

@@ -484,57 +549,6 @@ bool WindowsFirewall::allowTrafficTo(const QHostAddress& targetIP, uint port,
return true;
}

bool WindowsFirewall::allowTrafficToRange(const IPAddress& addr, uint8_t weight,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Split tunnel supports routes with network mask. That's why we rewrite default "allowTraffic".

}
if (InetPtonW(AF_INET6, ipv6.c_str(), out_ipv6) != 1) {
logger.debug() << "Ipv6 Conversation error" << WSAGetLastError();
return false;
Copy link
Collaborator

@outspace outspace Dec 24, 2024

Choose a reason for hiding this comment

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

Not sure about this part. It breaks app split tunnel when ipv6 is not setup.

We can just ignore when ipv6 address is not setup.

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