Filter driver

Can some one help me in writing a inf file for the generic sample given in
wddk 7

I am new.. i want to install and check .. how it functions....

Just for a mouse... or a keyboard... as a device upper filter .....

I ask this for me to learn further.. by running some examples ....

My task is to write a filter driver for a blueetooth dongel device..
which would block access to the device....
(in short no files should be sent to any bluetooth device through this
dongel device)

So i am starting from the scratch .. please do help me ..
how can i go about

--

With Love
Lin N

Toaster sample of WDK contains source code of different types of filter drivers including upper filter. Examples are good and would be sufficient for starting developing your driver.

Igor Sharovar
Hewlett-Packard

I thought it was OK for you to just disable all Bluetooth functionality. You can use group policy to do this without a driver. If you really think you need a driver, just install a filter (upper or lower) and fail the start irp (or EvtDevicePrepareHardware in a KMDF driver) and the stack won't even start. If you want to block just obex over rfcomm, an upper filter will not really help b/c the upper interfaces of the msft stack are not fully documented (And there are other vendors stacks who use different interfaces). What everyone does have in common is the bth hci interface, so if you are a filter below the fdo you can look at the usb URB traffic and reconstruct l2cap, sdp, rfcomm and obex traffic and go from there (not a small task, this will take you 6+ months)

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Linton N
Sent: Monday, August 03, 2009 9:34 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Filter driver

Can some one help me in writing a inf file for the generic sample given in wddk 7

I am new.. i want to install and check .. how it functions....

Just for a mouse... or a keyboard... as a device upper filter .....

I ask this for me to learn further.. by running some examples ....

My task is to write a filter driver for a blueetooth dongel device..
which would block access to the device....
(in short no files should be sent to any bluetooth device through this dongel device)

So i am starting from the scratch .. please do help me ..
how can i go about

--

With Love
Lin N
--- NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: OSR Seminars – OSR To unsubscribe, visit the List Server section of OSR Online at ListServer/Forum

Thanks a lot for your inputs…
As a beginner let me block the bluetooth device first…

Can i make it a class filter.so that with the calss = Bluetooth
and fail the start irp (or EvtDevicePrepareHardware in a KMDF driver)
so all the bluetooth devices will be disabled…

is my idea ok…

And can i use the toaster generic filter as a template to achieve this…

A class filter is fine if all you want to do is filter the microsoft stack. Any other vendor who writes their own stack can install into any class they choose

d

Sent from my phone with no t9, all spilling mistakes are not intentional.

-----Original Message-----
From: xxxxx@gmail.com
Sent: Monday, August 03, 2009 8:14 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Filter driver

Thanks a lot for your inputs…
As a beginner let me block the bluetooth device first…

Can i make it a class filter.so that with the calss = Bluetooth
and fail the start irp (or EvtDevicePrepareHardware in a KMDF driver)
so all the bluetooth devices will be disabled…

is my idea ok…

And can i use the toaster generic filter as a template to achieve this…


NTDEV is sponsored by OSR

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

Then…again i am put in trouble…
Because mostly here the people use blueetooth dongel…

In that case… the solution can be blocking only a particular device
with its (VID, & PID) …

Can’t it be any generic way …as the toaster generic filter ?

In vista and beyond the only viable 3rd party stack comes from toshiba, on xp there are quite a few. Why do you have this requirement in the first place? To prevent data from leaving the pc? If so, there are a ton of other ways to do this, i can think of 3 different ways over bluetooth alone that is not obex based…

d

Sent from my phone with no t9, all spilling mistakes are not intentional.

-----Original Message-----
From: xxxxx@gmail.com
Sent: Monday, August 03, 2009 8:58 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Filter driver

Then…again i am put in trouble…
Because mostly here the people use blueetooth dongel…

In that case… the solution can be blocking only a particular device
with its (VID, & PID) …

Can’t it be any generic way …as the toaster generic filter ?


NTDEV is sponsored by OSR

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