Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging

The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.

Check out The OSR Learning Library at:


ArsenArsen Member Posts: 189

Hello everyone . I wrote a driver that intercepts all outgoing and incoming traffic on the ethernet network. How to check if the driver is working. What protocol and what program to run so that all possible protocols leaving through my driver are checked․ I debug on a local network by connecting two Windows 10 computers.


  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,727

    ... on the ethernet network ...

    Which Ethernet network? Are you assuming there is always one, and only one? Surely if you start fetching some web pages, you can tell if it is working.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • Mark_RoddyMark_Roddy Member - All Emails Posts: 4,712

    Well you will eventually have to run the WHQL network device tests if you want to get your driver WHQL signed, so there are these tests:

    But a simple test framework that uses two systems, to send/receive network data using a variety of protocols should be rather trivial to create., There are quite a few standard network benchmark test programs out there that can pump data at your test system.

  • ArsenArsen Member Posts: 189
    I said, that my network isolated. I have some compurers connected togather. I have local, isolayted network. I ask for a program using most protocols to see if driver working good. Becose my driver is for working in local-secure network
  • MBond2MBond2 Member Posts: 631

    There is no comprehensive test. The design of the OSI model inherently allows for future expansion, and so there will always be protocols that your driver won't understand. The most common protocols use TCP and UDP - and increasingly hybridizing them together. but GRE and many other IP protocols are possible. and the higher level protocols multiply even more quickly - just think about how much stuff is send via HTTP (TCP port 80 or 443)

  • ArsenArsen Member Posts: 189
    OK, thank you. I understand that checking the patency of tcp and udp through the driver is enough to conclude that the driver is working correctly.
  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,727

    You can certainly start an ssh server, an HTTP server, and a simple telnet server on the machines and connect between them.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • ArsenArsen Member Posts: 189


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 26 Feb - 1 Mar 2024 Live, Online