MSDN Documentation

NDIS Filter Driver Sample

This sample demonstrates how to develop a Network Driver Interface Specification (NDIS) filter driver for Windows. NDIS filter drivers allow you to intercept, inspect, and modify network packets passing through the network stack. This particular sample focuses on a basic packet monitoring and logging functionality.

Features:

Sample Code Overview:

The sample project includes the following key components:

Key Concepts Demonstrated:

Prerequisites:

Getting Started:

  1. Download the sample code archive.
  2. Open the solution in Visual Studio.
  3. Build the driver project for your target architecture (Win32 or x64).
  4. Follow the instructions in the accompanying documentation (or the README within the sample) to install the driver using the provided INF file.
  5. Test the driver by sending network traffic and checking the generated log files.
Download Sample Code