Hello!
I wrote my problem on Windows community for hardware developers, but I did’t answer.
I develop driver filter for pnp network adatpers ({4D36E972-E325-11CE-BFC1-08002BE10318} - Upper filter in registry), and want to block all data-transfering. But I faced with few problems :
- my driver attached to strange devices : \Device\NDMP9(Root\MS_PPPOEMNIPORT), \Device\NDMP7(Root\MS_NDISWANIP), etc.
- my driver don’t get any IRP when I using internet over adapters (IRP_MJ_CREATE, IRP_MJ_DEVICE_CONTROL)
How I can resolved data-transfering block problem? How I can attach to only physical adapters(not Root\MS_PPPOEMNIPORT…)?
You should write a NDIS Lightweight Filter (LWF) to filter on the network
stack. Read the NDIS documentation.
At a somewhat higher level you can filter datagrams using the Windows
Filtering Platform (WFP). Read the MADN documentation for WFP.
The NDIS packet interface isn’t IRP based. Instead, it uses a “NDIS Library”
that is used for packet transfer.
Thomas F. Divine
http://www.pcausa.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Tuesday, September 30, 2014 12:26 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Block access to wifi (network) adapters
Hello!
I wrote my problem on Windows community for hardware developers, but I did’t
answer.
I develop driver filter for pnp network adatpers
({4D36E972-E325-11CE-BFC1-08002BE10318} - Upper filter in registry), and
want to block all data-transfering. But I faced with few problems :
- my driver attached to strange devices :
\Device\NDMP9(Root\MS_PPPOEMNIPORT), \Device\NDMP7(Root\MS_NDISWANIP), etc.
- my driver don’t get any IRP when I using internet over adapters
(IRP_MJ_CREATE, IRP_MJ_DEVICE_CONTROL) How I can resolved data-transfering
block problem? How I can attach to only physical adapters(not
Root\MS_PPPOEMNIPORT…)?
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
On 30-Sep-2014 19:26, xxxxx@gmail.com wrote:
Hello!
I wrote my problem on Windows community for hardware developers, but I did’t answer.
You’ve received some answers there.
– pa
I develop driver filter for pnp network adatpers ({4D36E972-E325-11CE-BFC1-08002BE10318} - Upper filter in registry), and want to block all data-transfering. But I faced with few problems :
- my driver attached to strange devices : \Device\NDMP9(Root\MS_PPPOEMNIPORT), \Device\NDMP7(Root\MS_NDISWANIP), etc.
- my driver don’t get any IRP when I using internet over adapters (IRP_MJ_CREATE, IRP_MJ_DEVICE_CONTROL)
How I can resolved data-transfering block problem? How I can attach to only physical adapters(not Root\MS_PPPOEMNIPORT…)?