如何监控并使用的URL的过滤器列表块流量? [英] How can I monitor and block traffic using a filter list of URL's?

查看:144
本文介绍了如何监控并使用的URL的过滤器列表块流量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图创建一个监视所有传入流量,并阻止一个应用程序,如果需要,如果需要,从其他地方交通替代它。 (preferably使用的URL的组成筛选器列表)
是否有任何可能的方式做到这一点?
我已搜查谷歌和堆栈溢出,我一直没能找到有关我的需要什么。
非常感谢你对提前任何帮助。

I'm trying to create an app that monitors all incoming traffic and blocks it if required and if necessary, replace it with traffic from elsewhere. (preferably using a filter list made up of URL's) is there any possible way to do this? I have searched Google, and stack overflow and I have not been able to find anything relevant to my needs. thank you very much for any help in advance.

推荐答案

这将是艰难的。 Android有没有主机文件本身。

This will be tough. Android has no host file as such.

我想你不会想开发自己的定制ROM(因为有让你闻和过滤来回在Android设备上数据包自定义光盘)。

I assume you will not want to develop your own custom ROM (because there are custom ROMs that allow you to sniff and filter the packets going back and forth on an Android device).

看一看广播接收机。广播接收机是那种功能,你最好的选择。他们可以拦截的URL浏览器调用,电话,短信等(假设没有其他广播接收器是present具有相同或更高的优先级)。

Take a look at Broadcast Receivers. Broadcast Receivers are your best bet for that kind of functionality. They can intercept url browser calls, phone calls, SMS, etc. (assuming no other Broadcast Receivers are present with the same or higher priority).

这篇关于如何监控并使用的URL的过滤器列表块流量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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