-
Notifications
You must be signed in to change notification settings - Fork 389
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
base: dev
Are you sure you want to change the base?
feature/mozilla upstream #1237
Conversation
@@ -236,17 +262,6 @@ bool WindowsFirewall::enablePeerTraffic(const InterfaceConfig& config) { | |||
} | |||
} | |||
|
|||
if (!config.m_excludedAddresses.empty()) { |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
No description provided.