Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 492
  • Last Modified:

NDIS 4.0/Intermediate Drivers

I am developing an NDIS 4.0 Intermediate driver for Window NT 4.0. It acts as a virtual NIC and a protocol. I cannot get TCP/IP to recognize the packets I send to it (as a nic). Nor can I get TCP/IP to send packets to it. I can get the
sample Packet driver (in the DDK) to work with it.
0
nmohanram
Asked:
nmohanram
1 Solution
 
vogelsCommented:
nmohanram, if I understand it correctly you have build a module that presents itself as an NDIS driver to the protocol stacks and an protocol to other NDIS drivers.

Your problem is that you installed this driver but that TCP/IP does not "see" this driver.

I assume that the reason for this is the following: For NDIS driver it is not just sufficient to install the driver using regini. You will have to write a device configuration script that you need to present to the network control applet in the control panel. This will then take the information and make the correct entries in the registery so that IP will see this configuration, when it boots. At boot time IP/ARP will open your driver and use it from that point on.

Examples of such an *.inf script can be found in the NT system32 directory, look for scripts that install "real network adapters".  Also the DDK provides you with information on how to write such a script.

I hope this helps,

--
Werner
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now