阅读:1137回复:0
Windows 2000 Packet Filtering Interface(转)
Windows 2000 Packet Filtering Interface
The Windows 2000 Packet Filtering Interface provides a mechanism that allows a user-mode application or service to specify a set of \"filter descriptors\" that are used by lower-level TCP/IP components to filter packets. Filtering is controls pass/drop of packets based on IP source and destination address and port numbers (and port number range). Windows Developer\'s Journal Packet Filtering with iphlpapi.dll, Windows Developer\'s Journal, Ton Plooy, Windows Developers Journal, October, 2000, Volume 11, Number 10. Windows 2000 offers a finer degree of programmatic control over TCP/IP, including the ability to perform packet filtering. Unfortunately, the documentation for this new API doesn\'t make it easy to figure out. This article demonstrates how you can programmatically install filters to block packets going to or from specific IP addresses, on some or all TCP ports. [ Windows Developer\'s Journal Home... ] [ Download Ton Plooy\'s Sample Code from WDJ... ] |
|
最新喜欢:baoyib...
|