Hi,

On Thu, Feb 4, 2016 at 5:51 AM, ValdikSS <i...@valdikss.org.ru> wrote:

> It's not for DNS resolution (although it should work if "DNS Client"
> service is disabled), it's not to break OpenVPN servers on TCP/UDP port 53.


I missed that.. Thanks and that does work.

So back to the patch, I lost the original email, so referring to
http://article.gmane.org/gmane.network.openvpn.devel/10998

From: ValdikSS <iam <at> valdikss.org.ru>
> Subject: [PATCH] Update --block-outside-dns to work on Windows Vista
> Date: 2016-01-15 23:35:38 GMT
> Windows Vista doesn't support non-equal matching of application name, it
> is available only since Windows 7.
> This commit splits 2 filtering conditions with non-equal matching to 2
> filters each with 1 filtering
> condition: permit IPv4 (first filter) and IPv6 (second filter) port 53
> traffic from openvpn.exe
> instead of blocking all non-openvpn.exe traffic on port 53 for both
> protocols.
> ---
>  src/openvpn/win32.c | 35 +++++++++++++++++++++++++++--------
>  1 file changed, 27 insertions(+), 8 deletions(-)


Code looks fine, and tested on Win7/Win10.

Assuming this fixes the vista issue, ACK.

Selva

Reply via email to