views:

4

answers:

0

I'd like to limit the set of Wifi networks that shows up in Windows to a single access point instead of seeing dozens of networks that are nearby. Alternatively, it's ok to see them if I have a way to prevent connecting to them (i.e. the 'unsecured' ones, with owners who refuse to secure their networks even when asked politely and offered help). I've Googled this a bit and it seems there is no easy way to do this.

So my thought is to write a NDIS driver (e.g. "filter driver" or modified "passthru driver") that will sit above the 802.11 WiFi miniport driver and drop any packets related to wifi networks other than the "approved" one (e.g. drop all WiFi management protocol messages, such as the Beacon when the SSID doesn't match the approved one).

I've downloaded the Windows Device Driver Kit and looked at a couple of the sample drivers. I'd like this to work in XP, Vista, and Windows 7 so some samples such as the "filter driver" won't be a good starting point since that driver is NDIS 6.0 based (Vista and 7, but not XP).

However, I'm not sure that my idea is even viable. Is the NDIS "passthru" sample driver really in a position to block these WiFi control messages, or is there another management path between Windows and the hardware that won't come through this driver? I just don't yet know enough about the NDIS architecture to know whether I'm on the right path or if this is even doable.

Any help appreciated!

Note: I'm aware that anyone with Admin privileges on the machine can bypass this NDIS driver approach (e.g. uninstall the modified passthru driver). I'll deal with that issue separately.