Dummynet Installation Failure : my_socket failed 2, cannot talk to kernel module (Windows 7 X64)

StackOverflow https://stackoverflow.com/questions/17413552

  •  02-06-2022
  •  | 
  •  

Вопрос

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

I am able to successfully add the ipfw+dummynet service to my network adapter using the instructions supplied in this stack overflow answer

However, while executing the ipfw.exe provided in the package, I face the following error :

my_socket failed 2, cannot talk to kernel module

Need assistance in getting past this error so that ipfw can be run successfully from the command line.

Это было полезно?

Решение

The first method explained here worked for me.

I also succeed to install the driver with the 2nd methode but I had to sign the driver myself first, as explained here. To bypass the error related to the catalog file, add the following line after the version tag on the INF file :

CatalogFile.NTAMD64 = wipfwamd64.cat

I hope it helps.

Другие советы

I'm getting the same message error as you with my windows server 2012 based on a 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 function CreateFile is called on I/O device "Ipfw".

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 make it quick I think the "Ipfw" service is missing, it shows as right installed but its not.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top