# driver2socks **Repository Path**: ybbCC/driver2socks ## Basic Information - **Project Name**: driver2socks - **Description**: No description available - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-25 - **Last Updated**: 2024-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # driver2socks 在驱动层拦截指定应用的流量转发到socks5服务器实现socks5代理的效果 ### 使用的第三方项目 1. [WinDivert](https://reqrypt.org/windivert.html),魔改了源码,以实现在驱动层根据应用程序名称拦截ip数据包; 2. [LWIP](https://savannah.nongnu.org/projects/lwip/),魔改了源码,以实现接收任意ip数据包并建立虚拟tcpip协议堆栈,将流量转发到socks5客户端; 3. [Melon](https://github.com/Water-Melon/Melon) ,修改了其中的mln_rbtree,在Windows内核空间实现红黑树,用来过滤需要拦截的IP包信息; ![](https://raw.githubusercontent.com/dosmlp/driver2socks/main/d2s.png) ### 待开发。。。 - [ ] 拦截系统DNS查询,转为dot安全dns - [x] 增加配置文件 - [x] 支持ipv6 - [ ] 支持UDP - [ ] 根据目标IP地址进行拦截 ### 注意事项 请用管理员权限运行 驱动程序未签名,需要进入测试模式才能加载成功