我们可以使用Windows过滤平台(WFP)来阻止从特殊站点(例如:facebook.com)收听端口的浏览器吗? [英] Can we use Windows Filtering Platform (WFP) to block a browser that's listening on a port from special site (ex: facebook.com)?

查看:269
本文介绍了我们可以使用Windows过滤平台(WFP)来阻止从特殊站点(例如:facebook.com)收听端口的浏览器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以使用Windows过滤平台(WFP)阻止用户访问特殊网站(如facebook.com)吗?

Can we use Windows Filtering Platform (WFP) to prevent the user to access a special site (like facebook.com)?

假设我们可以过滤监听端口以获取浏览器的句柄。然后阻止此浏览器浏览某些URL,如facebook.com。

Assume that we can filter on the listening ports to get the handle to the browser. Then prevent this browser to brows to some URL like facebook.com.

推荐答案

是的,这可以是完成:

Yes this can be done by:


  • 将ALE_CONNECT_REDIRECT层的TCP连接重定向到您自己的本地用户模式服务
  • 此服务然后解析HTTP Host:属性HTTPS SNI属性(如果存在)提取连接到的主机
  • 如果主机名是facebook.com,您可以关闭代理连接,如果是myallowedsite.com,您可以来回代理流量

WFPSampler驱动程序示例是一个很好的起点。

The WFPSampler driver sample is a good starting point for this.

J


这篇关于我们可以使用Windows过滤平台(WFP)来阻止从特殊站点(例如:facebook.com)收听端口的浏览器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆