Dummynet installation error: my_socket 2 failed, I can not talk to the kernel module (Windows 7 X64)

I am trying to install IPFW on a 64-bit version of Windows 7 using the package here

I can successfully add the ipfw+dummynet to my network adapter using the instructions provided in this answer

However, when running ipfw.exe , presented in the package, I encounter the following error:

my_socket failed 2, cannot talk to kernel module

Help is needed to overcome this error so that ipfw can successfully start from the command line.

+4
source share
2 answers

The first method explained here worked for me.

I also managed to install the driver with the second method, but first I had to sign the driver, as explained here . To work around the error associated with the catalog file, add the following line after the version tag in the INF file:

 CatalogFile.NTAMD64 = wipfwamd64.cat 

Hope this helps.

+1
source

I get the same message error as you, with my Windows 2012 server based on 64-bit architecture.

I checked the code, the error value is returned from the windows function GetLastError :

 2 (0x2) : ERROR_FILE_NOT_FOUND 

This error occurs when the windows CreateFile function is called on the Ipfw I / O device.

 If the specified file or device does not exist, the function fails and the last-error code is set to ERROR_FILE_NOT_FOUND (2). 

To do this quickly, I think that the “Ipfw” service is missing, it displays as correctly installed, but it is not.

0
source

Source: https://habr.com/ru/post/1489164/


All Articles