Vadim Smirnov

Forum Replies Created

Viewing 15 posts - 541 through 555 (of 1,476 total)
  • Author
    Posts
  • in reply to: VirtNet does not install on Windows 10 version 1809 x64 #10629
    Vadim Smirnov
    Keymaster

      I have devoted some time over the weekend to this issue, but I still don’t have a good idea what was changed by an update and how to fix this. It is definitely not about driver signing because that phase is passed fine. And setupapi.dev.log does not contain any helpful information:

      >>>  [Device Install (DiInstallDevice) - ROOT\NET\0000]
      >>>  Section start 2019/02/04 11:53:39.838
            cmd: "C:\Windows\system32\mmc.exe" C:\Windows\system32\devmgmt.msc
           ndv: Flags: 0x00000004
           dvi: {Plug and Play Service: Device Install for ROOT\NET\0000}
      !    dvi:      Installing NULL driver!
           dvi:      {DIF_ALLOW_INSTALL} 11:53:39.858
           dvi:           Default installer: Enter 11:53:39.858
           dvi:           Default installer: Exit
           dvi:      {DIF_ALLOW_INSTALL - exit(0xe000020e)} 11:53:39.862
           dvi:      {DIF_REGISTER_COINSTALLERS} 11:53:39.862
           dvi:           Default installer: Enter 11:53:39.862
           dvi:           Default installer: Exit
           dvi:      {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 11:53:39.866
           dvi:      {DIF_INSTALLDEVICE} 11:53:39.866
           dvi:           Default installer: Enter 11:53:39.866
      !    dvi:                Installing NULL driver!
           dvi:                Install Null Driver: Removing device sub-tree. 11:53:39.870
           dvi:                Install Null Driver: Removing device sub-tree completed. 11:53:39.874
           dvi:                Install Null Driver: Restarting device. 11:53:39.878
           dvi:                Install Null Driver: Restarting device completed. 11:53:39.882
           dvi:                Install Device: Configuring device class. 11:53:39.882
           dvi:                Install Device: Configuring device class completed. 11:53:39.882
           dvi:                Device Status: 0x01802401, Problem: 0x1c (0x00000000)
           dvi:                Install Device: Starting device 'ROOT\NET\0000'. 11:53:39.886
           dvi:                Install Device: Starting device completed. 11:53:39.894
           dvi:           Default installer: Exit
           dvi:      {DIF_INSTALLDEVICE - exit(0x00000000)} 11:53:39.898
           ump: {Plug and Play Service: Device Install exit(00000000)}
      <<<  Section end 2019/02/04 11:53:39.910
      <<<  [Exit status: SUCCESS]
      
      >>>  [Delete Device - ROOT\NET\0000]
      >>>  Section start 2019/02/04 11:59:51.125
            cmd: "C:\Windows\system32\mmc.exe" C:\Windows\system32\devmgmt.msc
           dvi: Query-and-Remove succeeded
      <<<  Section end 2019/02/04 11:59:51.133
      <<<  [Exit status: SUCCESS]

      Mentioned Problem: 0x1c is CM_PROB_FAILED_INSTALL for which I could find anything helpful besides https://docs.microsoft.com/en-us/windows-hardware/drivers/install/cm-prob-failed-install

      The only solution I can see so far would be creating a new NDIS 6 virtual network adapter driver…

      in reply to: VirtNet does not install on Windows 10 version 1809 x64 #10622
      Vadim Smirnov
      Keymaster

        Small update:

        Signing VirtNet driver with EV certificate did not help, installation fails with the same error. So it looks that the problem is not related to driver signing and there is another reason for this. Right now it is difficult to say what has changed in 1809, may be Microsoft by chance or by purpose has dropped the support of the legacy versions of NDIS. I hope NDIS 6.0 version of VirtNet may help here…

        in reply to: VirtNet does not install on Windows 10 version 1809 x64 #10619
        Vadim Smirnov
        Keymaster

          I’ve installed and tested 1809 during the weekend and I confirm that the problem exists. Probably it is related to driver signing policy changes or another possibility is legacy NDIS versions support (for compatibility across all Windows versions VirtNet followed NDIS 3.0 specification). But no worries, I’ll prepare the new build when have some spare time over the next week.

          in reply to: VirtNet does not install on Windows 10 version 1809 x64 #10617
          Vadim Smirnov
          Keymaster

            Thank you for the information. I suspect this is related to the driver signing policy in 1809 update. I will check, probably needed to sign the driver with EV certificate.

            in reply to: Two apps with the same driver #10610
            Vadim Smirnov
            Keymaster

              It is possible for two applications to use the driver if they filter over different network adapters. Otherwise they may conflict.

              However, please note that file handle is normally valid inside the process and can’t be passed outside as it is, unless it is inherited by child process or duplicated (DuplicateHandle). Besides this, please note that handle returned by OpenFilterDriver is a pointer to in-process memory object and can’t be passed by inheritance or duplication.

              in reply to: Wifi bridging without IP address #10607
              Vadim Smirnov
              Keymaster

                I had some time over the weekend to play with with bridging WiFi and one of the possibilities is enabling Link Layer Discovery Protocol, with the configuration below Wi-Fi adapter without IP address was successfully bridged to the wired network:

                Wi-Fi adapter configuration

                in reply to: Wifi bridging without IP address #10603
                Vadim Smirnov
                Keymaster

                  Very interesting, thank you for sharing!

                  in reply to: Wifi bridging without IP address #10600
                  Vadim Smirnov
                  Keymaster

                    Hmm, interesting case. I don’t have a quick answer because I have never tried this kind of setup. If I have some spare time over the weekend I will give it a try.

                    in reply to: Promiscuous mode #10590
                    Vadim Smirnov
                    Keymaster

                      For the sample code you can check the Ethernet Bridge source where promiscuous mode is used:

                      Check the line 208 in https://github.com/wiresock/ndisapi/blob/master/examples/ethernet_bridge/EthernetBridge.cpp

                      in reply to: the driver is not digitally signed #10586
                      Vadim Smirnov
                      Keymaster

                        I have had one recent similar report regarding Windows 10 Enterprise. And it may happen that Microsoft has reinforced driver signing requirements for the Enterprise editions of Windows (code signing certificate expiry is validated against the install date instead signing date). Will check when have some spare time.

                        in reply to: the driver is not digitally signed #10584
                        Vadim Smirnov
                        Keymaster

                          The driver is production signed, so you should not have digital signature problems with installing it. Do you use the driver build from amd64 folder?

                          in reply to: the driver is not digitally signed #10582
                          Vadim Smirnov
                          Keymaster

                            What is the version of Windows you use?

                            in reply to: CNdisApi::IsDriverLoaded wrong output #10315
                            Vadim Smirnov
                            Keymaster

                              Driver version returned by CNdisApi::GetVersion() is: 34025472

                              In hex this is 0x02073000 or version 3.2.7.

                              And if NDISAPI returns this value then it definitely means that driver is loaded!

                              in reply to: CNdisApi::IsDriverLoaded wrong output #10304
                              Vadim Smirnov
                              Keymaster

                                Source code for latest version of ndisapi with a couple of new samples is now available on Github. I’ve just tested dnstracer with and and without WinpkFilter driver installed and availability of the driver was reported properly (so the calls to CNdisApi::IsDriverLoaded worked correct).

                                What was the Windows version you have tested? I’m not sure, but if you use NCF_HIDDEN attribute for your driver build then it may also affect netcfg output.

                                in reply to: UDP Filter #10299
                                Vadim Smirnov
                                Keymaster

                                  block the list of ip addresses which is ddosing us

                                  WinpkFilter built-in filters allow IP address based blocking.

                                Viewing 15 posts - 541 through 555 (of 1,476 total)