Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
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: https://www.osr.com/osr-learning-library/
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.
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 |
Comments
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.
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: https://learn.microsoft.com/en-us/windows-hardware/test/hlk/testref/device-network-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.
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)
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.
Well