Happy New Year first of all.
I have downloaded latest version of WinpkFilter and installed it on my server. This driver seems to be the absolutely perfect solution for my server setup. I intend to write a very small firewall that filters specific TCP packets used in a NMDC CTM DDoS attack and logs incoming information such as destination IP and the actual content of blocked packet. I have already put together a GUI in Delphi, but have ran into a problem with the code. The OpenFilterDriver('NDISRD')
function fails to load the driver for some reason;
Helper driver failed to load or was not installed
First I thought that I wrote something wrong in my code, so I compiled one of sample projects that comes together with WinpkFilter, listadapters
. It compiled very well, without a single warning or error. But it does output same error about helper driver load failure when I run it.
I know that helper driver is hooked to the system and is properly running, because I'm able to run pre-built version of ListAdapters
subfolder and get a list of available adapters.
So my question is.. What could possibly be wrong? Why does function OpenFilterDriver
fail and how can I debug / try to fix it?
I use CodeGear Delphi 2009 on Windows Server 2003 R2 SP2 (32 bit).
(ndisapi.dll is included in same directory as newly compiled program)