Divert-master
所属分类:其他
开发工具:WINDOWS
文件大小:112KB
下载次数:0
上传日期:2018-07-09 20:51:25
上 传 者:
jb000r
说明: WinDivert Source code
文件列表:
CHANGELOG (6589, 2018-07-03)
LICENSE (61353, 2018-07-03)
VERSION (6, 2018-07-03)
dirs (17, 2018-07-03)
dll (0, 2018-07-03)
dll\windivert.c (30557, 2018-07-03)
dll\windivert.def (419, 2018-07-03)
dll\windivert_helper.c (74796, 2018-07-03)
doc (0, 2018-07-03)
doc\windivert.html (58589, 2018-07-03)
examples (0, 2018-07-03)
examples\netdump (0, 2018-07-03)
examples\netdump\netdump.c (10202, 2018-07-03)
examples\netfilter (0, 2018-07-03)
examples\netfilter\netfilter.c (14945, 2018-07-03)
examples\passthru (0, 2018-07-03)
examples\passthru\passthru.c (4017, 2018-07-03)
examples\streamdump (0, 2018-07-03)
examples\streamdump\streamdump.c (15303, 2018-07-03)
examples\webfilter (0, 2018-07-03)
examples\webfilter\webfilter.c (16651, 2018-07-03)
include (0, 2018-07-03)
include\windivert.h (12717, 2018-07-03)
include\windivert_device.h (10566, 2018-07-03)
inf (0, 2018-07-03)
inf\windivert32.inf (1249, 2018-07-03)
inf\windivert64.inf (1249, 2018-07-03)
mingw-build.sh (4204, 2018-07-03)
release-build.sh (5073, 2018-07-03)
sys (0, 2018-07-03)
sys\Makefile (36, 2018-07-03)
sys\Makefile.inc (264, 2018-07-03)
sys\sources (515, 2018-07-03)
sys\windivert.c (130813, 2018-07-03)
sys\windivert.rc (2389, 2018-07-03)
test (0, 2018-07-03)
test\build.sh (1666, 2018-07-03)
test\test.c (21334, 2018-07-03)
... ...
WinDivert 1.4: Windows Packet Divert
====================================
1. Introduction
---------------
Windows Packet Divert (WinDivert) is a user-mode packet interception library
for Windows 7, Windows 8 and Windows 10.
WinDivert enables user-mode capturing/modifying/dropping of network packets
sent to/from the Windows network stack. In summary, WinDivert can:
- capture network packets
- filter/drop network packets
- sniff network packets
- (re)inject network packets
- modify network packets
WinDivert can be used to implement user-mode packet filters, sniffers,
firewalls, NATs, VPNs, IDSs, tunneling applications, etc..
WinDivert supports the following features:
- packet interception, sniffing, or dropping modes
- support for loopback (localhost) traffic
- full IPv6 support
- network layer
- simple yet powerful API
- high-level filtering language
- filter priorities
- freely available under the terms of the GNU Lesser General Public
License (LGPLv3)
For more information see doc/windivert.html
2. Architecture
---------------
The basic architecture of WinDivert is as follows:
+-----------------+
| |
+------->| PROGRAM |--------+
| | (WinDivert.dll) | |
| +-----------------+ |
| | (3) re-injected
| (2a) matching packet | packet
| |
| |
[user mode] | |
....................|...................................|...................
[kernel mode] | |
| |
| |
+---------------+ +----------------->
(1) packet | | (2b) non-matching packet
------------>| WinDivert.sys |-------------------------------------------->
| |
+---------------+
The WinDivert.sys driver is installed below the Windows network stack. The
following actions occur:
(1) A new packet enters the network stack and is intercepted by WinDivert.sys
(2a) If the packet matches the PROGRAM-defined filter, it is diverted. The
PROGRAM can then read the packet using a call to WinDivertRecv().
(2b) If the packet does not match the filter, the packet continues as normal.
(3) PROGRAM either drops, modifies, or re-injects the packet. PROGRAM can
re-inject the (modified) using a call to WinDivertSend().
3. License
----------
WinDivert is dual-licensed under your choice of the GNU Lesser General Public
License (LGPL) Version 3 or the GNU General Public License (GPL) Version 2.
See the LICENSE file for more information.
4. About
--------
WinDivert was written by basil.
For further information, or bug reports, please contact:
basil@reqrypt.org
The homepage for WinDivert is:
https://reqrypt.org/windivert.html
The source code for WinDivert is hosted by GitHub at:
https://github.com/basil00/Divert
近期下载者:
相关文件:
收藏者: