ndis

Windows XP support for Remote NDIS

I'm looking at developing a device which will need to support Ethernet over USB (hosted in Linux, XP, and Vista). As I understand it, Vista and Linux support the industry standard USB CDC. However, in classic Windows style, XP only supports it's own Remote NDIS. So, now I'm thinking of just bowing down and doing it over RNDIS, as opposed...

C/C++ Windows traffic blocker

I want to develop a bandwidth allocator to a network which will be behind my machine. Now, I've read about NDIS but I am not sure whether the network traffic that is neither originating from my machine nor is destined for my machine will enter my TCP/IP stack, so that I can block/unblock packets via NDIS on a windows machine. ...

How to get hardware MAC address on Windows

I'm playing around with retrieving the MAC address from the NIC - there are a variety of ways to get it, this article covers the most common: http://www.codeguru.com/Cpp/I-N/network/networkinformation/article.php/c5451 I'm currently using the GetAdaptersInfo method, which seems the most bulletproof, but if the MAC address has been set ...

NDIS Intermediate driver interface to C#

I'm developing what is essentially a specialized firewall application. The solution needs to be 32 and 64-bit compatible. My company wants to keep the current program interface, which is written in C#. What I need is this: a way to monitor and manipulate all network traffic on the system. My research has led me to believe that a NDIS...

Detecting 'Network Cable Unplugged' in the Compact Framework

I've been through all of the Stack Overflow answers search comes up with, and neither Google or Bing are showing me any love. I need to know when a network cable has been connected or disconnected on a Windows CE device, preferrably, from a Compact Framework application. ...

NDIS Hooking for Blocking/Unblocking website on windows xp

Hello I am trying to block/unblock some of website on windows xp using NDIS Hooking.I am new for this NDIS Hooking on windows xp. so can you please tell whether is there any sample in msdn or do you have any sample application whick can Block/Unblock website. Thanks, Kamal. ...

Capturing raw Native 802.11 packets using NDIS 6.0, Windows Vista

I'm trying to write code that can capture raw native 802.11 packets to essentially write a packet sniffer. I'm using Vista with 802.11 device which uses an NDIS 6.0 native 802.11 driver. Perhaps I am going about this the wrong way (and please let me know if there are better alternatives!) I'm trying to do this all through the Windows ...

Transparent Proxy for Windows XP

I have an experimental TCP/IP stack running under Windows XP. This stack bypasses the Windows TCP/IP stack using a LSP and a NDIS IM. I now have a requirement to provide a proxy service for this to support other platforms that want to use the experimental stack. The proxy must be transparent to the clients (no client configuration). I wa...

windows NDIS intermediate (IM) driver installation programmatically

I am learning windows NDIS Intermediate(IM) driver development.I am getting problem in installation . I always need to install it manually. My question is how can i do NDIS intermediate (IM) driver installation programmatically Regards Navaneeth ...

Need to block any IP on a computer by coding in .Net (C#). Anyone know the best/easiest way to do this?

I am playing around with a way to kick cheaters in Modern Warfare 2 (when you are the host). So far I have been able to use winpcap to sniff packages to identify the player names and their IPs. The next thing I need is a way to block all traffic (or just the target IPs UDP traffic to my machine). Hence the player will timeout/lagout. D...

NDIS or TDI for packet redirection to a local proxy

I need to develop a transparent filter to redirect outgoing HTTP packets to a local proxy, to do transparent content filtering. Which is the best technology to do it, TDI or NDIS IM? My main constraint is to avoid conflicts with antivirus software, which also do some kind of packet redirection to inspect HTTP content (I don't know whet...

Implementing a personal firewall for Windows, how can I determine what application does a packet belong to?

I am going to build a sort of personal firewall for Windows. I've found some articles on this subject on the Net, including some questions here on StackOverflow. But all they mean to control protocols, addresses and ports. It is as well important for me to control on per-application basis. Any suggestions on where to look? ...

Using the ndisprot example driver (in the WDK) with C++

Hey all, I have compiled succesfully the ndisprot example ndis driver that came with the Windows Driver Kit, but I don't know how to use it from C++ to send or receive packets. Could someone instruct me on how? ...

What could cause "The MDL is being inserted twice on the same process list"?

We are developing an NDIS protocol and miniport driver. When the driver is in-use and the system hibernates we get a bug check (blue screen) with the following error: LOCKED_PAGES_TRACKER_CORRUPTION (d9) Arguments: Arg1: 00000001, The MDL is being inserted twice on the same process list. Arg2: 875da420, Address of internal lock trackin...

NDIS Driver to Limit WiFi to a Single Access Point?

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 offer...