# drv2socks **Repository Path**: dosmlp/drv2socks ## Basic Information - **Project Name**: drv2socks - **Description**: 在驱动层拦截指定应用的流量转发到socks5服务器 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-23 - **Last Updated**: 2025-03-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # drv2socks 在驱动层拦截指定应用的流量转发到用户层TCP/IP协议栈,经过解析后将流量转发到socks5服务器实现socks5代理的效果 ![输入图片说明](d2s.png) ### TODO - [ ] 拦截系统DNS查询,转为dot安全dns - [x] 增加配置文件 - [x] 支持ipv6 - [ ] 支持UDP ### 注意事项 请用管理员权限运行 驱动程序未签名,需要进入测试模式才能加载成功 ### Credits 1. [WinDivert](https://reqrypt.org/windivert.html) 魔改了源码,以实现在驱动层根据应用程序名称拦截ip数据包; 2. [LWIP](https://savannah.nongnu.org/projects/lwip/) 魔改了源码,以实现接收任意ip数据包并建立虚拟tcpip协议堆栈; 3. [Melon](https://github.com/Water-Melon/Melon) 在Windows内核空间实现红黑树; ### License 本项目代码仅供学习研究用途,不得在任何产品中使用本项目的代码,并且不对因使用本项目代码造成的任何后果负责