TDI驱动源代码

上传者: fanxiushu | 上传时间: 2013-03-30 00:00:00 | 文件大小: 567KB | 文件类型: rar
这个是TDI驱动,本来做这个驱动的目的, 是想在应用层程序实时动态获得每个进程打开的网络端口的变化情况。 因为想不到更好的办法,同时也要兼容WIN7和WINXP,所以才使用TDI来实现。 代码是自己开发的框架,没借用tdifw等源码, 代码测试可在 64和32位位win7,winxp上运行。 除了实现获得动态变化的端口之外, 还顺便实现了每个进程的流量监控,以及每个进程的每个连接的流量情况, 还有简单的禁止某个进程访问网络,至于每个进程限速的功能,暂时没实现, 有兴趣的朋友可在此基础上做扩展, 等你做好之后就能把握理解360流量防火墙的限速的核心部分了。 应用层部分只提供了接口代码,没有做更详细的开发,有兴趣的朋友可开发。 做这驱动大概只用了10天时间,时间比较仓促,还望大牛们纠错指出。

文件下载

资源详情

[{"title":"( 68 个子文件 567KB ) TDI驱动源代码","children":[{"title":"bin","children":[{"title":"xlantdi.sys <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"xtdi_app.exe <span style='color:#111;'> 232.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"driver","children":[{"title":"obj_mgr.cpp <span style='color:#111;'> 14.45KB </span>","children":null,"spread":false},{"title":"rbtree.c <span style='color:#111;'> 8.93KB </span>","children":null,"spread":false},{"title":"xlantdi.sys <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"xfilter.h <span style='color:#111;'> 5.55KB </span>","children":null,"spread":false},{"title":"xlantdi.pdb <span style='color:#111;'> 419.00KB </span>","children":null,"spread":false},{"title":"buildchk_win7_x86.log <span style='color:#111;'> 5.12KB </span>","children":null,"spread":false},{"title":"buildfre_win7_amd64.log <span style='color:#111;'> 6.74KB </span>","children":null,"spread":false},{"title":"ioctl.h <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"xfilter.cpp <span style='color:#111;'> 10.12KB </span>","children":null,"spread":false},{"title":"makefile <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"xioctl.cpp <span style='color:#111;'> 7.71KB </span>","children":null,"spread":false},{"title":"xf_send.cpp <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false},{"title":"xf_recv.cpp <span style='color:#111;'> 8.01KB </span>","children":null,"spread":false},{"title":"xf_create.cpp <span style='color:#111;'> 6.81KB </span>","children":null,"spread":false},{"title":"xioctl.h <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"xtdi.h <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"objchk_win7_x86","children":[{"title":"i386","children":[{"title":"xf_connect.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"obj_mgr.obj <span style='color:#111;'> 50.97KB </span>","children":null,"spread":false},{"title":"rbtree.obj <span style='color:#111;'> 11.82KB </span>","children":null,"spread":false},{"title":"main.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"xf_connect.obj <span style='color:#111;'> 36.29KB </span>","children":null,"spread":false},{"title":"_objects.mac <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"xf_recv.obj <span style='color:#111;'> 38.22KB </span>","children":null,"spread":false},{"title":"xf_send.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"xioctl.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'> 156.00KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 30.88KB </span>","children":null,"spread":false},{"title":"rbtree.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"obj_mgr.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 975B </span>","children":null,"spread":false},{"title":"xf_create.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 609B </span>","children":null,"spread":false},{"title":"xfilter.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"xf_recv.obj.oacr.root.x86chk.pft.xml <span style='color:#111;'> 5.25KB </span>","children":null,"spread":false},{"title":"xf_create.obj <span style='color:#111;'> 39.91KB </span>","children":null,"spread":false},{"title":"xf_send.obj <span style='color:#111;'> 27.01KB </span>","children":null,"spread":false},{"title":"xioctl.obj <span style='color:#111;'> 36.03KB </span>","children":null,"spread":false},{"title":"xfilter.obj <span style='color:#111;'> 48.07KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"xf_connect.cpp <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"sources <span style='color:#111;'> 769B </span>","children":null,"spread":false},{"title":"rbtree.h <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"obj_mgr.h <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false},{"title":"objfre_win7_amd64","children":[{"title":"amd64","children":[{"title":"main.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"xf_create.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 609B </span>","children":null,"spread":false},{"title":"obj_mgr.obj <span style='color:#111;'> 100.54KB </span>","children":null,"spread":false},{"title":"xfilter.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"rbtree.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"xf_send.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"rbtree.obj <span style='color:#111;'> 14.30KB </span>","children":null,"spread":false},{"title":"xf_connect.obj <span style='color:#111;'> 85.68KB </span>","children":null,"spread":false},{"title":"_objects.mac <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"xf_connect.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"xf_recv.obj <span style='color:#111;'> 87.31KB </span>","children":null,"spread":false},{"title":"obj_mgr.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 976B </span>","children":null,"spread":false},{"title":"xf_recv.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 5.25KB </span>","children":null,"spread":false},{"title":"vc90.pdb <span style='color:#111;'> 156.00KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 80.74KB </span>","children":null,"spread":false},{"title":"xioctl.obj.oacr.root.amd64fre.pft.xml <span style='color:#111;'> 4.06KB </span>","children":null,"spread":false},{"title":"xf_create.obj <span style='color:#111;'> 87.62KB </span>","children":null,"spread":false},{"title":"xf_send.obj <span style='color:#111;'> 80.49KB </span>","children":null,"spread":false},{"title":"xioctl.obj <span style='color:#111;'> 87.81KB </span>","children":null,"spread":false},{"title":"xfilter.obj <span style='color:#111;'> 93.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"app","children":[{"title":"xtdi_app.dsp <span style='color:#111;'> 4.27KB </span>","children":null,"spread":false},{"title":"xtdi_api.h <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"xtdi_api.c <span style='color:#111;'> 8.43KB </span>","children":null,"spread":false},{"title":"xtdi_app.dsw <span style='color:#111;'> 539B </span>","children":null,"spread":false}],"spread":true},{"title":"说明.txt <span style='color:#111;'> 584B </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • iceidolon :
    学习中。。。。。
    2019-03-07
  • wenbin0727 :
    不错的TDI代码,值得学习!
    2018-11-13
  • taoranmail :
    好象是WFP哦!
    2018-10-05
  • 沐枫秋茗 :
    可以用,谢谢分享!
    2017-06-27
  • 木叶幽丸 :
    正在学习中 ,谢谢楼主
    2017-05-04

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明